Skip to content

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

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

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has actually 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 advancement R1. We likewise checked out the technical developments that make R1 so unique worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't just a single model; it's a household of significantly sophisticated AI systems. The evolution goes something like this:

DeepSeek V2:

This was the structure design which leveraged a mixture-of-experts architecture, where just a subset of professionals are utilized at reasoning, drastically improving the processing time for each token. It also included multi-head latent attention to lower memory footprint.

DeepSeek V3:

This model introduced FP8 training methods, which assisted drive down training expenses by over 42.5% compared to previous versions. FP8 is a less exact way to keep weights inside the LLMs but can greatly improve the memory footprint. However, training using FP8 can typically be unstable, and it is difficult to obtain the preferred training outcomes. Nevertheless, DeepSeek uses multiple tricks and attains extremely stable FP8 training. V3 set the phase as an extremely efficient model that was currently economical (with claims of being 90% more affordable than some closed-source alternatives).

DeepSeek R1-Zero:

With V3 as the base, the group then presented R1-Zero, the very first reasoning-focused iteration. Here, the focus was on teaching the model not simply to produce answers but to "believe" before answering. Using pure reinforcement learning, the model was motivated to generate intermediate reasoning actions, for example, taking additional time (typically 17+ seconds) to overcome a simple problem like "1 +1."

The key innovation here was the use of group relative policy optimization (GROP). Instead of counting on a conventional process reward design (which would have required annotating every step of the reasoning), GROP compares numerous outputs from the design. By tasting several possible answers and scoring them (using rule-based measures like specific match for mathematics or verifying code outputs), the system learns to prefer thinking that leads to the right result without the need for explicit supervision of every intermediate idea.

DeepSeek R1:

Recognizing that R1-Zero's without supervision method produced thinking outputs that might be hard to check out and even mix languages, the designers went back to the drawing board. They used the raw outputs from R1-Zero to create "cold start" data and after that by hand curated these examples to filter and improve the quality of the thinking. This human post-processing was then utilized to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement knowing and monitored fine-tuning. The outcome is DeepSeek R1: a model that now produces legible, meaningful, and trustworthy reasoning while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most interesting element of R1 (zero) is how it developed thinking abilities without specific guidance of the reasoning procedure. It can be even more enhanced by utilizing cold-start data and monitored reinforcement finding out to produce legible thinking on basic jobs. Here's what sets it apart:

Open Source & Efficiency:

R1 is open source, permitting researchers and designers to examine and pipewiki.org build on its developments. Its cost efficiency is a major selling point especially when compared to closed-source designs (claimed 90% cheaper than OpenAI) that need huge compute spending plans.

Novel Training Approach:

Instead of relying exclusively on annotated thinking (which is both expensive and time-consuming), the design was trained using an outcome-based method. It started with quickly verifiable tasks, such as math issues and coding workouts, where the accuracy of the final answer could be easily measured.

By utilizing group relative policy optimization, the training process compares numerous created answers to determine which ones meet the desired output. This relative scoring system permits the model to find out "how to think" even when intermediate thinking is created in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 in some cases "overthinks" simple issues. For forum.altaycoins.com example, when asked "What is 1 +1?" it might invest almost 17 seconds evaluating different scenarios-even considering binary representations-before concluding with the proper answer. This self-questioning and confirmation procedure, although it might seem inefficient in the beginning glimpse, could prove advantageous in complicated tasks where deeper reasoning is required.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for lots of chat-based designs, can really break down performance with R1. The designers recommend utilizing direct problem declarations with a zero-shot method that specifies the output format plainly. This ensures that the model isn't led astray by extraneous examples or hints that might disrupt its internal thinking procedure.

Getting Started with R1

For those aiming to experiment:

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


Larger variations (600B) need considerable compute resources


Available through major cloud suppliers


Can be deployed locally via Ollama or vLLM


Looking Ahead

We're especially captivated by several ramifications:

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


Influence on agent-based AI systems typically constructed on chat models


Possibilities for combining with other guidance techniques


Implications for business AI deployment


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 development of future thinking models?


Can this approach be reached less proven domains?


What are the ramifications for multi-modal AI ?


We'll be watching these advancements closely, especially as the community begins to try out and build on these methods.

Resources

Join our Slack neighborhood for continuous discussions and updates about DeepSeek and other AI developments. 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 brief 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 design in the open-source neighborhood, the choice eventually depends upon your use case. DeepSeek R1 stresses advanced thinking and an unique training technique that might be specifically valuable in tasks where verifiable reasoning is important.

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

