Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
  • Sign in / Register
H
houseslands
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 27
    • Issues 27
    • 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
  • Angelika Armbruster
  • houseslands
  • Issues
  • #4

Closed
Open
Opened Feb 16, 2025 by Angelika Armbruster@angelikaarmbru
  • 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 recent weeks. In this session, we dove deep into the evolution of the DeepSeek household - from the early models through DeepSeek V3 to the breakthrough R1. We also explored the technical innovations that make R1 so unique worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single design; it's a household of significantly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where only a subset of experts are used at reasoning, considerably improving the processing time for each token. It also included multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design introduced FP8 training techniques, which assisted 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 enhance the memory footprint. However, training using FP8 can normally be unstable, and it is difficult to obtain the wanted training results. Nevertheless, DeepSeek uses numerous tricks and attains incredibly stable FP8 training. V3 set the stage as an extremely effective design 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 version. Here, the focus was on teaching the design not simply to create answers but to "believe" before addressing. Using pure support learning, the model was motivated to generate intermediate thinking steps, for instance, taking extra time (typically 17+ seconds) to resolve a basic problem like "1 +1."

The essential development here was using group relative policy optimization (GROP). Instead of counting on a traditional procedure reward model (which would have needed annotating every action of the thinking), GROP compares numerous outputs from the model. By tasting numerous prospective responses and scoring them (utilizing rule-based steps like specific match for mathematics or validating code outputs), the system discovers to favor reasoning that results in the appropriate outcome without the need for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced thinking outputs that could be hard to read or perhaps blend languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and after that manually curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, meaningful, and dependable reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (zero) is how it established thinking capabilities without explicit guidance of the thinking procedure. It can be further enhanced by utilizing cold-start data and monitored reinforcement learning to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and designers to examine and build on its developments. Its cost performance is a significant selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that need huge calculate budget plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both pricey and lengthy), the design was an outcome-based approach. It started with easily verifiable tasks, such as math problems and coding exercises, where the accuracy of the last response might be easily determined.

By utilizing group relative policy optimization, the training process compares multiple produced responses to determine which ones meet the desired output. This relative scoring mechanism enables the design to discover "how to think" even when intermediate thinking is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" basic issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the appropriate response. This self-questioning and verification process, although it may seem ineffective initially look, could show useful in complicated jobs where deeper thinking is required.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for numerous chat-based models, can actually degrade performance with R1. The designers recommend utilizing direct problem statements with a zero-shot method that specifies the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that may interfere with its internal reasoning process.

Getting Started with R1

For those aiming to experiment:

Smaller variants (7B-8B) can operate on customer GPUs or even just CPUs


Larger versions (600B) require substantial compute resources


Available through major cloud service providers


Can be deployed locally through Ollama or trademarketclassifieds.com vLLM


Looking Ahead

We're particularly intrigued by a number of ramifications:

The potential for this approach to be applied to other thinking domains


Effect on agent-based AI systems generally built on chat designs


Possibilities for combining with other supervision methods


Implications for business AI deployment


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

Open Questions

How will this impact the development of future thinking designs?


Can this method be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these advancements closely, especially as the neighborhood begins to try out and develop upon these strategies.

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 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 should have more attention - DeepSeek or wiki.dulovic.tech Qwen2.5 Max?

A: While Qwen2.5 is also a strong design in the open-source neighborhood, the option eventually depends upon your usage case. DeepSeek R1 stresses sophisticated thinking and a novel training method that might be especially important in tasks where verifiable logic is crucial.

Q2: Why did major service providers like OpenAI select monitored fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We ought to keep in mind upfront that they do use RL at least in the form of RLHF. It is really most likely that designs from significant suppliers that have thinking capabilities already utilize something comparable to what DeepSeek has done here, but we can't make certain. It is also likely that due to access to more resources, they preferred supervised fine-tuning due to its stability and the prepared availability of large annotated datasets. Reinforcement learning, although effective, can be less foreseeable and more difficult to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, allowing the model to find out reliable internal thinking with only very little procedure annotation - a technique that has actually proven appealing regardless of its complexity.

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

A: DeepSeek R1's style stresses effectiveness by leveraging techniques such as the mixture-of-experts technique, which activates only a subset of criteria, to minimize calculate during reasoning. This focus on efficiency is main to its cost benefits.

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

A: wavedream.wiki R1-Zero is the preliminary model that learns reasoning exclusively through reinforcement knowing without explicit process guidance. It generates intermediate reasoning steps that, while in some cases raw or blended in language, work as the foundation for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero supplies the unsupervised "spark," and R1 is the polished, more meaningful version.

Q5: How can one remain upgraded with in-depth, technical research study while handling a busy schedule?

A: Remaining existing includes a mix 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 collaborative research jobs also plays a crucial function in staying up to date with technical developments.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, lies in its robust reasoning capabilities and its performance. It is particularly well suited for tasks that require verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be evaluated and validated. Its open-source nature further permits for 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 design of DeepSeek R1 reduces the entry barrier for deploying advanced language models. Enterprises and start-ups can utilize its advanced reasoning for agentic applications varying from automated code generation and client support to data analysis. Its flexible release options-on consumer hardware for setiathome.berkeley.edu smaller designs or cloud platforms for bigger ones-make it an attractive alternative to exclusive services.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by checking out multiple reasoning paths, it includes stopping requirements and assessment systems to prevent infinite loops. The support learning structure motivates merging toward 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 acted as the foundation for later versions. It is constructed 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 emphasizes efficiency and expense decrease, setting the stage for the thinking developments seen in R1.

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

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

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

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and effective architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these methods to develop designs that resolve their particular challenges while gaining from lower calculate costs and robust reasoning capabilities. It is likely that in deeply specialized fields, wavedream.wiki however, there will still be a requirement for supervised 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 suggested that the annotators mainly focused on domains where accuracy is easily verifiable-such as math and coding. This suggests that competence in technical fields was certainly leveraged to make sure the accuracy and clearness of the reasoning data.

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

A: While the model is created to enhance for correct responses by means of support learning, there is constantly a danger of errors-especially in uncertain scenarios. However, by assessing multiple prospect outputs and strengthening those that lead to proven results, the training procedure reduces the probability of propagating inaccurate thinking.

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

A: The usage of rule-based, proven jobs (such as math and coding) helps anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to enhance just those that yield the proper outcome, the design is guided far from generating unproven or hallucinated details.

Q15: Does the design depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these methods to enable reliable reasoning rather than showcasing mathematical complexity for its own sake.

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

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

Q17: Which model variations appropriate for oeclub.org regional release on a laptop 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 example, those with hundreds of billions of specifications) require significantly more computational resources and are better fit for cloud-based deployment.

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

A: DeepSeek R1 is offered with open weights, suggesting that its design parameters are publicly available. This lines up with the general open-source approach, permitting scientists and designers to additional 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 reinforcement learning?

A: The current approach allows the design to initially explore and produce its own reasoning patterns through unsupervised RL, and then refine these patterns with supervised approaches. Reversing the order might constrain the model's capability to find varied reasoning paths, possibly limiting its overall performance in tasks that gain from self-governing thought.

Thanks for checking out Deep Random Thoughts! Subscribe for free to get 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: angelikaarmbru/houseslands#4