Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
J
jialcheerful
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • 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
  • Taylah Telfer
  • jialcheerful
  • Issues
  • #1

Closed
Open
Opened Feb 17, 2025 by Taylah Telfer@taylahtelfer94
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in recent weeks. In this session, we dove deep into the development of the DeepSeek family - from the early designs through DeepSeek V3 to the advancement R1. We likewise explored the technical developments 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 model; it's a household of increasingly sophisticated AI systems. The development 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, drastically enhancing the processing time for each token. It likewise featured multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This model introduced FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less exact way to save weights inside the LLMs however can significantly improve the memory footprint. However, training using FP8 can normally be unsteady, and it is hard to obtain the wanted training outcomes. Nevertheless, DeepSeek uses numerous tricks and attains extremely stable FP8 training. V3 set the stage as a highly effective model that was currently cost-effective (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 first reasoning-focused iteration. Here, the focus was on teaching the design not just to produce responses but to "think" before answering. Using pure support learning, the model was motivated to create intermediate reasoning steps, for instance, taking additional time (often 17+ seconds) to overcome a basic problem like "1 +1."

The crucial innovation here was making use of group relative policy optimization (GROP). Instead of counting on a traditional process reward design (which would have required annotating every step of the reasoning), GROP compares numerous outputs from the model. By tasting several prospective answers and scoring them (utilizing rule-based steps like precise match for math or confirming code outputs), the system discovers to favor thinking that leads to the appropriate result without the need for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced reasoning outputs that might be hard to read or even blend languages, the developers went back to the drawing board. They used 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 used to tweak the initial DeepSeek V3 model further-combining both reasoning-oriented support learning and monitored fine-tuning. The result is DeepSeek R1: a design that now produces understandable, coherent, and trustworthy reasoning 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 developed thinking capabilities without specific supervision of the thinking process. It can be even more enhanced by utilizing cold-start information and monitored support finding out to produce readable thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and developers to check and build on its innovations. Its cost performance is a significant selling point particularly when compared to closed-source designs (claimed 90% less expensive than OpenAI) that require huge calculate budgets.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both pricey and time-consuming), the design was trained using an outcome-based approach. It started with easily proven jobs, such as math issues and coding exercises, where the accuracy of the final response could be quickly determined.

By using group relative policy optimization, the training procedure compares several created answers to identify which ones satisfy the wanted output. This relative scoring system permits the model to discover "how to think" even when intermediate reasoning is created in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating various scenarios-even thinking about binary representations-before concluding with the correct response. This self-questioning and verification process, although it may seem inefficient at first glimpse, might prove useful in intricate jobs where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for many chat-based designs, can really break down performance with R1. The designers advise utilizing direct problem statements with a zero-shot method that defines the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that might disrupt its internal reasoning process.

Getting Going with R1

For those aiming to experiment:

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


Larger variations (600B) require significant compute resources


Available through significant cloud providers


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're especially intrigued by several implications:

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


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


Possibilities for integrating with other supervision techniques


Implications for enterprise AI implementation


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

Open Questions

How will this affect the advancement of future reasoning models?


Can this method be encompassed less proven domains?


What are the ramifications for multi-modal AI systems?


We'll be seeing these advancements carefully, especially as the community starts to experiment with and build upon these methods.

Resources

Join our Slack neighborhood for continuous conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications already 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 deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong model in the open-source community, the choice ultimately depends on your use case. DeepSeek R1 emphasizes innovative reasoning and an unique training approach that might be particularly valuable in jobs where verifiable reasoning is crucial.

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

A: We should keep in mind upfront that they do use RL at the minimum in the kind of RLHF. It is likely that designs from significant suppliers that have reasoning abilities already utilize something similar to what DeepSeek has done here, however we can't make certain. It is also likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement learning, although powerful, can be less predictable and more difficult to control. DeepSeek's approach innovates by applying RL in a reasoning-oriented manner, making it possible for the design to learn reliable internal reasoning with only very little procedure annotation - a method that has actually proven appealing regardless of its complexity.

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

A: DeepSeek R1's style emphasizes performance by leveraging methods such as the mixture-of-experts method, which activates only a subset of specifications, to lower calculate during reasoning. This concentrate on performance is main to its expense benefits.

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

A: R1-Zero is the initial design that finds out reasoning exclusively through reinforcement knowing without explicit procedure guidance. It creates intermediate thinking actions that, while sometimes raw or blended in language, function as the structure for learning. DeepSeek R1, on the other hand, fine-tunes these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero offers the not being watched "trigger," and R1 is the sleek, more coherent version.

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

A: Remaining current includes a mix of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, disgaeawiki.info and participating in conversation groups and newsletters. Continuous engagement with online communities and collective research tasks likewise plays an essential role in staying up to date with technical advancements.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, depends on its robust reasoning capabilities and its efficiency. It is especially well fit for jobs that require proven logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate thinking can be evaluated and validated. Its open-source nature even more permits tailored applications in research and enterprise settings.

Q7: What are the ramifications of DeepSeek R1 for setiathome.berkeley.edu enterprises and start-ups?

A: The open-source and affordable style of DeepSeek R1 decreases the entry barrier for releasing advanced language designs. Enterprises and start-ups can utilize its sophisticated thinking for agentic applications varying from automated code generation and consumer assistance to data analysis. Its versatile release options-on customer hardware for smaller models or cloud platforms for larger ones-make it an attractive option to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by exploring numerous reasoning paths, it includes stopping requirements and examination systems to prevent unlimited loops. The support discovering structure 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 worked as the structure for later models. It is constructed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its design stresses effectiveness and expense decrease, setting the stage for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

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

Q11: Can professionals in specialized fields (for example, laboratories dealing with treatments) apply these techniques 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 numerous domains. Researchers in fields like biomedical sciences can tailor these techniques to construct designs that resolve their particular challenges while gaining from lower calculate costs 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 dependable outcomes.

Q12: Were the annotators for the human post-processing professionals 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 recommends that proficiency in technical fields was certainly leveraged to ensure the precision and clearness of the .

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

A: While the model is developed to optimize for correct responses through support learning, there is constantly a threat of errors-especially in uncertain scenarios. However, by assessing several prospect outputs and enhancing those that cause proven results, the training procedure reduces the probability of propagating inaccurate reasoning.

Q14: How are hallucinations minimized in the design provided its iterative thinking loops?

A: The use of rule-based, verifiable tasks (such as math and coding) assists anchor the model's reasoning. By comparing multiple outputs and utilizing group relative policy optimization to strengthen just those that yield the proper result, the model is directed away from creating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

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

Q16: Some worry that the design's "thinking" might not be as refined as human thinking. Is that a valid issue?

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

Q17: Which model versions are suitable for local implementation on a laptop computer with 32GB of RAM?

A: For local screening, a medium-sized model-typically in the range of 7B to 8B parameters-is recommended. Larger models (for instance, those with hundreds of billions of specifications) need significantly more computational resources and are better matched for cloud-based implementation.

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

A: DeepSeek R1 is offered 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 construct upon its innovations.

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

A: The current approach allows the design to initially check out and generate its own reasoning patterns through without supervision RL, and then improve these patterns with monitored methods. Reversing the order might constrain the design's ability to discover varied reasoning paths, potentially restricting its total performance in jobs that gain from self-governing thought.

Thanks for checking out 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
None
0
Labels
None
Assign labels
  • View project labels
Reference: taylahtelfer94/jialcheerful#1