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
  • #18

Closed
Open
Opened Apr 05, 2025 by Alycia Jacks@alyciajacks701
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, wavedream.wiki which has taken the AI world by storm in current weeks. In this session, we dove deep into the advancement of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We also 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 simply a single design; it's a family of progressively sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, setiathome.berkeley.edu where only a subset of professionals are utilized at reasoning, considerably improving the processing time for each token. It also included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less precise method to save weights inside the LLMs but can greatly improve the memory footprint. However, training utilizing FP8 can usually be unstable, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes numerous tricks and attains incredibly steady FP8 training. V3 set the stage as a highly efficient model that was currently cost-efficient (with claims of being 90% more affordable than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the first reasoning-focused model. Here, the focus was on teaching the design not simply to generate answers but to "believe" before responding to. Using pure support learning, the model was encouraged to produce intermediate reasoning steps, for example, taking additional time (frequently 17+ seconds) to overcome a basic issue like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of depending on a conventional procedure reward model (which would have required annotating every step of the thinking), GROP compares multiple outputs from the model. By sampling numerous possible answers and scoring them (using rule-based steps like specific match for math or verifying code outputs), the system finds out to prefer reasoning that leads to the correct outcome without the need for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that might be hard to check out or even blend languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to generate "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 fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces understandable, coherent, and trustworthy reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (zero) is how it established reasoning capabilities without explicit guidance of the thinking process. It can be even more improved by using cold-start information and supervised support finding out to produce legible thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to check and build upon its innovations. Its cost effectiveness is a major selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that need massive calculate spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and lengthy), the model was trained using an outcome-based approach. It began with quickly proven jobs, such as mathematics problems and coding workouts, where the accuracy of the final response could be quickly measured.

By utilizing group relative policy optimization, the training process compares numerous generated answers to identify which ones meet the preferred output. This relative scoring system allows the model to find out "how to believe" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "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 right answer. This self-questioning and verification process, although it might seem ineffective at first glimpse, could show beneficial in complex jobs where deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot prompting methods, which have worked well for numerous chat-based models, can actually degrade performance with R1. The developers advise using direct issue declarations with a zero-shot method that specifies the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that might hinder its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

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


Larger variations (600B) need substantial compute resources


Available through significant cloud providers


Can be deployed locally through Ollama or vLLM


Looking Ahead

We're especially interested by several ramifications:

The capacity for this approach to be applied to other thinking domains


Impact on agent-based AI systems typically constructed on chat models


Possibilities for integrating with other supervision techniques


Implications for business AI implementation


Thanks for reading 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 models?


Can this method be reached less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be seeing these developments carefully, particularly as the neighborhood starts to explore and build on these techniques.

Resources

Join our Slack neighborhood for continuous conversations and updates about DeepSeek and other AI developments. We're seeing interesting applications currently emerging from our bootcamp individuals working with these designs.

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 should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the choice ultimately depends upon your use case. DeepSeek R1 stresses innovative thinking and a novel training approach that may be particularly valuable in jobs where proven logic is important.

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

A: We must keep in mind in advance that they do utilize RL at the minimum in the form of RLHF. It is extremely most likely that models from major companies that have reasoning abilities already use 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 monitored fine-tuning due to its stability and the prepared availability of big annotated datasets. Reinforcement learning, although effective, can be less foreseeable and more difficult to manage. DeepSeek's method innovates by using RL in a reasoning-oriented way, allowing the model to find out reliable internal reasoning with only minimal process annotation - a strategy that has shown promising regardless of its complexity.

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

A: DeepSeek R1's design emphasizes performance by leveraging techniques such as the mixture-of-experts method, which triggers just a subset of specifications, to reduce calculate throughout inference. This focus on efficiency is main to its cost advantages.

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

A: R1-Zero is the initial model that finds out thinking exclusively through reinforcement learning without explicit procedure supervision. It produces intermediate thinking actions that, while often raw or blended in language, act 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 supplies the not being watched "stimulate," and R1 is the refined, more coherent version.

Q5: mediawiki.hcah.in How can one remain updated with extensive, technical research while handling a hectic schedule?

A: Remaining current involves a mix of actively engaging with the research study community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and participating in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research tasks likewise plays a crucial function in keeping up with technical developments.

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

A: The short answer is that it's prematurely to tell. DeepSeek R1's strength, nevertheless, depends on its robust thinking abilities and its performance. It is especially well matched for tasks that require proven logic-such as mathematical problem fixing, code generation, bytes-the-dust.com and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature further allows for tailored applications in research and business settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 decreases the entry barrier for releasing advanced language models. Enterprises and start-ups can leverage its sophisticated reasoning for agentic applications ranging from automated code generation and consumer support to information analysis. Its flexible release options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an attractive option to exclusive options.

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

A: While DeepSeek R1 has been observed to "overthink" simple issues by checking out multiple thinking paths, it includes stopping criteria and evaluation mechanisms to avoid unlimited loops. The support learning structure motivates convergence towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned 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 design emphasizes efficiency and cost decrease, setting the phase for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

A: DeepSeek R1 is a and does not integrate vision capabilities. Its style and training focus solely on language processing and reasoning.

Q11: Can specialists in specialized fields (for instance, labs dealing with treatments) apply these approaches to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adjusted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to develop designs that resolve their specific obstacles while gaining from lower calculate expenses and robust thinking capabilities. It is likely that in deeply specialized fields, setiathome.berkeley.edu however, there will still be a need for monitored fine-tuning to get reliable outcomes.

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

A: The discussion suggested that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as mathematics and coding. This suggests that expertise in technical fields was certainly leveraged to guarantee the precision and clearness of the reasoning information.

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

A: While the model is developed to enhance for right answers through support knowing, there is constantly a danger of errors-especially in uncertain scenarios. However, by examining multiple candidate outputs and enhancing those that cause proven results, the training procedure minimizes the probability of propagating incorrect thinking.

Q14: How are hallucinations reduced in the model given its iterative reasoning loops?

A: Making use of rule-based, verifiable tasks (such as math and coding) assists anchor the design's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to strengthen just those that yield the correct outcome, the model is assisted away from generating unfounded or hallucinated details.

Q15: Does the model count 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 methods to make it possible for effective reasoning instead of showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and enhanced the thinking data-has significantly improved the clearness and reliability of DeepSeek R1's internal idea process. While it remains a progressing system, iterative training and feedback have led to meaningful enhancements.

Q17: Which model versions are appropriate for regional deployment on a laptop with 32GB of RAM?

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

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

A: DeepSeek R1 is supplied with open weights, meaning that its model specifications are openly available. This lines up with the overall open-source viewpoint, enabling researchers and pediascape.science developers to more explore and build upon its innovations.

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

A: The existing method allows the model to first explore and generate its own thinking patterns through not being watched RL, and after that improve these patterns with supervised methods. Reversing the order might constrain the model's capability to discover varied reasoning paths, potentially restricting its total performance in jobs that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe totally free to receive 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#18