Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in
S
stay-22
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 33
    • Issues 33
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Antwan Flanagan
  • stay-22
  • Issues
  • #32

Closed
Open
Opened Jun 01, 2025 by Antwan Flanagan@antwanflanagan
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually 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 evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also 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 model; it's a household of significantly advanced AI systems. The development goes something like this:

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where only a subset of experts are utilized at reasoning, considerably enhancing the processing time for each token. It also included multi-head latent attention to decrease memory footprint.

DeepSeek V3:

This design presented FP8 training methods, which assisted drive down training costs by over 42.5% compared to previous versions. FP8 is a less precise method to keep weights inside the LLMs however can significantly improve the memory footprint. However, training using FP8 can normally be unstable, and it is difficult to obtain the preferred training results. Nevertheless, DeepSeek utilizes multiple techniques and attains remarkably stable FP8 training. V3 set the phase as an extremely effective design that was already cost-efficient (with claims of being 90% more affordable 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 design not just to generate answers however to "believe" before answering. Using pure reinforcement knowing, the model was motivated to produce intermediate reasoning actions, for instance, taking extra time (often 17+ seconds) to overcome a basic issue like "1 +1."

The key innovation here was the usage of group relative policy optimization (GROP). Instead of counting on a traditional procedure reward model (which would have needed annotating every step of the thinking), GROP compares multiple outputs from the design. By sampling several prospective answers and scoring them (utilizing rule-based procedures like exact match for mathematics or outputs), the system finds out to prefer thinking that results in the right outcome without the requirement for specific guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's not being watched technique produced reasoning outputs that could be hard to read or even mix languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "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 tweak the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces readable, meaningful, and reliable reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (no) is how it established thinking abilities without specific supervision of the thinking procedure. It can be even more enhanced by using cold-start data and supervised support learning to produce readable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and designers to examine and build on its developments. Its cost efficiency is a major selling point particularly when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and lengthy), the design was trained using an outcome-based method. It began with easily verifiable tasks, such as mathematics issues and coding workouts, where the accuracy of the last answer might be easily measured.

By utilizing group relative policy optimization, the training process compares multiple generated answers to identify which ones satisfy the wanted output. This relative scoring system allows the model to discover "how to believe" even when intermediate thinking is generated in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" easy problems. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds assessing various scenarios-even thinking about binary representations-before concluding with the correct answer. This self-questioning and verification process, although it might appear inefficient at first glimpse, could prove useful in intricate tasks where deeper thinking is required.

Prompt Engineering:

Traditional few-shot triggering techniques, which have actually worked well for lots of chat-based models, can in fact deteriorate efficiency with R1. The developers advise utilizing direct issue statements with a zero-shot technique that defines the output format plainly. This guarantees that the design isn't led astray by extraneous examples or hints that may interfere with its internal reasoning procedure.

Getting Started with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs and even only CPUs


Larger versions (600B) require substantial calculate resources


Available through significant cloud service providers


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


Looking Ahead

We're especially fascinated by several implications:

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


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


Possibilities for integrating with other supervision techniques


Implications for enterprise AI implementation


Thanks for checking out Deep Random Thoughts! Subscribe totally free to get brand-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 neighborhood starts to try out and build on these techniques.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently emerging from our bootcamp individuals working 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 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 use case. DeepSeek R1 stresses advanced reasoning and an unique training technique that might be especially valuable in tasks where proven reasoning is important.

Q2: Why did significant companies like OpenAI choose supervised fine-tuning rather than reinforcement knowing (RL) like DeepSeek?

A: We must note in advance that they do use RL at the minimum in the form of RLHF. It is extremely likely that models from major service providers that have thinking abilities currently utilize something comparable to what DeepSeek has done here, but we can't make certain. It is also likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement knowing, although effective, can be less foreseeable and harder to manage. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the design to learn efficient internal thinking with only very little process annotation - a technique that has actually proven appealing despite its intricacy.

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

A: DeepSeek R1's design stresses efficiency by leveraging strategies such as the mixture-of-experts method, which activates just a subset of criteria, to minimize calculate during reasoning. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary model that discovers thinking entirely through reinforcement knowing without specific process guidance. It generates intermediate reasoning steps that, while often raw or mixed in language, function as the structure 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 sleek, more coherent variation.

Q5: How can one remain upgraded with extensive, technical research study while managing a busy schedule?

A: Remaining present 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 conversation groups and bytes-the-dust.com newsletters. Continuous engagement with online communities and collective research projects likewise plays an essential role in keeping up with technical improvements.

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

A: The short response is that it's too early to inform. DeepSeek R1's strength, however, lies in its robust reasoning abilities and its efficiency. It is particularly well matched for jobs that require verifiable logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature even more enables tailored applications in research study 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 decreases the entry barrier for releasing innovative language designs. Enterprises and start-ups can utilize its innovative reasoning for agentic applications varying from automated code generation and client assistance to data analysis. Its versatile deployment options-on customer hardware for smaller designs or cloud platforms for bigger ones-make it an attractive alternative to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by exploring several reasoning courses, it includes stopping requirements and examination mechanisms to prevent unlimited loops. The reinforcement learning structure motivates convergence toward a verifiable 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 foundation for later models. It is built on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its style stresses performance and expense 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 design and does not integrate vision capabilities. Its style and training focus entirely on language processing and thinking.

Q11: Can experts in specialized fields (for example, labs working on treatments) apply these methods to train domain-specific designs?

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

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

A: The conversation suggested that the annotators mainly concentrated on domains where accuracy is quickly verifiable-such as math and coding. This suggests that expertise in technical fields was certainly leveraged to make sure the precision and clarity of the reasoning information.

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

A: While the model is developed to optimize for right responses through reinforcement knowing, there is always a danger of errors-especially in uncertain circumstances. However, by examining several prospect outputs and enhancing those that cause verifiable results, the training procedure reduces the probability of propagating inaccurate reasoning.

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

A: The usage of rule-based, proven jobs (such as mathematics and coding) helps anchor the design's thinking. By comparing several outputs and using group relative policy optimization to strengthen only those that yield the proper result, the model is guided far from producing unfounded or hallucinated details.

Q15: Does the design count 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, the main focus is on using these methods to enable efficient reasoning instead of showcasing mathematical complexity for its own sake.

Q16: Some worry that the design's "thinking" may not be as improved as human thinking. Is that a valid issue?

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

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

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

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

A: DeepSeek R1 is offered with open weights, meaning that its model criteria are publicly available. This lines up with the overall open-source approach, enabling scientists and developers to further check out and build on its developments.

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

A: The existing technique enables the model to initially check out and produce its own thinking patterns through without supervision RL, and after that refine these patterns with supervised approaches. Reversing the order may constrain the model's ability to find diverse reasoning paths, potentially limiting its general efficiency in jobs that gain from self-governing thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: antwanflanagan/stay-22#32