Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
1
195
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 7
    • Issues 7
    • List
    • Boards
    • 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
  • Carmela Crotty
  • 195
  • Issues
  • #5

Closed
Open
Opened Feb 22, 2025 by Carmela Crotty@carmelacrotty0
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've 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 evolution of the DeepSeek household - from the early designs through DeepSeek V3 to the development R1. We likewise explored the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Family Tree: From V3 to R1

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

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where only a subset of experts are used at reasoning, significantly improving the processing time for each token. It likewise included multi-head hidden attention to reduce 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 precise method to keep weights inside the LLMs but can greatly enhance the memory footprint. However, training utilizing FP8 can generally be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek uses multiple tricks and attains remarkably stable FP8 training. V3 set the phase as a highly efficient design that was currently cost-effective (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 design not simply to produce answers however to "think" before answering. Using pure support learning, the model was motivated to generate intermediate thinking actions, for instance, taking extra time (frequently 17+ seconds) to work through an easy problem like "1 +1."

The essential innovation here was the usage of group relative policy optimization (GROP). Instead of depending on a standard procedure benefit model (which would have required annotating every step of the reasoning), GROP compares multiple outputs from the model. By sampling a number of possible answers and scoring them (using rule-based steps like exact match for math or validating code outputs), the system finds out to prefer reasoning that causes the appropriate result without the requirement for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that could be hard to check out or perhaps mix languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" data and after that by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to tweak the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement knowing and supervised fine-tuning. The result is DeepSeek R1: a design that now produces understandable, meaningful, and reputable reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (no) is how it developed reasoning abilities without explicit guidance of the thinking procedure. It can be even more enhanced by utilizing cold-start information and monitored support discovering to produce legible thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

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

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and time-consuming), the model was trained using an outcome-based approach. It began with quickly proven tasks, such as mathematics problems and coding workouts, where the correctness of the last answer could be quickly determined.

By utilizing group relative policy optimization, the training procedure compares several produced responses to identify which ones meet the wanted output. This relative scoring mechanism enables the model to find out "how to think" even when intermediate thinking is produced in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" simple problems. For example, when asked "What is 1 +1?" it may spend nearly 17 seconds evaluating different scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and verification process, although it might seem inefficient at very first glance, might show advantageous in complex jobs where much deeper thinking is essential.

Prompt Engineering:

Traditional few-shot prompting methods, which have worked well for lots of chat-based designs, can really deteriorate efficiency with R1. The developers recommend using direct issue statements with a zero-shot approach that defines the output format plainly. This guarantees that the model isn't led astray by extraneous examples or tips that might hinder its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

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


Larger variations (600B) need significant compute resources


Available through significant cloud service providers


Can be deployed locally via Ollama or vLLM


Looking Ahead

We're especially captivated by numerous ramifications:

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 guidance strategies


Implications for enterprise AI deployment


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

Open Questions

How will this impact the development of future thinking designs?


Can this approach be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, especially as the neighborhood begins to try out and build upon these strategies.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications already emerging from our bootcamp participants 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 brief 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 design in the open-source community, the option ultimately depends on your usage case. DeepSeek R1 highlights advanced reasoning and a novel training method that might be particularly valuable in jobs where proven reasoning is critical.

Q2: Why did significant providers like OpenAI go with supervised fine-tuning instead of support knowing (RL) like DeepSeek?

A: We ought to keep in mind upfront that they do use RL at least in the kind of RLHF. It is most likely that designs from significant providers that have reasoning capabilities already use something comparable to what DeepSeek has actually done here, however we can't make certain. It is likewise most likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement learning, although effective, can be less foreseeable and harder to control. DeepSeek's approach innovates by applying RL in a reasoning-oriented manner, making it possible for the model to find out reliable internal thinking with only minimal process annotation - a technique that has actually proven appealing despite its complexity.

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

A: DeepSeek R1's style highlights effectiveness by leveraging methods such as the mixture-of-experts method, which triggers just a subset of criteria, to minimize calculate during inference. This concentrate on effectiveness 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 discovers thinking solely through support learning without specific procedure supervision. It creates intermediate reasoning actions that, while sometimes raw or blended in language, act as the foundation for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the unsupervised "spark," and R1 is the sleek, more meaningful variation.

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

A: Remaining existing involves a combination of actively engaging with the research community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in pertinent conferences and webinars, and getting involved in discussion groups and newsletters. Continuous engagement with online communities and collaborative research study jobs also plays an essential function in staying up to date with technical developments.

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

A: The brief response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking capabilities and its effectiveness. It is especially well suited for tasks that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be examined and confirmed. Its open-source nature further permits tailored applications in research and enterprise settings.

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

A: The open-source and affordable design of DeepSeek R1 reduces the entry barrier for releasing innovative language models. Enterprises and start-ups can utilize its advanced thinking for agentic applications ranging from automated code generation and consumer support to data analysis. Its flexible implementation options-on customer hardware for smaller designs or cloud platforms for larger ones-make it an attractive option to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple issues by checking out multiple reasoning paths, it integrates stopping criteria and evaluation mechanisms to prevent unlimited loops. The support learning framework encourages merging toward a verifiable 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 worked as the foundation for later models. It is developed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its design highlights performance and expense reduction, setting the phase for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

A: DeepSeek R1 is a text-based model and does not integrate vision capabilities. Its style and training focus solely on language processing and reasoning.

Q11: Can experts in specialized fields (for example, laboratories working on cures) 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 adjusted to various domains. Researchers in fields like biomedical sciences can tailor these methods to build models that address their specific challenges while gaining from lower compute costs and trademarketclassifieds.com robust reasoning capabilities. It is most likely that in deeply specialized fields, however, there will still be a requirement for monitored fine-tuning to get reliable outcomes.

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 math 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 discovering?

A: While the design is designed to enhance for proper responses by means of reinforcement learning, there is always a danger of errors-especially in uncertain circumstances. However, by evaluating several prospect outputs and strengthening those that lead to verifiable results, the training procedure lessens the possibility of propagating incorrect reasoning.

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

A: The usage of rule-based, verifiable jobs (such as mathematics and coding) helps anchor the model's thinking. By comparing several outputs and utilizing group optimization to strengthen just those that yield the right result, the design is directed far from producing unfounded or hallucinated details.

Q15: Does the design rely on complex vector hb9lc.org mathematics?

A: Yes, yewiki.org 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 techniques to allow efficient thinking instead of showcasing mathematical complexity for its own sake.

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

A: Early models like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent improvement process-where human professionals curated and improved the thinking data-has considerably enhanced the clearness and reliability of DeepSeek R1's internal idea procedure. While it remains a progressing system, iterative training and feedback have actually led to significant enhancements.

Q17: Which model versions are suitable for regional implementation 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 recommended. Larger designs (for example, those with hundreds of billions of criteria) need considerably more computational resources and are much better fit for cloud-based release.

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

A: DeepSeek R1 is supplied with open weights, implying that its model parameters are publicly available. This lines up with the general open-source viewpoint, allowing researchers and designers to more explore and build on its innovations.

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

A: The current technique enables the design to first check out and generate its own thinking patterns through without supervision RL, and then fine-tune these patterns with monitored techniques. Reversing the order might constrain the design's capability to find diverse thinking paths, possibly restricting its overall efficiency in jobs that gain from self-governing idea.

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
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: carmelacrotty0/195#5