Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
weworkworldwide
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Milestones
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Jobs
  • Issue Boards
  • Annis Charbonneau
  • weworkworldwide
  • Issues
  • #1

Closed
Open
Opened Apr 13, 2025 by Annis Charbonneau@lupannis987323
  • 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 family - from the early designs through DeepSeek V3 to the advancement R1. We likewise explored the technical developments that make R1 so special 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 advancement goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where just a subset of professionals are used at reasoning, significantly improving the processing time for each token. It likewise featured multi-head latent attention to minimize memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous iterations. FP8 is a less precise method to save weights inside the LLMs but can considerably improve the memory footprint. However, training using FP8 can normally be unsteady, and it is tough to obtain the desired training outcomes. Nevertheless, DeepSeek uses several tricks and attains incredibly stable FP8 training. V3 set the stage as a highly effective model that was already economical (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, the very first reasoning-focused version. Here, the focus was on teaching the design not simply to generate answers but to "believe" before responding to. Using pure reinforcement learning, the model was encouraged to generate intermediate reasoning steps, for example, taking additional time (frequently 17+ seconds) to resolve an easy problem like "1 +1."

The essential development here was the use of group relative policy optimization (GROP). Instead of relying on a standard process reward model (which would have needed annotating every step of the reasoning), GROP compares numerous outputs from the model. By tasting numerous prospective answers and scoring them (utilizing rule-based steps like specific match for mathematics or confirming code outputs), the system finds out to favor reasoning that causes the correct result without the requirement for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision technique produced reasoning outputs that might be difficult to check out and even blend languages, the designers returned to the drawing board. They used the raw outputs from R1-Zero to produce "cold start" data 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 design further-combining both reasoning-oriented reinforcement learning and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces understandable, meaningful, and dependable reasoning while still maintaining the and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting element of R1 (no) is how it established thinking abilities without explicit guidance of the thinking process. It can be further enhanced by utilizing cold-start information and monitored reinforcement discovering to produce legible thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and developers to check and develop upon its developments. Its expense efficiency is a major selling point especially when compared to closed-source models (claimed 90% less expensive than OpenAI) that need massive compute budgets.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both costly and time-consuming), the design was trained utilizing an outcome-based method. It started with quickly proven jobs, such as math problems and coding exercises, where the correctness of the last answer could be quickly determined.

By utilizing group relative policy optimization, the training procedure compares multiple produced responses to figure out which ones meet the preferred output. This relative scoring mechanism permits the model to find out "how to believe" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 sometimes "overthinks" basic issues. For instance, when asked "What is 1 +1?" it may invest almost 17 seconds evaluating different scenarios-even thinking about binary representations-before concluding with the correct answer. This self-questioning and yewiki.org verification process, although it might seem ineffective in the beginning glance, might show beneficial in intricate tasks where deeper reasoning is necessary.

Prompt Engineering:

Traditional few-shot triggering techniques, raovatonline.org which have actually worked well for lots of chat-based designs, can actually deteriorate efficiency with R1. The developers recommend utilizing direct problem statements with a zero-shot technique that defines the output format plainly. This makes sure that the model isn't led astray by extraneous examples or tips that may hinder its internal thinking procedure.

Beginning with R1

For those aiming to experiment:

Smaller variants (7B-8B) can work on consumer GPUs or even only CPUs


Larger variations (600B) need substantial compute resources


Available through major cloud service providers


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're particularly fascinated by several implications:

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


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


Possibilities for integrating with other supervision techniques


Implications for business AI implementation


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

Open Questions

How will this affect the development of future reasoning models?


Can this approach be extended to less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be viewing these advancements carefully, particularly as the community starts to experiment with and systemcheck-wiki.de construct upon these methods.

Resources

Join our Slack community for ongoing discussions and updates about DeepSeek and other AI developments. We're seeing remarkable applications currently emerging from our bootcamp individuals working 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 should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source neighborhood, the option ultimately depends upon your usage case. DeepSeek R1 emphasizes advanced reasoning and a novel training method that may be particularly important in tasks where verifiable reasoning is crucial.

Q2: Why did major companies like OpenAI choose monitored fine-tuning rather than reinforcement knowing (RL) like DeepSeek?

