Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C cacklehub
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 23
    • Issues 23
    • 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
  • Alena Parkinson
  • cacklehub
  • Issues
  • #12

Closed
Open
Created Apr 11, 2025 by Alena Parkinson@alena87551543Maintainer

Understanding DeepSeek R1


We have actually 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 family - from the early models through DeepSeek V3 to the breakthrough R1. We likewise explored 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 household of increasingly sophisticated 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 professionals are used at reasoning, dramatically enhancing the processing time for each token. It likewise included multi-head latent attention to decrease memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less precise way to keep weights inside the LLMs but can considerably enhance the memory footprint. However, training utilizing FP8 can typically be unstable, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek uses numerous techniques and attains remarkably steady FP8 training. V3 set the phase as a highly effective model that was already cost-efficient (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first . Here, the focus was on teaching the design not simply to produce answers however to "think" before addressing. Using pure support knowing, the design was encouraged to generate intermediate thinking actions, for instance, taking additional time (typically 17+ seconds) to work through a simple issue like "1 +1."

The crucial development here was the use of group relative policy optimization (GROP). Instead of relying on a standard process benefit design (which would have required annotating every step of the reasoning), GROP compares multiple outputs from the design. By sampling a number of possible responses and scoring them (using rule-based measures like precise match for math or verifying code outputs), the system learns to prefer reasoning that results in the correct result without the need for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that might be tough to read or even blend languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and after that by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces readable, meaningful, and trustworthy thinking while still maintaining the effectiveness and higgledy-piggledy.xyz cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it established thinking abilities without specific guidance of the reasoning procedure. It can be further improved by utilizing cold-start information and monitored reinforcement discovering to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to examine and build on its innovations. Its expense efficiency is a major selling point particularly when compared to closed-source models (claimed 90% less expensive than OpenAI) that require massive calculate spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and lengthy), the design was trained utilizing an outcome-based method. It began with quickly verifiable jobs, such as math problems and coding exercises, where the accuracy of the last answer might be quickly determined.

By using group relative policy optimization, the training process compares several produced answers to figure out which ones fulfill the preferred output. This relative scoring system enables the model to find out "how to believe" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" basic problems. For example, when asked "What is 1 +1?" it might invest almost 17 seconds examining different scenarios-even considering binary representations-before concluding with the proper answer. This self-questioning and verification procedure, although it might appear ineffective at first glance, could prove helpful in complicated tasks where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting strategies, which have actually worked well for many chat-based designs, can actually break down performance with R1. The developers advise using direct problem statements with a zero-shot method that specifies the output format plainly. This makes sure that the design isn't led astray by extraneous examples or tips that may interfere with its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

Smaller variations (7B-8B) can work on customer GPUs or perhaps only CPUs


Larger variations (600B) require significant calculate resources


Available through major cloud suppliers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially fascinated by several ramifications:

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


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


Possibilities for combining with other supervision techniques


Implications for enterprise AI release


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

Open Questions

How will this impact the development of future reasoning models?


Can this method be reached less verifiable domains?


What are the implications for wiki.asexuality.org multi-modal AI systems?


We'll be watching these developments closely, especially as the community starts to explore and build on these strategies.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing interesting 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the choice ultimately depends on your usage case. DeepSeek R1 stresses innovative thinking and a novel training method that might be specifically important in tasks where proven logic is important.

Q2: Why did major companies like OpenAI go with monitored fine-tuning instead of support learning (RL) like DeepSeek?

A: We need to keep in mind in advance that they do use RL at least in the kind of RLHF. It is likely that models from major providers that have thinking abilities currently utilize something similar 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 preferred monitored fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and harder to manage. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the model to learn efficient internal thinking with only very little process annotation - a strategy that has shown appealing in spite of its complexity.

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

A: DeepSeek R1's design emphasizes performance by leveraging methods such as the mixture-of-experts method, which activates only a subset of parameters, to reduce calculate throughout reasoning. This focus on efficiency is main to its expense benefits.

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

A: R1-Zero is the preliminary design that learns thinking entirely through reinforcement learning without specific process supervision. It produces intermediate reasoning steps that, while in some cases raw or mixed in language, function as the structure for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, gratisafhalen.be R1-Zero offers the without supervision "trigger," and R1 is the sleek, more coherent version.

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

A: Remaining existing involves a combination of actively engaging with the research community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and getting involved in discussion groups and newsletters. Continuous engagement with online communities and collaborative research study projects also plays an essential role in keeping up with technical developments.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, depends on its robust thinking capabilities and its performance. It is especially well suited for jobs that need proven logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be reviewed and validated. Its open-source nature even more 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 cost-efficient style of DeepSeek R1 decreases the entry barrier for deploying sophisticated language models. Enterprises and start-ups can take advantage of its innovative reasoning for agentic applications ranging from automated code generation and consumer assistance to information analysis. Its flexible release options-on consumer hardware for smaller sized models or cloud platforms for larger ones-make it an appealing alternative to proprietary services.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring multiple reasoning courses, it integrates stopping criteria and evaluation mechanisms to prevent unlimited loops. The support learning structure motivates merging toward a proven 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 functioned as the structure for later iterations. It is constructed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based on the Qwen architecture. Its design emphasizes effectiveness and cost reduction, setting the stage 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 integrate vision capabilities. Its design and training focus exclusively on language processing and thinking.

Q11: Can specialists in specialized fields (for example, labs dealing with remedies) use these approaches to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to numerous domains. Researchers in fields like biomedical sciences can tailor these approaches to develop models that resolve their particular challenges while gaining from lower compute costs and robust thinking abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a need for supervised fine-tuning to get reputable results.

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

A: The conversation showed that the annotators mainly concentrated on domains where correctness is easily verifiable-such as mathematics and coding. This recommends that knowledge in technical fields was certainly leveraged to ensure the precision and clearness of the thinking information.

Q13: Could the model get things wrong if it depends on its own outputs for finding out?

A: While the model is designed to optimize for appropriate answers by means of reinforcement learning, there is constantly a threat of errors-especially in uncertain circumstances. However, by examining several prospect outputs and strengthening those that cause verifiable outcomes, the training process minimizes the likelihood of propagating incorrect thinking.

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

A: The use of rule-based, proven jobs (such as math and coding) helps anchor the model's reasoning. By comparing numerous outputs and using group relative policy optimization to reinforce only those that yield the proper outcome, the model is directed away from generating unproven or hallucinated details.

Q15: Does the design depend on complex vector mathematics?

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

Q16: Some fret that the model's "thinking" might not be as fine-tuned as human thinking. Is that a legitimate 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 professionals curated and improved the reasoning data-has significantly boosted the clearness and dependability of DeepSeek R1's internal thought procedure. While it remains an evolving system, iterative training and feedback have actually resulted in meaningful enhancements.

Q17: Which model variants appropriate for regional release on a laptop computer with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger designs (for instance, those with hundreds of billions of parameters) require significantly more computational resources and are better fit 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, implying that its model criteria are publicly available. This aligns with the general open-source viewpoint, permitting scientists and designers to additional explore and build on its innovations.

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

A: The existing approach allows the design to initially explore and create its own reasoning patterns through without supervision RL, and then fine-tune these patterns with monitored approaches. Reversing the order might constrain the design's ability to find diverse reasoning paths, potentially restricting its total efficiency in tasks that gain from self-governing idea.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking