Skip to content

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

已关闭
未关闭
在 4月 09, 2025 由 Andreas Dalziel@andreasdalziel
  • 违规举报
  • 新建问题
举报违规 新建问题

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 advancement of the DeepSeek household - from the early models through DeepSeek V3 to the development R1. We also checked out the technical innovations that make R1 so special on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of progressively sophisticated 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 professionals are utilized at reasoning, drastically enhancing 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 assisted drive down training costs by over 42.5% compared to previous versions. FP8 is a less precise way to keep weights inside the LLMs however can considerably enhance the memory footprint. However, training utilizing FP8 can normally be unsteady, and it is difficult to obtain the desired training results. Nevertheless, DeepSeek uses numerous tricks and attains remarkably stable FP8 training. V3 set the stage as an extremely efficient design that was already 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 model. Here, the focus was on teaching the model not simply to generate responses however to "think" before answering. Using pure support learning, the model was motivated to create intermediate thinking actions, for instance, taking additional time (typically 17+ seconds) to work through a simple problem like "1 +1."

The essential development here was the use of group relative policy optimization (GROP). Instead of counting on a traditional process reward model (which would have needed annotating every action of the thinking), GROP compares numerous outputs from the model. By tasting numerous prospective responses and scoring them (utilizing rule-based procedures like exact match for math or confirming code outputs), the system learns to prefer thinking that causes the proper result without the requirement for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced reasoning outputs that could be hard to read or even blend languages, the designers returned to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" data and then by hand curated these examples to filter and enhance the quality of the thinking. 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 result is DeepSeek R1: a model that now produces readable, coherent, and trustworthy thinking while still maintaining the effectiveness and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting element of R1 (absolutely no) is how it developed reasoning abilities without specific guidance of the thinking process. It can be even more improved by utilizing cold-start data and supervised support discovering to produce readable thinking on general tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing researchers and developers to examine and develop upon its developments. Its expense performance is a major selling point specifically when compared to closed-source models (claimed 90% more affordable than OpenAI) that need massive compute spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both costly and time-consuming), the model was trained utilizing an outcome-based approach. It started with quickly verifiable jobs, such as mathematics issues and coding workouts, where the correctness of the final answer could be quickly determined.

By utilizing group relative policy optimization, the training procedure compares several produced answers to determine which ones satisfy the preferred output. This relative scoring system allows the model to learn "how to believe" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" simple problems. For example, when asked "What is 1 +1?" it might invest nearly 17 seconds examining different scenarios-even thinking about binary representations-before concluding with the proper response. This self-questioning and confirmation procedure, although it may seem inefficient initially look, might prove useful in complex jobs where deeper thinking is necessary.

Prompt Engineering:

Traditional few-shot prompting techniques, which have worked well for numerous chat-based models, can actually degrade efficiency with R1. The developers advise utilizing direct problem declarations with a zero-shot approach that specifies the output format plainly. This guarantees that the design isn't led astray by extraneous examples or tips that might disrupt its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

Smaller variants (7B-8B) can run on consumer GPUs or even just CPUs


Larger versions (600B) require considerable calculate resources


Available through major cloud suppliers


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're particularly intrigued by numerous ramifications:

The capacity for this technique to be applied to other reasoning domains


Effect on agent-based AI systems traditionally developed on chat designs


Possibilities for integrating with other supervision strategies


Implications for enterprise AI deployment


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

Open Questions

How will this affect the advancement of future reasoning designs?


Can this technique be reached less proven domains?


What are the implications for multi-modal AI systems?


We'll be seeing these advancements closely, especially as the community starts to explore and build upon these strategies.

Resources

Join our Slack community for continuous conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently emerging from our bootcamp participants 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 short 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 model in the open-source neighborhood, the option ultimately depends upon your usage case. DeepSeek R1 stresses sophisticated thinking and a novel training approach that may be especially important in tasks where verifiable logic is crucial.

Q2: Why did significant companies like OpenAI opt for supervised fine-tuning instead of reinforcement knowing (RL) like DeepSeek?

