Skip to content

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

已关闭
未关闭
在 2月 21, 2025 由 Alphonso Gartrell@alphonsogartre
  • 违规举报
  • 新建问题
举报违规 新建问题

Understanding DeepSeek R1


We have actually been tracking the explosive increase of DeepSeek R1, which has taken the AI world by storm in current 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 likewise checked out the technical innovations that make R1 so unique on the planet of open-source AI.

The DeepSeek Ancestral Tree: From V3 to R1

DeepSeek isn't simply a single model; it's a family of increasingly advanced AI systems. The development goes something like this:

DeepSeek V2:

This was the foundation design which leveraged a mixture-of-experts architecture, where just a subset of experts are used at reasoning, drastically enhancing the processing time for each token. It also featured multi-head hidden attention to lower memory footprint.

DeepSeek V3:

This design introduced FP8 training techniques, disgaeawiki.info which assisted drive down training costs by over 42.5% compared to previous versions. FP8 is a less accurate way to keep weights inside the LLMs however can greatly enhance the memory footprint. However, training utilizing FP8 can usually be unsteady, and it is difficult to obtain the desired training results. Nevertheless, DeepSeek utilizes numerous tricks and attains extremely stable FP8 training. V3 set the stage as a highly efficient model that was already 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 just to generate responses however to "think" before responding to. Using pure reinforcement learning, the design was encouraged to create intermediate reasoning actions, for instance, taking extra time (often 17+ seconds) to work through an easy problem like "1 +1."