A: We ought to keep in mind upfront that they do use RL at the really least in the form of RLHF. It is likely that models from major companies that have reasoning capabilities currently utilize something comparable to what DeepSeek has done here, however we can't make certain. It is also most likely that due to access to more resources, they preferred monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement knowing, although powerful, can be less predictable and more difficult to control. DeepSeek's technique innovates by applying RL in a reasoning-oriented manner, allowing the model to learn efficient internal reasoning with only minimal procedure annotation - a strategy that has actually shown appealing despite its intricacy.

Q3: Did DeepSeek use test-time calculate methods comparable to those of OpenAI?

A: DeepSeek R1's design highlights effectiveness by leveraging strategies such as the mixture-of-experts approach, which activates just a subset of specifications, to lower compute throughout inference. This concentrate on performance is main to its cost advantages.

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

A: R1-Zero is the preliminary design that discovers reasoning solely through support learning without explicit procedure supervision. It generates intermediate thinking steps that, while often raw or mixed in language, serve as the foundation for learning. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "spark," and R1 is the refined, more coherent version.

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

A: Remaining current involves a combination of actively engaging with the research study neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to appropriate conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online communities and collective research study projects also plays a crucial function in keeping up with technical advancements.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, lies in its robust thinking abilities and its efficiency. It is especially well fit for tasks that require verifiable logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate thinking can be examined and confirmed. 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 decreases the entry barrier for deploying sophisticated language designs. Enterprises and start-ups can take advantage of its innovative reasoning for agentic applications ranging from automated code generation and customer assistance to information analysis. Its flexible release options-on consumer hardware for smaller models or cloud platforms for larger ones-make it an appealing alternative to proprietary solutions.

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

A: While DeepSeek R1 has been observed to "overthink" simple problems by exploring several reasoning paths, it includes stopping requirements and assessment mechanisms to prevent infinite loops. The reinforcement finding out framework motivates merging towards a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 totally open source, and is it based on 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 technique and FP8 training-and is not based on the Qwen architecture. Its design highlights effectiveness and expense reduction, 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 incorporate vision abilities. Its style and training focus exclusively on language processing and thinking.

Q11: Can experts in specialized fields (for example, laboratories dealing with cures) use these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based thinking training and efficient architecture-can be adjusted to various domains. Researchers in fields like biomedical sciences can tailor these methods to build designs that resolve their specific difficulties while gaining from lower compute costs and robust thinking capabilities. It is likely that in deeply specialized fields, however, there will still be a need for monitored fine-tuning to get reliable results.

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

A: The conversation showed that the annotators mainly concentrated on domains where accuracy is quickly verifiable-such as math and coding. This recommends that knowledge in technical fields was certainly leveraged to ensure the precision and clearness of the reasoning information.

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

A: While the model is designed to optimize for correct responses via support knowing, there is always a danger of errors-especially in uncertain scenarios. However, by assessing multiple candidate outputs and reinforcing those that cause proven outcomes, the training process reduces the likelihood of propagating inaccurate thinking.

Q14: How are hallucinations reduced in the model provided its iterative thinking loops?

A: The use of rule-based, verifiable tasks (such as math and coding) assists anchor the design's reasoning. By comparing several outputs and archmageriseswiki.com using group relative policy optimization to enhance only those that yield the proper outcome, the model is directed away from producing unproven or hallucinated details.

Q15: Does the design rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the implementation of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these techniques to allow reliable 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 legitimate issue?

A: Early iterations like R1-Zero did produce raw and often hard-to-read reasoning. However, the subsequent improvement process-where human professionals curated and improved the thinking data-has substantially enhanced the clarity and genbecle.com dependability of DeepSeek R1's internal thought procedure. While it remains an evolving system, iterative training and feedback have caused significant enhancements.

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

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

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

A: DeepSeek R1 is offered with open weights, implying that its model specifications are openly available. This aligns with the total open-source approach, permitting scientists and developers to additional explore and develop upon its innovations.

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

A: The current approach allows the model to first explore and create its own thinking patterns through unsupervised RL, and after that improve these patterns with monitored techniques. Reversing the order may constrain the design's ability to discover diverse reasoning courses, potentially limiting its overall performance in tasks that gain from self-governing thought.

Thanks for checking out Deep Random Thoughts! Subscribe for totally free 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: lupannis987323/weworkworldwide#1