Skip to content

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

已关闭
未关闭
在 2月 07, 2025 由 Ian Law@ianlaw98761215
  • 违规举报
  • 新建问题
举报违规 新建问题

Understanding DeepSeek R1


We have actually 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 household - from the early models through DeepSeek V3 to the advancement R1. We likewise explored the technical developments that make R1 so special worldwide of open-source AI.

The DeepSeek Family Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a family of increasingly advanced AI systems. The advancement 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 inference, dramatically enhancing the processing time for each token. It likewise included multi-head latent attention to lower memory footprint.

DeepSeek V3:

This design presented FP8 training strategies, which helped drive down training costs by over 42.5% compared to previous versions. FP8 is a less precise method to save weights inside the LLMs however can significantly the memory footprint. However, training utilizing FP8 can typically be unsteady, and it is hard to obtain the preferred training results. Nevertheless, DeepSeek uses multiple techniques and attains incredibly stable FP8 training. V3 set the stage as a highly effective model that was already cost-effective (with claims of being 90% less expensive than some closed-source options).

DeepSeek R1-Zero:

With V3 as the base, the team then presented R1-Zero, the first reasoning-focused model. Here, the focus was on teaching the design not just to produce responses but to "think" before responding to. Using pure reinforcement learning, the design was motivated to create intermediate reasoning actions, for example, taking extra time (typically 17+ seconds) to work through a simple problem like "1 +1."

The crucial innovation here was using group relative policy optimization (GROP). Instead of counting on a conventional procedure benefit design (which would have needed annotating every action of the thinking), GROP compares numerous outputs from the model. By tasting several potential answers and demo.qkseo.in scoring them (utilizing rule-based measures like exact match for math or confirming code outputs), the system finds out to favor reasoning that results in the proper result without the need for explicit supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's not being watched approach produced reasoning outputs that could be tough to check out and even mix languages, wiki.whenparked.com the developers went back to the drawing board. They utilized the raw outputs from R1-Zero to produce "cold start" information and after that manually curated these examples to filter and enhance the quality of the reasoning. This human post-processing was then used to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented reinforcement learning and supervised fine-tuning. The result is DeepSeek R1: a model that now produces readable, coherent, and trustworthy reasoning while still maintaining the efficiency and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

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

Open Source & Efficiency:

R1 is open source, permitting researchers and wiki-tb-service.com designers to inspect and build upon its developments. Its cost effectiveness is a major selling point especially when compared to closed-source designs (claimed 90% less expensive than OpenAI) that need huge calculate budgets.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both expensive and lengthy), the model was trained using an outcome-based technique. It began with easily proven jobs, such as math issues and coding exercises, where the accuracy of the final response could be quickly measured.

By utilizing group relative policy optimization, the training procedure compares multiple created responses to identify which ones fulfill the desired output. This relative scoring mechanism enables the design to learn "how to think" even when intermediate reasoning is created in a freestyle manner.

Overthinking?

An intriguing observation is that DeepSeek R1 sometimes "overthinks" easy issues. For instance, when asked "What is 1 +1?" it might invest almost 17 seconds assessing various scenarios-even considering binary representations-before concluding with the proper response. This self-questioning and verification process, although it might seem ineffective in the beginning glimpse, might prove advantageous in intricate tasks where deeper reasoning is essential.

Prompt Engineering:

Traditional few-shot triggering strategies, which have actually worked well for many chat-based models, can actually degrade efficiency with R1. The developers advise using direct issue declarations with a zero-shot technique that specifies the output format plainly. This guarantees that the model isn't led astray by extraneous examples or hints that might hinder its internal reasoning process.

Getting Going with R1

For those aiming to experiment:

Smaller variations (7B-8B) can run on consumer GPUs or even only CPUs


Larger versions (600B) require considerable calculate resources


Available through major cloud suppliers


Can be released in your area via Ollama or vLLM


Looking Ahead

We're especially interested by numerous ramifications:

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


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


Possibilities for integrating with other supervision methods


Implications for business AI implementation


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

Open Questions

How will this affect the advancement of future reasoning models?


Can this approach be encompassed less verifiable domains?


What are the implications for multi-modal AI systems?


We'll be viewing these developments carefully, particularly as the community begins to try out and build on these techniques.

Resources

Join our Slack neighborhood for continuous conversations and updates about DeepSeek and other AI developments. We're seeing fascinating applications currently emerging from our bootcamp individuals 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 design is worthy of more attention - DeepSeek or forum.batman.gainedge.org Qwen2.5 Max?

A: While Qwen2.5 is also a strong model in the open-source neighborhood, the option eventually depends upon your usage case. DeepSeek R1 stresses sophisticated thinking and an unique training method that may be particularly important in jobs where verifiable reasoning is crucial.

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

