Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
T
textasian
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 50
    • Issues 50
    • 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
  • Angelia Clune
  • textasian
  • Issues
  • #48

Closed
Open
Opened Jun 01, 2025 by Angelia Clune@angeliaclune7
  • 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 advancement of the DeepSeek family - from the early models through DeepSeek V3 to the advancement R1. We also explored the technical developments 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 advancement goes something like this:

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where only a subset of professionals are utilized at reasoning, considerably enhancing the processing time for each token. It likewise included multi-head latent attention to decrease memory footprint.

DeepSeek V3:

This design presented FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less accurate way to keep weights inside the LLMs but can considerably improve the memory footprint. However, training using FP8 can usually be unsteady, and it is difficult to obtain the wanted training results. Nevertheless, DeepSeek uses multiple techniques and attains extremely steady FP8 training. V3 set the phase as an extremely efficient model that was currently (with claims of being 90% more affordable than some closed-source alternatives).

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 create answers however to "think" before responding to. Using pure reinforcement knowing, the design was motivated to create intermediate reasoning steps, for instance, taking additional time (often 17+ seconds) to overcome an easy problem like "1 +1."

The essential innovation here was using group relative policy optimization (GROP). Instead of depending on a standard process reward design (which would have required annotating every step of the thinking), GROP compares several outputs from the model. By sampling a number of prospective answers and scoring them (using rule-based procedures like precise match for mathematics or verifying code outputs), the system discovers to favor reasoning that results in the appropriate result without the need for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced thinking outputs that might be tough to check out and even mix languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and after that manually curated these examples to filter and improve the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 design further-combining both reasoning-oriented support knowing and monitored fine-tuning. The result is DeepSeek R1: a design that now produces legible, coherent, and reputable thinking 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 developed thinking abilities without specific supervision of the reasoning procedure. It can be further improved by utilizing cold-start data and supervised reinforcement finding out 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 cost efficiency is a significant selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that require enormous compute budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both expensive and time-consuming), the design was trained using an outcome-based method. It began with quickly proven jobs, such as mathematics issues and coding workouts, where the correctness of the final answer might be easily measured.

By utilizing group relative policy optimization, the training procedure compares multiple generated answers to determine which ones fulfill the desired output. This relative scoring system allows the design to learn "how to think" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" easy problems. For example, when asked "What is 1 +1?" it might invest almost 17 seconds examining different scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and confirmation process, although it may seem inefficient at first glance, could prove helpful in intricate tasks where deeper thinking is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have actually worked well for numerous chat-based models, can actually deteriorate efficiency with R1. The designers advise utilizing direct issue declarations with a zero-shot technique that defines the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that might interfere with its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

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


Larger variations (600B) require considerable calculate resources


Available through significant cloud companies


Can be released locally by means of Ollama or vLLM


Looking Ahead

We're especially interested by several ramifications:

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


Effect on agent-based AI systems typically developed on chat designs


Possibilities for combining with other supervision methods


Implications for business AI deployment


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

Open Questions

How will this impact the advancement of future thinking models?


Can this method be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be viewing these developments carefully, particularly as the community starts to try out and build on these methods.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications 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 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 option ultimately depends upon your usage case. DeepSeek R1 emphasizes innovative thinking and a novel training technique that might be particularly important in jobs where verifiable logic is important.

Q2: Why did major providers like OpenAI go with monitored fine-tuning rather than reinforcement knowing (RL) like DeepSeek?

A: We ought to note in advance that they do use RL at the minimum in the form of RLHF. It is really likely that designs from significant suppliers that have reasoning capabilities currently use something comparable to what DeepSeek has done here, but 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 big annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to control. DeepSeek's approach innovates by applying RL in a reasoning-oriented way, enabling the design to discover efficient internal reasoning with only minimal procedure annotation - a strategy that has actually proven promising despite its intricacy.

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

A: DeepSeek R1's design highlights efficiency by leveraging techniques such as the mixture-of-experts approach, which triggers only a subset of criteria, to reduce compute throughout inference. This focus on effectiveness is main to its expense benefits.

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

A: pipewiki.org R1-Zero is the preliminary design that learns reasoning exclusively through support learning without explicit process guidance. It generates intermediate reasoning actions that, while sometimes raw or blended in language, serve 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 provides the without supervision "spark," and R1 is the refined, more coherent version.

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

A: Remaining current involves a combination of actively engaging with the research community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending appropriate conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and yewiki.org collective research projects also plays a crucial role in staying up to date with technical improvements.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking abilities and its efficiency. It is especially well suited for jobs that need verifiable logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate thinking can be evaluated and confirmed. 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 affordable design of DeepSeek R1 lowers the entry barrier for releasing innovative language designs. Enterprises and start-ups can utilize its innovative reasoning for agentic applications ranging from automated code generation and consumer support to information analysis. Its flexible release options-on customer hardware for smaller sized designs or cloud platforms for bigger ones-make it an attractive option to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by exploring multiple thinking paths, it integrates stopping criteria and examination mechanisms to prevent unlimited loops. The support discovering structure motivates merging toward 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 worked as the structure for later versions. 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 efficiency and expense decrease, setting the stage for the reasoning innovations seen in R1.

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

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

Q11: Can professionals in specialized fields (for example, laboratories working on cures) apply these approaches to train domain-specific designs?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these approaches to develop designs that address their specific challenges while gaining from lower calculate costs and robust thinking capabilities. It is most likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get dependable outcomes.

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

A: The discussion showed that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This suggests that expertise in technical fields was certainly leveraged to ensure the accuracy and clarity of the reasoning information.

Q13: Could the model get things wrong if it depends on its own outputs for finding out?

A: While the design is created to optimize for proper responses via support learning, there is constantly a danger of errors-especially in uncertain situations. However, by evaluating several candidate outputs and strengthening those that lead to verifiable results, the training procedure reduces the likelihood of propagating incorrect thinking.

Q14: How are hallucinations lessened in the model given its iterative thinking loops?

A: Using rule-based, proven jobs (such as math and coding) helps anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to reinforce just those that yield the correct result, the model is guided away from producing unproven or hallucinated details.

Q15: Does the design count on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the implementation of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on using these methods to enable efficient reasoning instead of showcasing mathematical complexity for its own sake.

Q16: Some worry that the design's "thinking" may not be as refined as human thinking. Is that a legitimate concern?

A: Early iterations like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent refinement process-where human specialists curated and improved the reasoning 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 actually resulted in significant improvements.

Q17: Which design versions are ideal for regional implementation on a laptop with 32GB of RAM?

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

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

A: DeepSeek R1 is provided with open weights, implying that its design parameters are publicly available. This aligns with the general open-source approach, permitting researchers and designers to more explore and develop upon its developments.

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

A: The existing method allows the design to initially explore and produce its own thinking patterns through unsupervised RL, and after that fine-tune these patterns with monitored techniques. Reversing the order may constrain the model's ability to find varied thinking paths, potentially limiting its overall efficiency in jobs that gain from self-governing idea.

Thanks for checking out Deep Random Thoughts! Subscribe for complimentary to get 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: angeliaclune7/textasian#48