Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
2
202
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • 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
  • Jerilyn Micklem
  • 202
  • Issues
  • #1

Closed
Open
Opened Feb 28, 2025 by Jerilyn Micklem@jerilynmicklem
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has 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 breakthrough R1. We also checked out the technical developments that make R1 so unique worldwide of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

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

DeepSeek V2:

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

DeepSeek V3:

This model presented FP8 training strategies, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less accurate way to save weights inside the LLMs but can greatly enhance the memory footprint. However, training using FP8 can typically be unstable, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes multiple techniques and attains extremely steady FP8 training. V3 set the stage as an extremely efficient model that was currently 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 very first reasoning-focused iteration. Here, the focus was on teaching the model not just to create responses but to "believe" before responding to. Using pure reinforcement knowing, the model was motivated to create intermediate reasoning steps, for instance, taking additional time (often 17+ seconds) to resolve a simple problem like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of relying on a conventional procedure benefit model (which would have needed annotating every step of the reasoning), GROP compares multiple outputs from the design. By sampling several prospective answers and scoring them (utilizing rule-based measures like precise match for math or validating code outputs), the system learns to favor thinking that leads to the proper 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 check out or disgaeawiki.info perhaps blend languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" data and then by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces understandable, meaningful, and reliable reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (zero) is how it developed reasoning capabilities without explicit guidance of the thinking process. It can be even more enhanced by using cold-start information and monitored reinforcement discovering to produce understandable reasoning on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and developers to check and construct upon its developments. Its cost effectiveness is a significant selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require enormous calculate budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both pricey and time-consuming), the model was trained utilizing an outcome-based technique. It started with easily proven jobs, such as math problems and coding workouts, where the correctness of the last response could be easily determined.

By utilizing group relative policy optimization, the training process compares numerous produced answers to identify which ones meet the wanted output. This relative scoring system allows the design to find out "how to think" even when intermediate reasoning is produced in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" simple issues. For instance, when asked "What is 1 +1?" it may spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and confirmation process, although it might seem ineffective initially glance, might prove helpful in intricate tasks where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for many chat-based models, can in fact degrade performance with R1. The designers advise using direct problem declarations with a zero-shot method that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that may hinder its internal thinking process.

Getting Started with R1

For those aiming to experiment:

Smaller variations (7B-8B) can operate on customer GPUs and even just CPUs


Larger versions (600B) need substantial compute resources


Available through significant cloud companies


Can be deployed locally via Ollama or vLLM


Looking Ahead

We're especially intrigued by several implications:

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


Impact on agent-based AI systems traditionally constructed on chat models


Possibilities for setiathome.berkeley.edu integrating with other guidance techniques


Implications for enterprise AI deployment


Thanks for reading Deep Random Thoughts! Subscribe totally free to get brand-new posts and support my work.

Open Questions

How will this affect the advancement of future thinking designs?


Can this approach be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, particularly as the neighborhood starts to try out and build on these techniques.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI advancements. We're seeing remarkable applications already emerging from our bootcamp individuals dealing with these designs.

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 likewise a strong model in the open-source neighborhood, the choice eventually depends on your use case. DeepSeek R1 emphasizes sophisticated thinking and a novel training method that might be specifically important in jobs where verifiable reasoning is crucial.

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

A: We must keep in mind in advance that they do utilize RL at the minimum in the kind of RLHF. It is most likely that models from major providers that have thinking capabilities already use something similar to what DeepSeek has done here, however we can't make certain. It is also most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the all set availability of big annotated datasets. Reinforcement knowing, although powerful, can be less predictable and more difficult to control. DeepSeek's technique innovates by using RL in a reasoning-oriented way, enabling the model to discover efficient internal reasoning with only very little process annotation - a method that has proven appealing despite its complexity.

Q3: Did DeepSeek use test-time calculate techniques comparable to those of OpenAI?

A: DeepSeek R1's design stresses effectiveness by leveraging methods such as the mixture-of-experts method, which activates only a subset of criteria, systemcheck-wiki.de to minimize compute throughout inference. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary design that finds out reasoning solely through support knowing without explicit procedure guidance. It generates intermediate thinking actions that, while in some cases raw or mixed in language, act as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the without supervision "spark," and R1 is the polished, more coherent variation.

Q5: How can one remain updated with in-depth, technical research study while managing a busy schedule?

A: Remaining present includes a mix of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, in appropriate conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research jobs also plays a crucial role in staying up to date with technical advancements.

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

A: The brief response is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, depends on its robust reasoning abilities and its effectiveness. It is especially well suited for tasks that require verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate reasoning can be evaluated and confirmed. Its open-source nature further permits 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 cost-effective style of DeepSeek R1 decreases the entry barrier for deploying advanced language models. Enterprises and start-ups can take advantage of its innovative thinking for agentic applications ranging from automated code generation and customer assistance to data analysis. Its flexible release options-on consumer hardware for smaller sized models or cloud platforms for larger ones-make it an appealing option to proprietary services.

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by checking out several reasoning paths, it integrates stopping requirements and evaluation mechanisms to avoid unlimited loops. The reinforcement finding out structure motivates convergence towards a proven output, bytes-the-dust.com 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 foundation for later models. It is built on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its design highlights efficiency and expense reduction, setting the phase for the thinking developments 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 entirely on language processing and reasoning.

Q11: Can professionals in specialized fields (for instance, labs dealing with remedies) apply these techniques to train domain-specific models?

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 build designs that address their specific difficulties while gaining from lower compute expenses and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get reliable results.

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

A: The conversation showed that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that competence in technical fields was certainly leveraged to make sure the precision and disgaeawiki.info clarity of the thinking information.

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

A: While the model is developed to optimize for proper responses by means of support learning, there is always a danger of errors-especially in uncertain scenarios. However, by examining several prospect outputs and wiki.snooze-hotelsoftware.de strengthening those that cause verifiable results, the training process reduces the possibility of propagating inaccurate thinking.

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

A: Making use of rule-based, verifiable jobs (such as mathematics and coding) helps anchor the design's thinking. By comparing several outputs and using group relative policy optimization to strengthen only those that yield the appropriate outcome, the model is directed away from generating 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 implementation of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on using these techniques to allow efficient thinking rather than showcasing mathematical complexity for its own sake.

Q16: Some worry that the design's "thinking" may not be as fine-tuned as human reasoning. Is that a valid issue?

A: Early versions 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 considerably boosted the clarity and dependability of DeepSeek R1's internal idea process. While it remains a developing system, iterative training and feedback have actually caused meaningful improvements.

Q17: Which model variants appropriate for regional implementation 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 suggested. Larger designs (for example, those with numerous billions of parameters) need substantially more computational resources and are better matched for cloud-based deployment.

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

A: DeepSeek R1 is supplied with open weights, meaning that its model specifications are publicly available. This lines up with the general open-source approach, permitting researchers and designers to additional explore and build upon its developments.

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

A: The existing technique enables the model to initially explore and create its own reasoning patterns through unsupervised RL, and after that fine-tune these patterns with monitored approaches. Reversing the order may constrain the design's capability to discover varied reasoning paths, potentially restricting its total performance in jobs that gain from autonomous idea.

Thanks for reading Deep Random Thoughts! Subscribe for totally free 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: jerilynmicklem/202#1