Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Q
quikconnect
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • 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
  • Magnolia Faulding
  • quikconnect
  • Issues
  • #1

Closed
Open
Opened Apr 04, 2025 by Magnolia Faulding@magnoliauzz881
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in recent weeks. In this session, we dove deep into the evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the advancement R1. We also checked out the technical developments that make R1 so special in the world of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single design; it's a family of significantly advanced AI systems. The evolution goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where only a subset of specialists are utilized at inference, dramatically enhancing the processing time for each token. It also featured multi-head hidden attention to decrease memory footprint.

DeepSeek V3:

This model introduced FP8 training techniques, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less precise method to store weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can typically be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes multiple techniques and attains remarkably stable FP8 training. V3 set the phase as a highly efficient model that was currently cost-effective (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not simply to create responses but to "think" before responding to. Using pure reinforcement learning, the model was motivated to produce intermediate thinking steps, for instance, taking extra time (frequently 17+ seconds) to work through an easy issue like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of counting on a traditional process benefit model (which would have needed annotating every action of the reasoning), GROP compares several outputs from the design. By tasting a number of possible answers and scoring them (using rule-based steps like specific match for mathematics or confirming code outputs), the system finds out to prefer reasoning that results in the right result without the need for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's not being watched method produced reasoning outputs that could be difficult to read and even blend languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" data and after that by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to tweak the initial DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces readable, coherent, and dependable thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it developed reasoning capabilities without explicit guidance of the reasoning procedure. It can be further improved by utilizing cold-start information and supervised reinforcement finding out to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to check and build upon its developments. Its cost performance is a significant selling point especially when compared to closed-source models (claimed 90% less expensive than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both pricey and lengthy), the model was trained using an outcome-based technique. It began with quickly verifiable tasks, such as mathematics problems and coding exercises, where the accuracy of the final response might be quickly determined.

By using group relative policy optimization, the training procedure compares numerous generated responses to identify which ones meet the desired output. This relative scoring mechanism allows the model to discover "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" easy issues. For example, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and verification process, although it might appear inefficient at very first glance, could show useful in complex jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for lots of chat-based models, can really deteriorate efficiency with R1. The designers advise utilizing direct issue statements with a zero-shot method that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that might interfere with its internal thinking procedure.

Beginning with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on consumer GPUs or even just CPUs


Larger variations (600B) require significant compute resources


Available through major cloud suppliers


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


Looking Ahead

We're especially intrigued by a number of ramifications:

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


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


Possibilities for integrating with other supervision methods


Implications for business AI release


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

Open Questions

How will this impact the advancement of future thinking designs?


Can this approach be extended to less proven domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments closely, particularly as the neighborhood starts to experiment with and build on these strategies.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently emerging from our bootcamp individuals working 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 brief summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design is worthy of 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 upon your usage case. DeepSeek R1 stresses innovative thinking and an unique training method that may be especially important in tasks where verifiable reasoning is critical.

Q2: Why did major providers like OpenAI choose supervised fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We should keep in mind upfront that they do use RL at the minimum in the kind of RLHF. It is very likely that models from significant providers that have reasoning capabilities currently utilize something comparable to what DeepSeek has done here, but we can't make certain. It is likewise 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 more difficult to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, allowing the design to find out effective internal reasoning with only very little procedure annotation - a method that has shown promising regardless of its intricacy.

Q3: Did DeepSeek use test-time calculate techniques comparable to those of OpenAI?

A: DeepSeek R1's design highlights effectiveness by leveraging methods such as the mixture-of-experts technique, which activates only a subset of parameters, to reduce compute during inference. This concentrate on efficiency is main to its expense advantages.

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

A: R1-Zero is the initial model that learns reasoning solely through support knowing without explicit process supervision. It produces intermediate thinking actions that, while sometimes raw or blended in language, serve as the foundation for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the unsupervised "trigger," and R1 is the sleek, more coherent version.

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

A: Remaining present involves a mix of actively engaging with the research community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research study jobs likewise plays a crucial function in keeping up with technical developments.

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

A: The short response is that it's too early to tell. DeepSeek R1's strength, however, depends on its robust thinking capabilities and its effectiveness. It is especially well fit for tasks that require proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be reviewed and confirmed. Its open-source nature further permits tailored applications in research and enterprise settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 reduces the entry barrier for deploying sophisticated language models. Enterprises and start-ups can utilize its innovative reasoning for agentic applications ranging from automated code generation and customer support to information analysis. Its versatile implementation options-on customer hardware for smaller models or cloud platforms for bigger ones-make it an appealing alternative to proprietary options.

Q8: Will the design get stuck in a loop of "overthinking" if no correct response is discovered?

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring multiple thinking paths, it incorporates stopping requirements and assessment systems to avoid unlimited loops. The support finding out framework encourages merging toward a proven output, even in uncertain cases.

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

A: Yes, setiathome.berkeley.edu DeepSeek V3 is open source and served as the structure for later iterations. It is constructed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its design highlights efficiency and expense decrease, setting the stage for the thinking innovations 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 style and training focus entirely on language processing and reasoning.

Q11: Can professionals in specialized fields (for instance, labs working on remedies) apply these techniques to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these methods to construct designs that resolve their specific obstacles while gaining from lower compute costs and robust reasoning capabilities. It is likely that in deeply specialized fields, nevertheless, there will still be a need for supervised fine-tuning to get trustworthy outcomes.

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

A: The conversation indicated that the annotators mainly concentrated on domains where correctness is quickly verifiable-such as mathematics and coding. This recommends that knowledge in technical fields was certainly leveraged to guarantee the precision and clarity of the reasoning data.

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

A: While the model is developed to optimize for appropriate responses through reinforcement knowing, there is always a risk of errors-especially in uncertain circumstances. However, by examining multiple prospect outputs and enhancing those that cause verifiable outcomes, the training process lessens the possibility of propagating inaccurate reasoning.

Q14: How are hallucinations decreased in the model given its iterative reasoning loops?

A: The use of rule-based, proven jobs (such as mathematics and coding) helps anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to enhance just those that yield the correct result, the model is guided far from generating unfounded or hallucinated details.

Q15: Does the design depend 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 methods to make it possible for efficient thinking instead of showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and improved the reasoning data-has significantly boosted the clearness and dependability of DeepSeek R1's internal thought process. While it remains an evolving system, iterative training and feedback have caused significant improvements.

Q17: Which model variants are appropriate for local release on a laptop with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the range of 7B to 8B parameters-is suggested. Larger designs (for example, those with numerous billions of specifications) need substantially more computational resources and are better matched for cloud-based deployment.

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

A: DeepSeek R1 is offered with open weights, indicating that its model parameters are openly available. This lines up with the general open-source viewpoint, enabling researchers and developers to additional explore and build on its innovations.

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

A: The current technique allows the model to first explore and produce its own reasoning patterns through not being watched RL, and after that refine these patterns with monitored techniques. Reversing the order may constrain the model's ability to find diverse reasoning courses, potentially restricting its overall performance in tasks that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe totally free to receive 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: magnoliauzz881/quikconnect#1