Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • E evove
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Effie Zoll
  • evove
  • Issues
  • #1

Closed
Open
Created May 31, 2025 by Effie Zoll@kxceffie645797Maintainer

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the advancement of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also checked out the technical developments that make R1 so unique worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single design; it's a household of progressively advanced AI systems. The advancement goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This design introduced FP8 training strategies, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less exact method to save weights inside the LLMs however can significantly enhance the memory footprint. However, training using FP8 can typically be unsteady, and it is difficult to obtain the wanted training outcomes. Nevertheless, DeepSeek uses several tricks and attains extremely stable FP8 training. V3 set the phase as a highly efficient design that was currently economical (with claims of being 90% more affordable than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused iteration. Here, the focus was on teaching the design not just to generate answers however to "think" before answering. Using pure reinforcement learning, the design was encouraged to produce intermediate reasoning actions, for example, taking extra time (frequently 17+ seconds) to work through a basic problem like "1 +1."

The here was making use of group relative policy optimization (GROP). Instead of counting on a traditional process reward design (which would have needed annotating every action of the thinking), GROP compares several outputs from the model. By tasting a number of prospective answers and scoring them (using rule-based procedures like specific match for math or confirming code outputs), the system discovers to favor reasoning that leads to the appropriate outcome without the need for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's not being watched approach produced thinking outputs that might be tough to check out and even mix languages, the designers returned to the drawing board. They utilized 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 utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces readable, coherent, and dependable thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (no) is how it developed thinking capabilities without specific supervision of the thinking process. It can be even more enhanced by utilizing cold-start data and monitored reinforcement discovering to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to check and build on its developments. Its cost efficiency is a significant selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that require enormous compute budgets.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both costly and lengthy), the design was trained using an outcome-based method. It began with quickly verifiable tasks, such as mathematics issues and coding workouts, where the correctness of the last response could be easily measured.

By using group relative policy optimization, the training procedure compares several produced responses to figure out which ones fulfill the wanted output. This relative scoring mechanism permits the design to find out "how to believe" even when intermediate thinking is created in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 often "overthinks" easy problems. For instance, when asked "What is 1 +1?" it may spend nearly 17 seconds assessing different scenarios-even considering binary representations-before concluding with the correct response. This self-questioning and confirmation procedure, although it might seem ineffective in the beginning look, might prove useful in complex jobs where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting techniques, which have actually worked well for numerous chat-based models, can actually deteriorate efficiency with R1. The developers recommend utilizing direct issue statements with a zero-shot technique that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that may hinder its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

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


Larger variations (600B) need substantial calculate resources


Available through major cloud service providers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're particularly fascinated by several ramifications:

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


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


Possibilities for combining with other guidance techniques


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 advancement of future reasoning models?


Can this method be extended to less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be viewing these advancements carefully, especially as the community starts to try out and build on these strategies.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI developments. We're seeing remarkable applications currently 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: Which model is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the option ultimately depends on your use case. DeepSeek R1 stresses sophisticated reasoning and an unique training technique that may be specifically valuable in jobs where verifiable logic is vital.

Q2: Why did major service providers like OpenAI choose supervised fine-tuning rather than support learning (RL) like DeepSeek?

A: We need to note in advance that they do utilize RL at least in the type of RLHF. It is most likely that designs from significant suppliers that have thinking abilities currently use something comparable to what DeepSeek has done here, however we can't make certain. It is likewise likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and harder to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, allowing the design to discover effective internal thinking with only very little process annotation - a technique that has shown appealing despite its intricacy.

Q3: Did DeepSeek use test-time calculate strategies comparable to those of OpenAI?

A: DeepSeek R1's design highlights performance by leveraging methods such as the mixture-of-experts method, which activates just a subset of parameters, to minimize calculate during inference. This concentrate on performance is main to its cost benefits.

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

A: R1-Zero is the initial model that learns reasoning entirely through support learning without specific procedure supervision. It generates intermediate thinking steps that, while sometimes raw or combined 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 provides the without supervision "trigger," and R1 is the polished, more coherent variation.

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

A: Remaining current includes a combination of actively engaging with the research community (like AISC - see link to join 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 communities and collaborative research tasks likewise plays a crucial function in keeping up with technical developments.

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

A: The short answer is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, lies in its robust thinking abilities and its performance. It is especially well fit for tasks that need proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature further enables tailored applications in research and enterprise settings.

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

A: The open-source and cost-efficient style of DeepSeek R1 lowers the entry barrier for releasing innovative language designs. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications varying from automated code generation and customer assistance to data analysis. Its versatile release options-on customer hardware for smaller sized designs or larsaluarna.se cloud platforms for bigger ones-make it an attractive option to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by checking out several thinking paths, it includes stopping requirements and examination mechanisms to prevent unlimited loops. The reinforcement discovering structure encourages merging toward a verifiable output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the foundation for later iterations. It is constructed on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based upon the Qwen architecture. Its design highlights effectiveness and cost reduction, 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 capabilities. Its design and training focus solely on language processing and thinking.

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

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these techniques to build designs that address their specific difficulties while gaining from lower calculate expenses and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a need for supervised 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 discussion suggested that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as math and coding. This recommends that know-how in technical fields was certainly leveraged to guarantee the accuracy and clarity of the thinking data.

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

A: While the model is developed to enhance for appropriate responses through reinforcement knowing, there is always a threat of errors-especially in uncertain circumstances. However, by evaluating numerous prospect outputs and reinforcing those that cause verifiable outcomes, the training procedure lessens the possibility of propagating incorrect reasoning.

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

A: Making use of rule-based, proven tasks (such as mathematics and coding) helps anchor the model's thinking. By comparing multiple outputs and utilizing group relative policy optimization to reinforce only those that yield the appropriate outcome, the model is guided away from producing unproven or hallucinated details.

Q15: Does the model 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 using these methods to enable effective reasoning instead of showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent refinement process-where human professionals curated and enhanced the reasoning data-has substantially boosted the clearness and reliability of DeepSeek R1's internal idea procedure. While it remains a progressing system, iterative training and feedback have caused meaningful enhancements.

Q17: Which design versions appropriate for regional 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 suggested. Larger designs (for example, those with hundreds of billions of specifications) require substantially more computational resources and are better matched for cloud-based deployment.

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

A: DeepSeek R1 is supplied with open weights, indicating that its design specifications are publicly available. This lines up with the overall open-source philosophy, permitting researchers and developers to more check out and build on its innovations.

Q19: What would take place if the order of training were reversed-starting with monitored fine-tuning before without supervision reinforcement learning?

A: The present technique enables the design to first check out and generate its own thinking patterns through not being watched RL, and after that fine-tune these patterns with monitored methods. Reversing the order might constrain the design's ability to discover varied reasoning paths, possibly restricting its total efficiency in tasks that gain from autonomous thought.

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

Assignee
Assign to
Time tracking