Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
accountshunt
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 31
    • Issues 31
    • 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
  • Alycia Jacks
  • accountshunt
  • Issues
  • #17

Closed
Open
Opened Apr 04, 2025 by Alycia Jacks@alyciajacks701
  • 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 current weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early models through DeepSeek V3 to the breakthrough R1. We likewise explored the technical developments that make R1 so special on the planet of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a household of progressively sophisticated AI systems. The evolution goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This design introduced FP8 training methods, which helped drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less precise method to save weights inside the LLMs but can greatly enhance the memory footprint. However, training utilizing FP8 can normally be unstable, and it is hard to obtain the preferred training outcomes. Nevertheless, DeepSeek uses multiple techniques and attains remarkably stable FP8 training. V3 set the phase as a highly efficient design that was already affordable (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the design not just to create answers but to "believe" before responding to. Using pure reinforcement learning, the model was motivated to create intermediate reasoning actions, for instance, taking extra time (often 17+ seconds) to work through a simple issue like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of depending on a standard process reward model (which would have needed annotating every action of the reasoning), GROP compares multiple outputs from the design. By tasting a number of potential responses and scoring them (using rule-based steps like exact match for mathematics or confirming code outputs), the system discovers to favor reasoning that leads to the appropriate result without the requirement for explicit guidance of every intermediate idea.

DeepSeek R1:

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

What Makes R1 Series Special?

The most remarkable aspect of R1 (zero) is how it developed reasoning abilities without specific guidance of the reasoning process. It can be further improved by utilizing cold-start information and monitored support finding out to produce legible thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and designers to examine and build upon its developments. Its expense efficiency is a significant selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that need huge calculate budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both costly and time-consuming), the model was trained using an outcome-based technique. It began with easily proven tasks, such as math problems and coding exercises, where the correctness of the last response could be quickly measured.

By utilizing group relative policy optimization, the training process compares several created answers to determine which ones satisfy the desired output. This relative scoring mechanism enables the model to learn "how to believe" even when intermediate reasoning is produced in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" easy problems. For example, when asked "What is 1 +1?" it might spend nearly 17 seconds assessing different scenarios-even thinking about binary representations-before concluding with the proper answer. This self-questioning and verification procedure, although it may seem ineffective at first glimpse, might prove beneficial in complex jobs where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have actually worked well for numerous chat-based models, can actually degrade efficiency with R1. The developers recommend utilizing direct issue declarations with a zero-shot method 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 reasoning procedure.

Starting with R1

For those aiming to experiment:

Smaller variants (7B-8B) can work on customer GPUs and even just CPUs


Larger variations (600B) need substantial calculate resources


Available through major cloud suppliers


Can be released in your area through Ollama or vLLM


Looking Ahead

We're particularly captivated by a number of ramifications:

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


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


Possibilities for combining with other supervision techniques


Implications for business AI deployment


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

Open Questions

How will this impact the advancement of future thinking models?


Can this method be extended to less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, particularly as the neighborhood starts to experiment with and forum.altaycoins.com build upon these strategies.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications currently emerging from our bootcamp participants 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 deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source community, the choice ultimately depends on your usage case. DeepSeek R1 highlights sophisticated thinking and a novel training approach that may be especially important in jobs where proven logic is vital.

Q2: Why did major providers like OpenAI decide for monitored fine-tuning instead of support knowing (RL) like DeepSeek?

A: We should note in advance that they do utilize RL at the minimum in the type of RLHF. It is extremely likely that designs from major suppliers that have thinking abilities already 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 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 harder to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, making it possible for the model to discover reliable internal reasoning with only very little procedure annotation - a method that has actually shown promising despite its intricacy.

Q3: Did DeepSeek utilize test-time compute methods similar to those of OpenAI?

A: DeepSeek R1's design emphasizes efficiency by leveraging strategies such as the mixture-of-experts technique, which activates only a subset of parameters, to throughout inference. This concentrate on efficiency is main to its expense benefits.

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

A: R1-Zero is the initial design that discovers thinking solely through support learning without explicit procedure supervision. It produces intermediate thinking steps that, while sometimes raw or combined 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 offers the not being watched "trigger," and R1 is the polished, more coherent version.

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

A: Remaining present involves a combination of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, going to pertinent conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects likewise plays a key function in keeping up with technical advancements.

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

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

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

A: The open-source and cost-effective design of DeepSeek R1 lowers the entry barrier for deploying innovative language models. Enterprises and start-ups can leverage its advanced reasoning for agentic applications varying from automated code generation and client support to information analysis. Its versatile deployment options-on customer hardware for smaller sized models or cloud platforms for bigger ones-make it an appealing option to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" simple issues by checking out several reasoning paths, it integrates stopping requirements and evaluation systems to avoid limitless loops. The reinforcement learning framework motivates merging towards a proven 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 functioned as the foundation for later models. It is constructed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its design highlights effectiveness and expense decrease, setting the phase for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

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

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to construct designs that address their particular challenges while gaining from lower compute expenses and robust reasoning abilities. It is likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get trustworthy outcomes.

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

A: The conversation indicated that the annotators mainly focused on domains where correctness is quickly verifiable-such as math and coding. This recommends that expertise in technical fields was certainly leveraged to ensure the precision and clearness of the thinking data.

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

A: While the model is developed to optimize for right responses by means of reinforcement learning, there is always a danger of errors-especially in uncertain scenarios. However, by examining numerous prospect outputs and strengthening those that cause proven outcomes, the training procedure lessens the probability of propagating incorrect reasoning.

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

A: Using rule-based, proven jobs (such as math and coding) helps anchor the design's reasoning. By comparing several outputs and using group relative policy optimization to strengthen only those that yield the proper result, the design is guided far from generating 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 strategies to allow efficient thinking rather than showcasing mathematical complexity for its own sake.

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

A: Early versions like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent improvement process-where human experts curated and improved the reasoning data-has considerably improved the clarity and dependability of DeepSeek R1's internal idea procedure. While it remains an evolving system, iterative training and feedback have resulted in meaningful improvements.

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

A: For local testing, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of parameters) require significantly more computational resources and are better matched for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, indicating that its model specifications are openly available. This lines up with the overall open-source philosophy, permitting researchers and designers to additional explore and build upon its developments.

Q19: What would happen if the order of training were reversed-starting with supervised fine-tuning before not being watched support learning?

A: The current method enables the model to first check out and generate its own reasoning patterns through unsupervised RL, and then refine these patterns with monitored methods. Reversing the order may constrain the model's ability to find diverse reasoning paths, potentially limiting its total performance in jobs that gain from self-governing thought.

Thanks for reading Deep Random Thoughts! Subscribe free of charge 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: alyciajacks701/accountshunt#17