A: We ought to note upfront that they do utilize RL at least in the form of RLHF. It is likely that designs from significant suppliers that have reasoning abilities already use something comparable to what DeepSeek has done here, but we can't make certain. It is likewise likely that due to access to more resources, they favored monitored fine-tuning due to its stability and the all set availability of large annotated datasets. Reinforcement learning, although effective, can be less foreseeable and harder to manage. DeepSeek's approach innovates by applying RL in a reasoning-oriented manner, making it possible for the model to find out efficient internal reasoning with only minimal process annotation - a technique that has actually shown promising in spite of its intricacy.

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

A: DeepSeek R1's style stresses effectiveness by leveraging strategies such as the mixture-of-experts approach, which triggers just a subset of parameters, to reduce compute throughout inference. This focus on effectiveness is main to its cost advantages.

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

A: R1-Zero is the initial model that finds out reasoning entirely through support knowing without specific process guidance. It creates intermediate reasoning actions that, while sometimes raw or combined in language, work as the structure for knowing. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero supplies the not being watched "stimulate," and R1 is the sleek, more coherent version.

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

A: Remaining current involves a combination of actively engaging with the research community (like AISC - see link to join slack above), following preprint servers like arXiv, attending pertinent conferences and webinars, and taking part in conversation groups and newsletters. Continuous engagement with online communities and collaborative research study projects likewise plays a key function in keeping up with technical developments.

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

A: The brief answer is that it's prematurely to inform. DeepSeek R1's strength, however, lies in its robust reasoning capabilities and its efficiency. It is particularly well suited for tasks that need 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 even more enables 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 releasing sophisticated language designs. Enterprises and start-ups can utilize its sophisticated reasoning for agentic applications varying from automated code generation and consumer assistance to data analysis. Its versatile deployment options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing alternative to proprietary options.

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

A: wiki.snooze-hotelsoftware.de While DeepSeek R1 has been observed to "overthink" easy problems by checking out multiple reasoning paths, it incorporates stopping criteria and assessment systems to prevent limitless loops. The support learning structure motivates merging 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 structure for later models. It is built on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based on the Qwen architecture. Its design highlights performance and expense decrease, setting the stage for the thinking developments seen in R1.

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

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

Q11: Can professionals in specialized fields (for example, labs working on remedies) use these methods to train domain-specific designs?

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

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

A: The conversation showed that the annotators mainly concentrated on domains where accuracy is easily verifiable-such as mathematics and coding. This recommends that expertise in technical fields was certainly leveraged to ensure the precision and clearness of the thinking data.

Q13: Could the design get things wrong if it depends on its own outputs for photorum.eclat-mauve.fr learning?

A: While the design is developed to optimize for proper responses through reinforcement learning, there is always a risk of errors-especially in uncertain circumstances. However, by evaluating several candidate outputs and strengthening those that lead to verifiable results, the training process decreases the possibility of propagating inaccurate thinking.

Q14: How are hallucinations reduced in the model provided its iterative thinking loops?

A: Using rule-based, proven tasks (such as math and coding) assists anchor the model's thinking. By comparing numerous outputs and utilizing group relative policy optimization to strengthen only those that yield the right result, the model is directed away from producing unfounded or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are important to the execution of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on using these techniques to allow reliable thinking instead of showcasing mathematical intricacy for its own sake.

Q16: Some fret that the model's "thinking" might not be as fine-tuned as human thinking. Is that a valid concern?

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

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

A: For regional testing, a medium-sized model-typically in the range of 7B to 8B parameters-is advised. Larger designs (for example, those with hundreds of billions of parameters) need substantially more computational resources and are better fit for cloud-based release.

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

A: DeepSeek R1 is offered with open weights, meaning that its model parameters are openly available. This lines up with the total open-source approach, enabling scientists and designers to additional check out and develop upon its innovations.

Q19: What would happen if the order of training were reversed-starting with supervised fine-tuning before unsupervised reinforcement learning?

A: The existing technique enables the model to first check out and create its own reasoning patterns through without supervision RL, and then improve these patterns with supervised approaches. Reversing the order might constrain the design's capability to find diverse reasoning courses, possibly limiting its total performance in jobs that gain from autonomous thought.

Thanks for reading Deep Random Thoughts! Subscribe free of charge to get new posts and support my work.

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