Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
F
familyworld
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 21
    • Issues 21
    • 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
  • Adrianne Cunneen
  • familyworld
  • Issues
  • #7

Closed
Open
Opened Apr 07, 2025 by Adrianne Cunneen@adriannecunnee
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, archmageriseswiki.com we dove deep into the development of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We likewise explored the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Family Tree: From V3 to R1

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

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where just a subset of professionals are utilized at inference, dramatically improving the processing time for each token. It likewise featured multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This model presented FP8 training methods, which helped drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less accurate method to keep weights inside the LLMs but can considerably improve the memory footprint. However, training utilizing FP8 can normally be unsteady, and it is difficult to obtain the preferred training results. Nevertheless, DeepSeek uses multiple techniques and attains incredibly steady FP8 training. V3 set the stage as an extremely efficient model that was currently cost-effective (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused iteration. Here, the focus was on teaching the design not just to produce responses however to "believe" before responding to. Using pure reinforcement learning, the design was encouraged to generate intermediate reasoning actions, for instance, taking extra time (often 17+ seconds) to overcome a simple problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of depending on a standard process benefit model (which would have needed annotating every step of the thinking), GROP compares multiple outputs from the design. By tasting several prospective responses and scoring them (using rule-based steps like precise match for math or verifying code outputs), the system discovers to prefer thinking that leads to the proper outcome without the need for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised technique produced thinking outputs that could be difficult to read and even mix languages, the developers returned to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and then by hand curated these examples to filter and enhance 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 reinforcement learning and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and reliable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (absolutely no) is how it developed reasoning capabilities without explicit guidance of the thinking procedure. It can be further improved by utilizing cold-start data and monitored reinforcement discovering to produce readable thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to check and build on its innovations. Its cost efficiency is a significant selling point especially when compared to closed-source designs (claimed 90% more affordable than OpenAI) that need enormous calculate budgets.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both pricey and lengthy), the design was trained using an outcome-based method. It began with quickly proven jobs, such as math problems and coding exercises, where the accuracy of the last answer might be quickly determined.

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

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" simple issues. For example, when asked "What is 1 +1?" it may invest almost 17 seconds examining different scenarios-even considering binary representations-before concluding with the correct answer. This self-questioning and verification process, although it may seem inefficient at first glance, might show beneficial in complicated tasks where deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for numerous chat-based models, can really degrade efficiency with R1. The developers advise utilizing direct problem statements with a zero-shot approach that specifies the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that might disrupt its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

Smaller variations (7B-8B) can operate on customer GPUs or perhaps just CPUs


Larger versions (600B) need substantial compute resources


Available through major cloud providers


Can be released in your area through Ollama or vLLM


Looking Ahead

We're particularly intrigued by numerous implications:

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


Influence on agent-based AI systems typically built on chat models


Possibilities for combining with other supervision methods


Implications for enterprise AI implementation


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

Open Questions

How will this affect the advancement of future thinking models?


Can this technique be encompassed less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be viewing these developments closely, especially as the neighborhood begins to try out and build on these strategies.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI developments. We're seeing fascinating applications already emerging from our bootcamp participants 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 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 likewise a strong design in the open-source neighborhood, the choice ultimately depends upon your usage case. DeepSeek R1 emphasizes innovative reasoning and an unique training method that might be specifically important in tasks where proven logic is critical.

Q2: Why did major companies like OpenAI opt for supervised fine-tuning instead of reinforcement learning (RL) like DeepSeek?

A: We should note in advance that they do utilize RL at the really least in the form of RLHF. It is highly likely that models from significant service providers that have thinking abilities currently use 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 ready availability of big annotated datasets. Reinforcement knowing, although effective, can be less foreseeable and more difficult to control. DeepSeek's technique innovates by applying RL in a reasoning-oriented way, making it possible for the model to find out reliable internal reasoning with only minimal procedure annotation - a method that has shown appealing regardless of its intricacy.

Q3: Did DeepSeek use test-time calculate techniques comparable to those of OpenAI?

A: DeepSeek R1's style highlights efficiency by leveraging methods such as the mixture-of-experts method, which activates just a subset of parameters, to lower calculate throughout inference. This focus on efficiency is main to its cost benefits.

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

A: R1-Zero is the preliminary model that discovers reasoning exclusively through reinforcement learning without explicit process supervision. It creates intermediate thinking steps that, while sometimes raw or blended in language, function as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the not being watched "trigger," and R1 is the refined, more meaningful version.

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

A: Remaining existing includes a mix of actively engaging with the research study neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collaborative research projects likewise plays a key function in keeping up with technical advancements.

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

A: The brief response is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning abilities and its effectiveness. It is particularly well matched for jobs that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature further enables tailored applications in research study and enterprise settings.

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

A: The open-source and affordable style of DeepSeek R1 reduces the entry barrier for releasing advanced language designs. Enterprises and start-ups can take advantage of its sophisticated reasoning for agentic applications ranging from automated code generation and consumer support to data analysis. Its versatile implementation options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing option to proprietary services.

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by checking out multiple thinking courses, it includes stopping requirements and examination mechanisms to avoid limitless loops. The support discovering framework encourages 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 acted as the foundation for later iterations. It is developed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based on the Qwen architecture. Its design stresses efficiency and expense reduction, setting the stage for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can specialists in specialized fields (for example, laboratories dealing with cures) apply these approaches to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adjusted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to construct models that resolve their particular challenges while gaining from lower compute expenses and robust reasoning capabilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get trusted outcomes.

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

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

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 through reinforcement learning, there is always a threat of errors-especially in uncertain circumstances. However, by examining several candidate outputs and reinforcing those that result in proven results, the training process minimizes the probability of propagating inaccurate thinking.

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

A: Using rule-based, proven jobs (such as math and coding) helps anchor the design's thinking. By comparing multiple outputs and utilizing group optimization to strengthen just those that yield the right result, the model is directed far from creating unproven or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these methods to make it possible for efficient thinking rather than showcasing mathematical complexity for its own sake.

Q16: Some fret that the model's "thinking" may not be as fine-tuned as human thinking. Is that a legitimate concern?

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

Q17: Which model variations are ideal for local implementation on a laptop computer with 32GB of RAM?

A: For local testing, a medium-sized model-typically in the range of 7B to 8B parameters-is recommended. Larger models (for example, those with numerous billions of criteria) require significantly more computational resources and are much better matched for cloud-based implementation.

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

A: DeepSeek R1 is provided with open weights, suggesting that its model parameters are openly available. This aligns with the general open-source viewpoint, allowing researchers and designers to additional explore and build upon its innovations.

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

A: The current method permits the design to first check out and produce its own reasoning patterns through unsupervised RL, and after that refine these patterns with supervised approaches. Reversing the order might constrain the design's ability to find varied thinking courses, possibly limiting its total efficiency in jobs that gain from self-governing thought.

Thanks for checking out Deep Random Thoughts! Subscribe free of charge to get 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: adriannecunnee/familyworld#7