Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
S
staff-pro
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 43
    • Issues 43
    • 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
  • Aileen Feuerstein
  • staff-pro
  • Issues
  • #21

Closed
Open
Opened Mar 06, 2025 by Aileen Feuerstein@aileenfeuerste
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


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

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't simply a single design; it's a family of progressively sophisticated AI systems. The evolution goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where only a subset of professionals are utilized at reasoning, significantly improving the processing time for each token. It also included multi-head latent attention to decrease memory footprint.

DeepSeek V3:

This model introduced FP8 training methods, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less exact method to store weights inside the LLMs but can greatly improve the memory footprint. However, training using FP8 can typically be unsteady, and it is tough to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes multiple techniques and attains extremely steady FP8 training. V3 set the stage as a highly efficient design that was already cost-effective (with claims of being 90% less expensive than some closed-source options).

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 simply to generate responses however to "believe" before answering. Using pure support knowing, the model was motivated to generate intermediate thinking actions, for example, taking extra time (frequently 17+ seconds) to work through a basic issue like "1 +1."

The crucial development here was the use of group relative policy optimization (GROP). Instead of counting on a traditional process benefit design (which would have needed annotating every action of the thinking), GROP compares multiple outputs from the design. By sampling numerous prospective answers and scoring them (using rule-based measures like specific match for mathematics or validating code outputs), the system finds out to favor thinking that leads to the appropriate result without the requirement for explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced thinking outputs that could be to check out or even blend languages, the designers went back to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" data and after that manually curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then utilized to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The result is DeepSeek R1: a model that now produces legible, meaningful, and reliable reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (absolutely no) is how it established reasoning abilities without specific guidance of the reasoning process. It can be further enhanced by utilizing cold-start data and monitored reinforcement finding out to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to inspect and construct upon its innovations. Its expense efficiency is a significant selling point specifically when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both costly and lengthy), the model was trained using an outcome-based approach. It began with quickly verifiable tasks, such as mathematics issues and coding exercises, where the correctness of the final answer could be quickly measured.

By using group relative policy optimization, the training procedure compares several created responses to figure out which ones meet the preferred output. This relative scoring system enables the design to find out "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" basic problems. For instance, when asked "What is 1 +1?" it might invest nearly 17 seconds evaluating various scenarios-even thinking about binary representations-before concluding with the right response. This self-questioning and verification process, although it may appear ineffective in the beginning look, might prove helpful in intricate jobs where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for lots of chat-based designs, can actually degrade performance with R1. The designers recommend using direct problem declarations with a zero-shot technique that defines the output format plainly. This guarantees that the design isn't led astray by extraneous examples or hints that may hinder its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

Smaller variations (7B-8B) can work on consumer GPUs or even just CPUs


Larger variations (600B) need considerable calculate resources


Available through major cloud service providers


Can be released in your area by means of Ollama or vLLM


Looking Ahead

We're especially fascinated by several implications:

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


Influence on agent-based AI systems typically built on chat designs


Possibilities for combining with other guidance methods


Implications for business AI deployment


Thanks for reading Deep Random Thoughts! Subscribe totally free to receive new posts and support my work.

Open Questions

How will this impact the development of future thinking models?


Can this method be extended to less proven domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments carefully, particularly as the neighborhood begins to explore and build upon these strategies.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI advancements. We're seeing interesting applications already emerging from our bootcamp individuals working with these models.

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 design should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the option ultimately depends on your usage case. DeepSeek R1 emphasizes sophisticated reasoning and an unique training method that may be particularly valuable in tasks where verifiable reasoning is critical.

Q2: Why did major companies like OpenAI go with supervised fine-tuning instead of support learning (RL) like DeepSeek?

A: We should note in advance that they do utilize RL at the very least in the kind of RLHF. It is highly likely that designs from significant suppliers that have reasoning abilities already use something comparable to what DeepSeek has done here, but we can't make certain. It is also most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although effective, can be less foreseeable and harder to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, making it possible for the model to discover efficient internal reasoning with only minimal process annotation - a technique that has actually proven appealing in spite of its intricacy.

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

