Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
M
maxmeet
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Issues 3
    • Issues 3
    • 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
  • Ila Stralia
  • maxmeet
  • Issues
  • #2

Closed
Open
Opened Feb 16, 2025 by Ila Stralia@ilastralia6314
  • Report abuse
  • New issue
Report abuse New issue

Understanding DeepSeek R1


We've 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 evolution of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also 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 just a single design; it's a household of significantly sophisticated AI systems. The development goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where just a subset of experts are used at inference, significantly enhancing the processing time for each token. It also featured multi-head hidden attention to decrease memory footprint.

DeepSeek V3:

This design presented FP8 training methods, which helped drive down training costs by over 42.5% compared to previous models. FP8 is a less accurate way to keep weights inside the LLMs however can considerably improve the memory footprint. However, training utilizing FP8 can normally be unstable, and it is hard to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes several tricks and attains extremely steady FP8 training. V3 set the phase as a model that was currently affordable (with claims of being 90% cheaper than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused model. Here, the focus was on teaching the model not just to create answers but to "believe" before responding to. Using pure reinforcement knowing, the model was motivated to produce intermediate reasoning actions, for example, taking additional time (often 17+ seconds) to work through a basic issue like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of depending on a conventional process reward design (which would have required annotating every step of the thinking), GROP compares multiple outputs from the model. By tasting a number of possible responses and scoring them (utilizing rule-based steps like specific match for math or confirming code outputs), the system learns to favor reasoning that leads to the correct result without the requirement for specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised technique produced thinking outputs that could be hard to read or even mix languages, the developers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and after that by hand curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then used to fine-tune the original DeepSeek V3 design further-combining both reasoning-oriented support knowing and supervised fine-tuning. The outcome is DeepSeek R1: a design that now produces legible, meaningful, and reputable reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating element of R1 (no) is how it developed reasoning abilities without explicit guidance of the thinking procedure. It can be further enhanced by using cold-start data and supervised support finding out to produce understandable reasoning on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and designers to examine and build on its developments. Its expense efficiency is a significant selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that require huge calculate budgets.

Novel Training Approach:

Instead of relying entirely on annotated thinking (which is both pricey and time-consuming), the model was trained utilizing an outcome-based method. It began with quickly verifiable tasks, such as math issues and coding workouts, where the accuracy of the last answer could be easily measured.

By utilizing group relative policy optimization, the training procedure compares multiple created responses to determine which ones fulfill the wanted output. This relative scoring mechanism permits the design to learn "how to think" even when intermediate thinking is produced in a freestyle way.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" easy issues. For instance, when asked "What is 1 +1?" it might spend nearly 17 seconds examining different scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and confirmation process, although it might appear ineffective initially glimpse, could show advantageous in intricate tasks where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have actually worked well for many chat-based models, can in fact degrade efficiency with R1. The developers advise utilizing direct problem statements with a zero-shot technique that specifies the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that may hinder its internal reasoning process.

Beginning with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on consumer GPUs or perhaps only CPUs


Larger versions (600B) need significant calculate resources


Available through major cloud companies


Can be deployed in your area via Ollama or vLLM


Looking Ahead

We're especially intrigued by numerous ramifications:

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


Influence on agent-based AI systems generally built on chat models


Possibilities for integrating with other guidance methods


Implications for enterprise AI implementation


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

Open Questions

How will this affect the advancement of future thinking models?


Can this technique be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be enjoying these advancements closely, particularly as the neighborhood begins to try out and build upon these methods.

Resources

Join our Slack neighborhood for ongoing discussions and updates about DeepSeek and other AI advancements. 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 is worthy of more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option ultimately depends on your usage case. DeepSeek R1 emphasizes sophisticated thinking and a novel training approach that may be particularly valuable in tasks where proven logic is important.

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

A: We must note upfront that they do use RL at the really least in the type of RLHF. It is likely that designs from significant service providers that have reasoning capabilities already use something similar 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 learning, although effective, can be less predictable and more difficult to control. DeepSeek's method innovates by using RL in a reasoning-oriented manner, allowing the design to discover effective internal reasoning with only very little procedure annotation - a strategy that has shown promising despite its intricacy.

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

A: DeepSeek R1's style stresses effectiveness by leveraging techniques such as the mixture-of-experts method, which activates just a subset of criteria, to reduce compute throughout inference. This focus on performance is main to its expense advantages.

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

A: R1-Zero is the preliminary design that learns reasoning entirely through support learning without specific process guidance. It produces intermediate thinking actions that, while in some cases raw or mixed in language, pipewiki.org function as the structure for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the without supervision "stimulate," and R1 is the refined, more meaningful 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 neighborhood (like AISC - see link to join slack above), following preprint servers like arXiv, participating in relevant conferences and webinars, and participating in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research jobs also plays an essential role in staying up to date with technical improvements.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust reasoning capabilities and its efficiency. It is especially well suited for tasks that require verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate reasoning can be reviewed and validated. Its open-source nature further enables for tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 decreases the entry barrier for deploying advanced language models. Enterprises and start-ups can utilize its innovative thinking for agentic applications ranging from automated code generation and consumer support to information analysis. Its versatile release options-on consumer hardware for smaller sized models or higgledy-piggledy.xyz cloud platforms for larger ones-make it an attractive option to proprietary services.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by exploring multiple reasoning courses, it integrates stopping criteria and assessment systems to avoid boundless loops. The reinforcement learning structure encourages merging towards a proven 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 acted as the foundation for later models. It is built on its own set of innovations-including the mixture-of-experts technique and FP8 training-and is not based upon the Qwen architecture. Its design highlights efficiency and cost decrease, setting the stage for the thinking developments seen in R1.

Q10: How does DeepSeek R1 perform on vision jobs?

A: DeepSeek R1 is a text-based design and does not include vision abilities. Its style and training focus entirely on language processing and thinking.

Q11: Can specialists in specialized fields (for instance, labs dealing with cures) apply these approaches 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 various domains. Researchers in fields like biomedical sciences can tailor these techniques to construct models that address their particular obstacles while gaining from lower calculate costs and robust thinking abilities. 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 experts in technical fields like computer technology or mathematics?

A: The conversation suggested that the annotators mainly concentrated on domains where correctness is easily verifiable-such as math and coding. This recommends that knowledge in technical fields was certainly leveraged to guarantee the precision and clearness of the reasoning data.

Q13: Could the design get things incorrect if it depends on its own outputs for discovering?

A: While the model is developed to optimize for appropriate answers through reinforcement knowing, there is constantly a threat of errors-especially in uncertain circumstances. However, by examining numerous prospect outputs and strengthening those that result in verifiable results, the training procedure decreases the probability of propagating incorrect thinking.

Q14: How are hallucinations decreased in the design offered its iterative thinking loops?

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

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral 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 thinking instead of showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and it-viking.ch sometimes hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and improved the thinking data-has substantially boosted the clarity and reliability of DeepSeek R1's internal idea process. While it remains a progressing system, iterative training and feedback have actually led to meaningful improvements.

Q17: Which design versions are ideal for regional release on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger models (for example, those with hundreds of billions of specifications) require considerably more computational resources and are better suited for pipewiki.org cloud-based release.

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

A: DeepSeek R1 is provided with open weights, meaning that its model specifications are publicly available. This lines up with the total open-source philosophy, permitting scientists and developers to more explore and build on its developments.

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

A: The current approach enables the model to first check out and create its own thinking patterns through not being watched RL, and after that fine-tune these patterns with supervised techniques. Reversing the order may constrain the design's capability to discover diverse thinking courses, potentially restricting its total performance in tasks that gain from self-governing idea.

Thanks for reading Deep Random Thoughts! Subscribe for complimentary to get brand-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: ilastralia6314/maxmeet#2