Skip to content

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

已关闭
未关闭
在 6月 03, 2025 由 Abby Quinlan@abbyquinlan149
  • 违规举报
  • 新建问题
举报违规 新建问题

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 development of the DeepSeek family - from the early designs through DeepSeek V3 to the development R1. We also checked out 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 model; it's a household of progressively sophisticated AI systems. The development goes something like this:

DeepSeek V2:

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

DeepSeek V3:

This design presented FP8 training methods, which helped drive down training costs by over 42.5% compared to previous versions. FP8 is a less exact method to store weights inside the LLMs but can greatly enhance the memory footprint. However, training utilizing FP8 can normally be unsteady, and setiathome.berkeley.edu it is difficult to obtain the wanted training outcomes. Nevertheless, DeepSeek uses numerous tricks and attains extremely steady FP8 training. V3 set the phase as a highly efficient design that was currently cost-efficient (with claims of being 90% cheaper than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then introduced R1-Zero, the first reasoning-focused version. Here, the focus was on teaching the design not simply to produce responses but to "believe" before answering. Using pure support knowing, the model was encouraged to create intermediate thinking actions, for instance, taking additional time (often 17+ seconds) to overcome a basic issue like "1 +1."

The crucial development here was making use of group relative policy optimization (GROP). Instead of counting on a traditional process benefit model (which would have needed annotating every step of the thinking), GROP compares numerous outputs from the model. By tasting numerous possible answers and scoring them (utilizing rule-based steps like exact match for math or validating code outputs), the system finds out to prefer reasoning that causes the appropriate result without the requirement for specific supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's not being watched method produced reasoning outputs that could be hard to check out or even mix 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 improve the quality of the thinking. This human post-processing was then used to fine-tune the initial DeepSeek V3 model further-combining both reasoning-oriented support knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces understandable, coherent, and trusted thinking while still maintaining the performance and wakewiki.de cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting aspect of R1 (zero) is how it established reasoning abilities without specific guidance of the thinking process. It can be even more improved by utilizing cold-start information and supervised reinforcement learning to produce readable thinking on basic tasks. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, allowing scientists and developers to inspect and build on its developments. Its cost performance is a significant selling point especially when compared to closed-source models (claimed 90% less expensive than OpenAI) that need huge compute spending plans.

Novel Training Approach:

Instead of relying solely on annotated thinking (which is both pricey and time-consuming), the model was trained using an outcome-based technique. It began with quickly verifiable jobs, such as math issues and coding workouts, where the correctness of the final response could be easily determined.

By using group relative policy optimization, wiki.eqoarevival.com the training procedure compares numerous generated answers to figure out which ones fulfill the desired output. This relative scoring system allows the design to discover "how to think" even when intermediate reasoning is produced in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" simple issues. For instance, when asked "What is 1 +1?" it might spend almost 17 seconds evaluating various scenarios-even thinking about binary representations-before concluding with the right response. This self-questioning and verification procedure, although it might appear ineffective at very first glimpse, could show advantageous in complex tasks where deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot prompting methods, which have actually worked well for lots of chat-based models, can actually deteriorate efficiency with R1. The developers recommend utilizing direct issue declarations with a zero-shot method that defines the output format plainly. This makes sure that the model isn't led astray by extraneous examples or hints that might disrupt its internal reasoning procedure.

Getting Going with R1

For those aiming to experiment:

Smaller versions (7B-8B) can operate on consumer GPUs and even only CPUs


Larger variations (600B) need substantial compute resources


Available through major cloud providers


Can be released locally via Ollama or vLLM


Looking Ahead

We're especially fascinated by several implications:

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


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


Possibilities for combining with other guidance methods


Implications for business AI release


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

Open Questions

How will this impact the development of future reasoning designs?


Can this approach be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be watching these developments carefully, particularly as the community starts to try out and build upon these strategies.

Resources

Join our Slack community for ongoing conversations and updates about DeepSeek and other AI advancements. We're seeing remarkable applications currently emerging from our bootcamp participants dealing 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 design deserves more attention - DeepSeek or Qwen2.5 Max?

A: While Qwen2.5 is also a strong design in the open-source neighborhood, the choice eventually depends upon your use case. DeepSeek R1 stresses advanced reasoning and a novel training technique that may be specifically valuable in tasks where verifiable logic is important.

Q2: Why did significant suppliers like OpenAI go with monitored fine-tuning rather than reinforcement learning (RL) like DeepSeek?

A: We ought to note upfront that they do utilize RL at the very least in the kind of RLHF. It is most likely that designs from significant service providers that have thinking abilities already utilize something comparable to what DeepSeek has actually done here, however we can't make certain. It is also most likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the prepared availability of big annotated datasets. Reinforcement knowing, yewiki.org although powerful, can be less foreseeable and more difficult to manage. DeepSeek's technique innovates by using RL in a reasoning-oriented manner, enabling the design to find out effective internal reasoning with only very little process annotation - a technique that has proven promising despite its intricacy.

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

A: DeepSeek R1's design stresses performance by leveraging methods such as the mixture-of-experts technique, which activates only a subset of criteria, to minimize calculate throughout reasoning. This concentrate on efficiency is main to its cost benefits.

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

A: R1-Zero is the preliminary design that discovers thinking solely through reinforcement learning without explicit procedure guidance. It generates intermediate reasoning steps that, while sometimes raw or mixed in language, act 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 offers the without supervision "stimulate," and R1 is the refined, more meaningful version.

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

A: Remaining current includes a combination of actively engaging with the research study community (like AISC - see link to join slack above), following preprint servers like arXiv, going to relevant conferences and webinars, and taking part in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research tasks likewise plays an essential function in staying up to date with technical advancements.

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

A: The short response is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust thinking capabilities and its efficiency. It is particularly well fit for jobs that need verifiable logic-such as mathematical problem solving, code generation, and structured decision-making-where intermediate thinking can be evaluated and confirmed. Its open-source nature further permits tailored applications in research study and enterprise settings.

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

A: setiathome.berkeley.edu The open-source and affordable design of DeepSeek R1 lowers the entry barrier for deploying advanced language models. Enterprises and start-ups can leverage its advanced reasoning for agentic applications ranging from automated code generation and customer assistance to information analysis. Its versatile deployment options-on consumer hardware for smaller models or cloud platforms for larger ones-make it an appealing alternative to exclusive options.

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

A: While DeepSeek R1 has actually been observed to "overthink" simple problems by exploring multiple thinking courses, it includes stopping requirements and evaluation systems to prevent boundless loops. The support finding out structure encourages merging toward a verifiable output, even in uncertain cases.

Q9: Is DeepSeek V3 entirely open source, and is it based upon the Qwen architecture?

A: Yes, DeepSeek V3 is open source and served 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 upon the Qwen architecture. Its style emphasizes effectiveness and expense decrease, setting the stage for the reasoning innovations seen in R1.

Q10: How does DeepSeek R1 carry out on vision tasks?

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

Q11: Can specialists in specialized fields (for instance, labs working on remedies) apply these approaches to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and effective architecture-can be adjusted to different domains. Researchers in fields like biomedical sciences can tailor these methods to construct models that resolve their specific obstacles while gaining from lower calculate costs and robust reasoning abilities. It is most likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get reliable outcomes.

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

A: The discussion indicated that the annotators mainly focused on domains where accuracy is easily verifiable-such as math and coding. This suggests that knowledge in technical fields was certainly leveraged to guarantee the precision and clarity of the .

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

A: While the design is created to optimize for right answers through support learning, there is constantly a risk of errors-especially in uncertain scenarios. However, by examining several candidate outputs and strengthening those that result in verifiable results, the training process decreases the likelihood of propagating inaccurate thinking.

Q14: How are hallucinations lessened in the design provided its iterative reasoning loops?

A: The usage of rule-based, verifiable jobs (such as math and coding) helps anchor the design's reasoning. By comparing several outputs and using group relative policy optimization to enhance only those that yield the correct result, the design is guided away from generating unproven or hallucinated details.

Q15: Does the design depend 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 using these techniques to allow effective reasoning instead of showcasing mathematical intricacy for its own sake.

Q16: Some stress that the design's "thinking" might not be as fine-tuned as human thinking. Is that a legitimate concern?

A: Early iterations like R1-Zero did produce raw and often hard-to-read thinking. However, the subsequent refinement process-where human specialists curated and improved the thinking data-has considerably boosted the clarity and dependability of DeepSeek R1's internal idea process. While it remains a developing system, iterative training and feedback have actually resulted in significant improvements.

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

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

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

A: DeepSeek R1 is offered with open weights, suggesting that its model criteria are publicly available. This lines up with the total open-source philosophy, allowing scientists and designers to more check out and construct upon its innovations.

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

A: The current method enables the design to initially check out and generate its own thinking patterns through without supervision RL, and after that fine-tune these patterns with monitored approaches. Reversing the order might constrain the design's capability to find diverse thinking paths, potentially restricting its overall efficiency in tasks that gain from self-governing idea.

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

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