Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
W
webcria
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 9
    • Issues 9
    • 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
  • Alexis Burgin
  • webcria
  • Issues
  • #9

Closed
Open
Opened Mar 11, 2025 by Alexis Burgin@bkralexis41782
  • 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 recent 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 checked out the technical developments that make R1 so special on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single design; it's a family of increasingly advanced AI systems. The evolution goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where just a subset of specialists are utilized at reasoning, drastically improving the processing time for each token. It likewise featured multi-head latent attention to decrease memory footprint.

DeepSeek V3:

This design presented FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous models. FP8 is a less accurate way to keep weights inside the LLMs but can significantly enhance the memory footprint. However, training using FP8 can typically be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes several techniques and attains remarkably steady FP8 training. V3 set the stage as an extremely effective model 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 introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not just to create answers but to "believe" before responding to. Using pure support knowing, the design was motivated to create intermediate reasoning steps, for instance, taking additional time (frequently 17+ seconds) to work through an easy problem like "1 +1."

The key development here was using group relative policy optimization (GROP). Instead of counting on a conventional process benefit design (which would have required annotating every step of the thinking), GROP compares multiple outputs from the design. By sampling several prospective answers and scoring them (using rule-based steps like exact match for math or validating code outputs), the system discovers to favor reasoning that causes the proper result without the need for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced reasoning outputs that could be tough to read or even blend languages, the designers returned 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 reasoning. 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 legible, coherent, and trusted thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting element of R1 (no) is how it established thinking abilities without explicit supervision of the thinking process. It can be even more enhanced by utilizing cold-start data and supervised support finding out to produce legible thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to check and build upon its innovations. Its cost effectiveness is a major selling point particularly when compared to closed-source models (claimed 90% more affordable than OpenAI) that require massive compute budget plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and time-consuming), the design was trained using an outcome-based approach. It started with easily proven tasks, 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 process compares several produced answers to determine which ones satisfy the desired output. This relative scoring mechanism allows the design to learn "how to believe" even when intermediate reasoning is generated in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" simple problems. 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 appropriate answer. This self-questioning and verification procedure, although it may seem ineffective in the beginning glance, might show helpful in intricate jobs where deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for many chat-based models, can actually degrade performance with R1. The developers suggest utilizing 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 hints that may disrupt its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on customer GPUs or perhaps only CPUs


Larger variations (600B) need considerable compute resources


Available through significant cloud service providers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're especially captivated by several implications:

The capacity for this approach to be used to other reasoning domains


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


Possibilities for integrating with other guidance methods


Implications for business AI release


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

Open Questions

How will this impact the development of future thinking models?


Can this technique be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be viewing these developments closely, particularly as the neighborhood starts to try out and construct upon these methods.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating 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 short 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 ultimately depends on your usage case. DeepSeek R1 stresses sophisticated thinking and a novel training approach that might be particularly important in jobs where verifiable reasoning is crucial.

Q2: Why did significant suppliers like OpenAI select monitored fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We must keep in mind in advance that they do use RL at least in the type of RLHF. It is really most likely that models from significant suppliers that have thinking capabilities already use something comparable to what DeepSeek has done here, however 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 prepared availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and harder to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, allowing the design to discover efficient internal thinking with only very little procedure annotation - a method that has actually proven promising despite its complexity.

Q3: Did DeepSeek utilize test-time compute techniques similar to those of OpenAI?

A: DeepSeek R1's design highlights efficiency by leveraging methods such as the mixture-of-experts approach, which triggers only a subset of criteria, to reduce compute during reasoning. This concentrate on efficiency is main to its expense advantages.

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

A: R1-Zero is the preliminary design that learns reasoning solely through reinforcement knowing without explicit procedure guidance. It generates intermediate thinking steps that, while often raw or mixed in language, work as the structure for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "spark," and R1 is the sleek, more meaningful variation.

Q5: How can one remain updated with thorough, technical research study while handling a busy schedule?

A: Remaining present involves a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects likewise plays an essential function in keeping up with technical advancements.

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

A: The brief response is that it's too early to tell. DeepSeek R1's strength, however, lies in its robust thinking capabilities and its performance. It is particularly well suited for tasks that require verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature even more enables for tailored applications in research study and business settings.

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

A: The open-source and affordable style of DeepSeek R1 decreases the entry barrier for releasing innovative language models. Enterprises and start-ups can utilize its advanced reasoning for agentic applications ranging from automated code generation and customer assistance to information analysis. Its versatile deployment options-on customer hardware for smaller sized models or cloud platforms for larger ones-make it an attractive alternative to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by checking out several thinking paths, it integrates stopping requirements and examination systems to avoid unlimited loops. The reinforcement learning framework motivates merging towards a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and worked as the foundation for later versions. It is constructed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its design stresses performance and expense 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 integrate vision capabilities. Its style and training focus exclusively on language processing and reasoning.

Q11: Can professionals in specialized fields (for instance, laboratories working on cures) 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 different domains. Researchers in fields like biomedical sciences can tailor these approaches to develop models that resolve their particular obstacles while gaining from lower compute costs and robust reasoning capabilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get dependable results.

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

A: The conversation suggested that the annotators mainly concentrated on domains where correctness is quickly verifiable-such as mathematics and coding. This recommends that know-how in technical fields was certainly leveraged to make sure the accuracy and clarity of the thinking data.

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

A: While the model is designed to optimize for correct answers through reinforcement learning, there is always a risk of errors-especially in uncertain circumstances. However, by evaluating numerous prospect outputs and strengthening those that result in verifiable results, the training process reduces the possibility of propagating inaccurate reasoning.

Q14: How are hallucinations lessened in the design provided its iterative reasoning loops?

A: The usage of rule-based, proven tasks (such as math and coding) helps anchor the model's reasoning. By comparing several outputs and using group relative policy optimization to enhance only those that yield the appropriate outcome, the design is assisted far from producing unfounded or hallucinated details.

Q15: Does the on complex vector mathematics?

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

Q16: Some fret that the design's "thinking" might not be as refined as human reasoning. Is that a valid concern?

A: Early iterations like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent refinement process-where human specialists curated and improved the reasoning data-has substantially improved the clarity and reliability of DeepSeek R1's internal thought procedure. While it remains an evolving system, iterative training and feedback have caused significant improvements.

Q17: Which model variations appropriate for local 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 advised. Larger models (for example, those with hundreds of billions of parameters) need substantially more computational resources and are better matched for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, suggesting that its model criteria are publicly available. This aligns with the general open-source approach, permitting scientists and developers 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 not being watched support knowing?

A: The existing technique enables the model to initially explore and generate its own reasoning patterns through without supervision RL, pediascape.science and then improve these patterns with monitored approaches. Reversing the order may constrain the model's capability to discover diverse reasoning courses, potentially restricting its general efficiency in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe free of charge 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: bkralexis41782/webcria#9