Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C ccrr
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 30
    • Issues 30
    • 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
  • Alphonse Cronin
  • ccrr
  • Issues
  • #2

Closed
Open
Created Feb 26, 2025 by Alphonse Cronin@alphonsecroninMaintainer

Understanding DeepSeek R1


We've 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 designs through DeepSeek V3 to the breakthrough R1. We likewise 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 model; it's a household of significantly advanced AI systems. The development goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where just a subset of professionals are utilized at reasoning, dramatically improving the processing time for each token. It likewise featured multi-head latent attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less accurate method to save weights inside the LLMs but can greatly enhance the memory footprint. However, training using FP8 can normally be unsteady, and it is tough to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes several techniques and attains extremely steady FP8 training. V3 set the phase as an extremely effective model that was currently affordable (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the model not simply to generate responses however to "believe" before answering. Using pure reinforcement knowing, the model was motivated to produce intermediate thinking actions, for instance, taking extra time (frequently 17+ seconds) to resolve a simple issue like "1 +1."

The essential innovation here was using group relative policy optimization (GROP). Instead of relying on a standard process reward model (which would have required annotating every action of the thinking), GROP compares multiple outputs from the design. By sampling numerous potential answers and scoring them (utilizing rule-based measures like exact match for mathematics or verifying code outputs), the system finds out to prefer reasoning that leads to the appropriate outcome without the requirement for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's not being watched method produced thinking outputs that might be tough to read or perhaps mix languages, setiathome.berkeley.edu the designers 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 used to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, coherent, surgiteams.com and dependable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

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

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to inspect and develop upon its innovations. Its cost performance is a major selling point particularly when compared to closed-source models (claimed 90% less expensive than OpenAI) that need huge calculate budgets.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and lengthy), the model was trained utilizing an outcome-based approach. It started with quickly verifiable jobs, such as mathematics problems and coding workouts, where the correctness of the final response could be easily measured.

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

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" basic problems. For example, when asked "What is 1 +1?" it might spend nearly 17 seconds examining different scenarios-even considering binary representations-before concluding with the proper answer. This self-questioning and confirmation procedure, although it might appear ineffective in the beginning look, might prove useful in intricate tasks where deeper thinking is required.

Prompt Engineering:

Traditional few-shot prompting techniques, setiathome.berkeley.edu which have worked well for many chat-based models, can really break down efficiency with R1. The designers advise utilizing direct problem statements with a zero-shot technique that specifies the output format plainly. This guarantees that the model isn't led astray by extraneous examples or hints that may disrupt its internal thinking procedure.

Getting Going with R1

For those aiming to experiment:

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


Larger versions (600B) require considerable compute resources


Available through significant cloud companies


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous ramifications:

The potential for this method to be used to other reasoning domains


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


Possibilities for combining with other guidance methods


Implications for enterprise AI release


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 designs?


Can this method be encompassed less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be viewing these advancements carefully, especially as the neighborhood begins to experiment with and develop upon these methods.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI advancements. 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 deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the option eventually depends on your usage case. DeepSeek R1 stresses innovative thinking and an unique training approach that may be especially valuable in jobs where proven logic is crucial.

Q2: Why did major providers like OpenAI choose monitored fine-tuning rather than support knowing (RL) like DeepSeek?

A: We ought to keep in mind in advance that they do use RL at least in the form of RLHF. It is highly likely that designs from major suppliers that have reasoning abilities already utilize something comparable to what DeepSeek has done here, however 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 all set availability of big annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to manage. DeepSeek's approach innovates by applying RL in a reasoning-oriented way, making it possible for the model to learn effective internal thinking with only minimal procedure annotation - a method that has proven promising regardless of its intricacy.

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

A: DeepSeek R1's style emphasizes efficiency by leveraging methods such as the mixture-of-experts technique, which triggers only a subset of parameters, to minimize calculate during inference. This focus on effectiveness is main to its cost advantages.

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

A: R1-Zero is the initial model that learns reasoning solely through support knowing without specific process guidance. It produces intermediate thinking steps that, while in some cases raw or blended in language, work as the structure for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the unsupervised "spark," and R1 is the sleek, more coherent version.

Q5: wiki.myamens.com How can one remain updated with extensive, technical research while managing a busy schedule?

A: Remaining existing involves a combination of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research projects also plays a key role in keeping up with technical advancements.

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

A: The short response is that it's too early to inform. DeepSeek R1's strength, however, depends on its robust thinking abilities and its efficiency. It is particularly well fit for tasks that require verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate thinking can be evaluated and confirmed. Its open-source nature further enables 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 style of DeepSeek R1 lowers the entry barrier for deploying advanced language models. Enterprises and start-ups can leverage its advanced thinking for agentic applications ranging from automated code generation and consumer support to information analysis. Its versatile implementation options-on customer hardware for smaller designs or cloud platforms for larger ones-make it an appealing alternative to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by exploring numerous thinking courses, it integrates stopping requirements and assessment mechanisms to avoid unlimited loops. The support learning structure encourages merging towards a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the structure for later iterations. 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 highlights effectiveness and expense reduction, 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 model and does not incorporate vision capabilities. Its style and training focus solely on language processing and thinking.

Q11: Can specialists in specialized fields (for instance, laboratories dealing with remedies) use these techniques to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these techniques to construct designs that address their particular difficulties while gaining from lower compute expenses and robust reasoning abilities. It is likely that in deeply specialized fields, however, 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 discussion suggested that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This suggests that competence in technical fields was certainly leveraged to guarantee the accuracy and clarity of the reasoning information.

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

A: While the model is designed to optimize for right responses via reinforcement knowing, there is always a danger of errors-especially in uncertain circumstances. However, by evaluating numerous prospect outputs and enhancing those that lead to verifiable outcomes, the training process decreases the possibility of propagating incorrect reasoning.

Q14: How are hallucinations reduced in the design given its iterative reasoning loops?

A: Making use of rule-based, proven tasks (such as mathematics and coding) assists anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to enhance only those that yield the proper outcome, the design is directed far from producing unproven or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these methods to enable 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 thinking. Is that a legitimate issue?

A: Early iterations like R1-Zero did produce raw and sometimes hard-to-read reasoning. However, the subsequent improvement process-where human experts curated and enhanced the thinking data-has substantially enhanced the clarity and dependability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have caused significant improvements.

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

A: For regional testing, a medium-sized model-typically in the range of 7B to 8B parameters-is advised. Larger models (for instance, those with numerous billions of specifications) need significantly more computational resources and are better matched for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, meaning that its model parameters are publicly available. This lines up with the overall open-source viewpoint, permitting researchers and designers to additional check out and construct upon its .

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

A: The current method allows the design to first check out and create its own thinking patterns through without supervision RL, and after that refine these patterns with monitored techniques. Reversing the order may constrain the design's capability to find varied thinking courses, potentially restricting its general efficiency in jobs that gain from self-governing idea.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking