Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
H haimimedia
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 1
    • Issues 1
    • 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
  • Paulina Wroe
  • haimimedia
  • Issues
  • #1

Closed
Open
Created Feb 22, 2025 by Paulina Wroe@paulina34u1991Maintainer

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We also explored 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 design; it's a family of increasingly advanced AI systems. The advancement goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where only a subset of experts are utilized at reasoning, dramatically enhancing the processing time for each token. It also featured multi-head latent attention to reduce memory footprint.

DeepSeek V3:

This model introduced FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less precise method to store weights inside the LLMs however can greatly enhance the memory footprint. However, training using FP8 can generally be unsteady, and it is hard to obtain the desired training results. Nevertheless, DeepSeek uses numerous tricks and attains incredibly steady FP8 training. V3 set the phase as a highly effective model that was already affordable (with claims of being 90% more affordable than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, wavedream.wiki the first reasoning-focused model. Here, the focus was on teaching the design not just to generate answers however to "believe" before responding to. Using pure support knowing, the model was motivated to produce intermediate reasoning steps, for instance, taking extra time (often 17+ seconds) to resolve a basic problem like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of depending on a conventional process benefit design (which would have required annotating every step of the thinking), GROP compares several outputs from the design. By tasting several prospective answers and scoring them (utilizing rule-based steps like specific match for math or confirming code outputs), the system discovers to favor thinking that causes the proper outcome without the requirement for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced reasoning outputs that could be difficult to read or even blend languages, the designers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" data and after that by hand curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support learning and supervised fine-tuning. The result is DeepSeek R1: a model that now produces legible, coherent, and dependable reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (zero) is how it established reasoning capabilities without specific guidance of the reasoning process. It can be even more enhanced by using cold-start data and supervised reinforcement learning to produce understandable thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and designers to examine and build on its developments. Its cost performance is a significant selling point specifically when compared to closed-source models (claimed 90% cheaper than OpenAI) that require massive compute spending plans.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both pricey and time-consuming), the model was trained utilizing an outcome-based method. It began with quickly proven jobs, such as math issues and wiki.myamens.com coding workouts, where the correctness of the last answer might be easily determined.

By using group relative policy optimization, the procedure compares numerous produced responses to figure out which ones meet the desired output. This relative scoring system permits the model to discover "how to believe" even when intermediate reasoning is generated in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" easy issues. For instance, when asked "What is 1 +1?" it may invest nearly 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the correct response. This self-questioning and confirmation process, although it may seem ineffective in the beginning glance, could prove helpful in complex jobs where deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot triggering techniques, which have worked well for many chat-based designs, can actually degrade efficiency with R1. The designers advise using direct issue declarations with a zero-shot approach that specifies the output format plainly. This ensures that the design isn't led astray by extraneous examples or forum.pinoo.com.tr tips that may hinder its internal thinking procedure.

Getting Going with R1

For those aiming to experiment:

Smaller variants (7B-8B) can work on customer GPUs or even only CPUs


Larger versions (600B) need significant calculate resources


Available through major cloud service providers


Can be released in your area via Ollama or vLLM


Looking Ahead

We're particularly captivated by numerous implications:

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


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


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


Implications for business AI deployment


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

Open Questions

How will this affect the advancement of future thinking designs?


Can this technique be reached less proven domains?


What are the ramifications for multi-modal AI systems?


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

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently 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 is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option eventually depends on your use case. DeepSeek R1 emphasizes innovative reasoning and a novel training technique that might be specifically valuable in tasks where proven reasoning is vital.

Q2: wavedream.wiki Why did major service providers like OpenAI go with monitored fine-tuning instead of reinforcement learning (RL) like DeepSeek?

A: We should note upfront that they do utilize RL at the minimum in the type of RLHF. It is highly likely that designs from significant providers that have reasoning abilities currently use something comparable to what DeepSeek has actually done here, however we can't make certain. It is also most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement knowing, although effective, can be less predictable and harder to control. DeepSeek's technique innovates by using RL in a reasoning-oriented way, allowing the design to find out effective internal reasoning with only very little procedure annotation - a method that has actually proven promising in spite of its intricacy.

Q3: Did DeepSeek use test-time calculate methods comparable 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 specifications, to reduce compute throughout reasoning. This focus on efficiency is main to its cost advantages.

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

A: R1-Zero is the initial design that finds out reasoning exclusively through support knowing without explicit procedure supervision. It produces intermediate thinking steps that, while sometimes raw or combined in language, work as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the not being watched "spark," and R1 is the polished, more meaningful version.

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

A: Remaining current 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, attending relevant conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collective research tasks also plays a key role in keeping up with technical advancements.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, however, lies in its robust reasoning abilities and its performance. It is especially well matched for tasks that require verifiable logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate thinking can be examined and confirmed. Its open-source nature further permits tailored applications in research study and business settings.

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

A: The open-source and affordable style of DeepSeek R1 decreases the entry barrier for deploying advanced language models. Enterprises and start-ups can leverage its innovative thinking for agentic applications varying from automated code generation and customer support to data analysis. Its versatile implementation options-on customer hardware for smaller sized models or cloud platforms for bigger ones-make it an attractive option to proprietary services.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring several reasoning courses, it incorporates stopping criteria and assessment mechanisms to prevent unlimited loops. The support finding out framework encourages merging towards 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 acted as the foundation 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 upon the Qwen architecture. Its design stresses efficiency and expense reduction, setting the phase for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can experts in specialized fields (for instance, laboratories working on cures) apply these methods to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these techniques to develop designs that address their particular difficulties while gaining from lower calculate costs and robust thinking capabilities. It is likely that in deeply specialized fields, nevertheless, 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 science or mathematics?

A: The discussion indicated that the annotators mainly focused on domains where correctness is easily verifiable-such as math and coding. This recommends that knowledge in technical fields was certainly leveraged to ensure the precision and clearness of the reasoning information.

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

A: While the model is created to optimize for correct responses via support learning, there is always a risk of errors-especially in uncertain situations. However, by examining numerous candidate outputs and reinforcing those that lead to verifiable results, the training procedure lessens the possibility of propagating inaccurate thinking.

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

A: Making use of rule-based, verifiable jobs (such as mathematics and coding) helps anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to strengthen just those that yield the proper outcome, the design is directed away from producing unproven or hallucinated details.

Q15: Does the model depend 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 utilizing these techniques to make it possible for efficient reasoning instead of showcasing mathematical complexity for its own sake.

Q16: Some stress that the design's "thinking" might not be as improved 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 improvement process-where human professionals curated and enhanced the thinking data-has considerably boosted the clearness and reliability of DeepSeek R1's internal idea procedure. While it remains a developing system, iterative training and feedback have resulted in significant improvements.

Q17: Which design variants are appropriate for local implementation on a laptop computer with 32GB of RAM?

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

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

A: DeepSeek R1 is supplied with open weights, implying that its model criteria are publicly available. This lines up with the general open-source viewpoint, allowing scientists and designers to additional check out and build on its developments.

Q19: What would happen if the order of training were reversed-starting with monitored fine-tuning before not being watched support knowing?

A: The existing method enables the design to first check out and produce its own reasoning patterns through not being watched RL, and after that refine these patterns with supervised approaches. Reversing the order may constrain the model's ability to discover diverse reasoning courses, possibly limiting its general efficiency in jobs that gain from self-governing thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking