Skip to content

  • 项目
  • 群组
  • 代码片段
  • 帮助
    • 正在加载...
    • 帮助
    • 为 GitLab 提交贡献
  • 登录/注册
M
matesroom
  • 项目
    • 项目
    • 详情
    • 活动
    • 周期分析
  • 议题 46
    • 议题 46
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 0
    • 合并请求 0
  • CI / CD
    • CI / CD
    • 流水线
    • 作业
    • 计划
  • Wiki
    • Wiki
  • 代码片段
    • 代码片段
  • 成员
    • 成员
  • 折叠边栏
  • 活动
  • 创建新议题
  • 作业
  • 议题看板
  • Agueda Eumarrah
  • matesroom
  • Issues
  • #46

已关闭
未关闭
在 4月 12, 2025 由 Agueda Eumarrah@aguedaeumarrah
  • 违规举报
  • 新建问题
举报违规 新建问题

Understanding DeepSeek R1


We've been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in current weeks. In this session, we dove deep into the development of the DeepSeek family - from the early designs through DeepSeek V3 to the breakthrough R1. We also checked out the technical innovations that make R1 so special in the world of open-source AI.

The DeepSeek Family Tree: From V3 to R1

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

DeepSeek V2:

This was the structure model which leveraged a mixture-of-experts architecture, where only a subset of professionals are used at inference, drastically improving the processing time for each token. It likewise included multi-head hidden attention to reduce memory footprint.

DeepSeek V3:

