Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
E
earnwithmj
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 39
    • Issues 39
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Arianne Boucher
  • earnwithmj
  • Issues
  • #37

Closed
Open
Opened May 28, 2025 by Arianne Boucher@arianneboucher
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early models through DeepSeek V3 to the development R1. We also explored the technical innovations that make R1 so unique in the world of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of increasingly advanced AI systems. The development goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where only a subset of specialists are used at inference, drastically improving the processing time for each token. It likewise included multi-head latent attention to reduce memory footprint.

DeepSeek V3:

This model introduced FP8 training methods, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less accurate method to save weights inside the LLMs but can considerably improve the memory footprint. However, training utilizing FP8 can generally be unstable, and it is tough to obtain the desired training results. Nevertheless, DeepSeek uses multiple tricks and attains remarkably steady FP8 training. V3 set the stage as an extremely efficient model that was currently economical (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not just to produce answers however to "think" before answering. Using pure support learning, the design was motivated to generate intermediate thinking steps, for instance, taking extra time (often 17+ seconds) to overcome an easy problem like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of depending on a conventional procedure benefit model (which would have needed annotating every action of the reasoning), GROP compares multiple outputs from the design. By tasting a number of prospective responses and scoring them (utilizing rule-based procedures like exact match for mathematics or verifying code outputs), the system learns to prefer reasoning that causes the correct result without the requirement for explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's not being watched technique produced thinking outputs that could be difficult to read and even blend languages, the designers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" data and then by hand curated these examples to filter and improve the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, coherent, and trusted reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (no) is how it established thinking capabilities without specific supervision of the thinking process. It can be further enhanced by using cold-start information and supervised support discovering to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and designers to inspect and construct upon its innovations. Its cost efficiency is a significant selling point specifically when compared to closed-source designs (claimed 90% more affordable than OpenAI) that need massive compute budget plans.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both costly and time-consuming), the model was trained using an outcome-based technique. It started with quickly proven tasks, such as mathematics problems and coding workouts, where the accuracy of the final response could be easily measured.

By utilizing group relative policy optimization, the training process compares multiple created answers to determine which ones satisfy the desired output. This relative scoring mechanism enables the model to learn "how to believe" even when intermediate thinking is created in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the correct response. This self-questioning and verification process, although it might appear ineffective in the beginning glance, might prove beneficial in intricate jobs where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering strategies, which have worked well for many chat-based designs, can actually degrade efficiency with R1. The designers advise utilizing direct problem declarations with a zero-shot technique that defines the output format plainly. This guarantees that the model isn't led astray by extraneous examples or tips that might hinder its internal reasoning process.

Getting Going with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs and even only CPUs


Larger variations (600B) require considerable calculate resources


Available through major cloud suppliers


Can be released locally through Ollama or vLLM


Looking Ahead

We're particularly intrigued by numerous implications:

The capacity for this method to be used to other reasoning domains


Impact on agent-based AI systems typically developed on chat models


Possibilities for combining with other guidance methods


Implications for enterprise AI release


Thanks for checking out Deep Random Thoughts! Subscribe for totally free to receive brand-new posts and support my work.

Open Questions

How will this impact the development of future thinking designs?


Can this method be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments carefully, especially as the neighborhood begins to experiment with and build on these techniques.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI advancements. We're seeing interesting applications already emerging from our bootcamp individuals dealing with these designs.

Chat with DeepSeek:


https://www.deepseek.com/

Papers:

DeepSeek LLM


DeepSeek-V2


DeepSeek-V3


DeepSeek-R1


Blog Posts:

The Illustrated DeepSeek-R1


DeepSeek-R1 Paper Explained


DeepSeek R1 - a short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which model deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source community, raovatonline.org the choice ultimately depends upon your usage case. DeepSeek R1 highlights innovative thinking and a novel training method that may be especially valuable in jobs where proven reasoning is important.

Q2: Why did significant companies like OpenAI select supervised fine-tuning rather than reinforcement knowing (RL) like DeepSeek?

A: We need to note upfront that they do utilize RL at the minimum in the form of RLHF. It is likely that models from significant providers that have reasoning abilities currently utilize something similar to what DeepSeek has done here, but we can't make certain. It is likewise likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the all set availability of big annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and harder to manage. DeepSeek's method innovates by applying RL in a reasoning-oriented manner, allowing the model to discover efficient internal thinking with only minimal procedure annotation - a strategy that has shown promising in spite of its intricacy.

Q3: Did DeepSeek utilize test-time compute methods similar to those of OpenAI?

A: DeepSeek R1's design stresses performance by leveraging methods such as the mixture-of-experts technique, which triggers just a subset of criteria, to reduce compute during reasoning. This concentrate on effectiveness is main to its expense advantages.

Q4: What is the difference between R1-Zero and R1?

A: R1-Zero is the initial design that finds out thinking entirely through support knowing without specific procedure guidance. It produces intermediate reasoning steps that, while in some cases raw or combined in language, function as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the without supervision "stimulate," and it-viking.ch R1 is the refined, more meaningful variation.

Q5: How can one remain updated with extensive, technical research while handling a busy schedule?

A: Remaining existing includes a combination of actively engaging with the research study neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and getting involved in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects likewise plays an essential role in keeping up with technical advancements.

Q6: In what use-cases does DeepSeek exceed designs like O1?

A: The brief response is that it's too early to inform. DeepSeek R1's strength, however, depends on its robust thinking abilities and its performance. It is particularly well matched for jobs that require proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature even more permits tailored applications in research and business settings.

Q7: What are the ramifications of DeepSeek R1 for setiathome.berkeley.edu business and start-ups?

A: The open-source and affordable style of DeepSeek R1 decreases the entry barrier for releasing sophisticated language models. Enterprises and start-ups can take advantage of its sophisticated thinking for agentic applications varying from automated code generation and customer support to information analysis. Its versatile release options-on customer hardware for smaller designs or cloud platforms for larger ones-make it an appealing option to exclusive services.

Q8: Will the model get stuck in a loop of "overthinking" if no right answer is found?

A: While DeepSeek R1 has been observed to "overthink" simple issues by exploring several thinking courses, it includes stopping requirements and assessment systems to prevent unlimited loops. The reinforcement discovering structure motivates convergence toward a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 entirely open source, and is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and served as the foundation for later models. It is constructed on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based on the Qwen architecture. Its style emphasizes effectiveness and cost reduction, setting the stage for the thinking innovations seen in R1.

Q10: How does DeepSeek R1 carry out on vision tasks?

A: DeepSeek R1 is a text-based model and does not integrate vision capabilities. Its design and training focus solely on language processing and thinking.

Q11: Can specialists in specialized fields (for example, labs dealing with treatments) use these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these approaches to develop models that address their specific difficulties while gaining from lower calculate expenses and robust thinking capabilities. It is most likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get dependable results.

Q12: Were the annotators for the human post-processing professionals in technical fields like computer technology or mathematics?

A: The conversation showed that the annotators mainly concentrated on domains where accuracy is quickly verifiable-such as math and coding. This recommends that competence in technical fields was certainly leveraged to make sure the accuracy and clarity of the thinking information.

Q13: Could the design get things wrong if it counts on its own outputs for finding out?

A: While the design is created to enhance for appropriate responses through support learning, there is always a danger of in uncertain circumstances. However, by assessing multiple candidate outputs and strengthening those that cause proven outcomes, the training procedure decreases the likelihood of propagating inaccurate reasoning.

Q14: How are hallucinations lessened in the model given its iterative thinking loops?

A: Using rule-based, proven tasks (such as math and larsaluarna.se coding) assists anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to reinforce just those that yield the appropriate outcome, the design is guided far from generating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these techniques to make it possible for reliable reasoning rather than showcasing mathematical complexity for its own sake.

Q16: Some worry that the design's "thinking" may not be as fine-tuned as human thinking. Is that a legitimate issue?

A: Early versions like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent improvement process-where human experts curated and enhanced the reasoning data-has considerably improved the clearness and dependability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have actually led to significant improvements.

Q17: Which model variations are ideal for local deployment on a laptop computer with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger designs (for instance, those with hundreds of billions of criteria) need considerably more computational resources and are better fit for cloud-based implementation.

Q18: Is DeepSeek R1 "open source" or does it provide only open weights?

A: DeepSeek R1 is provided with open weights, implying that its model criteria are publicly available. This lines up with the total open-source approach, allowing scientists and developers to additional explore and build on its innovations.

Q19: What would take place if the order of training were reversed-starting with supervised fine-tuning before not being watched support learning?

A: The existing approach enables the model to initially check out and create its own reasoning patterns through without supervision RL, setiathome.berkeley.edu and after that improve these patterns with supervised approaches. Reversing the order might constrain the design's capability to discover diverse thinking courses, potentially restricting its total efficiency in tasks that gain from self-governing thought.

Thanks for checking out Deep Random Thoughts! Subscribe free of charge to receive new posts and support my work.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: arianneboucher/earnwithmj#37