Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
T teachersconsultancy
  • 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
  • Maurine Diederich
  • teachersconsultancy
  • Issues
  • #1

Closed
Open
Created Jun 01, 2025 by Maurine Diederich@maurinediederiMaintainer

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 evolution of the DeepSeek household - from the early models through DeepSeek V3 to the advancement R1. We also explored the technical developments that make R1 so unique in the world of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single model; 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 only a subset of experts are utilized at reasoning, significantly enhancing the processing time for each token. It likewise featured multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This design introduced FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less exact way to store weights inside the LLMs however can considerably enhance the memory footprint. However, training using FP8 can generally be unsteady, and it is difficult to obtain the preferred training results. Nevertheless, DeepSeek uses numerous tricks and attains remarkably stable FP8 training. V3 set the phase as a highly effective design that was currently affordable (with claims of being 90% more affordable than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the design not just to create responses however to "think" before responding to. Using pure reinforcement knowing, the design was encouraged to produce intermediate thinking actions, for example, taking additional time (often 17+ seconds) to overcome an easy problem like "1 +1."

The essential innovation here was using group relative policy optimization (GROP). Instead of relying on a conventional process reward design (which would have needed annotating every action of the reasoning), GROP compares numerous outputs from the design. By sampling numerous potential answers and scoring them (using rule-based procedures like specific match for math or validating code outputs), the system finds out to favor thinking that leads to the correct result without the requirement for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's not being watched approach produced reasoning outputs that might be difficult to check out or perhaps mix languages, the developers returned 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 reasoning. This human post-processing was then used to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, meaningful, and trusted reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (absolutely no) is how it developed thinking abilities without explicit guidance of the reasoning process. It can be further enhanced by utilizing cold-start data and supervised support learning to produce readable thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to check and develop upon its developments. Its cost performance is a significant selling point specifically when compared to closed-source designs (claimed 90% less expensive than OpenAI) that need huge compute spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and lengthy), the model was trained utilizing an outcome-based method. It began with quickly proven jobs, such as mathematics problems and coding workouts, where the correctness of the final response could be easily measured.

By using group relative policy optimization, the training process compares multiple produced responses to determine which ones meet the wanted output. This relative scoring mechanism permits the model to find out "how to believe" even when intermediate reasoning is produced in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" basic problems. For instance, when asked "What is 1 +1?" it may spend nearly 17 seconds evaluating various scenarios-even thinking about binary representations-before concluding with the proper answer. This self-questioning and confirmation procedure, although it might seem inefficient in the beginning glance, could prove helpful in complex jobs where much deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot prompting techniques, which have actually worked well for numerous chat-based models, can actually deteriorate performance with R1. The developers suggest using direct problem statements with a zero-shot approach that specifies the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that might hinder its internal thinking process.

Beginning with R1

For those aiming to experiment:

Smaller variations (7B-8B) can operate on consumer GPUs or even only CPUs


Larger variations (600B) require significant compute resources


Available through significant cloud providers


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially intrigued by a number of ramifications:

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


Impact on agent-based AI systems generally constructed on chat designs


Possibilities for integrating with other supervision strategies


Implications for enterprise AI release


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

Open Questions

How will this impact the advancement of future thinking designs?


Can this technique be reached less verifiable domains?


What are the implications for multi-modal AI systems?


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

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications already emerging from our bootcamp individuals 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: gratisafhalen.be Which model is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source neighborhood, the option eventually depends on your use case. DeepSeek R1 stresses innovative reasoning and an unique training approach that may be especially important in tasks where proven reasoning is vital.

Q2: Why did major suppliers like OpenAI decide for supervised fine-tuning instead of support knowing (RL) like DeepSeek?

A: We ought to keep in mind in advance that they do utilize RL at least in the kind of RLHF. It is most likely that designs from significant service providers that have thinking capabilities currently utilize something comparable to what DeepSeek has done here, but we can't make certain. It is likewise most likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although powerful, can be less foreseeable and more difficult to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, allowing the model to learn reliable internal reasoning with only very little process annotation - a method that has shown appealing despite its complexity.

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

A: DeepSeek R1's style stresses performance by leveraging techniques such as the mixture-of-experts technique, which triggers just a subset of criteria, to reduce calculate during inference. This concentrate on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary model that learns thinking solely through support learning without specific procedure supervision. It produces intermediate reasoning actions that, while often raw or mixed in language, function as the structure for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the unsupervised "stimulate," and R1 is the polished, more coherent version.

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

A: Remaining current involves a combination of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in appropriate conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and collaborative research study jobs also plays a crucial role in keeping up with technical advancements.

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, nevertheless, depends on its robust reasoning capabilities and its efficiency. It is particularly well fit for jobs that require proven logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate reasoning can be reviewed and confirmed. Its open-source nature even more enables 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 cost-efficient style of DeepSeek R1 reduces the entry barrier for deploying advanced language designs. Enterprises and start-ups can leverage its advanced thinking for agentic applications ranging from automated code generation and customer support to data analysis. Its flexible deployment options-on consumer hardware for smaller designs or cloud platforms for larger ones-make it an appealing alternative to proprietary options.

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by exploring multiple thinking paths, it includes stopping criteria and examination systems to prevent infinite loops. The support discovering structure encourages merging toward a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and acted as the foundation for later versions. 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 highlights performance and cost decrease, setting the phase 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 include vision capabilities. Its design and training focus exclusively on language processing and thinking.

Q11: Can experts in specialized fields (for instance, laboratories dealing with treatments) use these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these approaches to build designs that resolve their particular obstacles while gaining from lower calculate costs and robust reasoning capabilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for supervised fine-tuning to get trusted outcomes.

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

A: The discussion indicated that the annotators mainly focused on domains where correctness is quickly verifiable-such as mathematics and coding. This that proficiency in technical fields was certainly leveraged to make sure the accuracy and clearness of the reasoning information.

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

A: While the model is developed to optimize for right answers via reinforcement learning, there is constantly a danger of errors-especially in uncertain situations. However, by assessing multiple candidate outputs and enhancing those that cause verifiable outcomes, the training procedure decreases the probability of propagating incorrect thinking.

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

A: The use of rule-based, proven jobs (such as math and coding) helps anchor the design's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to strengthen only those that yield the correct result, the design is guided away from generating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these strategies to enable effective reasoning rather than showcasing mathematical complexity for its own sake.

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

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

Q17: Which model variations are appropriate for local deployment on a laptop with 32GB of RAM?

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

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

A: DeepSeek R1 is supplied with open weights, meaning that its model specifications are publicly available. This lines up with the overall open-source philosophy, allowing scientists and developers to additional check out and construct upon its innovations.

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

A: The current approach enables the design to initially check out and generate its own thinking patterns through without supervision RL, and after that improve these patterns with supervised techniques. Reversing the order might constrain the model's ability to find diverse reasoning courses, potentially restricting its general performance in jobs that gain from self-governing thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking