Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
W
wecomy
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 79
    • Issues 79
    • 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
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Ahmed Lucia
  • wecomy
  • Issues
  • #79

Closed
Open
Opened Jun 02, 2025 by Ahmed Lucia@ahmedlucia4256Maintainer
  • Report abuse
  • New issue
Report abuse New issue

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 development of the DeepSeek household - from the early models through DeepSeek V3 to the development R1. We likewise explored the technical innovations that make R1 so special on the planet of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single design; it's a household of increasingly advanced AI systems. The development 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 also included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training techniques, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less precise method to keep weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can normally be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes multiple tricks and attains extremely stable FP8 training. V3 set the phase as a highly effective design that was currently cost-effective (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 very first reasoning-focused model. Here, the focus was on teaching the model not just to create answers but to "believe" before answering. Using pure support knowing, the model was encouraged to produce intermediate thinking steps, for example, taking extra time (frequently 17+ seconds) to resolve a basic problem like "1 +1."

The key development here was making use of group relative policy optimization (GROP). Instead of counting on a traditional procedure benefit model (which would have needed annotating every step of the reasoning), GROP compares several outputs from the model. By tasting several possible answers and scoring them (using rule-based procedures like specific match for mathematics or verifying code outputs), the system learns to favor thinking that results in the appropriate result without the need for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced thinking outputs that might be hard to read and wiki.lafabriquedelalogistique.fr even mix languages, wiki.snooze-hotelsoftware.de the developers went back to the drawing board. They utilized the raw outputs from R1-Zero to generate "cold start" information and then manually curated these examples to filter and improve the quality of the reasoning. This human post-processing was then utilized to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces readable, coherent, and reliable reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

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

Open Source & Efficiency:

R1 is open source, allowing researchers and developers to examine and construct upon its innovations. Its expense performance is a significant selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that need huge compute budget plans.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both pricey and time-consuming), the model was trained utilizing an outcome-based method. It started with quickly proven tasks, such as mathematics problems and coding exercises, where the accuracy of the last response might be quickly determined.

By utilizing group relative policy optimization, the training process compares numerous generated answers to figure out which ones fulfill the wanted output. This relative scoring mechanism allows the model to discover "how to believe" even when intermediate reasoning is produced in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" basic problems. For instance, when asked "What is 1 +1?" it might spend nearly 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the right answer. This self-questioning and verification process, although it might seem inefficient initially look, might prove beneficial in complex tasks where much deeper thinking is required.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for many chat-based designs, can really break down performance with R1. The designers advise utilizing direct problem 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 hints that may disrupt its internal thinking procedure.

Getting Started with R1

For those aiming to experiment:

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


Larger versions (600B) require significant compute resources


Available through significant cloud suppliers


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


Looking Ahead

We're particularly captivated by several ramifications:

The capacity for this approach to be applied to other reasoning domains


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


Possibilities for integrating with other guidance strategies


Implications for enterprise 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 impact the development of future reasoning models?


Can this technique be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be seeing these advancements closely, especially as the community begins to experiment with and build on these techniques.

Resources

Join our Slack community for continuous discussions and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently emerging from our bootcamp individuals working 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 should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source community, the choice ultimately depends on your use case. DeepSeek R1 emphasizes advanced reasoning and a novel training method that may be particularly important in tasks where proven reasoning is important.

Q2: Why did significant providers like OpenAI go with supervised fine-tuning rather than support learning (RL) like DeepSeek?

A: We should keep in mind upfront that they do utilize RL at the minimum in the kind of RLHF. It is extremely most likely that models from major suppliers that have reasoning abilities already use 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 all set availability of large annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and more difficult to control. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the model to discover efficient internal thinking with only minimal process annotation - a strategy that has shown appealing regardless of its intricacy.

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

A: DeepSeek R1's design highlights effectiveness by leveraging methods such as the mixture-of-experts technique, which activates just a subset of criteria, to decrease calculate throughout inference. This concentrate on effectiveness is main to its cost advantages.

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

A: R1-Zero is the preliminary design that learns reasoning solely through support learning without explicit procedure supervision. It generates intermediate thinking actions that, while in some cases raw or mixed in language, trademarketclassifieds.com act as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the without supervision "stimulate," and R1 is the polished, more coherent version.

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

A: Remaining existing 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, attending pertinent conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collective research jobs likewise plays an essential role in staying up to date with technical improvements.

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

A: The brief response is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust reasoning abilities and its performance. It is particularly well matched for tasks that require verifiable logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and confirmed. Its open-source nature further enables tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 reduces the entry barrier for deploying advanced language designs. Enterprises and start-ups can leverage its advanced thinking for agentic applications varying from automated code generation and consumer assistance to information analysis. Its versatile deployment options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an attractive alternative to exclusive solutions.

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by checking out numerous thinking courses, it includes stopping criteria and examination mechanisms to avoid unlimited loops. The reinforcement learning framework encourages merging towards 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 models. It is constructed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its design emphasizes efficiency and cost reduction, setting the stage for the reasoning developments seen in R1.

Q10: How does DeepSeek R1 carry out on vision jobs?

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

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

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 techniques to build designs that resolve their particular obstacles while gaining from lower calculate costs and robust thinking abilities. It is likely that in deeply specialized fields, however, there will still be a need for supervised fine-tuning to get reliable results.

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

A: The conversation showed that the annotators mainly focused on domains where accuracy is easily verifiable-such as math and coding. This recommends that proficiency in technical fields was certainly leveraged to make sure the precision and clarity of the reasoning information.

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

A: While the design is created to optimize for proper answers via support knowing, there is constantly a threat of errors-especially in uncertain scenarios. However, by examining several candidate outputs and reinforcing those that result in proven results, the training process reduces the probability of propagating inaccurate thinking.

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

A: Making use of rule-based, proven tasks (such as mathematics and coding) helps anchor the design's reasoning. By comparing multiple outputs and utilizing group relative policy optimization to reinforce just those that yield the correct outcome, the design is directed away from generating unproven or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

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

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

A: Early models like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent refinement process-where human experts curated and improved the thinking data-has significantly boosted the clarity and reliability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and feedback have actually resulted in meaningful enhancements.

Q17: Which model variations are suitable for regional deployment on a laptop computer 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 instance, those with hundreds of billions of parameters) need significantly more computational resources and are much better matched for cloud-based implementation.

Q18: systemcheck-wiki.de Is DeepSeek R1 "open source" or does it provide only open weights?

A: engel-und-waisen.de DeepSeek R1 is supplied with open weights, meaning that its model parameters are openly available. This lines up with the overall open-source viewpoint, permitting researchers and designers to more check out and build on its developments.

Q19: What would take place if the order of training were reversed-starting with supervised fine-tuning before not being watched support knowing?

A: The present approach allows the model to initially check out and generate its own reasoning patterns through unsupervised RL, and then fine-tune these patterns with supervised techniques. Reversing the order may constrain the model's ability to discover diverse reasoning paths, possibly limiting its total performance in jobs that gain from autonomous idea.

Thanks for checking out Deep Random Thoughts! Subscribe for 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: ahmedlucia4256/wecomy#79