Skip to content

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

已关闭
未关闭
在 2月 09, 2025 由 Georgiana Allardyce@georgianaallar
  • 违规举报
  • 新建问题
举报违规 新建问题

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 evolution of the DeepSeek family - from the early models through DeepSeek V3 to the development R1. We also checked out the technical developments 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 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 just a subset of professionals are used at reasoning, drastically improving the processing time for each token. It also featured multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training expenses by over 42.5% compared to previous versions. FP8 is a less precise method to save weights inside the LLMs but can significantly improve the memory footprint. However, training using FP8 can usually be unstable, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek utilizes numerous techniques and attains incredibly steady FP8 training. V3 set the stage as an extremely efficient design that was currently affordable (with claims of being 90% less expensive than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the first reasoning-focused iteration. Here, the focus was on teaching the design not simply to create answers but to "think" before answering. Using pure reinforcement learning, the design was motivated to generate intermediate reasoning steps, for instance, taking additional time (often 17+ seconds) to resolve an easy issue like "1 +1."

The crucial development here was using group relative policy optimization (GROP). Instead of counting on a traditional procedure benefit design (which would have required annotating every step of the reasoning), GROP compares multiple outputs from the design. By tasting several prospective responses and scoring them (using rule-based steps like exact match for mathematics or validating code outputs), the system discovers to favor thinking that leads to the right result without the need for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's unsupervised approach produced thinking outputs that could be difficult to read or perhaps blend languages, the designers went back to the drawing board. They utilized the raw outputs from R1-Zero to generate "cold start" information and after that manually curated these examples to filter and enhance the quality of the thinking. This human post-processing was then used to tweak the original DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a design that now produces readable, coherent, and trusted reasoning while still maintaining the efficiency 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 specific guidance of the thinking process. It can be further improved by using cold-start data and supervised support learning to produce readable reasoning on general jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, enabling scientists and designers to check and build on its innovations. Its cost efficiency is a significant selling point specifically when compared to closed-source models (claimed 90% cheaper than OpenAI) that need massive calculate spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both expensive and lengthy), the design was trained utilizing an outcome-based technique. It began with quickly proven jobs, such as mathematics problems and coding exercises, where the correctness of the last answer could be easily determined.

By utilizing group relative policy optimization, the training procedure compares several created responses to identify which ones satisfy the preferred output. This relative scoring system allows the design to learn "how to think" even when intermediate thinking is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 sometimes "overthinks" basic problems. For example, when asked "What is 1 +1?" it might spend almost 17 seconds examining various scenarios-even thinking about binary representations-before concluding with the appropriate answer. This self-questioning and confirmation process, although it might appear ineffective initially look, might prove useful in complex tasks where deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering strategies, which have worked well for many chat-based models, can in fact degrade efficiency with R1. The developers suggest using direct problem declarations with a zero-shot method that defines the output format plainly. This ensures that the design isn't led astray by extraneous examples or tips that may disrupt its internal thinking procedure.

Beginning with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs or even just CPUs


Larger versions (600B) need substantial calculate resources


Available through major cloud companies


Can be deployed locally by means of Ollama or vLLM


Looking Ahead

We're particularly captivated by several ramifications:

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


Influence on agent-based AI systems generally built 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 get new posts and support my work.

Open Questions

How will this impact the advancement of future reasoning models?


Can this method be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be watching these advancements carefully, especially as the community starts to explore and construct upon these techniques.

Resources

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

A: While Qwen2.5 is likewise a strong model in the open-source neighborhood, the choice ultimately depends upon your usage case. DeepSeek R1 stresses advanced reasoning and a novel training approach that might be particularly valuable in jobs where proven reasoning is vital.

Q2: Why did major service providers like OpenAI choose for monitored fine-tuning instead of support learning (RL) like DeepSeek?

A: We need to note upfront that they do use RL at least in the type of RLHF. It is really likely that models from major service providers that have thinking capabilities already use something comparable to what DeepSeek has actually done here, however we can't make certain. It is likewise likely that due to access to more resources, they preferred 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 manner, allowing the design to learn effective internal reasoning with only very little process annotation - a strategy that has actually proven promising despite its intricacy.

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

A: DeepSeek R1's design emphasizes performance by leveraging strategies such as the mixture-of-experts technique, which activates only a subset of criteria, to lower calculate throughout inference. This focus on effectiveness is main to its expense benefits.

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

A: R1-Zero is the initial design that finds out reasoning solely through support learning without specific process guidance. It generates intermediate reasoning actions that, while often raw or combined in language, serve as the foundation for knowing. DeepSeek R1, on the other hand, improves these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero provides the not being watched "stimulate," and R1 is the refined, more coherent version.

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

A: Remaining current involves a combination of actively engaging with the research neighborhood (like AISC - see link to sign up with slack above), following preprint servers like arXiv, going to and wavedream.wiki webinars, and taking part in conversation groups and newsletters. Continuous engagement with online neighborhoods and collective research jobs also plays an essential function in staying up to date with technical improvements.

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

A: The brief response is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust thinking capabilities and its performance. It is particularly well matched for tasks that need verifiable logic-such as mathematical problem fixing, code generation, and structured decision-making-where intermediate thinking can be reviewed and verified. Its open-source nature even more 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 cost-efficient style of DeepSeek R1 decreases the entry barrier for releasing sophisticated language designs. 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 deployment options-on consumer hardware for smaller sized models 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 correct answer is found?

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by exploring numerous thinking paths, it includes stopping requirements and evaluation systems to prevent limitless loops. The support discovering structure motivates 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 acted as the foundation for later iterations. It is built 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 highlights efficiency and cost reduction, setting the phase for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 perform on vision tasks?

A: DeepSeek R1 is a text-based design and does not incorporate vision capabilities. Its design and training focus entirely on language processing and reasoning.

Q11: Can experts in specialized fields (for example, labs working on treatments) apply these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these methods to construct designs that address their particular difficulties while gaining from lower calculate costs and robust reasoning capabilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored 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 indicated 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 make sure the accuracy and clearness of the reasoning information.

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

A: While the model is developed to optimize for appropriate answers by means of reinforcement knowing, there is always a risk of errors-especially in uncertain situations. However, by examining numerous prospect outputs and strengthening those that result in proven results, the training process minimizes the possibility of propagating incorrect thinking.

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

A: Using rule-based, verifiable jobs (such as mathematics and bio.rogstecnologia.com.br coding) helps anchor the model's thinking. By comparing multiple outputs and using group relative policy optimization to reinforce only those that yield the correct outcome, the model is directed far from generating unproven or hallucinated details.

Q15: Does the model count on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are integral to the application of mixture-of-experts and attention systems in DeepSeek R1. However, the main focus is on using these methods to make it possible for efficient reasoning rather than showcasing mathematical complexity for its own sake.

Q16: Some fret that the design's "thinking" might not be as improved as human reasoning. Is that a legitimate concern?

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

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

A: For local testing, a medium-sized model-typically in the series of 7B to 8B parameters-is advised. Larger models (for example, those with numerous billions of criteria) need significantly more computational resources and are much better matched for cloud-based implementation.

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

A: DeepSeek R1 is offered with open weights, implying that its design parameters are publicly available. This lines up with the total open-source approach, enabling scientists and developers to additional check out and build on its innovations.

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

A: The current technique enables the model to first explore and generate its own reasoning patterns through without supervision RL, and after that refine these patterns with monitored methods. Reversing the order may constrain the design's capability to find diverse reasoning paths, potentially limiting its total efficiency in jobs that gain from autonomous idea.

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

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