Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
R
rolandradio
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 71
    • Issues 71
    • 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
  • Alba Caban
  • rolandradio
  • Issues
  • #1

Closed
Open
Opened Feb 15, 2025 by Alba Caban@albacaban67437
  • 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 development of the DeepSeek household - from the early models through DeepSeek V3 to the breakthrough R1. We likewise explored the technical innovations 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 family of increasingly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where only a subset of specialists are used at reasoning, considerably enhancing the processing time for each token. It also featured 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 models. FP8 is a less exact way to store weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can normally 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 efficient design that was already cost-effective (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused model. Here, raovatonline.org the focus was on teaching the model not simply to produce answers however to "believe" before answering. Using pure reinforcement knowing, the model was motivated to create intermediate thinking steps, for instance, taking extra time (often 17+ seconds) to work through a simple problem like "1 +1."

The key innovation here was the usage of group relative policy optimization (GROP). Instead of relying on a traditional procedure benefit model (which would have required annotating every step of the thinking), GROP compares multiple outputs from the design. By sampling several potential answers and scoring them (utilizing rule-based measures like precise match for mathematics or verifying code outputs), the system finds out to prefer reasoning that leads to the appropriate outcome without the requirement for specific supervision of every .

DeepSeek R1:

Recognizing that R1-Zero's not being watched approach produced thinking outputs that could be tough to check out or even blend 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 improve the quality of the thinking. This human post-processing was then used to tweak the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces readable, coherent, and dependable reasoning 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 developed reasoning capabilities without explicit supervision of the reasoning process. It can be further enhanced by utilizing cold-start data and supervised reinforcement discovering to produce understandable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and designers to check and build upon its developments. Its cost efficiency is a significant selling point particularly when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require enormous calculate budgets.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and lengthy), the model was trained using an outcome-based technique. It started with easily verifiable jobs, such as math problems and coding exercises, where the correctness of the final answer might be quickly measured.

By utilizing group relative policy optimization, the training procedure compares numerous generated responses to figure out which ones meet the preferred output. This relative scoring system permits the design to find out "how to believe" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" easy issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds assessing various scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and verification process, although it may seem inefficient initially glimpse, might prove beneficial in intricate jobs where much deeper thinking is essential.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for many chat-based designs, can in fact deteriorate efficiency with R1. The developers recommend using direct issue statements with a zero-shot technique that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that may interfere with its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller variations (7B-8B) can run on consumer GPUs and even only CPUs


Larger variations (600B) require considerable calculate resources


Available through significant cloud providers


Can be deployed locally via Ollama or vLLM


Looking Ahead

We're particularly captivated by a number of implications:

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


Influence on agent-based AI systems generally developed on chat designs


Possibilities for combining with other supervision techniques


Implications for business AI release


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

Open Questions

How will this impact the advancement of future thinking designs?


Can this technique be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments closely, particularly as the community starts to try out and construct upon these strategies.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI developments. 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 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 model in the open-source neighborhood, the choice eventually depends upon your use case. DeepSeek R1 stresses advanced thinking and a novel training technique that may be especially important in jobs where verifiable logic is critical.

Q2: Why did major service providers like OpenAI decide for supervised fine-tuning rather than support learning (RL) like DeepSeek?

A: We need to keep in mind in advance that they do use RL at least in the kind of RLHF. It is extremely most likely that models from significant companies that have reasoning abilities 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 favored supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although effective, can be less foreseeable and more difficult to control. DeepSeek's approach innovates by applying RL in a reasoning-oriented manner, making it possible for the model to discover effective internal thinking with only very little process annotation - a method that has shown appealing in spite of its complexity.

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

A: DeepSeek R1's design emphasizes efficiency by leveraging strategies such as the mixture-of-experts approach, which activates only a subset of parameters, to minimize compute during reasoning. This concentrate on effectiveness is main to its expense advantages.

Q4: What is the distinction between R1-Zero and wiki.dulovic.tech R1?

A: R1-Zero is the initial design that learns reasoning entirely through reinforcement knowing without explicit procedure supervision. It generates intermediate reasoning actions that, while often raw or combined in language, work as the foundation for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "stimulate," and engel-und-waisen.de R1 is the sleek, more meaningful variation.

Q5: How can one remain updated with extensive, technical research while managing 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, participating in pertinent conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and yewiki.org collaborative research study tasks also plays an essential role in keeping up with technical improvements.

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

A: The short response is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust reasoning capabilities and its performance. It is especially well fit for jobs that require proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature even more permits tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 decreases the entry barrier for deploying innovative language designs. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications ranging from automated code generation and customer assistance to information analysis. Its versatile release options-on customer hardware for smaller models or cloud platforms for larger ones-make it an appealing alternative to proprietary solutions.

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

A: While DeepSeek R1 has been observed to "overthink" simple issues by exploring numerous thinking paths, it integrates stopping criteria and examination mechanisms to prevent limitless loops. The reinforcement learning framework encourages convergence towards a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and served as the structure for later iterations. It is constructed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its style emphasizes effectiveness and cost decrease, setting the phase for the thinking developments seen in R1.

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

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

Q11: Can specialists in specialized fields (for example, laboratories working on cures) use these approaches to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these approaches to construct designs that address their specific challenges while gaining from lower calculate costs and robust reasoning abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a need for supervised fine-tuning to get trustworthy 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 correctness is easily verifiable-such as math and coding. This suggests that know-how in technical fields was certainly leveraged to make sure the precision and forum.pinoo.com.tr clarity of the reasoning data.

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

A: While the design is developed to optimize for appropriate answers via reinforcement learning, there is constantly a danger of errors-especially in uncertain scenarios. However, by examining numerous candidate outputs and reinforcing those that result in verifiable results, the training procedure reduces the possibility of propagating inaccurate reasoning.

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

A: Making use of rule-based, verifiable tasks (such as math and coding) helps anchor the model's thinking. By comparing numerous outputs and using group relative policy optimization to reinforce only those that yield the right result, the design is assisted away from producing unfounded or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the implementation of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on using these methods to enable reliable reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some stress that the model's "thinking" may not be as refined as human thinking. Is that a legitimate issue?

A: Early models like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent refinement process-where human experts curated and enhanced the reasoning data-has significantly improved the clarity and reliability of DeepSeek R1's internal thought procedure. While it remains a developing system, iterative training and feedback have actually caused significant improvements.

Q17: Which design variations are ideal for regional release on a laptop computer with 32GB of RAM?

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

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

A: DeepSeek R1 is supplied with open weights, indicating that its model specifications are openly available. This aligns with the general open-source approach, enabling scientists and designers to further check out and build on its innovations.

Q19: What would occur if the order of training were reversed-starting with monitored fine-tuning before without supervision support knowing?

A: The existing approach allows the design to initially check out and generate its own thinking patterns through not being watched RL, and raovatonline.org then fine-tune these patterns with monitored techniques. Reversing the order might constrain the design's ability to find diverse thinking paths, potentially restricting its overall performance in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe free of charge to get 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: albacaban67437/rolandradio#1