Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
L
linkown
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 15
    • Issues 15
    • 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
  • Alice Hoke
  • linkown
  • Issues
  • #4

Closed
Open
Opened Feb 27, 2025 by Alice Hoke@alicehoke0076
  • 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 current weeks. In this session, we dove deep into the development of the DeepSeek household - from the early models through DeepSeek V3 to the advancement R1. We likewise checked out the technical developments that make R1 so special 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 progressively advanced 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 professionals are utilized at reasoning, considerably enhancing the processing time for each token. It likewise included multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less exact way to save weights inside the LLMs however can considerably enhance the memory footprint. However, training using FP8 can generally be unstable, and it is hard to obtain the wanted training outcomes. Nevertheless, DeepSeek uses several tricks and attains incredibly steady 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 team then introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not just to create responses however to "believe" before addressing. Using pure support learning, the model was encouraged to generate intermediate thinking actions, for example, taking additional time (frequently 17+ seconds) to work through an easy issue like "1 +1."

The key development here was the use of group relative policy optimization (GROP). Instead of relying on a traditional process benefit design (which would have needed annotating every action of the reasoning), setiathome.berkeley.edu GROP compares numerous outputs from the model. By sampling several prospective answers and scoring them (utilizing rule-based steps like exact match for math or confirming code outputs), the system learns to favor reasoning that results in the appropriate outcome without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced thinking outputs that could be hard to read or even mix languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to create "cold start" information and after that manually 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 support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a model that now produces readable, coherent, and dependable reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (no) is how it established thinking abilities without specific guidance of the reasoning process. It can be even more enhanced by utilizing cold-start data and supervised reinforcement discovering to produce readable thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and designers to inspect and build on its innovations. Its expense performance is a significant selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that need huge compute budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both costly and lengthy), the model was trained using an outcome-based method. It started with easily verifiable tasks, such as mathematics issues and coding exercises, where the accuracy of the final answer might be easily measured.

By using group relative policy optimization, the training procedure compares multiple generated answers to figure out which ones meet the desired output. This relative scoring mechanism permits the model to find out "how to think" even when intermediate reasoning is produced in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" easy 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 correct answer. This self-questioning and confirmation procedure, although it might seem ineffective initially glimpse, could show helpful in complex tasks where deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering techniques, which have worked well for numerous chat-based models, can in fact break down performance with R1. The designers advise using direct problem statements with a zero-shot approach that defines the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that may hinder its internal reasoning process.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on customer GPUs or even just CPUs


Larger versions (600B) need considerable calculate resources


Available through significant cloud suppliers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're especially intrigued by several implications:

The capacity for this technique to be used to other thinking domains


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


Possibilities for integrating with other guidance techniques


Implications for business AI deployment


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

Open Questions

How will this affect the development of future reasoning designs?


Can this approach be encompassed less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, particularly as the community starts to explore and build upon these strategies.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI advancements. We're seeing interesting applications already emerging from our bootcamp participants dealing 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 brief summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which model deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source community, the choice eventually on your use case. DeepSeek R1 highlights advanced reasoning and an unique training technique that may be especially valuable in jobs where proven reasoning is vital.

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

A: We ought to note upfront that they do use RL at the really least in the type of RLHF. It is likely that models from major suppliers that have thinking abilities currently utilize something comparable to what DeepSeek has done here, but we can't make certain. It is also most 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 knowing, although effective, can be less foreseeable and more difficult to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, enabling the design to learn effective internal thinking with only very little process annotation - a strategy that has actually shown appealing despite its intricacy.

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

A: DeepSeek R1's style emphasizes effectiveness by leveraging strategies such as the mixture-of-experts approach, which activates just a subset of criteria, to reduce compute during reasoning. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary design that learns reasoning entirely through reinforcement knowing without specific process guidance. It produces intermediate thinking actions that, while sometimes raw or mixed in language, function 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 supplies the unsupervised "trigger," and R1 is the sleek, more coherent version.

Q5: How can one remain updated with extensive, technical research while managing a hectic schedule?

A: Remaining existing includes a mix of actively engaging with the research study community (like AISC - see link to join slack above), following preprint servers like arXiv, participating in appropriate conferences and webinars, and getting involved in conversation groups and newsletters. Continuous engagement with online neighborhoods and disgaeawiki.info collective research projects likewise plays a crucial role in keeping up with technical developments.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, lies in its robust thinking abilities and its efficiency. It is especially well matched for jobs that require verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be evaluated and verified. Its open-source nature further enables for tailored applications in research and business settings.

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

A: yewiki.org The open-source and cost-efficient style of DeepSeek R1 lowers the entry barrier for releasing advanced language models. Enterprises and start-ups can utilize its innovative reasoning for agentic applications ranging from automated code generation and customer support to data analysis. Its flexible deployment options-on customer hardware for smaller sized designs or cloud platforms for larger ones-make it an appealing option to proprietary solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by checking out numerous reasoning courses, it integrates stopping criteria and evaluation mechanisms to avoid infinite loops. The support discovering structure encourages convergence towards a verifiable output, setiathome.berkeley.edu 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 served as the foundation 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 on the Qwen architecture. Its design stresses effectiveness and cost decrease, setting the stage for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

A: DeepSeek R1 is a text-based design and does not incorporate vision abilities. Its design and training focus entirely on language processing and thinking.

Q11: Can specialists in specialized fields (for instance, laboratories working on treatments) use these methods to train domain-specific designs?

A: Yes. The developments 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 approaches to develop designs that address their specific challenges 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 trustworthy results.

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

A: The conversation indicated that the annotators mainly concentrated on domains where correctness is easily verifiable-such as mathematics and coding. This suggests that proficiency in technical fields was certainly leveraged to guarantee the accuracy and clarity of the reasoning information.

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

A: While the model is developed to enhance for right responses by means of support knowing, there is constantly a threat of errors-especially in uncertain situations. However, by assessing several prospect outputs and strengthening those that cause proven results, the training procedure minimizes the possibility of propagating inaccurate thinking.

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

A: Using rule-based, verifiable jobs (such as mathematics and coding) assists anchor the model's reasoning. By comparing numerous outputs and using group relative policy optimization to strengthen only those that yield the right outcome, the model is directed far from producing unproven or hallucinated details.

Q15: wiki.whenparked.com Does the model depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these techniques to enable efficient thinking instead of showcasing mathematical complexity for its own sake.

Q16: Some fret that the design's "thinking" might not be as fine-tuned 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 professionals curated and improved the thinking data-has significantly enhanced the clarity and reliability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have resulted in significant enhancements.

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

A: For regional screening, a medium-sized model-typically in the series of 7B to 8B parameters-is recommended. Larger models (for instance, those with hundreds of billions of criteria) require significantly more computational resources and are much better matched for cloud-based release.

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

A: DeepSeek R1 is supplied with open weights, implying that its model specifications are openly available. This lines up with the general open-source philosophy, permitting scientists and developers to further explore and build on its innovations.

Q19: What would happen if the order of training were reversed-starting with monitored fine-tuning before unsupervised reinforcement learning?

A: The present approach enables the model to initially explore and create its own thinking patterns through without supervision RL, and after that refine these patterns with supervised methods. Reversing the order may constrain the model's ability to discover varied reasoning paths, potentially restricting its general performance in jobs that gain from autonomous thought.

Thanks for checking out Deep Random Thoughts! Subscribe totally free to get brand-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: alicehoke0076/linkown#4