Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
I
internship
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • 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
  • Ronald Picard
  • internship
  • Issues
  • #1

Closed
Open
Opened Apr 12, 2025 by Ronald Picard@ronaldpicard0
  • 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 development of the DeepSeek household - from the early designs through DeepSeek V3 to the development R1. We also checked out the technical innovations that make R1 so unique on the planet of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of progressively advanced AI systems. The advancement goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less precise way to keep weights inside the LLMs but can significantly enhance the memory footprint. However, training utilizing FP8 can usually be unsteady, and it is hard to obtain the preferred training results. Nevertheless, DeepSeek uses numerous techniques and attains incredibly stable FP8 training. V3 set the stage as an extremely efficient design that was currently economical (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the design not simply to produce answers however to "believe" before answering. Using pure support learning, the design was encouraged to produce intermediate reasoning steps, for example, taking extra time (frequently 17+ seconds) to overcome a simple problem like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of depending on a conventional process reward model (which would have required annotating every action of the reasoning), GROP compares numerous outputs from the model. By sampling numerous prospective responses and scoring them (utilizing rule-based procedures like exact match for math or confirming code outputs), the system discovers to favor reasoning that causes the proper outcome without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced thinking outputs that could be tough to read or even blend languages, the designers went back to the drawing board. They utilized 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 used to tweak the original DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces understandable, coherent, and trusted thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (absolutely no) is how it established reasoning capabilities without explicit supervision of the reasoning process. It can be further improved by using cold-start data and monitored support learning to produce readable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to examine and build upon its innovations. Its expense efficiency is a significant selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need enormous calculate spending plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both expensive and lengthy), the design was trained using an outcome-based technique. It began with easily verifiable jobs, such as mathematics problems and coding exercises, where the accuracy of the last response could be quickly measured.

By using group relative policy optimization, the training process compares several created responses to figure out which ones meet the wanted output. This relative scoring system enables the design to learn "how to believe" even when intermediate reasoning is created in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" easy problems. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds assessing various scenarios-even thinking about binary representations-before concluding with the right answer. This self-questioning and confirmation procedure, although it may appear inefficient initially look, might prove helpful in complicated jobs where much deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot triggering techniques, which have actually worked well for lots of chat-based models, can in fact deteriorate efficiency with R1. The designers recommend utilizing direct problem statements with a zero-shot technique that defines the output format plainly. This guarantees that the model isn't led astray by extraneous examples or tips that may disrupt its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

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


Larger versions (600B) require substantial compute resources


Available through major cloud companies


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially fascinated by a number of implications:

The capacity for this method to be used to other thinking domains


Impact on agent-based AI systems traditionally built on chat designs


Possibilities for integrating with other supervision strategies


Implications for enterprise AI implementation


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

Open Questions

How will this affect the development of future thinking models?


Can this technique be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these developments carefully, particularly as the community starts to explore and develop upon these strategies.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI developments. We're seeing fascinating 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: larsaluarna.se Which model deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong design in the open-source community, the option ultimately depends on your usage case. DeepSeek R1 highlights innovative thinking and an unique training method that may be especially valuable in jobs where proven logic is important.

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

A: We must keep in mind in advance that they do utilize RL at the minimum in the kind of RLHF. It is likely that designs from significant service providers that have reasoning abilities currently utilize 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 preferred monitored fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and harder to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, allowing the model to discover reliable internal reasoning with only very little process annotation - a technique that has proven appealing regardless of its intricacy.

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

A: DeepSeek R1's design stresses effectiveness by leveraging techniques such as the mixture-of-experts method, which triggers only a subset of criteria, to lower compute throughout reasoning. This focus on performance is main to its cost advantages.

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

A: R1-Zero is the initial design that learns reasoning entirely through reinforcement learning without specific procedure guidance. It generates intermediate reasoning steps that, while sometimes raw or combined in language, engel-und-waisen.de act as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "trigger," and R1 is the refined, more meaningful version.

Q5: How can one remain upgraded with thorough, technical research study while handling a busy schedule?

A: Remaining current involves a combination of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, going to relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online and collective research projects likewise plays an essential role in keeping up with technical developments.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust thinking capabilities and its performance. It is especially well suited for tasks that need verifiable logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate thinking can be reviewed and validated. Its open-source nature further permits tailored applications in research study 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 reduces the entry barrier for deploying sophisticated language models. Enterprises and start-ups can take advantage of its innovative thinking for agentic applications ranging from automated code generation and consumer support to information analysis. Its versatile implementation options-on customer hardware for smaller sized designs or cloud platforms for bigger ones-make it an attractive alternative to proprietary options.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by exploring numerous thinking paths, it includes stopping criteria and assessment mechanisms to avoid boundless loops. The reinforcement learning structure encourages merging toward a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned 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 highlights performance and cost reduction, setting the stage for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

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

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to numerous domains. Researchers in fields like biomedical sciences can tailor these approaches to build models that address their particular difficulties while gaining from lower calculate expenses and robust thinking abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a need for monitored fine-tuning to get trusted outcomes.

Q12: setiathome.berkeley.edu Were the annotators for the human post-processing professionals in technical fields like computer technology or mathematics?

A: The conversation showed that the annotators mainly concentrated on domains where correctness is easily verifiable-such as mathematics and coding. This recommends that know-how in technical fields was certainly leveraged to make sure the accuracy and clearness of the reasoning information.

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

A: While the design is created to enhance for appropriate answers by means of support knowing, there is always a threat of errors-especially in uncertain circumstances. However, by assessing multiple candidate outputs and enhancing those that cause proven results, the training process minimizes the possibility of propagating inaccurate thinking.

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

A: Making use of rule-based, verifiable jobs (such as math and coding) assists anchor the design's reasoning. By comparing several outputs and utilizing group relative policy optimization to enhance only those that yield the proper outcome, the model is guided away from generating unproven or hallucinated details.

Q15: Does the design count on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these strategies to allow efficient reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some fret that the design's "thinking" might not be as refined 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 experts curated and enhanced the thinking data-has considerably enhanced the clarity and dependability of DeepSeek R1's internal thought procedure. While it remains a progressing system, iterative training and feedback have caused significant improvements.

Q17: Which design versions are appropriate 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 advised. Larger designs (for example, those with hundreds of billions of specifications) need significantly more computational resources and are better matched for cloud-based implementation.

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

A: DeepSeek R1 is supplied with open weights, suggesting that its design parameters are publicly available. This aligns with the general open-source approach, allowing scientists and systemcheck-wiki.de developers to additional explore and develop upon its innovations.

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

A: The present approach enables the design to initially check out and generate its own thinking patterns through not being watched RL, and then improve these patterns with monitored approaches. Reversing the order might constrain the design's ability to discover diverse thinking paths, potentially limiting its general performance in jobs that gain from self-governing thought.

Thanks for reading Deep Random Thoughts! Subscribe for totally free 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: ronaldpicard0/internship#1