This model presented FP8 training techniques, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less accurate method to store weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can normally be unsteady, and it is tough to obtain the wanted training results. Nevertheless, DeepSeek uses multiple techniques and attains extremely steady FP8 training. V3 set the phase as an extremely effective design that was currently cost-effective (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the team then introduced R1-Zero, pipewiki.org the very first reasoning-focused version. Here, the focus was on teaching the design not simply to generate responses but to "believe" before responding to. Using pure support learning, the model was motivated to produce intermediate thinking actions, for instance, taking additional time (often 17+ seconds) to overcome an easy problem like "1 +1."

The essential development here was using group relative policy optimization (GROP). Instead of depending on a traditional process reward model (which would have required annotating every step of the reasoning), GROP compares multiple outputs from the design. By tasting several possible responses and scoring them (using rule-based steps like specific match for mathematics or verifying code outputs), the system learns to favor thinking that results in the correct outcome without the need for explicit guidance of every intermediate idea.

DeepSeek R1:

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

What Makes R1 Series Special?

The most remarkable element of R1 (no) is how it established reasoning abilities without specific guidance of the thinking procedure. It can be further enhanced by utilizing cold-start information and supervised support finding out to produce readable reasoning on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting scientists and developers to examine and construct upon its innovations. Its cost effectiveness is a major selling point especially when compared to closed-source models (claimed 90% more affordable than OpenAI) that need huge compute budget plans.

Novel Training Approach:

Instead of relying entirely on annotated reasoning (which is both pricey and lengthy), the design was trained utilizing an outcome-based approach. It began with easily proven tasks, such as math problems and coding workouts, where the correctness of the final response could be easily measured.

By utilizing group relative policy optimization, the training procedure compares several created answers to determine which ones satisfy the wanted output. This relative scoring mechanism enables the model to learn "how to think" even when intermediate thinking is created in a freestyle manner.

Overthinking?

A fascinating observation is that DeepSeek R1 in some cases "overthinks" easy problems. For example, when asked "What is 1 +1?" it might invest almost 17 seconds examining various scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and confirmation process, although it might seem ineffective initially glance, might show advantageous in complicated tasks where much deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot triggering strategies, which have actually worked well for lots of chat-based models, can really degrade performance with R1. The designers advise using direct issue statements with a zero-shot technique that specifies the output format plainly. This makes sure that the design isn't led astray by extraneous examples or hints that might disrupt its internal reasoning procedure.

Beginning with R1

For those aiming to experiment:

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


Larger versions (600B) need substantial compute resources


Available through significant cloud companies


Can be deployed in your area by means of Ollama or vLLM


Looking Ahead

We're particularly intrigued by numerous implications:

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


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


Possibilities for combining with other guidance methods


Implications for business AI deployment


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

Open Questions

How will this affect the development of future reasoning models?


Can this approach be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be watching these developments closely, particularly as the neighborhood starts to experiment with and build upon these strategies.

Resources

Join our Slack neighborhood for continuous conversations and updates about DeepSeek and other AI developments. We're seeing interesting 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 brief summary


Cloud Providers:

Nvidia


Together.ai


AWS




Q&A

Q1: Which design should have more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is likewise a strong design in the open-source community, the choice eventually depends upon your use case. DeepSeek R1 stresses sophisticated thinking and an unique training technique that may be particularly valuable in jobs where proven logic is critical.

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

A: We need to note in advance that they do use RL at the extremely least in the form of RLHF. It is most likely that designs from major suppliers that have thinking capabilities currently utilize something comparable to what has done here, however we can't make certain. It is likewise likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although effective, can be less foreseeable and more difficult to manage. DeepSeek's technique innovates by using RL in a reasoning-oriented way, enabling the design to find out reliable internal reasoning with only minimal process annotation - a technique that has proven appealing despite its intricacy.

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

A: DeepSeek R1's design emphasizes performance by leveraging methods such as the mixture-of-experts method, which activates just a subset of parameters, to decrease calculate during inference. This concentrate on effectiveness is main to its expense benefits.

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

A: R1-Zero is the preliminary design that learns reasoning exclusively through reinforcement learning without specific procedure guidance. It generates intermediate thinking actions that, while in some cases raw or mixed 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 offers the unsupervised "trigger," and R1 is the sleek, more meaningful version.

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

A: Remaining existing includes a combination of actively engaging with the research community (like AISC - see link to sign up with slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and participating in discussion groups and newsletters. Continuous engagement with online communities and collective research jobs likewise plays an essential role in keeping up with technical advancements.

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

A: The brief answer is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust thinking capabilities and its efficiency. It is particularly well fit for jobs that need proven logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate thinking can be reviewed and verified. Its open-source nature further enables tailored applications in research study and enterprise settings.

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

A: The open-source and affordable design of DeepSeek R1 lowers the entry barrier for deploying innovative language designs. Enterprises and start-ups can leverage its sophisticated reasoning for agentic applications varying from automated code generation and consumer support to information analysis. Its flexible release options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an attractive option to proprietary options.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by exploring several reasoning courses, it includes stopping requirements and examination systems to prevent limitless loops. The support discovering framework encourages merging toward 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 served as the structure for later versions. It is developed on its own set of innovations-including the mixture-of-experts method and FP8 training-and is not based upon the Qwen architecture. Its style emphasizes effectiveness and cost reduction, 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 model and does not include vision abilities. Its style and training focus entirely on language processing and reasoning.

Q11: Can professionals in specialized fields (for instance, labs working on cures) apply these methods to train domain-specific designs?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these techniques to construct designs that resolve their particular obstacles while gaining from lower compute 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 reputable outcomes.

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

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

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

A: While the design is developed to optimize for right responses via support knowing, there is always a danger of errors-especially in uncertain situations. However, by assessing several prospect outputs and strengthening those that lead to verifiable results, the training procedure reduces the likelihood of propagating incorrect reasoning.

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

A: Making use of rule-based, verifiable jobs (such as math and coding) assists anchor the model's reasoning. By comparing several outputs and using group relative policy optimization to reinforce just those that yield the proper outcome, the model is assisted away from producing unproven or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the execution of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on utilizing these techniques to enable effective thinking instead of showcasing mathematical complexity for its own sake.

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

A: Early versions like R1-Zero did produce raw and in some cases hard-to-read thinking. However, the subsequent improvement process-where human specialists curated and enhanced the reasoning data-has considerably improved the clarity and dependability of DeepSeek R1's internal thought process. While it remains a developing system, iterative training and feedback have actually led to significant improvements.

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

A: For local testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for instance, those with numerous billions of specifications) need considerably more computational resources and are much better fit for cloud-based release.

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

A: DeepSeek R1 is provided with open weights, suggesting that its design specifications are openly available. This lines up with the general open-source viewpoint, permitting scientists and designers to more check out and build on its innovations.

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

A: The existing technique enables the model to initially explore and produce its own reasoning patterns through unsupervised RL, and after that refine these patterns with supervised approaches. Reversing the order may constrain the design's ability to discover diverse thinking paths, potentially restricting its general performance in tasks that gain from self-governing idea.

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

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无截止日期
0
标记
无
指派标记
  • 查看项目标记
引用: aguedaeumarrah/matesroom#46