The key development here was the use of group relative policy optimization (GROP). Instead of depending on a standard process benefit model (which would have required annotating every step of the thinking), GROP compares multiple outputs from the model. By sampling a number of potential responses and scoring them (using rule-based procedures 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 specific supervision of every intermediate thought.

DeepSeek R1:

Recognizing that R1-Zero's without supervision approach produced reasoning outputs that might be tough to check out or perhaps blend languages, the developers returned to the drawing board. They used the raw outputs from R1-Zero to generate "cold start" information and after that by hand curated these examples to filter and enhance the quality of the thinking. This human post-processing was then utilized to tweak the initial DeepSeek V3 design further-combining both reasoning-oriented support learning and monitored fine-tuning. The outcome is DeepSeek R1: a design that now produces readable, meaningful, and trusted thinking while still maintaining the performance and cost-effectiveness of its predecessors.

What Makes R1 Series Special?

The most fascinating aspect of R1 (absolutely no) is how it established thinking abilities without explicit guidance of the reasoning process. It can be even more enhanced by utilizing cold-start information and supervised support finding out to produce readable thinking on general tasks. 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 expense efficiency is a major selling point particularly when compared to closed-source models (claimed 90% cheaper than OpenAI) that require huge calculate budget plans.

Novel Training Approach:

Instead of relying solely on annotated reasoning (which is both costly and time-consuming), the model was trained using an outcome-based method. It started with easily verifiable jobs, such as mathematics issues and coding exercises, where the correctness of the last answer could be easily measured.

By utilizing group relative policy optimization, the training process compares several created responses to figure out which ones meet the preferred output. This relative scoring system allows the model to find out "how to think" even when intermediate reasoning is generated in a freestyle way.

Overthinking?

An interesting observation is that DeepSeek R1 often "overthinks" easy issues. For instance, when asked "What is 1 +1?" it might spend nearly 17 seconds assessing different scenarios-even considering binary representations-before concluding with the appropriate answer. This self-questioning and confirmation process, although it may appear ineffective in the beginning glance, might prove helpful in intricate tasks where much deeper reasoning is needed.

Prompt Engineering:

Traditional few-shot triggering methods, which have worked well for lots of chat-based designs, can actually break down efficiency with R1. The developers advise utilizing direct problem declarations with a zero-shot approach that defines the output format plainly. This ensures that the model isn't led astray by extraneous examples or tips that might interfere with its internal thinking process.

Beginning with R1

For those aiming to experiment:

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


Larger versions (600B) require substantial calculate resources


Available through significant cloud companies


Can be deployed in your area through Ollama or vLLM


Looking Ahead

We're particularly captivated by numerous ramifications:

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


Effect on agent-based AI systems traditionally built on chat models


Possibilities for integrating with other supervision techniques


Implications for enterprise AI deployment


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

Open Questions

How will this impact the development of future reasoning models?


Can this technique be encompassed less proven domains?


What are the implications for multi-modal AI systems?


We'll be viewing these developments carefully, especially as the community starts to try out and develop upon these techniques.

Resources

Join our Slack community for continuous discussions and updates about DeepSeek and other AI developments. We're seeing interesting applications currently emerging from our bootcamp individuals 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 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 design in the open-source neighborhood, the choice eventually depends on your usage case. DeepSeek R1 emphasizes sophisticated thinking and a novel training method that might be particularly valuable in jobs where verifiable logic is crucial.

Q2: Why did significant suppliers like OpenAI select supervised fine-tuning rather than support knowing (RL) like ?

A: We must keep in mind in advance that they do use RL at the minimum in the kind of RLHF. It is extremely likely that models from significant suppliers that have reasoning capabilities already use something comparable to what DeepSeek has done here, but we can't make certain. It is likewise most likely that due to access to more resources, they favored supervised fine-tuning due to its stability and the ready availability of big annotated datasets. Reinforcement knowing, although powerful, can be less predictable and more difficult to control. DeepSeek's approach innovates by using RL in a reasoning-oriented manner, enabling the model to find out reliable internal thinking with only very little process annotation - a method that has proven promising regardless of its intricacy.

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

A: DeepSeek R1's design highlights effectiveness by leveraging techniques such as the mixture-of-experts approach, which triggers just a subset of specifications, to decrease calculate during reasoning. This focus on effectiveness is main to its expense advantages.

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

A: R1-Zero is the initial model that discovers thinking solely through reinforcement learning without specific process guidance. It produces intermediate reasoning actions that, while in some cases raw or blended 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 unsupervised "spark," and R1 is the polished, more coherent version.

Q5: How can one remain upgraded with in-depth, technical research study while managing a busy schedule?

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

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

A: The short answer is that it's prematurely to tell. DeepSeek R1's strength, however, lies in its robust reasoning capabilities and its efficiency. It is particularly well fit for tasks that require verifiable logic-such as mathematical problem resolving, code generation, and structured decision-making-where intermediate thinking can be evaluated and verified. Its open-source nature even more allows for tailored applications in research and business settings.

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

A: The open-source and affordable style of DeepSeek R1 reduces the entry barrier for deploying sophisticated language models. Enterprises and start-ups can take advantage of its innovative reasoning for agentic applications ranging from automated code generation and customer support to information analysis. Its versatile release options-on consumer hardware for smaller sized designs or cloud platforms for bigger ones-make it an attractive option to proprietary solutions.

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

A: While DeepSeek R1 has actually been observed to "overthink" basic issues by checking out multiple thinking courses, it integrates stopping criteria and assessment systems to avoid infinite loops. The reinforcement finding out structure motivates merging towards a proven output, even in uncertain cases.

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

A: Yes, DeepSeek V3 is open source and functioned as the structure for later versions. It is constructed on its own set of innovations-including the mixture-of-experts approach and FP8 training-and is not based upon the Qwen architecture. Its design stresses performance and expense decrease, setting the phase for the reasoning 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 include vision abilities. Its design and training focus entirely on language processing and thinking.

Q11: Can experts in specialized fields (for instance, labs dealing with treatments) apply these techniques to train domain-specific models?

A: Yes. The developments behind DeepSeek R1-such as its outcome-based reasoning training and efficient architecture-can be adapted to different domains. Researchers in fields like biomedical sciences can tailor these approaches to build models that resolve their specific challenges while gaining from lower compute costs and robust reasoning abilities. It is likely that in deeply specialized fields, nevertheless, there will still be a requirement for monitored fine-tuning to get reliable results.

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

A: The conversation suggested that the annotators mainly focused on domains where accuracy is easily verifiable-such as mathematics and coding. This suggests that competence in technical fields was certainly leveraged to make sure the precision and clearness of the thinking data.

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

A: While the design is developed to enhance for right answers through reinforcement learning, there is constantly a danger of errors-especially in uncertain circumstances. However, by assessing numerous prospect outputs and strengthening those that result in proven results, the training process reduces the possibility of propagating incorrect reasoning.

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

A: Using rule-based, proven tasks (such as math and coding) assists anchor the model's reasoning. By comparing several outputs and utilizing group relative policy optimization to enhance only those that yield the proper result, the model is assisted far from creating unfounded or hallucinated details.

Q15: Does the model rely on complex vector mathematics?

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

Q16: Some stress that the model's "thinking" might not be as refined as human thinking. Is that a legitimate 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 improved the reasoning data-has considerably boosted the clearness and dependability of DeepSeek R1's internal idea process. While it remains a developing system, iterative training and feedback have led to significant enhancements.

Q17: Which design variations are suitable for regional release on a laptop with 32GB of RAM?

A: For regional testing, a medium-sized model-typically in the variety of 7B to 8B parameters-is suggested. Larger designs (for example, those with hundreds of billions of parameters) require substantially more computational resources and are much better matched for cloud-based deployment.

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

A: DeepSeek R1 is provided with open weights, meaning that its model specifications are publicly available. This lines up with the total open-source philosophy, allowing scientists and developers to additional check out and build on its developments.

Q19: pediascape.science What would occur if the order of training were reversed-starting with supervised fine-tuning before unsupervised reinforcement knowing?

A: The current approach permits the design to initially check out and hb9lc.org create its own reasoning patterns through without supervision RL, and then fine-tune these patterns with monitored methods. Reversing the order might constrain the model's ability to discover diverse reasoning paths, potentially limiting its general performance in jobs that gain from autonomous thought.

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

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