Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
U
usvs
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 30
    • Issues 30
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Registry
    • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Ashlee Crisp
  • usvs
  • Issues
  • #20

Closed
Open
Opened Apr 10, 2025 by Ashlee Crisp@ashleecrisp78
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise 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 breakthrough R1. We also checked out the technical innovations that make R1 so special worldwide of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't simply a single design; it's a household of significantly sophisticated AI systems. The evolution 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 likewise included multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This model introduced FP8 training techniques, which assisted drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less exact way to save weights inside the LLMs but can greatly improve the memory footprint. However, training using FP8 can generally be unsteady, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes several tricks and attains incredibly stable FP8 training. V3 set the phase as an extremely efficient 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 presented R1-Zero, the very first reasoning-focused version. Here, the focus was on teaching the design not just to generate answers but to "believe" before answering. Using pure support learning, the model was motivated to produce intermediate thinking actions, for instance, taking additional time (often 17+ seconds) to overcome a basic issue like "1 +1."

The crucial development here was the use of group relative policy optimization (GROP). Instead of depending on a standard procedure reward model (which would have needed annotating every action of the reasoning), GROP compares numerous outputs from the design. By tasting numerous potential answers and scoring them (utilizing rule-based measures like exact match for math or confirming code outputs), the system discovers to prefer reasoning that causes the appropriate result without the requirement for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced reasoning outputs that could be difficult to check out and even mix languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to create "cold start" data and after that manually curated these examples to filter and enhance 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 reinforcement learning and supervised fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and dependable 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 reasoning capabilities without explicit supervision of the reasoning procedure. It can be further improved by utilizing cold-start information and supervised support learning to produce understandable reasoning on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to check and forum.altaycoins.com build on its developments. Its cost effectiveness is a significant selling point specifically when compared to closed-source models (claimed 90% cheaper than OpenAI) that need huge compute budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and lengthy), the model was trained utilizing an outcome-based approach. It began with quickly verifiable jobs, such as math problems and coding exercises, where the correctness of the last response could be easily measured.

By utilizing group relative policy optimization, the training procedure compares numerous produced answers to figure out which ones satisfy the preferred output. This relative scoring system allows the design to find out "how to think" even when intermediate thinking is created in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" simple problems. For instance, when asked "What is 1 +1?" it may spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and verification procedure, although it may appear ineffective in the beginning glance, could prove beneficial in complex jobs where much deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot prompting strategies, which have actually worked well for many chat-based models, can in fact deteriorate performance with R1. The developers recommend using direct problem statements with a zero-shot technique that defines the output format plainly. This makes sure that the design isn't led astray by extraneous examples or hints that might hinder its internal thinking procedure.

Starting with R1

For those aiming to experiment:

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


Larger variations (600B) require substantial compute resources


Available through major cloud suppliers


Can be released locally via Ollama or vLLM


Looking Ahead

We're particularly captivated by a number of implications:

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


Influence on agent-based AI systems typically built on chat designs


Possibilities for combining with other supervision strategies


Implications for business AI deployment


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

Open Questions

How will this impact the advancement of future thinking designs?


Can this approach be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be watching these developments closely, especially as the neighborhood begins to try out and construct upon these methods.

Resources

Join our Slack community for continuous discussions and updates about DeepSeek and other AI developments. We're seeing interesting applications currently emerging from our 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 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 upon your use case. DeepSeek R1 highlights advanced reasoning and a novel training method that might be particularly valuable in tasks where proven reasoning is vital.

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

A: We ought to note in advance that they do use RL at least in the form of RLHF. It is highly likely that designs from significant providers that have thinking abilities currently utilize something comparable to what DeepSeek has actually 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 all set availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and more difficult to control. DeepSeek's method innovates by applying RL in a reasoning-oriented way, allowing the model to find out reliable internal reasoning with only minimal procedure annotation - a strategy that has actually proven appealing despite its intricacy.

Q3: Did DeepSeek use test-time compute methods comparable to those of OpenAI?

A: DeepSeek R1's style stresses performance by leveraging methods such as the mixture-of-experts method, which activates just a subset of specifications, to reduce compute during reasoning. This concentrate on performance is main to its expense benefits.

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

A: R1-Zero is the initial design that learns reasoning solely through reinforcement learning without specific process supervision. It generates intermediate reasoning actions that, while sometimes raw or combined in language, function as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the without supervision "stimulate," and R1 is the sleek, more coherent variation.

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

A: Remaining existing includes a combination of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collective research tasks also plays a key role in keeping up with technical improvements.

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

A: The brief response is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, depends on its robust thinking abilities and its effectiveness. It is especially well matched for tasks that need proven logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and verified. Its open-source nature even more allows for tailored applications in research and enterprise settings.

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

A: The open-source and cost-effective style of DeepSeek R1 lowers the entry barrier for releasing advanced language models. Enterprises and start-ups can utilize its innovative reasoning for agentic applications varying from automated code generation and client support to data analysis. Its versatile release options-on consumer hardware for smaller sized designs or cloud platforms for bigger ones-make it an appealing alternative to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" easy issues by checking out numerous thinking courses, it incorporates stopping criteria and evaluation mechanisms to avoid limitless loops. The reinforcement discovering structure motivates convergence toward a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 entirely 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 technique and FP8 training-and is not based on the Qwen architecture. Its style emphasizes effectiveness and cost decrease, setting the phase 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 incorporate vision abilities. Its design and training focus solely on language processing and thinking.

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

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

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

A: The conversation showed that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that know-how in technical fields was certainly leveraged to ensure the precision and clarity of the reasoning data.

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

A: While the model is created to enhance for appropriate answers through support knowing, there is always a danger of errors-especially in uncertain scenarios. However, by examining several candidate outputs and strengthening those that lead to verifiable results, the training procedure decreases the likelihood of propagating incorrect thinking.

Q14: How are hallucinations lessened in the design offered its iterative reasoning loops?

A: The use of rule-based, proven jobs (such as mathematics and coding) helps anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to enhance just those that yield the correct outcome, the design is directed far from generating unfounded or hallucinated details.

Q15: Does the design depend on complex vector mathematics?

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

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

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

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

A: For regional screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of criteria) require considerably more computational resources and are much better fit for cloud-based deployment.

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

A: DeepSeek R1 is supplied with open weights, implying that its design parameters are publicly available. This aligns with the overall open-source viewpoint, enabling scientists and developers to more explore and build on its innovations.

Q19: What would take place if the order of training were reversed-starting with supervised fine-tuning before without supervision support learning?

A: The existing method allows the design to first explore and generate its own thinking patterns through without supervision RL, and then improve these patterns with supervised methods. Reversing the order may constrain the design's ability to discover diverse thinking courses, potentially restricting its general performance in tasks that gain from autonomous idea.

Thanks for reading 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
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: ashleecrisp78/usvs#20