Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
H
hesdeadjim
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 16
    • Issues 16
    • 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
  • Ashlee Fitzpatrick
  • hesdeadjim
  • Issues
  • #16

Closed
Open
Opened May 30, 2025 by Ashlee Fitzpatrick@ashleefitzpatr
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has actually taken the AI world by storm in current weeks. In this session, we dove deep into the advancement of the DeepSeek household - from the early models through DeepSeek V3 to the breakthrough R1. We likewise explored the technical innovations that make R1 so special on the planet of open-source AI.

The DeepSeek Ancestral Tree: 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 structure design which leveraged a mixture-of-experts architecture, where only a subset of professionals are utilized at inference, considerably enhancing the processing time for each token. It also featured multi-head latent attention to lower memory footprint.

DeepSeek V3:

This model presented FP8 training methods, 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 considerably enhance the memory footprint. However, training using FP8 can typically be unsteady, and it is hard to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes several tricks and attains incredibly stable FP8 training. V3 set the stage as a highly efficient design that was already economical (with claims of being 90% less expensive than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the design not simply to generate responses however to "believe" before answering. Using pure reinforcement learning, the model was encouraged to produce intermediate thinking steps, for instance, taking extra time (frequently 17+ seconds) to work through a simple issue like "1 +1."

The key development here was the use of group relative policy optimization (GROP). Instead of counting on a conventional procedure reward model (which would have needed annotating every action of the reasoning), GROP compares numerous outputs from the design. By tasting a number of prospective answers and scoring them (using rule-based steps like exact match for math or verifying code outputs), the system learns to favor reasoning that leads to the right result without the requirement for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that could be difficult to read and even mix languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" data and after that by hand curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to tweak the initial DeepSeek V3 model further-combining both reasoning-oriented support learning and monitored fine-tuning. The result is DeepSeek R1: a model that now produces legible, coherent, and trustworthy reasoning while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (zero) is how it established reasoning capabilities without specific supervision of the reasoning procedure. It can be even more enhanced by utilizing cold-start data and supervised reinforcement finding out to produce legible thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and designers to examine and build upon its innovations. Its cost effectiveness is a significant selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that require enormous compute budgets.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both pricey and time-consuming), the model was trained using an outcome-based technique. It started with quickly proven jobs, such as mathematics issues and coding workouts, where the correctness of the last response could be easily measured.

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

Overthinking?

An intriguing observation is that DeepSeek R1 often "overthinks" basic problems. For example, when asked "What is 1 +1?" it might invest nearly 17 seconds examining different scenarios-even thinking about binary representations-before concluding with the right response. This self-questioning and confirmation process, although it may appear ineffective at first look, could show advantageous in intricate tasks where much deeper thinking is required.

Prompt Engineering:

Traditional few-shot prompting techniques, which have actually worked well for many chat-based designs, can actually break down performance with R1. The designers advise using direct problem declarations with a zero-shot approach that defines the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that might interfere with its internal thinking procedure.

Getting Started with R1

For those aiming to experiment:

Smaller variations (7B-8B) can work on consumer GPUs or wiki.myamens.com perhaps just CPUs


Larger variations (600B) need significant calculate resources


Available through significant cloud suppliers


Can be deployed in your area through Ollama or systemcheck-wiki.de vLLM


Looking Ahead

We're particularly interested by a number of implications:

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


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


Possibilities for integrating with other supervision methods


Implications for business AI deployment


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

Open Questions

How will this affect the development of future thinking designs?


Can this technique be reached less verifiable domains?


What are the implications for multi-modal AI systems?


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

Resources

Join our Slack community for ongoing conversations and wiki.dulovic.tech updates about DeepSeek and other AI advancements. We're seeing fascinating applications already emerging from our bootcamp participants 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the option ultimately depends on your use case. DeepSeek R1 emphasizes advanced thinking and an unique training method that might be particularly important in jobs where verifiable logic is critical.

Q2: Why did significant companies like OpenAI go with supervised fine-tuning instead of support learning (RL) like DeepSeek?

A: We need to note upfront that they do utilize RL at the minimum in the type of RLHF. It is most likely that designs from significant companies that have thinking abilities currently use something similar to what DeepSeek has done here, however we can't make certain. It is likewise likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement knowing, although effective, 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 efficient internal reasoning with only minimal process annotation - a technique that has shown promising in spite of its complexity.

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

A: DeepSeek R1's style highlights effectiveness by leveraging strategies such as the mixture-of-experts approach, which triggers just a subset of specifications, to lower compute during 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 initial design that learns reasoning exclusively through reinforcement knowing without explicit procedure guidance. It creates intermediate reasoning steps that, while in some cases raw or archmageriseswiki.com blended in language, serve as the foundation for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the unsupervised "stimulate," and R1 is the sleek, more coherent version.

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

A: Remaining current includes a mix of actively engaging with the research study community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collective research jobs also plays a key role in keeping up with technical advancements.

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

A: The brief answer is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust reasoning capabilities and its effectiveness. It is especially well suited for tasks that need verifiable logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate thinking can be evaluated and confirmed. 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 affordable design of DeepSeek R1 lowers the entry barrier for releasing advanced language models. Enterprises and start-ups can take advantage of its innovative reasoning 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 bigger ones-make it an attractive alternative to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by exploring numerous thinking paths, it incorporates stopping requirements and examination mechanisms to prevent boundless loops. The support discovering framework encourages convergence 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 acted as the foundation for later versions. 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 style stresses effectiveness and cost decrease, setting the stage for the reasoning 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 capabilities. Its design and training focus solely on language processing and reasoning.

Q11: Can specialists in specialized fields (for instance, labs working on treatments) use these approaches to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adjusted to numerous domains. Researchers in fields like biomedical sciences can tailor these techniques to develop designs that resolve their particular difficulties while gaining from lower calculate expenses and robust thinking capabilities. It is most likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get trustworthy outcomes.

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

A: The conversation indicated that the annotators mainly focused on domains where correctness is easily verifiable-such as mathematics and coding. This suggests that knowledge in technical fields was certainly leveraged to make sure the precision and clarity of the reasoning information.

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

A: While the design is developed to optimize for proper responses via reinforcement learning, there is always a risk of errors-especially in uncertain scenarios. However, by assessing multiple candidate outputs and strengthening those that lead to proven outcomes, the training procedure minimizes the probability of propagating incorrect reasoning.

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

A: Using rule-based, proven tasks (such as mathematics and coding) assists anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to enhance just those that yield the correct result, the design is assisted far from creating unproven or hallucinated details.

Q15: Does the design count on complex vector kousokuwiki.org mathematics?

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

Q16: Some stress that the design's "thinking" might not be as improved as human thinking. Is that a legitimate concern?

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

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

A: For local testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with numerous billions of parameters) require substantially more computational resources and are better suited for cloud-based implementation.

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

A: DeepSeek R1 is supplied with open weights, suggesting that its model parameters are openly available. This aligns with the total open-source philosophy, allowing researchers and designers to more explore and build on its developments.

Q19: What would happen if the order of training were reversed-starting with supervised fine-tuning before not being watched support learning?

A: The current technique enables the model to initially explore and generate its own through not being watched RL, and after that fine-tune these patterns with monitored approaches. Reversing the order may constrain the model's capability to discover diverse thinking courses, potentially limiting its overall performance in jobs that gain from autonomous thought.

Thanks for checking out Deep Random Thoughts! Subscribe totally free to receive 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: ashleefitzpatr/hesdeadjim#16