Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P pleasantprogrammer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 78
    • Issues 78
    • 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
  • Alexis Tilton
  • pleasantprogrammer
  • Issues
  • #33

Closed
Open
Created Apr 02, 2025 by Alexis Tilton@alexistilton06Maintainer

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in recent weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early designs through DeepSeek V3 to the advancement R1. We likewise explored the technical innovations 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 design; it's a household of significantly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where just a subset of experts are utilized at reasoning, significantly enhancing the processing time for each token. It likewise included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less exact method 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 wanted training results. Nevertheless, DeepSeek utilizes numerous techniques and yewiki.org attains extremely steady FP8 training. V3 set the stage as a highly efficient model that was already cost-effective (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not just to produce responses however to "think" before answering. Using pure support learning, the design was encouraged to produce intermediate thinking actions, for instance, taking extra time (typically 17+ seconds) to resolve an easy issue like "1 +1."

The key innovation here was making use of group relative policy optimization (GROP). Instead of counting on a conventional process reward model (which would have required annotating every action of the thinking), GROP compares several outputs from the model. By sampling several potential responses and scoring them (using rule-based procedures like specific match for mathematics or verifying code outputs), the system learns to favor reasoning that results in the right outcome without the requirement for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced reasoning outputs that could be tough to check out or even blend languages, the developers returned to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" information and then by hand curated these examples to filter and improve the quality of the reasoning. This human post-processing was then utilized to fine-tune the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement knowing and supervised fine-tuning. The result is DeepSeek R1: a model that now produces legible, meaningful, and trustworthy reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (absolutely no) is how it developed thinking capabilities without specific supervision of the reasoning process. It can be further enhanced by utilizing cold-start data and monitored reinforcement finding out to produce legible thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and designers to examine and build on its innovations. Its expense efficiency is a significant selling point specifically when compared to closed-source models (claimed 90% less expensive than OpenAI) that require massive compute budgets.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both costly and lengthy), the model was trained using an outcome-based method. It started with easily proven tasks, such as math problems and coding workouts, where the correctness of the last response might be easily measured.

By using group relative policy optimization, the training process compares multiple created answers to figure out which ones fulfill the desired output. This relative scoring mechanism allows the design to find out "how to believe" even when intermediate reasoning is generated in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might invest nearly 17 seconds examining different scenarios-even thinking about binary representations-before concluding with the appropriate answer. This self-questioning and confirmation process, although it might appear ineffective at first glance, might show beneficial in complex tasks where deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for numerous chat-based models, can actually degrade performance with R1. The designers suggest using direct problem statements with a zero-shot technique that specifies the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that might disrupt its internal reasoning process.

Starting with R1

For those aiming to experiment:

Smaller variations (7B-8B) can work on consumer GPUs and even only CPUs


Larger variations (600B) require considerable calculate resources


Available through major cloud service providers


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially fascinated by several ramifications:

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


Impact on agent-based AI systems traditionally developed on chat models


Possibilities for integrating with other supervision methods


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 affect the development of future reasoning models?


Can this approach be encompassed less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements carefully, particularly as the community starts to try out and develop upon these strategies.

Resources

Join our Slack neighborhood for continuous conversations and updates about DeepSeek and other AI advancements. 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 brief 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 also a strong model in the open-source community, the option ultimately depends upon your usage case. DeepSeek R1 stresses innovative thinking and a novel training approach that might be especially important in tasks where proven logic is crucial.

Q2: Why did significant providers like OpenAI choose for supervised fine-tuning instead of support learning (RL) like DeepSeek?

A: We need to note in advance that they do utilize RL at least in the form of RLHF. It is most likely that designs from major providers that have reasoning abilities currently utilize something similar to what DeepSeek has done here, however we can't make certain. It is also most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and more difficult to manage. DeepSeek's method innovates by applying RL in a reasoning-oriented manner, allowing the model to learn effective internal reasoning with only very little process annotation - a strategy that has proven promising in spite of its intricacy.

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

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

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

A: R1-Zero is the initial model that discovers reasoning exclusively through support knowing without explicit procedure supervision. It produces intermediate thinking actions that, while often raw or blended in language, act as the foundation for knowing. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "trigger," and R1 is the sleek, more meaningful version.

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

A: Remaining current involves a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and getting involved in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research tasks also plays a key role in staying up to date with technical advancements.

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

A: The short response is that it's too early to tell. DeepSeek R1's strength, however, depends on its robust reasoning abilities and its efficiency. It is particularly well fit for jobs that require proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be examined and validated. Its open-source nature even more allows for 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 decreases the entry barrier for deploying advanced language models. Enterprises and start-ups can leverage its advanced thinking for agentic applications varying from automated code generation and consumer assistance to data analysis. Its versatile deployment options-on consumer hardware for smaller designs or cloud platforms for larger ones-make it an attractive alternative to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by checking out several thinking paths, it includes stopping criteria and assessment systems to prevent boundless loops. The support learning framework encourages merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and served as the structure for later versions. 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 stresses efficiency and cost reduction, setting the phase for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

A: DeepSeek R1 is a text-based model and does not include vision capabilities. Its style and training focus entirely on language processing and reasoning.

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

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

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

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

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

A: While the design is created to enhance for proper responses by means of reinforcement knowing, there is always a danger of errors-especially in uncertain circumstances. However, by evaluating numerous prospect outputs and enhancing those that result in proven outcomes, the training procedure reduces the probability of propagating incorrect reasoning.

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

A: Making use of rule-based, systemcheck-wiki.de verifiable jobs (such as math and coding) assists anchor the design's reasoning. By comparing several outputs and demo.qkseo.in utilizing group relative policy optimization to reinforce only those that yield the proper result, the model is assisted away from generating unproven or hallucinated details.

Q15: Does the design count on complex vector mathematics?

A: Yes, higgledy-piggledy.xyz advanced techniques-including complex vector math-are essential to the execution of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these methods to make it possible for efficient reasoning rather than showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent refinement process-where human experts curated and enhanced the reasoning data-has significantly enhanced the clearness and reliability of DeepSeek R1's internal idea procedure. While it remains a developing system, iterative training and feedback have actually led to significant improvements.

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

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is advised. Larger designs (for example, those with hundreds of billions of specifications) need considerably more computational resources and are much better matched for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, suggesting that its design criteria are openly available. This lines up with the general open-source viewpoint, allowing scientists and designers to more explore and build on its innovations.

Q19: What would happen if the order of training were reversed-starting with before unsupervised support learning?

A: The existing technique permits the model to initially check out and generate its own thinking patterns through unsupervised RL, and after that improve these patterns with supervised methods. Reversing the order may constrain the model's ability to discover diverse reasoning courses, possibly restricting its general performance in jobs that gain from self-governing thought.

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

Assignee
Assign to
Time tracking