Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in
M
milegajob
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 26
    • Issues 26
    • 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
  • Aimee Talbott
  • milegajob
  • Issues
  • #24

Closed
Open
Opened May 30, 2025 by Aimee Talbott@aimeetalbott11
  • 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 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 developments that make R1 so special on the planet 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 evolution 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 utilized at reasoning, drastically enhancing the processing time for each token. It also included multi-head hidden attention to minimize memory footprint.

DeepSeek V3:

This model presented FP8 training strategies, which assisted drive down training expenses by over 42.5% compared to previous versions. FP8 is a less accurate method to keep weights inside the LLMs however can considerably improve the memory footprint. However, training utilizing FP8 can usually be unstable, and it is difficult to obtain the desired training outcomes. Nevertheless, DeepSeek utilizes numerous tricks and attains remarkably steady FP8 training. V3 set the phase as an extremely effective design that was already affordable (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not simply to generate responses but to "think" before responding to. Using pure support learning, the model was encouraged to produce intermediate reasoning steps, for example, taking extra time (frequently 17+ seconds) to work through an easy problem like "1 +1."

The crucial innovation here was the use of group relative policy optimization (GROP). Instead of relying on a conventional procedure benefit design (which would have required annotating every step of the reasoning), GROP compares several outputs from the design. By sampling a number of prospective responses and scoring them (using rule-based measures like specific match for mathematics or verifying code outputs), the system finds out to favor reasoning that causes the proper result without the requirement for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised method produced thinking outputs that might be tough to check out and 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 improve the quality of the reasoning. This human post-processing was then utilized to fine-tune the original DeepSeek V3 model further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces understandable, meaningful, and reliable reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most remarkable aspect of R1 (absolutely no) is how it established thinking abilities without explicit guidance of the thinking process. It can be further enhanced by using cold-start data and supervised support discovering to produce legible reasoning on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to examine and build upon its developments. Its expense performance is a major selling point especially when compared to closed-source models (claimed 90% cheaper than OpenAI) that need huge calculate spending plans.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both costly and lengthy), the model was trained using an outcome-based technique. It started with easily proven jobs, such as math issues and coding exercises, where the correctness of the final response might be easily measured.

By using group relative policy optimization, the training process compares several produced answers to determine which ones meet the desired output. This relative scoring system allows the design to find out "how to think" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" simple issues. For example, when asked "What is 1 +1?" it might spend almost 17 seconds evaluating various scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and confirmation procedure, although it might seem inefficient at very first glimpse, could prove useful in intricate jobs where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot triggering techniques, which have actually worked well for numerous chat-based designs, can actually break down efficiency with R1. The designers recommend using direct issue declarations with a zero-shot method that specifies the output format plainly. This ensures that the design isn't led astray by extraneous examples or hints that may disrupt its internal reasoning process.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs and even only CPUs


Larger variations (600B) need considerable calculate resources


Available through significant cloud providers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're particularly captivated by several implications:

The capacity for this technique to be used to other thinking domains


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


Possibilities for combining with other supervision techniques


Implications for enterprise AI release


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

Open Questions

How will this affect the development of future reasoning designs?


Can this technique be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be seeing these advancements closely, particularly as the community begins to experiment with and construct upon these methods.

Resources

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

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the choice eventually depends upon your usage case. DeepSeek R1 stresses advanced thinking and an unique training approach that might be especially valuable in tasks where verifiable logic is vital.

Q2: it-viking.ch Why did significant service providers like OpenAI choose for monitored fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We need to keep in mind upfront that they do utilize RL at least in the kind of RLHF. It is likely that designs from significant providers that have reasoning capabilities currently utilize something comparable to what DeepSeek has done here, however 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 knowing, although effective, can be less predictable and more difficult to control. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, making it possible for the model to learn efficient internal thinking with only very little process annotation - a method that has actually shown appealing despite its intricacy.

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

A: DeepSeek R1's design emphasizes effectiveness by leveraging methods such as the mixture-of-experts approach, which activates just a subset of criteria, to lower compute throughout reasoning. This concentrate on effectiveness is main to its expense benefits.

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

A: R1-Zero is the preliminary model that discovers reasoning solely through support learning without specific process supervision. It produces intermediate reasoning steps that, while in some cases raw or blended in language, work as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and monitored fine-tuning. In essence, R1-Zero provides the unsupervised "stimulate," and R1 is the sleek, more coherent variation.

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

A: Remaining present includes a mix of actively engaging with the research study community (like AISC - see link to join 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 collective research projects likewise plays a key function in keeping up with technical advancements.

Q6: In what use-cases does DeepSeek outperform 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 capabilities and its performance. It is particularly well suited for tasks that require verifiable logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate reasoning can be reviewed and confirmed. Its open-source nature even more enables 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 style of DeepSeek R1 lowers the entry barrier for releasing sophisticated language models. Enterprises and start-ups can utilize its sophisticated thinking for agentic applications varying from automated code generation and customer assistance to information analysis. Its versatile release options-on customer hardware for smaller designs or cloud platforms for bigger ones-make it an attractive option to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" easy issues by checking out multiple thinking courses, it includes stopping requirements and assessment mechanisms to avoid limitless loops. The support learning structure motivates merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and acted as the foundation for later versions. It is built on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based on the Qwen architecture. Its style stresses effectiveness and expense decrease, setting the stage for the thinking developments 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 capabilities. Its design and training focus solely on language processing and reasoning.

Q11: Can specialists in specialized fields (for example, laboratories working on cures) apply these approaches to train domain-specific designs?

A: Yes. The developments 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 methods to develop designs that address their particular difficulties while gaining from lower calculate expenses and robust reasoning capabilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for supervised fine-tuning to get trusted results.

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

A: The discussion showed that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as mathematics 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 counts on its own outputs for finding out?

A: While the model is developed to enhance for proper answers through support learning, there is constantly a risk of errors-especially in uncertain situations. However, by assessing numerous candidate outputs and enhancing those that cause verifiable outcomes, the training process minimizes the possibility of propagating incorrect reasoning.

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

A: The use of rule-based, verifiable tasks (such as mathematics and coding) helps anchor the design's reasoning. By comparing several outputs and utilizing group relative policy optimization to reinforce just those that yield the proper outcome, the model is assisted far from generating unfounded or hallucinated details.

Q15: Does the design count on complex vector mathematics?

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

Q16: Some stress that the design's "thinking" might not be as fine-tuned as human thinking. Is that a valid concern?

A: Early versions like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent refinement process-where human experts curated and enhanced the reasoning data-has substantially improved the clearness and dependability of DeepSeek R1's internal thought procedure. While it remains a developing system, iterative training and feedback have led to meaningful improvements.

Q17: Which model variations are ideal for local deployment on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of criteria) need substantially more computational resources and are much better fit for cloud-based implementation.

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

A: DeepSeek R1 is supplied with open weights, indicating that its design criteria are publicly available. This lines up with the general open-source approach, permitting researchers and designers to additional explore and build upon its innovations.

Q19: What would happen if the order of training were reversed-starting with supervised fine-tuning before unsupervised support knowing?

A: The existing technique permits the design to initially explore and produce its own thinking patterns through unsupervised RL, and then refine these patterns with monitored methods. Reversing the order may constrain the design's capability to discover varied thinking paths, possibly limiting its total efficiency in jobs that gain from autonomous thought.

Thanks for reading Deep Random Thoughts! Subscribe for complimentary to receive 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: aimeetalbott11/milegajob#24