Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • A avicii
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 59
    • Issues 59
    • List
    • Boards
    • Service Desk
    • Milestones
  • Redmine
    • Redmine
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
Collapse sidebar
  • Alexandra Weed
  • avicii
  • Issues
  • #59

Closed
Open
Created Jun 03, 2025 by Alexandra Weed@alexandraweed0Maintainer

Understanding DeepSeek R1


We have actually 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 models through DeepSeek V3 to the development R1. We likewise checked out the technical developments that make R1 so special worldwide of open-source AI.

The DeepSeek Ancestral Tree: bytes-the-dust.com From V3 to R1

DeepSeek isn't just a single model; it's a family 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 only a subset of experts are used at inference, dramatically enhancing the processing time for each token. It also included multi-head hidden attention to decrease memory footprint.

DeepSeek V3:

This model presented FP8 training strategies, which assisted drive down training costs by over 42.5% compared to previous models. FP8 is a less exact way to save weights inside the LLMs but can greatly improve the memory footprint. However, training utilizing FP8 can typically be unstable, and it is tough to obtain the preferred training results. Nevertheless, DeepSeek utilizes numerous techniques and attains remarkably stable FP8 training. V3 set the phase as a highly efficient model that was already economical (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 model not just to create answers however to "believe" before responding to. Using pure support knowing, gratisafhalen.be the model was motivated to produce intermediate thinking actions, for instance, taking additional time (typically 17+ seconds) to resolve an easy problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of depending on a standard procedure reward design (which would have needed annotating every step of the reasoning), GROP compares multiple outputs from the model. By tasting numerous possible responses and scoring them (using rule-based steps like precise match for mathematics or validating code outputs), the system learns to prefer thinking that causes the proper result without the requirement for explicit guidance of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised technique produced reasoning outputs that might be difficult to read and even blend languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and after that 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 original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The outcome 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 element of R1 (no) is how it established reasoning capabilities without explicit guidance of the thinking procedure. It can be even more enhanced by utilizing cold-start information and supervised support discovering to produce legible thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to check and build on its developments. Its cost efficiency is a major selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that require huge compute budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both costly and time-consuming), the design was trained utilizing an outcome-based technique. It began with easily proven tasks, such as math problems and coding workouts, where the correctness of the last answer might be easily measured.

By utilizing group relative policy optimization, the training procedure compares several created responses to identify which ones meet the preferred output. This relative scoring mechanism enables the design to discover "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might invest almost 17 seconds assessing various scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and confirmation procedure, although it might appear inefficient in the beginning glimpse, could show helpful in complex jobs where much deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for lots of chat-based models, can actually break down efficiency with R1. The designers suggest using direct problem statements with a zero-shot method that defines the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that may interfere with its internal thinking process.

Beginning with R1

For wiki.dulovic.tech those aiming to experiment:

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


Larger versions (600B) require significant compute resources


Available through major cloud companies


Can be released in your area via Ollama or vLLM


Looking Ahead

We're especially intrigued by several implications:

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


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


Possibilities for integrating with other supervision methods


Implications for enterprise AI release


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

Open Questions

How will this affect the advancement of future thinking designs?


Can this technique be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be viewing these developments carefully, particularly as the neighborhood begins to try out and build upon these techniques.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI developments. We're seeing remarkable applications currently emerging from our bootcamp individuals dealing 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 model should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option eventually depends on your usage case. DeepSeek R1 highlights innovative thinking and a novel training approach that may be particularly important in tasks where proven reasoning is vital.

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

A: We need to note in advance that they do use RL at least in the type of RLHF. It is likely that models from major service providers that have reasoning abilities already utilize something comparable to what DeepSeek has actually done here, but we can't make certain. It is likewise most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, archmageriseswiki.com although effective, can be less predictable and more difficult to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, enabling the model to learn efficient internal thinking with only very little procedure annotation - a technique that has actually shown promising despite its complexity.

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

A: DeepSeek R1's design highlights effectiveness by leveraging methods such as the mixture-of-experts approach, which triggers only a subset of parameters, to reduce calculate during inference. This concentrate on performance is main to its cost advantages.

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

A: R1-Zero is the preliminary design that finds out reasoning entirely through support learning without explicit procedure supervision. It produces intermediate reasoning actions that, while sometimes raw or combined in language, act as the structure for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the not being watched "trigger," and R1 is the polished, more meaningful version.

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

A: Remaining existing involves a combination of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending appropriate conferences and webinars, and taking part in conversation groups and newsletters. with online communities and collective research study jobs also plays a key role in keeping up with technical advancements.

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

A: The brief response is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust thinking abilities and its efficiency. It is especially well suited for jobs that require proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and verified. Its open-source nature further permits tailored applications in research and business settings.

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

A: The open-source and cost-efficient style of DeepSeek R1 reduces the entry barrier for releasing innovative language designs. Enterprises and start-ups can utilize its sophisticated thinking for agentic applications varying from automated code generation and customer assistance to data analysis. Its flexible deployment options-on consumer hardware for smaller designs or cloud platforms for bigger ones-make it an attractive alternative to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by checking out multiple thinking courses, it incorporates stopping criteria and assessment mechanisms to prevent infinite loops. The support discovering framework encourages merging towards a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 entirely 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 technique and FP8 training-and is not based on the Qwen architecture. Its style highlights performance and cost decrease, setting the stage for the reasoning developments seen in R1.

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

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

Q11: Can specialists in specialized fields (for example, oeclub.org laboratories working on cures) use these approaches to train domain-specific models?

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

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

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

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

A: While the design is developed to optimize for proper responses by means of reinforcement knowing, engel-und-waisen.de there is constantly a threat of errors-especially in uncertain situations. However, by evaluating multiple prospect outputs and reinforcing those that lead to proven outcomes, the training process decreases the likelihood of propagating incorrect thinking.

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

A: Making use of rule-based, proven jobs (such as mathematics and coding) assists anchor the design's reasoning. By comparing several outputs and using group relative policy optimization to strengthen only those that yield the right result, the design is directed away from generating unproven or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these techniques to make it possible for reliable reasoning rather than showcasing mathematical complexity for its own sake.

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

A: Early models like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent improvement process-where human specialists curated and enhanced the thinking data-has significantly boosted the clarity and reliability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have actually caused meaningful improvements.

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

A: For regional screening, a medium-sized model-typically in the range of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of specifications) require substantially more computational resources and are better suited for cloud-based deployment.

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

A: DeepSeek R1 is offered with open weights, indicating that its design specifications are publicly available. This aligns with the general open-source philosophy, enabling scientists and developers to more check out and develop upon its innovations.

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

A: The current method permits the design to initially check out and create its own thinking patterns through not being watched RL, and after that fine-tune these patterns with monitored methods. Reversing the order may constrain the design's capability to find varied reasoning courses, possibly restricting its overall performance in jobs that gain from autonomous thought.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking

Powered by Tecnologia Edebe Brasil - 2019-2020