Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
J
job-4thai
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 22
    • Issues 22
    • 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
  • Elisabeth Hanigan
  • job-4thai
  • Issues
  • #19

Closed
Open
Opened Apr 09, 2025 by Elisabeth Hanigan@beselisabeth69
  • 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 evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also checked out the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

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

DeepSeek V2:

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

DeepSeek V3:

This model introduced FP8 training strategies, which assisted drive down training costs by over 42.5% compared to previous iterations. FP8 is a less accurate way to keep weights inside the LLMs however can greatly enhance the memory footprint. However, training utilizing FP8 can normally be unsteady, and it is difficult to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes several techniques and attains incredibly steady FP8 training. V3 set the phase as an extremely efficient model that was currently affordable (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused iteration. Here, the focus was on teaching the design not simply to create answers but to "think" before answering. Using pure reinforcement knowing, the design was motivated to create intermediate reasoning actions, for instance, taking extra time (frequently 17+ seconds) to work through a simple issue like "1 +1."

The key development here was making use of group relative policy optimization (GROP). Instead of counting on a standard procedure reward design (which would have required annotating every action of the reasoning), GROP compares several outputs from the model. By sampling a number of potential answers and scoring them (utilizing rule-based steps like exact match for mathematics or confirming code outputs), the system learns to favor thinking that leads to the proper outcome without the need for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced reasoning outputs that might be tough to read or even mix languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" data and after that manually curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to tweak the original DeepSeek V3 design further-combining both reasoning-oriented support knowing and supervised fine-tuning. The result is DeepSeek R1: a design that now produces understandable, coherent, and dependable thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (absolutely no) is how it developed thinking abilities without explicit guidance of the thinking procedure. It can be further enhanced by utilizing cold-start data and supervised support finding out to produce readable reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling researchers and designers to inspect and develop upon its developments. Its cost performance is a major selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that require massive compute budgets.

Novel Training Approach:

Instead of relying solely on (which is both pricey and lengthy), the model was trained utilizing an outcome-based approach. It began with easily verifiable tasks, such as mathematics problems and coding exercises, where the correctness of the final answer might be easily measured.

By utilizing group relative policy optimization, the training process compares multiple generated responses to identify which ones satisfy the desired output. This relative scoring mechanism enables the design to find out "how to believe" even when intermediate thinking is produced in a freestyle way.

Overthinking?

A fascinating observation is that DeepSeek R1 often "overthinks" easy issues. For example, when asked "What is 1 +1?" it may spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and verification procedure, although it may appear ineffective in the beginning glimpse, could prove useful in complicated jobs where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for lots of chat-based designs, can really degrade efficiency with R1. The developers advise using direct issue declarations with a zero-shot approach 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 Started with R1

For those aiming to experiment:

Smaller versions (7B-8B) can run on customer GPUs or perhaps just CPUs


Larger versions (600B) require substantial calculate resources


Available through major cloud providers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous ramifications:

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


Effect on agent-based AI systems generally developed on chat models


Possibilities for integrating with other supervision techniques


Implications for enterprise AI release


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

Open Questions

How will this affect the advancement of future thinking designs?


Can this method be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these developments closely, especially as the neighborhood begins to experiment with and build on these techniques.

Resources

Join our Slack neighborhood for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently 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 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 likewise a strong design in the open-source community, the option eventually depends on your use case. DeepSeek R1 emphasizes advanced thinking and an unique training approach that may be specifically important in jobs where proven logic is critical.

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

A: We must note upfront that they do use RL at least in the kind of RLHF. It is highly likely that models from major suppliers that have reasoning capabilities currently utilize something comparable 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 powerful, can be less predictable and more difficult to manage. DeepSeek's technique innovates by using RL in a reasoning-oriented manner, enabling the design to find out reliable internal reasoning with only minimal procedure annotation - a strategy that has shown promising regardless of its intricacy.

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

A: DeepSeek R1's style highlights performance by leveraging strategies such as the mixture-of-experts approach, which triggers only a subset of specifications, to decrease calculate during reasoning. This focus on efficiency is main to its cost benefits.

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

A: R1-Zero is the preliminary model that learns reasoning solely through reinforcement knowing without explicit procedure guidance. It produces intermediate reasoning steps that, while sometimes raw or blended in language, act as the structure for learning. 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 "stimulate," and R1 is the sleek, more meaningful variation.

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

A: Remaining existing includes a combination of actively engaging with the research neighborhood (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 communities and collective research study tasks also plays an essential role in staying up to date with technical developments.

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

A: The brief response is that it's too early to tell. DeepSeek R1's strength, however, lies in its robust reasoning abilities and its efficiency. It is particularly well suited for jobs that need proven logic-such as mathematical issue fixing, code generation, and structured decision-making-where intermediate thinking can be examined and validated. Its open-source nature further enables 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-effective style of DeepSeek R1 reduces the entry barrier for deploying innovative language models. Enterprises and start-ups can take advantage of its advanced thinking for agentic applications varying from automated code generation and customer assistance to data analysis. Its versatile deployment options-on customer hardware for smaller sized designs or cloud platforms for larger 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 problems by exploring numerous thinking courses, it incorporates stopping criteria and assessment mechanisms to prevent infinite loops. The support finding out framework motivates 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 built on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its style highlights efficiency and expense reduction, setting the phase for the thinking innovations 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 reasoning.

Q11: wiki.snooze-hotelsoftware.de Can experts in specialized fields (for instance, laboratories working on remedies) use these methods to train domain-specific designs?

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

Q12: Were the annotators for the human post-processing specialists in technical fields like computer system science 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 make sure the accuracy and clarity of the thinking information.

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

A: While the model is developed to enhance for appropriate answers via reinforcement learning, there is constantly a risk of errors-especially in uncertain scenarios. However, by assessing several candidate outputs and reinforcing those that result in verifiable results, the training procedure decreases the likelihood of propagating incorrect reasoning.

Q14: How are hallucinations decreased in the design provided its iterative reasoning loops?

A: Making use of rule-based, proven jobs (such as math and coding) assists anchor the model's reasoning. By comparing several outputs and utilizing group relative policy optimization to enhance just those that yield the right result, the design is directed far from producing unfounded 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 mechanisms in DeepSeek R1. However, the main focus is on utilizing these techniques to allow efficient reasoning rather than showcasing mathematical intricacy for its own sake.

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

A: Early iterations like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent refinement process-where human experts curated and improved the reasoning data-has considerably boosted the clearness and dependability of DeepSeek R1's internal thought procedure. While it remains a developing system, iterative training and feedback have actually led to significant improvements.

Q17: Which design variations are suitable for local deployment on a laptop with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger designs (for instance, those with numerous billions of specifications) require significantly more computational resources and are much better fit for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, suggesting that its design criteria are openly available. This lines up with the total open-source approach, enabling researchers and developers to additional check out and build upon its developments.

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

A: The current technique enables the design to initially explore and produce its own reasoning patterns through without supervision RL, and after that improve these patterns with monitored techniques. Reversing the order might constrain the model's capability to find diverse thinking courses, possibly limiting its general efficiency in jobs that gain from autonomous thought.

Thanks for reading Deep Random Thoughts! Subscribe free of charge 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: beselisabeth69/job-4thai#19