Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
W
wtfbellingham
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 65
    • Issues 65
    • 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
  • Amelia Guerin
  • wtfbellingham
  • Issues
  • #63

Closed
Open
Opened Jun 01, 2025 by Amelia Guerin@ameliaguerin38
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually 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 evolution of the DeepSeek family - from the early models through DeepSeek V3 to the development R1. We likewise explored the technical developments that make R1 so unique on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

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

DeepSeek V2:

This was the structure design 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 latent attention to decrease memory footprint.

DeepSeek V3:

This design presented FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less accurate way to store weights inside the LLMs but can greatly improve the memory footprint. However, training using FP8 can usually be unstable, and it is hard to obtain the wanted training results. Nevertheless, DeepSeek utilizes multiple tricks and attains incredibly stable FP8 training. V3 set the phase as a highly efficient model that was currently affordable (with claims of being 90% less expensive than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not just to produce answers however to "believe" before responding to. Using pure reinforcement knowing, the design was encouraged to create intermediate thinking actions, for instance, taking extra time (typically 17+ seconds) to work through a basic problem like "1 +1."

The essential innovation here was making use of group relative policy optimization (GROP). Instead of relying on a conventional procedure reward model (which would have needed annotating every step of the thinking), GROP compares numerous outputs from the design. By sampling several possible answers and scoring them (using rule-based procedures like specific match for math or verifying code outputs), the system finds out to favor reasoning that results in the right result without the requirement for specific guidance of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced thinking outputs that could be hard to read and even blend languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to create "cold start" information and after that by hand curated these examples to filter and improve the quality of the reasoning. This human post-processing was then used to tweak the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces legible, coherent, raovatonline.org and dependable thinking while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable element of R1 (no) is how it developed reasoning abilities without specific supervision of the thinking process. It can be even more improved by utilizing cold-start data and monitored reinforcement discovering to produce readable thinking on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to inspect and build upon its developments. Its expense efficiency is a significant selling point especially when compared to closed-source models (claimed 90% less expensive than OpenAI) that need huge calculate budgets.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both costly and time-consuming), the design was trained using an outcome-based method. It began with tasks, such as math issues and coding exercises, where the accuracy of the final answer might be easily determined.

By utilizing group relative policy optimization, the training procedure compares numerous created responses to figure out which ones fulfill the desired output. This relative scoring mechanism allows the model to learn "how to believe" even when intermediate reasoning is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" basic issues. For example, when asked "What is 1 +1?" it may spend nearly 17 seconds examining different scenarios-even considering binary representations-before concluding with the right response. This self-questioning and confirmation procedure, although it might seem inefficient at first glance, might prove beneficial in complicated jobs where deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot prompting strategies, which have worked well for lots of chat-based models, can in fact break down efficiency with R1. The designers suggest utilizing 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 may interfere with its internal thinking process.

Starting with R1

For those aiming to experiment:

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


Larger variations (600B) need significant calculate resources


Available through significant cloud service providers


Can be released locally by means of Ollama or vLLM


Looking Ahead

We're especially interested by numerous ramifications:

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


Impact on agent-based AI systems traditionally built on chat designs


Possibilities for integrating with other supervision strategies


Implications for business AI release


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

Open Questions

How will this impact the development of future thinking models?


Can this technique be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be watching these advancements carefully, particularly as the neighborhood begins to experiment with and build on these strategies.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing fascinating applications currently emerging from our bootcamp participants dealing with these models.

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 deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source community, the choice ultimately depends upon your usage case. DeepSeek R1 highlights sophisticated reasoning and a novel training method that might be specifically valuable in jobs where verifiable reasoning is critical.

Q2: Why did major suppliers like OpenAI go with monitored fine-tuning instead of support learning (RL) like DeepSeek?

A: We must note upfront that they do utilize RL at least in the form of RLHF. It is highly likely that designs from significant companies that have thinking abilities currently utilize something comparable to what DeepSeek has done here, but we can't make certain. It is likewise most likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement learning, although effective, can be less foreseeable and harder to control. DeepSeek's method innovates by applying RL in a reasoning-oriented way, making it possible for the model to discover efficient internal reasoning with only very little process annotation - a strategy that has actually proven appealing regardless of its intricacy.

Q3: Did DeepSeek utilize test-time compute techniques comparable to those of OpenAI?

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

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

A: R1-Zero is the preliminary design that finds out reasoning solely through reinforcement learning without explicit process guidance. It generates intermediate thinking steps that, while in some cases raw or combined in language, act as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the without supervision "spark," and R1 is the refined, more meaningful version.

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

A: Remaining existing includes a mix of actively engaging with the research neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and taking part in conversation groups and larsaluarna.se newsletters. Continuous engagement with online communities and collective research jobs likewise plays a key function in keeping up with technical developments.

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

A: The brief answer is that it's too early to inform. DeepSeek R1's strength, nevertheless, lies in its robust thinking capabilities and its effectiveness. It is especially well matched for tasks that need proven logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate reasoning can be evaluated and validated. Its open-source nature even more permits tailored applications in research study 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 lowers the entry barrier for deploying sophisticated language designs. Enterprises and start-ups can take advantage of its advanced thinking for agentic applications ranging from automated code generation and customer support to information analysis. Its flexible deployment options-on consumer hardware for smaller models or cloud platforms for larger ones-make it an attractive option to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple issues by exploring multiple reasoning courses, it integrates stopping requirements and evaluation mechanisms to prevent unlimited loops. The reinforcement discovering structure motivates merging towards a proven output, even in uncertain cases.

Q9: Is DeepSeek V3 completely open source, and is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and acted as the foundation for later iterations. It is constructed 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 effectiveness and cost reduction, setting the stage for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

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

Q11: Can experts in specialized fields (for example, labs working on treatments) apply 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 adapted to various domains. Researchers in fields like biomedical sciences can tailor these methods to build designs that address their specific difficulties while gaining from lower compute expenses and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a requirement for supervised fine-tuning to get trustworthy results.

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

A: The discussion indicated that the annotators mainly focused on domains where correctness is quickly verifiable-such as mathematics and coding. This suggests that competence in technical fields was certainly leveraged to ensure the precision and clearness of the thinking information.

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

A: While the model is developed to enhance for forum.batman.gainedge.org correct responses through reinforcement learning, there is always a threat of errors-especially in uncertain scenarios. However, by assessing multiple prospect outputs and strengthening those that cause verifiable results, the training procedure decreases the probability of propagating incorrect reasoning.

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

A: The use of rule-based, proven tasks (such as math and coding) helps anchor the model's reasoning. By comparing numerous outputs and utilizing group relative policy optimization to enhance only those that yield the right outcome, the model is guided away from creating unproven or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the implementation of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these strategies to make it possible for reliable reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some fret that the design's "thinking" may not be as fine-tuned as human reasoning. 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 improvement process-where human professionals curated and enhanced the thinking data-has considerably boosted the clarity and reliability of DeepSeek R1's internal thought procedure. While it remains an evolving system, iterative training and feedback have actually caused meaningful improvements.

Q17: Which model variants are appropriate for regional implementation on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger models (for example, those with hundreds of billions of parameters) require significantly more computational resources and are better fit 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, meaning that its model specifications are publicly available. This aligns with the total open-source viewpoint, enabling researchers and developers to further check out and build on its developments.

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

A: The present method permits the design to first explore and produce its own reasoning patterns through without supervision RL, and then refine these patterns with supervised approaches. Reversing the order might constrain the design's ability to find varied reasoning paths, potentially limiting its general efficiency in jobs that gain from autonomous thought.

Thanks for reading 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
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: ameliaguerin38/wtfbellingham#63