Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S
sfren
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • 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
  • Andy Layne
  • sfren
  • Issues
  • #1

Closed
Open
Opened May 30, 2025 by Andy Layne@andylayne55578Maintainer
  • 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 also explored the technical developments that make R1 so special on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single design; it's a household of increasingly sophisticated AI systems. The advancement goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous models. FP8 is a less exact way to keep weights inside the LLMs however can considerably improve the memory footprint. However, training using FP8 can typically be unstable, and it is hard to obtain the desired training outcomes. Nevertheless, DeepSeek uses several tricks and attains incredibly stable FP8 training. V3 set the phase as a highly effective model that was currently affordable (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the very first reasoning-focused version. Here, the focus was on teaching the design not simply to create responses however to "think" before addressing. Using pure reinforcement knowing, the design was motivated to create intermediate reasoning actions, for example, taking extra time (often 17+ seconds) to resolve an easy issue like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of depending on a conventional process reward design (which would have needed annotating every step of the reasoning), GROP compares numerous outputs from the model. By sampling a number of potential responses and scoring them (using rule-based steps like specific match for mathematics or validating code outputs), the system discovers to prefer thinking that results in the correct outcome without the need for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced thinking outputs that might be tough to read and even blend languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" data and then by hand curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to tweak the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and trusted thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

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

Open Source & Efficiency:

R1 is open source, permitting scientists and designers to check and build on its innovations. Its expense effectiveness is a significant selling point specifically when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need huge calculate budgets.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both pricey and lengthy), the model was trained using an outcome-based approach. It started with easily proven jobs, such as math problems and coding exercises, where the correctness of the last answer might be easily measured.

By utilizing group relative policy optimization, the training procedure compares several generated answers to figure out which ones satisfy the desired output. This relative scoring mechanism permits the design to find out "how to believe" even when intermediate thinking is created in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds examining different scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and verification process, although it might appear inefficient in the beginning glimpse, could prove advantageous in complicated tasks where deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot triggering strategies, which have worked well for many chat-based models, can in fact break down performance with R1. The developers recommend utilizing direct problem statements with a zero-shot technique that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that might hinder its internal thinking process.

Beginning with R1

For those aiming to experiment:

Smaller variants (7B-8B) can operate on consumer GPUs and even just CPUs


Larger variations (600B) need considerable compute resources


Available through significant cloud providers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially captivated by several ramifications:

The potential for trademarketclassifieds.com this approach to be applied to other reasoning domains


Influence on agent-based AI systems traditionally constructed on chat models


Possibilities for combining with other guidance strategies


Implications for enterprise AI implementation


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

Open Questions

How will this affect the advancement of future thinking designs?


Can this method be extended to less proven domains?


What are the implications for multi-modal AI systems?


We'll be viewing these advancements closely, particularly as the neighborhood begins to try out and build on these techniques.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications currently emerging from our bootcamp participants dealing with these designs.

Chat with DeepSeek:


https://www.[deepseek](https://gogs.rg.net).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 design deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source neighborhood, the choice ultimately depends upon your usage case. DeepSeek R1 stresses advanced thinking and an unique training technique that might be especially important in jobs where verifiable logic is vital.

Q2: Why did major providers like OpenAI choose supervised fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We need to keep in mind upfront that they do utilize RL at the extremely least in the form of RLHF. It is most likely that designs from major suppliers that have thinking capabilities already utilize something similar to what DeepSeek has done here, however we can't make certain. It is also likely that due to access to more resources, they favored monitored 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 manage. DeepSeek's approach innovates by applying RL in a reasoning-oriented way, making it possible for the model to learn reliable 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 similar to those of OpenAI?

A: DeepSeek R1's design highlights efficiency by leveraging methods such as the mixture-of-experts technique, which triggers only a subset of parameters, to decrease compute throughout reasoning. This focus on performance is main to its cost advantages.

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

A: R1-Zero is the preliminary design that discovers reasoning exclusively through support knowing without explicit process supervision. It produces intermediate thinking steps that, while in some cases raw or blended in language, work as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and larsaluarna.se supervised fine-tuning. In essence, R1-Zero supplies the without supervision "spark," and R1 is the refined, more meaningful variation.

Q5: How can one remain upgraded with in-depth, technical research while handling a busy schedule?

A: Remaining current involves a mix 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 getting involved in conversation groups and newsletters. Continuous engagement with online neighborhoods and collaborative research projects also plays an essential role in staying up to date with technical advancements.

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

A: The short answer is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking capabilities and its effectiveness. It is particularly well suited for tasks that need proven logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate reasoning can be examined and confirmed. Its open-source nature further permits 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 utilize its advanced thinking for agentic applications ranging from automated code generation and consumer support to data analysis. Its flexible implementation 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 design get stuck in a loop of "overthinking" if no appropriate response is found?

A: While DeepSeek R1 has been observed to "overthink" easy issues by exploring several thinking paths, it includes stopping requirements and assessment systems to prevent boundless loops. The reinforcement learning framework motivates merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and worked as the foundation for later iterations. It is constructed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its design stresses effectiveness and expense decrease, setting the phase for the thinking developments seen in R1.

Q10: trademarketclassifieds.com How does DeepSeek R1 carry out on vision tasks?

A: DeepSeek R1 is a text-based design and does not incorporate vision abilities. Its style and training focus solely on language processing and reasoning.

Q11: Can specialists in specialized fields (for instance, laboratories working on remedies) use these methods to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these methods to develop designs that resolve their particular challenges while gaining from lower compute expenses and robust thinking abilities. It is 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 experts in technical fields like computer technology or mathematics?

A: The discussion indicated that the annotators mainly focused on domains where correctness is quickly verifiable-such as mathematics and coding. This recommends that know-how in technical fields was certainly leveraged to make sure the precision and clarity of the thinking data.

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

A: While the design is developed to optimize for demo.qkseo.in correct answers through support knowing, there is constantly a threat of errors-especially in . However, by examining numerous candidate outputs and reinforcing those that lead to verifiable results, wiki.whenparked.com the training procedure lessens the possibility of propagating inaccurate reasoning.

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

A: Using rule-based, verifiable tasks (such as mathematics and coding) assists anchor the design's thinking. By comparing multiple outputs and using group relative policy optimization to enhance just those that yield the proper outcome, the model is directed away from creating unfounded or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

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

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

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

Q17: Which model variants appropriate for local implementation 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 recommended. Larger designs (for instance, those with numerous billions of specifications) need considerably more computational resources and are much better suited for cloud-based release.

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

A: DeepSeek R1 is supplied with open weights, implying that its design parameters are publicly available. This lines up with the general open-source approach, permitting researchers and designers to additional check out and build on its developments.

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

A: The present approach permits the design to initially check out and create its own thinking patterns through not being watched RL, and after that improve these patterns with monitored techniques. Reversing the order may constrain the design's capability to find varied thinking courses, potentially limiting its total efficiency in tasks that gain from self-governing idea.

Thanks for forum.pinoo.com.tr checking out Deep Random Thoughts! Subscribe totally free to get 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: andylayne55578/sfren#1