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
  • #20

Closed
Open
Opened Apr 06, 2025 by Angelika Armbruster@angelikaarmbru
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've been tracking the explosive rise 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 development R1. We also checked out the technical developments that make R1 so special worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a household of increasingly advanced 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 inference, significantly enhancing the processing time for each token. It likewise featured multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training costs by over 42.5% compared to previous iterations. FP8 is a less exact method to keep weights inside the LLMs however can greatly improve the memory footprint. However, training using FP8 can normally be unsteady, and it is hard to obtain the preferred training results. Nevertheless, DeepSeek utilizes numerous techniques and forum.altaycoins.com attains incredibly steady FP8 training. V3 set the stage as an extremely effective design that was currently economical (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not just to generate responses however to "believe" before responding to. Using pure reinforcement learning, the design was motivated to generate intermediate thinking steps, for example, taking extra time (frequently 17+ seconds) to resolve a simple problem like "1 +1."

The crucial development here was the usage of group relative policy optimization (GROP). Instead of depending on a standard procedure benefit design (which would have needed annotating every step of the thinking), GROP compares several outputs from the model. By tasting several prospective responses and scoring them (utilizing rule-based procedures like exact match for math or verifying code outputs), the system learns to prefer thinking that causes the appropriate result without the need for specific 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 perhaps blend languages, the developers went back to the drawing board. They used the raw outputs from R1-Zero to "cold start" information 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 fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented reinforcement 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 interesting aspect of R1 (no) is how it developed thinking capabilities without explicit supervision of the reasoning process. It can be further enhanced by utilizing cold-start data and monitored reinforcement discovering to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and developers to examine and develop upon its developments. Its expense efficiency is a major selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that need enormous calculate spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and time-consuming), the model was trained utilizing an outcome-based method. It began with easily proven jobs, 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 numerous created responses to identify which ones fulfill the desired output. This relative scoring system allows the model to discover "how to believe" even when intermediate thinking is generated in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 in some cases "overthinks" simple problems. For example, when asked "What is 1 +1?" it might spend almost 17 seconds assessing various scenarios-even thinking about binary representations-before concluding with the proper answer. This self-questioning and verification procedure, although it may appear inefficient in the beginning glimpse, might show advantageous in complicated jobs where much deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for lots of chat-based models, can really deteriorate efficiency with R1. The designers recommend utilizing direct problem statements with a zero-shot technique that specifies the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that may disrupt its internal thinking process.

Beginning with R1

For those aiming to experiment:

Smaller variations (7B-8B) can operate on consumer GPUs or perhaps only CPUs


Larger versions (600B) require considerable compute resources


Available through significant cloud companies


Can be released locally through Ollama or vLLM


Looking Ahead

We're especially intrigued by a number of implications:

The potential for this method to be used to other thinking domains


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


Possibilities for combining with other supervision techniques


Implications for business AI release


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

Open Questions

How will this impact the advancement of future reasoning designs?


Can this approach be reached less verifiable domains?


What are the ramifications for multi-modal AI systems?


We'll be enjoying these advancements closely, especially as the neighborhood starts to explore and build on these techniques.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI developments. 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 short summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which model is worthy of 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 highlights innovative thinking and an unique training approach that might be particularly important in tasks where verifiable reasoning is important.

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

A: We ought to note in advance that they do use RL at the minimum in the kind of RLHF. It is highly likely that models from major suppliers that have reasoning capabilities already utilize something similar to what DeepSeek has done here, but we can't make certain. It is also most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the all set availability of big annotated datasets. Reinforcement knowing, although powerful, can be less foreseeable and more difficult to control. DeepSeek's technique innovates by using RL in a reasoning-oriented way, enabling the design to discover effective internal thinking with only very little procedure annotation - a strategy that has actually proven promising regardless of its intricacy.

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

A: DeepSeek R1's design emphasizes efficiency by leveraging strategies such as the mixture-of-experts technique, which triggers just a subset of parameters, to minimize calculate during inference. This focus on performance is main to its cost benefits.

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

A: R1-Zero is the initial design that finds out thinking entirely through reinforcement knowing without specific procedure supervision. It produces intermediate reasoning steps that, while often raw or mixed in language, function 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 not being watched "spark," and R1 is the polished, more meaningful version.

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

A: Remaining existing involves a combination of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and participating in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects 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 brief response is that it's too early to inform. DeepSeek R1's strength, nevertheless, depends on its robust reasoning abilities and its effectiveness. It is particularly well matched for jobs that require verifiable logic-such as mathematical issue solving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature even more enables tailored applications in research study and business settings.

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

A: The open-source and cost-efficient style of DeepSeek R1 lowers the entry barrier for releasing advanced language designs. Enterprises and start-ups can utilize its sophisticated reasoning for agentic applications varying from automated code generation and client assistance to data analysis. Its flexible deployment options-on consumer hardware for smaller designs or cloud platforms for larger ones-make it an appealing option to proprietary solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by checking out several thinking courses, it integrates stopping requirements and evaluation mechanisms to avoid limitless loops. The reinforcement discovering structure motivates merging towards a verifiable 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 functioned as the foundation for later iterations. 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 emphasizes effectiveness and cost reduction, setting the phase for the reasoning innovations seen in R1.

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

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

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

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 develop models that resolve their specific challenges while gaining from lower calculate expenses and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a need for supervised fine-tuning to get trustworthy results.

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

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

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

A: While the model is developed to optimize for right responses by means of reinforcement knowing, there is constantly a threat of errors-especially in uncertain circumstances. However, by examining multiple candidate outputs and reinforcing those that lead to verifiable outcomes, the training procedure decreases the probability of propagating inaccurate reasoning.

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

A: Using rule-based, verifiable tasks (such as mathematics and coding) helps anchor the model's thinking. By comparing numerous outputs and using group relative policy optimization to reinforce just those that yield the proper outcome, the model is directed far from creating unproven or hallucinated details.

Q15: Does the design count 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 allow efficient reasoning instead of showcasing mathematical complexity for its own sake.

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

A: Early models like R1-Zero did produce raw and in some cases hard-to-read reasoning. However, the subsequent refinement process-where human professionals curated and improved the thinking data-has substantially improved the clearness and reliability of DeepSeek R1's internal thought process. While it remains a progressing system, iterative training and trademarketclassifieds.com feedback have led to significant improvements.

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

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

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

A: DeepSeek R1 is offered with open weights, meaning that its model specifications are openly available. This aligns with the overall open-source approach, permitting researchers and developers to additional check out and build on its developments.

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

A: The present method enables the design to initially check out and produce its own thinking patterns through not being watched RL, and then fine-tune these patterns with supervised methods. Reversing the order might constrain the design's ability to discover varied reasoning paths, possibly limiting its total efficiency in tasks that gain from self-governing thought.

Thanks for reading Deep Random Thoughts! Subscribe free of charge to get 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#20