Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C cacklehub
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 23
    • Issues 23
    • 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
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Alena Parkinson
  • cacklehub
  • Issues
  • #22

Closed
Open
Created May 30, 2025 by Alena Parkinson@alena87551543Maintainer

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 explored the technical developments 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 progressively sophisticated 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 reasoning, considerably improving the processing time for each token. It likewise featured multi-head latent attention to reduce memory footprint.

DeepSeek V3:

This design presented FP8 training methods, which helped drive down training expenses by over 42.5% compared to previous models. FP8 is a less precise way to save weights inside the LLMs however can greatly improve the memory footprint. However, training utilizing FP8 can generally be unstable, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek uses several techniques and attains remarkably steady FP8 training. V3 set the stage as a highly efficient design that was already cost-efficient (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the model not simply to produce answers but to "believe" before responding to. Using pure reinforcement learning, the model was encouraged to generate intermediate reasoning steps, for example, taking extra time (frequently 17+ seconds) to work through an easy problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of depending on a traditional process reward design (which would have required annotating every action of the reasoning), GROP compares several outputs from the design. By sampling several possible responses and scoring them (utilizing rule-based procedures like precise match for mathematics or validating code outputs), the system discovers to favor thinking that leads to the appropriate outcome without the requirement for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced thinking outputs that might be tough to read or perhaps mix languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to generate "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 fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and supervised 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 fascinating element of R1 (no) is how it established reasoning capabilities without explicit guidance of the thinking process. It can be even more improved by using cold-start information and monitored support learning to produce legible thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and designers to check and construct upon its developments. Its cost performance is a major selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require massive compute budgets.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both expensive and time-consuming), the model was trained utilizing an outcome-based approach. It began with quickly proven jobs, such as math issues and coding exercises, where the accuracy of the last answer might be easily measured.

By utilizing group relative policy optimization, the training process compares several produced answers to figure out which ones fulfill the preferred output. This relative scoring system enables the model to learn "how to believe" even when intermediate thinking is created in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds assessing different scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and confirmation procedure, although it may appear ineffective initially glance, might prove useful in intricate tasks where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for numerous chat-based models, can in fact break down performance with R1. The developers suggest utilizing direct issue declarations with a zero-shot approach that specifies the output format plainly. This makes sure that the design isn't led astray by or hints that may disrupt its internal reasoning procedure.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can work on consumer GPUs or even only CPUs


Larger variations (600B) require substantial calculate resources


Available through major cloud companies


Can be deployed locally through Ollama or vLLM


Looking Ahead

We're particularly intrigued by several implications:

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


Effect on agent-based AI systems generally built on chat designs


Possibilities for integrating with other guidance techniques


Implications for enterprise 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 reasoning designs?


Can this method be extended to less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, especially as the neighborhood starts to experiment with and develop upon these techniques.

Resources

Join our Slack community for continuous discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications already emerging from our bootcamp participants 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 model in the open-source neighborhood, the option ultimately depends upon your use case. DeepSeek R1 stresses innovative thinking and a novel training approach that might be specifically valuable in jobs where verifiable logic is important.

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

A: We should keep in mind upfront that they do utilize RL at the really least in the kind of RLHF. It is highly likely that designs from major suppliers that have thinking capabilities already use something comparable 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 preferred supervised 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 way, making it possible for the model to discover effective internal thinking with only minimal procedure annotation - a technique that has proven promising in spite of its complexity.

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

A: DeepSeek R1's design emphasizes efficiency by leveraging techniques such as the mixture-of-experts approach, which activates only a subset of specifications, to decrease compute during reasoning. This concentrate on efficiency is main to its cost benefits.

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

A: R1-Zero is the initial design that discovers reasoning solely through support knowing without specific process guidance. It creates intermediate reasoning actions that, while often raw or combined in language, work as the structure for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the not being watched "trigger," and R1 is the sleek, more meaningful version.

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

A: Remaining present involves a combination of actively engaging with the research study community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects also plays an essential function in keeping up with technical developments.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, however, depends on its robust reasoning abilities and its effectiveness. It is especially well matched for jobs that require proven logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate thinking can be reviewed and verified. Its open-source nature further enables for tailored applications in research study and business settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 reduces the entry barrier for deploying innovative language models. Enterprises and start-ups can leverage its innovative reasoning for agentic applications ranging from automated code generation and client support to data analysis. Its flexible deployment options-on consumer hardware for smaller designs or cloud platforms for bigger ones-make it an attractive alternative to exclusive services.

Q8: Will the design 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 exploring numerous reasoning paths, it integrates stopping criteria and evaluation systems to prevent infinite loops. The support discovering framework encourages merging toward a proven output, even in uncertain cases.

Q9: surgiteams.com Is DeepSeek V3 entirely open source, and is it based on the Qwen architecture?

A: Yes, DeepSeek V3 is open source and worked as the foundation for later iterations. It is built on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its style stresses performance and expense reduction, setting the stage for the reasoning 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 integrate vision abilities. Its style and training focus solely on language processing and thinking.

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

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

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 concentrated on domains where accuracy is easily verifiable-such as math and coding. This suggests that knowledge in technical fields was certainly leveraged to ensure the accuracy and clearness of the reasoning information.

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

A: While the model is developed to enhance for proper answers by means of support knowing, there is always a risk of errors-especially in uncertain situations. However, by examining multiple prospect outputs and strengthening those that lead to proven results, the training process reduces the likelihood of propagating inaccurate reasoning.

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

A: Making use of rule-based, proven jobs (such as math and coding) helps anchor the model's thinking. By comparing several outputs and utilizing group relative policy optimization to reinforce just those that yield the right result, the model is guided far from creating unfounded or hallucinated details.

Q15: Does the design 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 strategies to allow efficient reasoning instead of showcasing mathematical intricacy for its own sake.

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

A: Early models like R1-Zero did produce raw and sometimes hard-to-read reasoning. However, the subsequent refinement process-where human experts curated and enhanced the reasoning data-has considerably improved the clearness and reliability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have actually resulted in significant enhancements.

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

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of parameters) require considerably more computational resources and are better fit for cloud-based implementation.

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

A: DeepSeek R1 is supplied with open weights, suggesting that its model parameters are openly available. This lines up with the total open-source approach, permitting researchers and developers to further check out and build upon its developments.

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

A: The present method enables the design to initially explore and produce its own reasoning patterns through not being watched RL, and after that improve these patterns with monitored approaches. Reversing the order might constrain the design's ability to find varied reasoning paths, possibly limiting its general efficiency in jobs that gain from self-governing thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking