Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
V
vitricongty
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 1
    • Issues 1
    • 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
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Sam Reinhart
  • vitricongty
  • Issues
  • #1

Closed
Open
Opened May 29, 2025 by Sam Reinhart@samreinhart616Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive increase 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 family - from the early designs through DeepSeek V3 to the advancement R1. We also checked out the technical innovations that make R1 so unique in the world 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 evolution goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This model introduced FP8 training methods, which helped drive down training costs by over 42.5% compared to previous versions. FP8 is a less precise method to store weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can usually be unstable, and it is difficult to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes several tricks and attains incredibly steady FP8 training. V3 set the stage as an extremely effective design that was already economical (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not simply to produce answers but to "think" before responding to. Using pure support learning, the model was motivated to produce intermediate thinking steps, for example, taking extra time (typically 17+ seconds) to resolve a basic issue like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of depending on a standard procedure benefit model (which would have required annotating every action of the reasoning), GROP compares multiple outputs from the design. By sampling a number of prospective responses and scoring them (utilizing rule-based measures like specific match for math or validating code outputs), the system learns to prefer thinking that results in the correct result without the need for wakewiki.de explicit guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced thinking outputs that might be tough to read or perhaps blend languages, the designers went back 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 enhance the quality of the thinking. This human post-processing was then used to fine-tune the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a model that now produces understandable, coherent, and reputable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (no) is how it established reasoning capabilities without specific guidance of the reasoning procedure. It can be further enhanced by utilizing cold-start data and supervised reinforcement finding out to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to check and build on its developments. Its expense effectiveness is a significant selling point specifically when compared to closed-source models (claimed 90% more affordable than OpenAI) that need enormous calculate spending plans.

Novel Training Approach:

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

By utilizing group relative policy optimization, the training process compares numerous generated answers to identify which ones meet the preferred output. This relative scoring system allows the model to learn "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" easy issues. For example, forum.pinoo.com.tr when asked "What is 1 +1?" it may invest nearly 17 seconds examining different scenarios-even thinking about binary representations-before concluding with the correct response. This self-questioning and confirmation procedure, although it might seem inefficient initially glance, could prove useful in complex jobs where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for numerous chat-based models, can in fact degrade efficiency with R1. The designers recommend utilizing direct problem declarations with a zero-shot technique that specifies the output format plainly. This guarantees that the model isn't led astray by extraneous examples or hints that might interfere with its internal thinking procedure.

Starting with R1

For those aiming to experiment:

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


Larger variations (600B) need substantial compute resources


Available through major cloud service providers


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


Looking Ahead

We're particularly interested by a number of ramifications:

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


Impact on agent-based AI systems generally developed on chat designs


Possibilities for integrating with other guidance strategies


Implications for enterprise AI deployment


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

Open Questions

How will this impact the advancement of future thinking models?


Can this approach be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, especially as the neighborhood starts to try out and construct upon these methods.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing fascinating applications already emerging from our bootcamp participants 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 design should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the choice eventually depends on your use case. DeepSeek R1 highlights advanced reasoning and a novel training technique that may be especially important in jobs where proven logic is crucial.

Q2: bytes-the-dust.com Why did significant suppliers like OpenAI select supervised fine-tuning rather than support knowing (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 likely that models from major service providers that have reasoning abilities currently utilize something comparable to what DeepSeek has actually done here, but we can't make certain. It is likewise likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and more difficult to manage. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the model to find out efficient internal reasoning with only minimal procedure annotation - a method that has shown appealing regardless of its intricacy.

Q3: Did DeepSeek utilize test-time calculate methods comparable to those of OpenAI?

A: DeepSeek R1's design stresses performance by leveraging methods such as the mixture-of-experts approach, which activates only a subset of parameters, to lower calculate during inference. This focus on effectiveness is main to its cost advantages.

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

A: R1-Zero is the initial model that learns thinking entirely through reinforcement knowing without specific process supervision. It generates intermediate reasoning steps that, while sometimes raw or combined in language, act as the foundation 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 unsupervised "trigger," and R1 is the polished, more meaningful version.

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

A: Remaining existing includes a mix of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and collaborative research study jobs likewise plays a key role in staying up to date with technical advancements.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking capabilities and genbecle.com its performance. It is especially well matched for tasks that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be examined and verified. Its open-source nature even more enables tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 lowers the entry barrier for deploying sophisticated language designs. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications ranging from automated code generation and client support to information analysis. Its flexible deployment options-on customer hardware for smaller sized designs or cloud platforms for larger ones-make it an attractive alternative to exclusive services.

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

A: While DeepSeek R1 has been observed to "overthink" basic issues by exploring several reasoning courses, it includes stopping criteria and wavedream.wiki evaluation systems to avoid limitless loops. The reinforcement finding out structure motivates convergence towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the foundation for later models. It is developed 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 performance and expense reduction, 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 design and does not incorporate vision abilities. Its design and training focus entirely on language processing and thinking.

Q11: Can in specialized fields (for example, laboratories working on cures) use these techniques to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these approaches to construct models that resolve their particular obstacles while gaining from lower calculate costs and robust thinking abilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for supervised fine-tuning to get reputable results.

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

A: The conversation indicated 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 guarantee the accuracy and clearness of the thinking information.

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

A: While the model is developed to optimize for correct responses through reinforcement learning, there is constantly a threat of errors-especially in uncertain situations. However, by evaluating several candidate outputs and strengthening those that lead to verifiable outcomes, the training process lessens the likelihood of propagating incorrect reasoning.

Q14: How are hallucinations lessened in the model provided its iterative thinking loops?

A: The usage of rule-based, proven jobs (such as math and coding) helps anchor the model's thinking. By comparing numerous outputs and using group relative policy optimization to reinforce just those that yield the proper outcome, the design is assisted away from creating unfounded or hallucinated details.

Q15: Does the model count on complex vector mathematics?

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

Q16: Some stress that the model's "thinking" may not be as fine-tuned as human reasoning. Is that a valid issue?

A: Early models like R1-Zero did produce raw and in some cases hard-to-read thinking. However, the subsequent refinement process-where human professionals curated and improved the thinking data-has substantially enhanced the clearness and reliability of DeepSeek R1's internal thought procedure. While it remains a developing system, iterative training and feedback have caused significant improvements.

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

A: For local testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with numerous billions of parameters) need substantially more computational resources and are better suited for cloud-based deployment.

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

A: DeepSeek R1 is supplied with open weights, meaning that its design specifications are openly available. This lines up with the general open-source philosophy, permitting scientists and designers to more check out and develop upon its innovations.

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

A: The present technique permits the design to initially check out and generate its own reasoning patterns through unsupervised RL, and then fine-tune these patterns with monitored techniques. Reversing the order might constrain the model's capability to discover diverse reasoning paths, possibly restricting its total efficiency in jobs that gain from autonomous thought.

Thanks for reading 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
Reference: samreinhart616/vitricongty#1