A: DeepSeek R1's design emphasizes effectiveness by leveraging techniques such as the mixture-of-experts method, which activates just a subset of criteria, to lower calculate throughout reasoning. This concentrate on efficiency is main to its expense benefits.

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

A: R1-Zero is the initial design that finds out thinking solely through reinforcement knowing without explicit process guidance. It creates intermediate reasoning steps that, while often raw or mixed in language, function as the structure for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the without supervision "trigger," and R1 is the polished, more meaningful variation.

Q5: How can one remain updated with thorough, technical research study while managing a busy schedule?

A: Remaining existing includes a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and wiki.asexuality.org taking part in conversation groups and newsletters. Continuous engagement with online communities and collective research study projects likewise plays a key role in staying up to date with technical developments.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust thinking capabilities and its efficiency. It is especially well matched for tasks that need verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and confirmed. Its open-source nature further enables for tailored applications in research and enterprise settings.

Q7: What are the implications of DeepSeek R1 for business and start-ups?

A: The open-source and cost-efficient style of DeepSeek R1 lowers the entry barrier for deploying sophisticated language models. Enterprises and start-ups can utilize its innovative reasoning for agentic applications varying from automated code generation and consumer assistance to information analysis. Its versatile release options-on customer hardware for smaller sized models 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 correct answer is discovered?

A: While DeepSeek R1 has actually been observed to "overthink" easy problems by exploring several reasoning courses, it integrates stopping requirements and evaluation systems to prevent unlimited loops. The support discovering framework encourages merging toward a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the foundation for later versions. It is constructed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its design emphasizes effectiveness and cost reduction, setting the phase for the reasoning developments seen in R1.

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

A: DeepSeek R1 is a text-based design and does not include vision abilities. Its design and training focus entirely on language processing and thinking.

Q11: Can professionals in specialized fields (for example, labs working on cures) use these approaches to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to construct designs that address their particular obstacles while gaining from lower calculate expenses and robust thinking abilities. It is likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get trustworthy outcomes.

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

A: The discussion showed that the annotators mainly focused on domains where correctness is easily verifiable-such as mathematics and coding. This suggests that competence in technical fields was certainly leveraged to guarantee the accuracy and clarity of the thinking information.

Q13: Could the model get things incorrect if it depends on its own outputs for finding out?

A: While the model is designed to enhance for right responses by means of reinforcement learning, there is constantly a risk of errors-especially in uncertain circumstances. However, by examining numerous prospect outputs and reinforcing those that lead to proven results, the training procedure lessens the probability of propagating incorrect thinking.

Q14: How are hallucinations reduced in the design offered its iterative thinking loops?

A: Using rule-based, proven tasks (such as math and coding) helps anchor the model's thinking. By comparing multiple outputs and using group relative policy optimization to enhance just those that yield the appropriate outcome, the design is directed away from creating unproven or hallucinated details.

Q15: Does the model count on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these techniques to enable effective reasoning instead of showcasing mathematical complexity for its own sake.

Q16: Some stress that the design's "thinking" might not be as improved as human thinking. Is that a valid concern?

A: Early versions like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and improved the thinking data-has substantially improved the clarity and reliability of DeepSeek R1's internal idea process. While it remains a developing system, iterative training and feedback have actually resulted in significant enhancements.

Q17: Which design variations appropriate for local implementation on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger models (for example, those with numerous billions of criteria) need substantially more computational resources and are much better suited for cloud-based release.

Q18: Is DeepSeek R1 "open source" or does it offer just open weights?

A: DeepSeek R1 is supplied with open weights, suggesting that its model parameters are publicly available. This aligns with the overall open-source philosophy, allowing scientists and developers to additional check out and develop upon its developments.

Q19: What would occur if the order of training were reversed-starting with supervised fine-tuning before without supervision reinforcement learning?

A: The existing technique allows the design to first explore and generate its own reasoning patterns through without supervision RL, and after that improve these patterns with supervised approaches. Reversing the order may constrain the model's ability to find varied thinking courses, potentially limiting its total performance in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe free of charge to get brand-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: aileenfeuerste/staff-pro#21