Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
G
gob
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 13
    • Issues 13
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
  • Analytics
    • Analytics
    • CI / CD
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Bonny Quiroz
  • gob
  • Issues
  • #4

Closed
Open
Opened Apr 03, 2025 by Bonny Quiroz@bonnyquiroz493Maintainer
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise of DeepSeek R1, which has actually taken the AI world by storm in recent weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early models through DeepSeek V3 to the development R1. We likewise checked out the technical innovations 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 family of progressively advanced AI systems. The advancement 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 used at reasoning, drastically enhancing the processing time for each token. It also included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design introduced FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less exact method to store weights inside the LLMs however can considerably improve the memory footprint. However, training utilizing FP8 can typically be unstable, and it is difficult to obtain the desired training outcomes. Nevertheless, DeepSeek uses multiple tricks and attains extremely steady FP8 training. V3 set the phase as a highly efficient model that was currently cost-efficient (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 version. Here, the focus was on teaching the design not simply to create answers however to "believe" before responding to. Using pure reinforcement learning, the design was encouraged to produce intermediate thinking actions, for instance, taking extra time (frequently 17+ seconds) to resolve an easy problem like "1 +1."

The key innovation here was using group relative policy optimization (GROP). Instead of relying on a traditional procedure benefit design (which would have required annotating every step of the thinking), GROP compares multiple outputs from the design. By tasting a number of prospective responses and scoring them (utilizing rule-based measures like precise match for math or confirming code outputs), the system finds out to favor reasoning that causes the right result without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced thinking outputs that might be tough to check out and even mix languages, the developers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and after that manually curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then utilized to tweak the original DeepSeek V3 model further-combining both reasoning-oriented support learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces readable, coherent, and trusted 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 thinking abilities without specific guidance of the thinking process. It can be even more improved by utilizing cold-start information and supervised support finding out to produce understandable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and developers to examine and build on its developments. Its expense performance is a significant selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require massive calculate budget plans.

Novel Training Approach:

Instead of relying exclusively on annotated reasoning (which is both expensive and lengthy), the design was trained using an outcome-based approach. It started with easily verifiable tasks, such as mathematics problems and coding exercises, where the accuracy of the last answer could be quickly determined.

By utilizing group relative policy optimization, the training process compares multiple produced answers to identify which ones meet the preferred output. This relative scoring mechanism permits the model to discover "how to think" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" easy issues. For example, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the correct answer. This self-questioning and verification procedure, although it might appear ineffective in the beginning look, might prove advantageous in complicated tasks where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for many chat-based designs, can actually deteriorate efficiency with R1. The developers suggest utilizing direct issue statements with a zero-shot method that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that may hinder its internal thinking process.

Getting Going with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on consumer GPUs or perhaps only CPUs


Larger versions (600B) require substantial calculate resources


Available through significant cloud service providers


Can be released in your area by means of Ollama or vLLM


Looking Ahead

We're particularly interested by numerous ramifications:

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


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


Possibilities for combining with other supervision techniques


Implications for business AI release


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

Open Questions

How will this impact the development of future thinking designs?


Can this technique be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these advancements carefully, especially as the community begins to explore and develop upon these methods.

Resources

Join our Slack neighborhood 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](https://cambohub.com3000).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 design in the open-source neighborhood, the choice ultimately depends on your use case. DeepSeek R1 emphasizes innovative thinking and an unique training approach that might be especially important in jobs where verifiable reasoning is critical.

Q2: Why did significant service providers like OpenAI select supervised fine-tuning instead of support knowing (RL) like DeepSeek?

A: We need to note in advance that they do use RL at least in the kind of RLHF. It is very most likely that models from major suppliers that have reasoning abilities already use something comparable to what DeepSeek has actually done here, however we can't make certain. It is likewise most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and harder to manage. DeepSeek's technique innovates by using RL in a reasoning-oriented way, allowing the model to learn efficient internal reasoning with only minimal process annotation - a strategy that has proven appealing despite its intricacy.

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

A: DeepSeek R1's style highlights performance by leveraging strategies such as the mixture-of-experts method, which triggers just a subset of criteria, to minimize compute throughout inference. This focus on efficiency is main to its cost benefits.

Q4: What is the between R1-Zero and hb9lc.org R1?

A: R1-Zero is the preliminary design that learns thinking entirely through support knowing without specific process guidance. It creates intermediate reasoning steps that, while often raw or blended in language, serve as the foundation for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the unsupervised "spark," and R1 is the refined, more coherent version.

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

A: Remaining existing involves a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and getting involved in discussion groups and newsletters. Continuous engagement with online neighborhoods and collective research study jobs likewise plays a key role in staying up to date with technical developments.

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

A: The short answer is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust thinking abilities and its efficiency. It is especially well suited for jobs that need proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be examined and verified. Its open-source nature further enables tailored applications in research study and enterprise settings.

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

A: The open-source and cost-efficient design of DeepSeek R1 decreases the entry barrier for deploying sophisticated language designs. Enterprises and start-ups can leverage its innovative reasoning for agentic applications varying from automated code generation and customer assistance to data analysis. Its flexible deployment options-on customer hardware for smaller sized designs or cloud platforms for bigger ones-make it an appealing option to proprietary options.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by checking out numerous thinking courses, it includes stopping requirements and evaluation mechanisms to prevent unlimited loops. The support learning framework motivates convergence towards a verifiable 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 functioned as the foundation for later iterations. It is built on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its style highlights efficiency and expense decrease, setting the stage for the thinking innovations seen in R1.

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

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

Q11: Can professionals in specialized fields (for instance, laboratories dealing with remedies) apply these methods to train domain-specific designs?

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 resolve their particular difficulties while gaining from lower calculate costs and robust reasoning abilities. It is likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get reliable results.

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

A: The discussion indicated that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as math and coding. This recommends that know-how in technical fields was certainly leveraged to make sure the precision and clearness of the thinking information.

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

A: While the design is designed to optimize for appropriate answers by means of reinforcement learning, there is always a danger of errors-especially in uncertain scenarios. However, by examining multiple candidate outputs and reinforcing those that cause proven outcomes, the training procedure lessens the possibility of propagating incorrect reasoning.

Q14: How are hallucinations reduced in the model given its iterative reasoning loops?

A: The use of rule-based, verifiable tasks (such as math and coding) assists anchor the model's thinking. By comparing multiple outputs and using group relative policy optimization to reinforce only those that yield the appropriate outcome, the model is guided away from producing unfounded or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

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

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

A: Early models like R1-Zero did produce raw and sometimes hard-to-read reasoning. However, the subsequent improvement process-where human professionals curated and enhanced the reasoning data-has considerably improved the clarity and reliability of DeepSeek R1's internal idea procedure. While it remains a developing system, iterative training and feedback have resulted in meaningful improvements.

Q17: Which design variants appropriate for local implementation on a laptop computer with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is recommended. Larger models (for example, those with hundreds of billions of parameters) need substantially more computational resources and are much better fit for cloud-based deployment.

Q18: Is DeepSeek R1 "open source" or does it offer just open weights?

A: DeepSeek R1 is provided with open weights, meaning that its design parameters are openly available. This aligns with the general open-source approach, permitting scientists and developers to more explore and build on its innovations.

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

A: The existing method allows the model to initially explore and create its own reasoning patterns through not being watched RL, and then refine these patterns with monitored approaches. Reversing the order might constrain the model's capability to discover varied reasoning paths, potentially restricting its general efficiency in jobs that gain from self-governing idea.

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

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: bonnyquiroz493/gob#4