A: We should keep in mind in advance that they do utilize RL at the minimum in the type of RLHF. It is likely that designs from significant providers that have thinking abilities currently use something similar 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 favored monitored fine-tuning due to its stability and the ready availability of large annotated datasets. Reinforcement learning, although powerful, can be less foreseeable and harder to manage. DeepSeek's approach innovates by using RL in a reasoning-oriented way, allowing the design to learn effective internal thinking with only very little procedure annotation - a strategy that has shown appealing in spite of its intricacy.

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

A: DeepSeek R1's design stresses performance by leveraging strategies such as the mixture-of-experts approach, which activates only a subset of criteria, to lower calculate during reasoning. This focus on effectiveness is main to its expense advantages.

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

A: R1-Zero is the preliminary design that discovers thinking entirely through support knowing without specific process guidance. It creates intermediate reasoning actions that, while sometimes raw or mixed in language, serve as the structure 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 unsupervised "stimulate," and R1 is the polished, more coherent version.

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

A: Remaining existing includes a mix of actively engaging with the research neighborhood (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 study tasks likewise plays a crucial role in keeping up with technical developments.

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

A: The short answer is that it's prematurely to inform. DeepSeek R1's strength, nevertheless, depends on its robust thinking capabilities and its performance. It is particularly well matched for tasks 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 further enables tailored applications in research and business settings.

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

A: The open-source and affordable design of DeepSeek R1 reduces the entry barrier for deploying sophisticated language models. Enterprises and start-ups can leverage its innovative thinking for agentic applications varying from automated code generation and customer assistance to data analysis. Its flexible release options-on consumer hardware for smaller sized models or cloud platforms for bigger ones-make it an attractive alternative to exclusive solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic problems by exploring multiple reasoning paths, it incorporates stopping requirements and assessment mechanisms to avoid limitless loops. The support finding out structure encourages convergence toward 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 worked 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 highlights efficiency and expense reduction, setting the phase for the reasoning 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 incorporate vision capabilities. Its style and training focus exclusively on language processing and reasoning.

Q11: Can professionals in specialized fields (for example, labs dealing with cures) use 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 various domains. Researchers in fields like biomedical sciences can tailor these methods to build designs that address their specific obstacles while gaining from lower calculate expenses and robust reasoning capabilities. It is most likely that in deeply specialized fields, however, there will still be a requirement for monitored fine-tuning to get dependable results.

Q12: Were the annotators for the human post-processing experts in technical fields like computer technology 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 know-how in technical fields was certainly leveraged to make sure the precision and clarity of the reasoning information.

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

A: While the model is created to optimize for correct answers via support knowing, there is constantly a danger of errors-especially in uncertain circumstances. However, by examining multiple candidate outputs and enhancing those that lead to proven results, the training procedure lessens the possibility of propagating incorrect reasoning.

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

A: Using rule-based, proven tasks (such as mathematics and coding) helps anchor the model's reasoning. By comparing numerous outputs and using group relative policy optimization to reinforce only those that yield the appropriate result, the model is assisted away from creating unproven or hallucinated details.

Q15: Does the design depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of and attention systems in DeepSeek R1. However, the main focus is on using these methods to enable effective thinking rather than showcasing mathematical intricacy for its own sake.

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

A: Early versions like R1-Zero did produce raw and sometimes hard-to-read thinking. However, the subsequent improvement process-where human professionals curated and enhanced the reasoning data-has considerably enhanced 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 versions are suitable for regional implementation on a laptop with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the variety of 7B to 8B parameters-is advised. Larger models (for instance, those with numerous billions of criteria) need considerably more computational resources and are better matched for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, meaning that its model parameters are openly available. This lines up with the overall open-source viewpoint, surgiteams.com allowing researchers and designers to further check out and build on its developments.

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

A: The present technique permits the design 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 model's capability to find diverse reasoning paths, possibly restricting its total performance in tasks that gain from self-governing thought.

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

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