Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
lelespace
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 63
    • Issues 63
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Angelita Pina
  • lelespace
  • Issues
  • #45

Closed
Open
Opened Apr 07, 2025 by Angelita Pina@angelitapina74Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually 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 advancement of the DeepSeek household - from the early designs through DeepSeek V3 to the development R1. We also explored the technical developments that make R1 so unique 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 advancement 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 used at inference, drastically enhancing the processing time for each token. It also included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less precise method to keep weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can typically be unstable, and it is tough to obtain the wanted training results. Nevertheless, DeepSeek uses several tricks and attains remarkably stable FP8 training. V3 set the stage as an extremely efficient model that was already cost-efficient (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 very first reasoning-focused model. Here, the focus was on teaching the model not simply to create responses however to "think" before answering. Using pure support learning, the design was motivated to produce intermediate thinking actions, for example, taking additional time (often 17+ seconds) to overcome an easy issue like "1 +1."

The essential innovation here was the use of group relative policy optimization (GROP). Instead of counting on a traditional procedure reward model (which would have required annotating every step of the thinking), GROP compares numerous outputs from the model. By sampling numerous potential responses and scoring them (utilizing rule-based steps like exact match for math or confirming code outputs), the system finds out to prefer thinking that causes the appropriate result without the need for explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced thinking outputs that might be hard to check out and even blend languages, the designers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and then by hand curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then utilized to tweak the original DeepSeek V3 design further-combining both reasoning-oriented support knowing and supervised fine-tuning. The is DeepSeek R1: a design that now produces legible, coherent, and trusted reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (zero) is how it established thinking capabilities without explicit guidance of the thinking procedure. It can be even more improved by utilizing cold-start data and monitored reinforcement learning to produce readable thinking on general jobs. 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 effectiveness is a significant selling point particularly when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both costly and lengthy), the model was trained utilizing an outcome-based approach. It started with quickly verifiable jobs, such as math problems and coding workouts, where the accuracy of the final answer could be easily determined.

By using group relative policy optimization, the training process compares several produced responses to determine which ones meet the wanted output. This relative scoring system permits the design to learn "how to believe" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "overthinks" basic problems. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds assessing various scenarios-even thinking about binary representations-before concluding with the right answer. This self-questioning and confirmation procedure, although it may seem inefficient in the beginning glimpse, might prove useful in intricate tasks where deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for lots of chat-based models, can really deteriorate efficiency with R1. The developers recommend utilizing direct problem declarations with a zero-shot technique that specifies the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that might disrupt its internal reasoning process.

Beginning with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on customer GPUs or even only CPUs


Larger versions (600B) require considerable calculate resources


Available through significant cloud providers


Can be released locally through Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous implications:

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


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


Possibilities for combining with other supervision strategies


Implications for enterprise AI deployment


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

Open Questions

How will this affect the development of future thinking models?


Can this approach be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these advancements carefully, particularly as the neighborhood begins to try out and build on these strategies.

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 dealing 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 community, the option ultimately depends on your usage case. DeepSeek R1 highlights sophisticated thinking and an unique training method that might be particularly important in tasks where verifiable reasoning is critical.

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

A: We ought to note upfront that they do utilize RL at the minimum in the type of RLHF. It is highly likely that designs from major companies that have reasoning capabilities already 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 monitored fine-tuning due to its stability and the prepared availability of big annotated datasets. Reinforcement knowing, although effective, can be less predictable and more difficult to control. DeepSeek's method innovates by using RL in a reasoning-oriented way, allowing the model to find out reliable internal reasoning with only very little process annotation - a strategy that has shown appealing despite its complexity.

Q3: Did DeepSeek use test-time calculate methods similar to those of OpenAI?

A: DeepSeek R1's style highlights performance by leveraging methods such as the mixture-of-experts method, which activates only a subset of parameters, to minimize compute during inference. This focus on effectiveness 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 thinking solely through reinforcement knowing without specific procedure supervision. It produces intermediate reasoning actions that, while often raw or blended in language, serve as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the not being watched "spark," and R1 is the refined, more coherent variation.

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

A: Remaining present includes 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, participating in relevant conferences and webinars, and participating in discussion groups and newsletters. Continuous engagement with online neighborhoods and collective research projects likewise plays an essential role in staying up to date with technical improvements.

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

A: The brief answer is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its performance. It is especially well matched for jobs that require proven logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature even more enables for 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 affordable design of DeepSeek R1 decreases the entry barrier for deploying advanced language designs. Enterprises and start-ups can leverage its innovative thinking for agentic applications ranging from automated code generation and customer assistance to information analysis. Its versatile release options-on customer hardware for smaller sized models or cloud platforms for bigger ones-make it an appealing alternative to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple issues by checking out several reasoning paths, it integrates stopping requirements and examination systems to avoid limitless loops. The reinforcement learning framework motivates merging toward a proven output, bytes-the-dust.com even in uncertain cases.

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

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

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can specialists in specialized fields (for instance, labs dealing with treatments) use these approaches to train domain-specific designs?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these approaches to develop models that resolve their specific obstacles while gaining from lower calculate costs and robust thinking abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a need for monitored fine-tuning to get dependable results.

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

A: The conversation suggested that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that competence in technical fields was certainly leveraged to guarantee the accuracy and clarity of the thinking data.

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

A: surgiteams.com While the model is designed to enhance for proper answers by means of reinforcement knowing, there is always a danger of errors-especially in uncertain scenarios. However, by evaluating numerous prospect outputs and strengthening those that lead to proven results, the training procedure lessens the likelihood of propagating incorrect reasoning.

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

A: Using rule-based, proven jobs (such as math and coding) helps anchor the model's thinking. By comparing numerous outputs and utilizing group relative policy optimization to reinforce only those that yield the appropriate outcome, the design is directed away from producing unproven or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

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

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

A: Early models like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent improvement process-where human professionals curated and enhanced the reasoning data-has significantly boosted the clarity and dependability of DeepSeek R1's internal idea process. While it remains a developing system, iterative training and feedback have actually led to significant improvements.

Q17: Which design variants are suitable for local release on a laptop computer with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the range of 7B to 8B parameters-is recommended. Larger models (for instance, those with numerous billions of criteria) need significantly more computational resources and are much better fit for cloud-based deployment.

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

A: DeepSeek R1 is provided with open weights, suggesting that its design specifications are publicly available. This lines up with the general open-source viewpoint, enabling scientists and developers to additional check out and build on its innovations.

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

A: The existing approach allows the design to first check out and generate its own thinking patterns through unsupervised RL, and then refine these patterns with supervised methods. Reversing the order may constrain the design's capability to discover diverse thinking courses, potentially restricting its total performance in tasks that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe free of charge to receive brand-new posts and support my work.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: angelitapina74/lelespace#45