Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • K kcshk
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 9
    • Issues 9
    • 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
  • Antje Milliner
  • kcshk
  • Issues
  • #4

Closed
Open
Created May 28, 2025 by Antje Milliner@antjem79157894Maintainer

Understanding DeepSeek R1


We have actually been tracking the explosive rise 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 advancement R1. We also checked out the technical innovations 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 significantly sophisticated AI systems. The evolution goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where just a subset of experts are utilized at inference, significantly improving the processing time for each token. It also included multi-head latent attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training strategies, which assisted 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 unstable, and it is hard to obtain the wanted training outcomes. Nevertheless, DeepSeek uses numerous techniques and attains remarkably steady FP8 training. V3 set the phase as an extremely effective design that was currently cost-efficient (with claims of being 90% less expensive than some closed-source alternatives).

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 model not simply to generate answers but to "think" before responding to. Using pure support knowing, the design was encouraged to create intermediate reasoning steps, for instance, taking extra time (often 17+ seconds) to resolve a simple issue like "1 +1."

The key development here was using group relative policy optimization (GROP). Instead of depending on a traditional process benefit model (which would have required annotating every action of the reasoning), GROP compares several outputs from the model. By sampling a number of prospective answers and scoring them (using rule-based procedures like exact match for mathematics or confirming code outputs), the system discovers to favor reasoning that causes the proper outcome without the need for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced reasoning outputs that could be hard to read or even mix 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 fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and trusted thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it developed reasoning capabilities without explicit supervision of the reasoning process. It can be even more enhanced by utilizing cold-start information and monitored reinforcement finding out to produce understandable reasoning on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and designers to examine and build upon its innovations. Its cost efficiency is a major selling point specifically when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require enormous calculate budgets.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both expensive and time-consuming), the model was trained using an outcome-based method. It started with quickly proven tasks, such as mathematics problems and coding workouts, where the correctness of the final response might be easily determined.

By utilizing group relative policy optimization, the training process compares multiple produced answers to figure out which ones satisfy the desired output. This relative scoring system enables the model to discover "how to believe" even when intermediate reasoning is generated in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" basic problems. For instance, when asked "What is 1 +1?" it may spend almost 17 seconds evaluating different scenarios-even thinking about binary representations-before concluding with the appropriate answer. This self-questioning and verification process, although it may appear ineffective initially look, could show helpful in complex tasks where deeper thinking is essential.

Prompt Engineering:

Traditional few-shot triggering techniques, which have worked well for numerous chat-based models, can really degrade performance with R1. The designers suggest using direct issue statements with a zero-shot approach that specifies the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that might disrupt its internal reasoning procedure.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can work on customer GPUs and even just CPUs


Larger variations (600B) need considerable calculate resources


Available through significant cloud service providers


Can be deployed in your area by means of Ollama or vLLM


Looking Ahead

We're particularly interested by numerous implications:

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


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


Possibilities for combining with other supervision strategies


Implications for business AI release


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

Open Questions

How will this affect the advancement of future thinking models?


Can this approach be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be viewing these advancements carefully, especially as the neighborhood starts to try out and construct upon these strategies.

Resources

Join our Slack community for ongoing discussions and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently emerging from our bootcamp individuals 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 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 upon your use case. DeepSeek R1 highlights innovative thinking and a novel training method that might be particularly valuable in jobs where proven logic is critical.

Q2: Why did significant companies like OpenAI go with supervised fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We ought to keep in mind in advance that they do utilize RL at the very least in the kind of RLHF. It is most likely that designs from significant suppliers that have reasoning capabilities already utilize something comparable to what DeepSeek has done here, but we can't make certain. It is likewise 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 foreseeable and more difficult to control. DeepSeek's approach innovates by using RL in a reasoning-oriented way, enabling the model to learn reliable internal thinking with only minimal process annotation - a method that has actually shown appealing in spite of its intricacy.

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

A: DeepSeek R1's style highlights effectiveness by leveraging methods such as the mixture-of-experts technique, which activates only a subset of criteria, to decrease calculate throughout reasoning. This focus on efficiency is main to its expense advantages.

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

A: R1-Zero is the initial model that finds out reasoning solely through without specific procedure supervision. It generates intermediate reasoning steps that, while in some cases raw or combined in language, serve as the foundation for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the without supervision "trigger," and R1 is the polished, more coherent version.

Q5: How can one remain upgraded with in-depth, technical research while managing a busy schedule?

A: Remaining current involves a mix of actively engaging with the research study community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and participating in discussion groups and newsletters. Continuous engagement with online neighborhoods and collective research study projects also plays a crucial role in staying up to date with technical improvements.

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

A: The short answer is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning capabilities and its performance. It is especially well matched for tasks that require verifiable logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate thinking can be examined and validated. Its open-source nature even more permits tailored applications in research and enterprise settings.

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

A: The open-source and cost-effective design of DeepSeek R1 reduces the entry barrier for releasing advanced language designs. Enterprises and start-ups can leverage its advanced thinking for agentic applications ranging from automated code generation and client support to information analysis. Its flexible release options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing option to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy problems by exploring multiple reasoning paths, it includes stopping requirements and examination mechanisms to avoid infinite loops. The reinforcement learning framework motivates merging toward a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 entirely 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 technique and FP8 training-and is not based upon the Qwen architecture. Its style stresses performance and expense decrease, 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 integrate vision capabilities. Its style and training focus entirely on language processing and thinking.

Q11: Can specialists in specialized fields (for instance, labs working on remedies) use these methods to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these methods to construct designs that resolve their specific challenges while gaining from lower compute costs and robust thinking capabilities. It is most likely that in deeply specialized fields, however, there will still be a need for supervised fine-tuning to get trusted results.

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

A: The discussion showed that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that competence 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 counts on its own outputs for finding out?

A: While the design is developed to enhance for appropriate answers by means of reinforcement learning, there is always a risk of errors-especially in uncertain circumstances. However, by examining numerous prospect outputs and reinforcing those that result in proven outcomes, the training process reduces the likelihood of propagating inaccurate reasoning.

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

A: Using rule-based, proven jobs (such as mathematics and coding) assists anchor the design's reasoning. By comparing multiple outputs and utilizing group relative policy optimization to reinforce only those that yield the proper outcome, the model is guided away from creating unproven 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 mechanisms in DeepSeek R1. However, wavedream.wiki the main focus is on utilizing these techniques to make it possible for effective reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some stress that the model's "thinking" might not be as refined as human thinking. Is that a legitimate issue?

A: Early versions like R1-Zero did produce raw and sometimes hard-to-read reasoning. However, the subsequent improvement process-where human professionals curated and improved the reasoning data-has substantially boosted the clearness and reliability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have actually led to significant improvements.

Q17: Which design variants appropriate for local implementation on a laptop computer with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the series of 7B to 8B parameters-is recommended. Larger designs (for instance, those with numerous billions of specifications) require considerably more computational resources and are much better fit for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, indicating that its design parameters are openly available. This lines up with the total open-source approach, enabling scientists and developers to further check out and build on its innovations.

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

A: The present technique allows the model to initially explore and create its own reasoning patterns through without supervision RL, and then fine-tune these patterns with supervised approaches. Reversing the order might constrain the design's ability to discover varied thinking courses, possibly limiting its total efficiency in jobs that gain from self-governing thought.

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

Assignee
Assign to
Time tracking