Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
I
intunz
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 52
    • Issues 52
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Albertina Skalski
  • intunz
  • Issues
  • #52

Closed
Open
Opened Jun 03, 2025 by Albertina Skalski@albertinaskalsMaintainer
  • 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 advancement of the DeepSeek household - from the early designs through DeepSeek V3 to the breakthrough R1. We also checked out the technical innovations that make R1 so special worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a family of significantly advanced AI systems. The evolution 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, dramatically enhancing the processing time for each token. It likewise included multi-head latent attention to minimize memory footprint.

DeepSeek V3:

This design introduced FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less precise method to keep weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can generally be unstable, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes numerous tricks and attains incredibly steady FP8 training. V3 set the stage 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 very first reasoning-focused model. Here, the focus was on teaching the model not just to create responses but to "think" before addressing. Using pure support learning, the model was encouraged to generate intermediate thinking steps, for example, taking additional time (typically 17+ seconds) to resolve a simple problem like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of counting on a standard procedure benefit design (which would have needed annotating every step of the reasoning), GROP compares several outputs from the model. By tasting numerous potential responses and scoring them (using rule-based measures like specific match for mathematics or validating code outputs), the system finds out to prefer reasoning that causes the proper result without the need for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced reasoning outputs that could be hard to check out or perhaps blend languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" information and then manually curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to tweak the original DeepSeek V3 model further-combining both reasoning-oriented support learning and supervised fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and reputable thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (zero) is how it developed thinking capabilities without specific guidance of the thinking process. It can be further improved by utilizing cold-start information and supervised support discovering to produce readable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and developers to check and develop upon its innovations. Its cost efficiency is a significant selling point especially when compared to closed-source designs (claimed 90% more affordable than OpenAI) that require massive compute spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both expensive and lengthy), the model was trained utilizing an outcome-based technique. It began with easily verifiable jobs, such as mathematics problems and coding workouts, where the accuracy of the final response might be quickly measured.

By utilizing group relative policy optimization, the training procedure compares multiple created answers to figure out which ones satisfy the preferred output. This relative scoring system permits the design to discover "how to think" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" simple problems. For example, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the right response. This self-questioning and verification procedure, although it might appear inefficient in the beginning glimpse, might show helpful in complicated jobs where much deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for many chat-based designs, can actually deteriorate performance with R1. The designers advise utilizing direct issue declarations with a zero-shot approach that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that might hinder its internal reasoning process.

Getting Going with R1

For those aiming to experiment:

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


Larger variations (600B) need significant calculate resources


Available through major cloud service providers


Can be released locally via Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous implications:

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


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


Possibilities for combining with other supervision techniques


Implications for enterprise AI release


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

Open Questions

How will this affect the advancement of future reasoning models?


Can this approach be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be viewing these advancements carefully, particularly as the community begins to explore and build on these strategies.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing interesting applications already emerging from our bootcamp participants working 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 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 likewise a strong model in the open-source community, the choice eventually depends upon your use case. DeepSeek R1 highlights innovative thinking and a novel training technique that might be particularly important in jobs where verifiable logic is vital.

Q2: Why did significant suppliers like OpenAI go with monitored fine-tuning instead of reinforcement learning (RL) like DeepSeek?

A: We must keep in mind upfront that they do use RL at the minimum in the type of RLHF. It is likely that designs from major service providers that have thinking abilities already use something comparable to what DeepSeek has actually 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 big annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to control. DeepSeek's technique innovates by using RL in a reasoning-oriented manner, enabling the design to find out reliable internal reasoning with only minimal process annotation - a technique that has shown promising in spite of its complexity.

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

A: DeepSeek R1's style highlights efficiency by leveraging strategies such as the mixture-of-experts method, which activates just a subset of criteria, to decrease calculate during reasoning. This focus on efficiency is main to its cost benefits.

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

A: R1-Zero is the preliminary model that learns reasoning exclusively through reinforcement knowing without explicit procedure guidance. It produces intermediate reasoning actions that, while sometimes raw or blended in language, function as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the not being watched "stimulate," and R1 is the sleek, more meaningful variation.

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

A: Remaining present involves a combination of actively engaging with the research (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research study tasks likewise plays a crucial role in staying up to date with technical advancements.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, however, depends on its robust thinking capabilities and its efficiency. It is particularly well fit for tasks that need proven logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate thinking can be evaluated and confirmed. Its open-source nature further permits for 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 cost-effective style of DeepSeek R1 lowers the entry barrier for releasing advanced language models. Enterprises and start-ups can utilize its advanced reasoning for agentic applications varying from automated code generation and client assistance to data analysis. Its versatile implementation options-on customer hardware for smaller designs or cloud platforms for bigger ones-make it an appealing alternative to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy problems by exploring multiple reasoning courses, it integrates stopping criteria and evaluation systems to prevent unlimited loops. The reinforcement discovering framework encourages convergence toward a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and served 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 style stresses performance and expense reduction, setting the phase for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

Q11: Can specialists in specialized fields (for instance, laboratories dealing with cures) apply these techniques to train domain-specific models?

A: wavedream.wiki Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to develop designs that address their particular obstacles while gaining from lower compute costs and 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 trustworthy outcomes.

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

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

Q13: Could the model get things wrong if it relies on its own outputs for learning?

A: While the model is designed to enhance for proper answers by means of support knowing, there is constantly a risk of errors-especially in uncertain scenarios. However, by examining several candidate outputs and reinforcing those that result in proven outcomes, the training procedure reduces the possibility of propagating incorrect reasoning.

Q14: How are hallucinations minimized in the design provided its iterative thinking loops?

A: The usage of rule-based, verifiable jobs (such as mathematics and coding) helps anchor the design's thinking. By comparing several outputs and using group relative policy optimization to enhance only those that yield the proper outcome, the model is directed 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 application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these methods to enable reliable reasoning instead of showcasing mathematical complexity for its own sake.

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

A: Early iterations 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 improved the clarity and dependability of DeepSeek R1's internal thought process. While it remains a developing system, iterative training and feedback have actually resulted in meaningful improvements.

Q17: Which model variants are ideal for local release on a laptop with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger models (for example, those with hundreds of billions of criteria) need significantly more computational resources and are better matched for cloud-based release.

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

A: DeepSeek R1 is provided with open weights, implying that its model parameters are openly available. This aligns with the total open-source viewpoint, enabling scientists and developers to further explore and forum.batman.gainedge.org build on its innovations.

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

A: The existing approach permits the design to initially explore and create its own thinking patterns through without supervision RL, and after that fine-tune these patterns with monitored approaches. Reversing the order might constrain the design's ability to find diverse reasoning courses, possibly limiting its total efficiency in jobs that gain from autonomous idea.

Thanks for checking out 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
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: albertinaskals/intunz#52