Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
P
philthejob
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 7
    • Issues 7
    • 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
  • Adrienne Welsh
  • philthejob
  • Issues
  • #1

Closed
Open
Opened May 30, 2025 by Adrienne Welsh@adriennewelsh0
  • 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 evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We likewise checked out 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 model; it's a family of increasingly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the foundation model which leveraged a mixture-of-experts architecture, where just a subset of experts are utilized at inference, considerably enhancing the processing time for each token. It likewise featured multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This design introduced FP8 training strategies, which assisted drive down training expenses by over 42.5% compared to previous versions. FP8 is a less accurate way to store weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can normally be unstable, and it is hard to obtain the preferred training results. Nevertheless, DeepSeek uses multiple tricks and pipewiki.org attains incredibly stable FP8 training. V3 set the phase as an extremely efficient design that was already affordable (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused version. Here, the focus was on teaching the model not just to generate responses but to "believe" before responding to. Using pure reinforcement knowing, the model was encouraged to produce intermediate reasoning actions, setiathome.berkeley.edu for instance, taking extra time (frequently 17+ seconds) to work through a simple issue like "1 +1."

The key innovation here was the usage of group relative policy optimization (GROP). Instead of depending on a traditional process reward design (which would have required annotating every step of the thinking), GROP compares numerous outputs from the design. By sampling several potential answers and scoring them (using rule-based measures like precise match for math or validating code outputs), the system learns to favor thinking that causes the appropriate result without the requirement for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that could be tough to check out and even blend languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to create "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 utilized to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces understandable, coherent, and dependable thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it established reasoning capabilities without specific guidance of the thinking procedure. It can be further improved by utilizing cold-start data and monitored support learning to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to check and build upon its innovations. Its cost effectiveness is a major selling point particularly 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 reasoning (which is both pricey and lengthy), the design was trained using an outcome-based technique. It started with quickly proven jobs, such as mathematics problems and coding workouts, where the accuracy of the last answer might be easily determined.

By utilizing group relative policy optimization, the training procedure compares several generated answers to figure out which ones meet the wanted output. This relative scoring mechanism allows the design to discover "how to think" even when intermediate thinking is created in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 often "overthinks" easy issues. For example, when asked "What is 1 +1?" it might spend almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and verification procedure, although it might appear inefficient initially look, could prove beneficial in complex jobs where much deeper thinking is needed.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for many chat-based models, can actually degrade efficiency with R1. The designers recommend 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 may hinder its internal thinking process.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs or perhaps just CPUs


Larger variations (600B) require substantial calculate resources


Available through major cloud companies


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially captivated by numerous implications:

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


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


Possibilities for combining with other supervision techniques


Implications for business AI implementation


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

Open Questions

How will this impact the advancement of future reasoning designs?


Can this technique be extended to less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements closely, especially as the community starts to try out and build upon these strategies.

Resources

Join our Slack community for ongoing discussions and updates about DeepSeek and other AI advancements. We're seeing interesting currently 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 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 also a strong design in the open-source neighborhood, the choice eventually depends on your use case. DeepSeek R1 highlights advanced thinking and an unique training method that might be particularly important in jobs where proven logic is vital.

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

A: We need to keep in mind in advance that they do utilize RL at the minimum in the kind of RLHF. It is highly likely that models from significant suppliers that have thinking capabilities already utilize something comparable to what DeepSeek has actually done here, however we can't make certain. It is also likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although powerful, can be less foreseeable and more difficult to control. DeepSeek's technique innovates by using RL in a reasoning-oriented manner, making it possible for the model to learn efficient internal thinking with only very little process annotation - a technique that has proven appealing despite its complexity.

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

A: DeepSeek R1's style emphasizes performance by leveraging methods such as the mixture-of-experts method, which activates only a subset of criteria, to minimize compute during reasoning. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the preliminary design that discovers thinking exclusively through reinforcement learning without specific procedure supervision. It generates intermediate reasoning steps that, while often raw or mixed in language, serve as the foundation for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the unsupervised "stimulate," and R1 is the polished, more meaningful variation.

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

A: Remaining current involves a mix of actively engaging with the research study 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 neighborhoods and collective research jobs likewise plays an essential role in staying up to date with technical advancements.

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

A: The short answer is that it's prematurely to inform. DeepSeek R1's strength, however, depends on its robust thinking capabilities and its effectiveness. It is especially well fit for tasks that require proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be examined and confirmed. Its open-source nature further enables tailored applications in research study and enterprise settings.

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

A: The open-source and affordable design of DeepSeek R1 decreases the entry barrier for releasing innovative language models. Enterprises and start-ups can take advantage of its innovative thinking for agentic applications ranging from automated code generation and customer support to information analysis. Its flexible release options-on customer hardware for smaller sized models or cloud platforms for bigger ones-make it an appealing option to exclusive solutions.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by exploring numerous reasoning courses, it includes stopping requirements and evaluation mechanisms to avoid unlimited loops. The reinforcement learning framework motivates convergence toward a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 totally open source, and yewiki.org is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and worked as the structure for later versions. It is developed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its style emphasizes efficiency and expense reduction, setting the stage for the reasoning innovations seen in R1.

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

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

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

A: Yes. The developments 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 models that resolve their specific difficulties while gaining from lower compute costs and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get trustworthy results.

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

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

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

A: While the model is designed to optimize for proper answers by means of reinforcement knowing, there is always a risk of errors-especially in uncertain circumstances. However, by examining several prospect outputs and reinforcing those that cause verifiable outcomes, the training procedure minimizes the probability of propagating inaccurate thinking.

Q14: How are hallucinations decreased in the design offered its iterative thinking loops?

A: Using rule-based, proven tasks (such as math and oeclub.org coding) helps anchor the design's thinking. By comparing several outputs and utilizing group relative policy optimization to reinforce only those that yield the correct outcome, the model is directed far from creating unproven or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these techniques to enable efficient thinking instead of showcasing mathematical intricacy for its own sake.

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

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

Q17: Which model versions are suitable for local 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 designs (for example, those with numerous billions of criteria) require substantially more computational resources and are much better matched for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, meaning that its design criteria are publicly available. This lines up with the total open-source viewpoint, allowing scientists and wavedream.wiki developers to more check out and construct upon its developments.

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

A: The current approach permits the model to initially check out and generate its own reasoning patterns through not being watched RL, and then improve these patterns with monitored approaches. Reversing the order may constrain the model's ability to discover diverse thinking courses, potentially restricting its general efficiency in tasks that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe totally free to receive 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: adriennewelsh0/philthejob#1