A: We should keep in mind upfront that they do utilize RL at the minimum in the form of RLHF. It is highly likely that models from significant companies that have thinking abilities already utilize 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 preferred monitored fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement learning, although effective, can be less predictable and more difficult to manage. DeepSeek's method innovates by applying RL in a reasoning-oriented manner, making it possible for the model to find out effective internal reasoning with only minimal procedure annotation - a technique that has actually proven promising regardless of its intricacy.

Q3: Did DeepSeek use test-time compute techniques similar to those of OpenAI?

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

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

A: R1-Zero is the preliminary model that finds out reasoning exclusively through support knowing without specific process supervision. It creates intermediate reasoning steps that, while sometimes raw or mixed in language, work as the structure for learning. DeepSeek R1, on the other hand, refines these outputs through human post-processing and supervised fine-tuning. In essence, R1-Zero offers the not being watched "trigger," and R1 is the refined, more coherent version.

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

A: Remaining present includes a mix of actively engaging with the research study community (like AISC - see link to join slack above), following preprint servers like arXiv, attending relevant conferences and webinars, and participating in discussion groups and newsletters. Continuous engagement with online neighborhoods and collaborative research jobs also plays a key function in staying up to date with technical developments.

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

A: The brief response is that it's prematurely to tell. DeepSeek R1's strength, however, depends on its robust thinking abilities and its effectiveness. It is particularly well fit for jobs that need verifiable logic-such as mathematical issue resolving, code generation, and structured decision-making-where intermediate reasoning can be examined and confirmed. Its open-source nature further permits for tailored applications in research and enterprise settings.

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

A: The open-source and cost-effective style of DeepSeek R1 reduces the entry barrier for deploying innovative language designs. Enterprises and start-ups can utilize its sophisticated reasoning for agentic applications varying from automated code generation and higgledy-piggledy.xyz consumer assistance to data analysis. Its versatile release options-on consumer hardware for smaller models or cloud platforms for bigger ones-make it an appealing option to proprietary options.

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

A: While DeepSeek R1 has been observed to "overthink" basic problems by checking out multiple reasoning courses, it incorporates stopping requirements and evaluation systems to avoid boundless loops. The reinforcement finding out framework encourages merging towards a verifiable 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 functioned as the structure for later models. 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 performance and disgaeawiki.info expense reduction, setting the phase for the reasoning innovations seen in R1.

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

A: DeepSeek R1 is a text-based model and does not integrate vision capabilities. Its style and training focus entirely on language processing and thinking.

Q11: Can professionals in specialized fields (for example, laboratories working on remedies) use these approaches to train domain-specific models?

A: Yes. The innovations behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to various domains. Researchers in fields like biomedical sciences can tailor these methods to construct models that address their specific challenges while gaining from lower calculate expenses and robust reasoning abilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for supervised fine-tuning to get reputable results.

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

A: The conversation suggested that the annotators mainly focused on domains where correctness is quickly 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 model is developed to optimize for right responses by means of reinforcement knowing, there is constantly a risk of errors-especially in uncertain situations. However, by evaluating several prospect outputs and strengthening those that lead to verifiable outcomes, the training process decreases the likelihood of propagating incorrect reasoning.

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

A: Using rule-based, proven jobs (such as math and coding) assists anchor the design's reasoning. By comparing multiple outputs and using group relative policy optimization to strengthen only those that yield the correct outcome, the design is guided away from generating unproven or hallucinated details.

Q15: Does the model depend on complex vector mathematics?

A: Yes, advanced techniques-including complex vector math-are essential to the application of mixture-of-experts and attention mechanisms in DeepSeek R1. However, the main focus is on utilizing these techniques to enable efficient reasoning rather than showcasing mathematical intricacy for its own sake.

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

A: Early models like R1-Zero did produce raw and in some cases hard-to-read thinking. However, the subsequent refinement process-where human experts curated and enhanced the reasoning data-has substantially boosted the clarity and reliability of DeepSeek R1's internal idea process. While it remains an evolving system, iterative training and feedback have actually resulted in meaningful enhancements.

Q17: Which design variants are appropriate for local implementation on a laptop computer with 32GB of RAM?

A: For regional screening, a medium-sized model-typically in the series of 7B to 8B parameters-is suggested. Larger designs (for instance, those with numerous billions of parameters) need significantly more computational resources and are better suited for cloud-based release.

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

A: DeepSeek R1 is supplied with open weights, implying that its design criteria are publicly available. This lines up with the overall open-source viewpoint, allowing researchers and designers to more check out and develop upon 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 current method enables the model to first explore and generate its own thinking patterns through unsupervised RL, and then fine-tune these patterns with monitored approaches. Reversing the order might constrain the model's ability to discover varied reasoning paths, potentially restricting its general performance in tasks that gain from autonomous thought.

Thanks for reading Deep Random Thoughts! Subscribe totally free to receive brand-new posts and support my work.

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