Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
lonestartube
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 57
    • Issues 57
    • 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
  • Alice Branco
  • lonestartube
  • Issues
  • #48

Closed
Open
Opened Apr 09, 2025 by Alice Branco@alicebranco819
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has actually taken the AI world by storm in recent weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early models through DeepSeek V3 to the advancement R1. We likewise checked out the technical developments that make R1 so unique worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a family of increasingly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where just a subset of experts are utilized at inference, significantly improving the processing time for each token. It also included multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This model introduced FP8 training strategies, which assisted drive down training costs by over 42.5% compared to previous versions. FP8 is a less precise way to save weights inside the LLMs however can significantly enhance the memory footprint. However, training using FP8 can usually be unstable, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek uses several tricks and attains incredibly stable FP8 training. V3 set the phase as a highly effective design that was already affordable (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused model. Here, the focus was on teaching the model not just to produce answers but to "think" before addressing. Using pure support knowing, the design was motivated to create intermediate reasoning steps, for example, taking additional time (frequently 17+ seconds) to overcome an easy issue like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of relying on a reward model (which would have required annotating every action of the reasoning), GROP compares multiple outputs from the model. By sampling several potential responses and scoring them (using rule-based procedures like precise match for math or confirming code outputs), the system learns to favor reasoning that causes the right result without the requirement for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that could be tough to read and even blend languages, the developers returned to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" data and then manually curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces legible, meaningful, and dependable thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (no) is how it established thinking abilities without explicit guidance of the reasoning process. It can be even more enhanced by utilizing cold-start data and monitored reinforcement discovering to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and designers to inspect and build on its developments. Its cost efficiency is a significant selling point especially when compared to closed-source models (claimed 90% less expensive than OpenAI) that require huge compute spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both expensive and lengthy), the design was trained using an outcome-based approach. It started with quickly proven jobs, such as math problems and coding exercises, where the accuracy of the last response could be quickly measured.

By utilizing group relative policy optimization, the training procedure compares multiple produced answers to figure out which ones fulfill the preferred output. This relative scoring system allows the design to learn "how to think" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "overthinks" easy issues. For example, when asked "What is 1 +1?" it may invest almost 17 seconds examining various scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and confirmation process, although it might appear inefficient initially glance, could show beneficial in complex tasks where deeper thinking is essential.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for lots of chat-based designs, can really degrade performance with R1. The developers suggest using direct problem statements with a zero-shot approach that specifies the output format plainly. This guarantees that the model isn't led astray by extraneous examples or hints that might hinder its internal thinking process.

Beginning with R1

For those aiming to experiment:

Smaller variations (7B-8B) can run on customer GPUs or perhaps just CPUs


Larger versions (600B) require considerable calculate resources


Available through major cloud service providers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're especially captivated by a number of implications:

The potential for this approach to be used to other thinking domains


Impact on agent-based AI systems generally built on chat models


Possibilities for integrating with other guidance methods


Implications for business AI release


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

Open Questions

How will this impact the advancement of future thinking designs?


Can this method be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these advancements closely, particularly as the neighborhood starts to explore and build upon these methods.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently 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 also a strong design in the open-source community, the choice ultimately depends upon your usage case. DeepSeek R1 highlights sophisticated reasoning and an unique training approach that might be particularly valuable in jobs where verifiable logic is vital.

Q2: Why did significant suppliers like OpenAI decide for supervised fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We need to note in advance that they do use RL at least in the kind of RLHF. It is most likely that designs from significant providers that have thinking capabilities currently use something comparable to what DeepSeek has done here, however we can't make certain. It is likewise most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement knowing, although effective, can be less foreseeable and harder to manage. DeepSeek's technique innovates by using RL in a reasoning-oriented manner, enabling the design to find out efficient internal thinking with only minimal process annotation - a strategy that has proven appealing regardless of its complexity.

Q3: Did DeepSeek utilize test-time calculate methods comparable to those of OpenAI?

A: DeepSeek R1's design highlights performance by leveraging methods such as the mixture-of-experts method, which triggers only a subset of criteria, to minimize calculate during reasoning. This concentrate on performance is main to its cost advantages.

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

A: R1-Zero is the initial model that finds out reasoning solely through support learning without explicit process supervision. It produces intermediate thinking steps that, while in some cases raw or mixed in language, function as the foundation for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero supplies the without supervision "trigger," and R1 is the refined, more meaningful version.

Q5: How can one remain upgraded with thorough, technical research while handling a hectic schedule?

A: Remaining existing involves a combination of actively engaging with the research study neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collective research study tasks also plays a crucial role in keeping up with technical developments.

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

A: The brief response is that it's too early to tell. DeepSeek R1's strength, however, lies in its robust reasoning abilities and its performance. It is especially well suited for tasks that require verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate thinking can be evaluated 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 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 take advantage of its sophisticated thinking for agentic applications varying from automated code generation and consumer assistance to data analysis. Its versatile implementation options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing option to proprietary services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by checking out several thinking courses, it includes stopping criteria and assessment mechanisms to avoid unlimited loops. The support learning framework encourages convergence towards a proven output, even in uncertain cases.

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

A: Yes, systemcheck-wiki.de DeepSeek V3 is open source and served as the foundation for later versions. It is developed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its design stresses performance and cost decrease, setting the phase for the thinking innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can experts in specialized fields (for instance, labs working on cures) apply these methods to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these methods to construct designs that address their particular challenges while gaining from lower compute expenses and robust thinking abilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get trusted results.

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

A: The discussion showed that the annotators mainly focused on domains where accuracy is easily verifiable-such as math and coding. This recommends that expertise in technical fields was certainly leveraged to ensure the accuracy and clarity of the thinking information.

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

A: While the model is created to enhance for right responses by means of support knowing, there is always a threat of errors-especially in uncertain circumstances. However, by evaluating multiple candidate outputs and reinforcing those that cause proven outcomes, the training process decreases the possibility of propagating incorrect thinking.

Q14: How are hallucinations minimized in the design provided its iterative thinking loops?

A: The usage of rule-based, proven tasks (such as mathematics and coding) assists anchor the model's thinking. By comparing multiple outputs and using group relative policy optimization to reinforce only those that yield the proper outcome, the model is directed away from generating unfounded 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 mechanisms in DeepSeek R1. However, the main focus is on utilizing these methods to enable efficient reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some fret that the model's "thinking" might not be as improved as human reasoning. Is that a valid issue?

A: Early models like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent refinement process-where human specialists curated and improved the thinking data-has significantly boosted the clarity and reliability of DeepSeek R1's internal idea process. While it remains a progressing system, iterative training and feedback have actually led to meaningful improvements.

Q17: systemcheck-wiki.de Which design versions are appropriate for regional release 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 recommended. Larger designs (for instance, those with hundreds of billions of criteria) need substantially more computational resources and are much better suited for hb9lc.org cloud-based implementation.

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

A: DeepSeek R1 is provided with open weights, indicating that its design parameters are publicly available. This aligns with the general open-source viewpoint, allowing scientists and developers to additional check out and build on its innovations.

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

A: The existing method allows the model to initially explore and produce its own thinking patterns through unsupervised RL, and then improve these patterns with supervised techniques. Reversing the order might constrain the design's capability to find varied reasoning paths, possibly limiting its total performance in tasks that gain from self-governing idea.

Thanks for reading 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
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: alicebranco819/lonestartube#48