Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
M
myad
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • 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
  • Alicia Fehon
  • myad
  • Issues
  • #6

Closed
Open
Opened May 30, 2025 by Alicia Fehon@aliciafehon058Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has 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 advancement R1. We also checked out the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

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

DeepSeek V2:

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

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less accurate way to save weights inside the LLMs however can greatly improve the memory footprint. However, training utilizing FP8 can typically be unsteady, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes numerous tricks and attains extremely steady FP8 training. V3 set the phase as an extremely effective design that was currently economical (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not just to create answers however to "believe" before answering. Using pure support knowing, the model was encouraged to produce intermediate thinking steps, for example, taking additional time (frequently 17+ seconds) to overcome a simple problem like "1 +1."

The crucial innovation here was the use of group relative policy optimization (GROP). Instead of depending on a traditional process reward model (which would have required annotating every action of the reasoning), GROP compares multiple outputs from the design. By sampling a number of possible responses and scoring them (using rule-based procedures like exact match for math or confirming code outputs), the system discovers to favor reasoning that results in the appropriate outcome without the need for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that might be tough to check out or perhaps mix languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to generate "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 utilized to tweak the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, coherent, and reliable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (zero) is how it established reasoning capabilities without explicit supervision of the reasoning process. It can be further enhanced by utilizing cold-start information and monitored support finding out to produce legible thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and developers to inspect and build on its developments. Its cost performance is a significant selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that need massive compute budgets.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both pricey and lengthy), the design was trained using an outcome-based method. It began with easily proven jobs, such as math issues and coding workouts, where the accuracy of the last answer might be easily measured.

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

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" basic issues. For instance, when asked "What is 1 +1?" it may spend almost 17 seconds different 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 look, could show helpful in complex tasks where much deeper thinking is required.

Prompt Engineering:

Traditional few-shot prompting methods, which have worked well for numerous chat-based designs, can actually deteriorate performance with R1. The developers recommend using direct problem statements with a zero-shot technique that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that may disrupt its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on customer GPUs or even just CPUs


Larger variations (600B) require significant compute resources


Available through significant cloud service providers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're especially fascinated by numerous ramifications:

The potential for this technique to be applied to other reasoning domains


Influence on agent-based AI systems traditionally built on chat models


Possibilities for integrating with other guidance strategies


Implications for enterprise AI deployment


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

Open Questions

How will this affect the development of future reasoning designs?


Can this approach be reached less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, particularly as the neighborhood begins to experiment with and build upon these techniques.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing interesting 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 brief 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 eventually depends upon your usage case. DeepSeek R1 emphasizes sophisticated reasoning and an unique training method that might be specifically valuable in tasks where verifiable reasoning is important.

Q2: Why did major companies like OpenAI opt for monitored fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We need to note in advance that they do use RL at the minimum in the kind of RLHF. It is highly likely that designs from major suppliers that have reasoning abilities currently utilize something similar to what DeepSeek has actually done here, but we can't make certain. It is also likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the all set availability of big annotated datasets. Reinforcement knowing, although powerful, can be less predictable and harder to control. DeepSeek's method innovates by applying RL in a reasoning-oriented manner, enabling the design to discover effective internal thinking with only minimal procedure annotation - a strategy that has actually proven appealing despite its complexity.

Q3: Did DeepSeek utilize test-time calculate strategies similar to those of OpenAI?

A: DeepSeek R1's style highlights efficiency by leveraging methods such as the mixture-of-experts method, which triggers just a subset of parameters, to minimize compute during inference. This concentrate on efficiency is main to its expense advantages.

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

A: R1-Zero is the initial model that learns thinking exclusively through support knowing without specific process supervision. It produces intermediate thinking steps that, while sometimes raw or blended in language, function as the structure for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the not being watched "trigger," and R1 is the polished, more meaningful version.

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

A: Remaining present includes a mix of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and getting involved in discussion groups and newsletters. Continuous engagement with online communities and collaborative research study jobs likewise plays a crucial function in staying up to date with technical improvements.

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

A: The brief response is that it's too early to tell. DeepSeek R1's strength, however, depends on its robust thinking abilities and its efficiency. It is particularly well matched for jobs that need verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be reviewed and verified. Its open-source nature even more allows for tailored applications in research study and business settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 lowers the entry barrier for deploying innovative language designs. Enterprises and start-ups can utilize its advanced thinking for agentic applications ranging from automated code generation and customer support to information analysis. Its flexible release options-on consumer hardware for smaller sized designs or cloud platforms for bigger ones-make it an attractive alternative to proprietary options.

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

A: While DeepSeek R1 has been observed to "overthink" easy problems by checking out multiple reasoning courses, it includes stopping requirements and examination mechanisms to prevent infinite loops. The reinforcement learning structure motivates convergence towards 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 functioned as the foundation for later versions. It is developed on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based upon the Qwen architecture. Its style emphasizes performance and cost reduction, setting the phase for the reasoning innovations seen in R1.

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

A: DeepSeek R1 is a text-based design and does not include vision capabilities. Its style and training focus exclusively on language processing and reasoning.

Q11: Can specialists in specialized fields (for example, labs dealing with remedies) 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 adapted to numerous domains. Researchers in fields like biomedical sciences can tailor these techniques to develop designs that address their particular obstacles while gaining from lower calculate expenses 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 trusted results.

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

A: The conversation indicated that the annotators mainly focused on domains where correctness is easily verifiable-such as mathematics and coding. This suggests that know-how in technical fields was certainly leveraged to ensure the precision and clarity of the reasoning information.

Q13: Could the design get things wrong if it relies on its own outputs for discovering?

A: While the model is created to optimize for correct answers through reinforcement knowing, there is always a risk of errors-especially in uncertain circumstances. However, by assessing multiple prospect outputs and enhancing those that result in verifiable outcomes, the training procedure decreases the probability of propagating incorrect thinking.

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

A: Making use of rule-based, verifiable jobs (such as math and coding) helps anchor the design's thinking. By comparing multiple outputs and using group relative policy optimization to enhance only those that yield the correct outcome, the design is directed far from producing 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 methods to make it possible for reliable reasoning instead of showcasing mathematical intricacy for its own sake.

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

A: Early iterations like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent refinement process-where human experts curated and enhanced the thinking data-has considerably enhanced the clearness and dependability of DeepSeek R1's internal thought process. While it remains an evolving system, iterative training and feedback have actually caused meaningful improvements.

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

A: For local screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger models (for example, those with hundreds of billions of criteria) require significantly more computational resources and are better fit for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, meaning that its model criteria are publicly available. This lines up with the overall open-source philosophy, enabling researchers and developers to additional check out and build on its innovations.

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

A: The present method permits the model to initially check out and generate its own reasoning patterns through not being watched RL, and then fine-tune these patterns with supervised methods. Reversing the order may constrain the model's ability to discover diverse reasoning courses, potentially limiting its general efficiency in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe for totally free 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: aliciafehon058/myad#6