SuperAPI AI Directory

DeepSeek R1-Zero - An open-source reasoning model released by DeepSeek, trained based on pure reinforcement learning

Author: AI小集 · Original source: AI工具集

What is DeepSeek R1-Zero

DeepSeek R1-Zero is a reasoning model developed by the DeepSeek team that relies entirely on pure reinforcement learning (RL) training, without using any supervised fine-tuning (SFT) data. It performs excellently on reasoning tasks; in the AIME 2024 mathematics competition, its pass@1 score increased from 15.6% to 71.0%, approaching the level of OpenAI-o1-0912. During training, the model demonstrated self-evolution capabilities, such as reflecting on and re-evaluating problem-solving methods.

DeepSeek R1-Zero

Main features of DeepSeek R1-Zero

  • Powerful reasoning ability: Through large-scale reinforcement learning,DeepSeek R1-Zero performs excellently in tasks such as mathematics, code, and natural language reasoning. In the AIME 2024 mathematics competition, the Pass@1 score increased from an initial 15.6% to 71.0%, approaching the level of OpenAI-o1-0912.
  • Driven by pure reinforcement learning: The model is the first reasoning model trained entirely through reinforcement learning, proving that efficient reasoning ability can be achieved without supervised fine-tuning data.
  • Self-evolution ability: During training, the model exhibits complex behaviors such as reflection and re-evaluating reasoning steps, which emerge naturally through reinforcement learning.
  • Open source and community support: The model weights of DeepSeek R1-Zero have been open-sourced under the MIT License, supporting users in training other models through distillation techniques.
  • Distillation techniques: Multiple small models distilled based on DeepSeek R1-Zero (such as 7B, 32B, 70B) perform excellently in reasoning tasks, with performance approaching or even exceeding some closed-source models.
  • Multilingual support and optimization: Although the model performs excellently in multilingual tasks, there is a language mixing issue. By introducing a language consistency reward, this issue can be effectively improved.
  • Efficient training and application: The training method of DeepSeek R1-Zero provides new ideas for the future development of reasoning models, and its open-source strategy also provides strong support for the research community.

Technical principles of DeepSeek R1-Zero

  • Pure reinforcement learning training: DeepSeek R1-Zero starts from a base model (such as DeepSeek-V3-Base) and directly improves reasoning ability through large-scale reinforcement learning, skipping the traditional supervised fine-tuning step. It supports the model in learning complex reasoning strategies through trial and error without labeled data.
  • GRPO algorithm: The model adopts the GRPO (Group Relative Policy Optimization) algorithm, optimizing the policy through group-normalized reward signals. GRPO samples a group of outputs (for example, 16) and calculates the mean and standard deviation of rewards within the group to generate an advantage function, avoiding the high cost of additionally training a value model in traditional PPO (Proximal Policy Optimization).
  • Reward mechanism design: The model drives exploration through sparse rewards (for example, giving rewards only when the answer is correct), while supporting long contexts (such as 32k tokens), enabling the model to perform multi-step reasoning and verification. This allows the model to autonomously explore effective reasoning paths.
  • Self-evolution and emergent behavior: During training, the model exhibits self-evolution capabilities, such as reflection and re-evaluating reasoning steps and other complex behaviors. These behaviors are not preset but emerge naturally through reinforcement learning.
  • Long context support: DeepSeek R1-Zero supports generating extremely long chains of thought (CoT), with an average length of up to 1200 words. This provides sufficient space for complex reasoning, enabling the model to perform multi-step backtracking and verification.
  • Multi-task generalization: The model also demonstrated strong generalization capabilities in multi-task settings such as code generation and knowledge question answering. This generalization capability benefits from the flexibility of reinforcement learning and the model's autonomous learning mechanism.

DeepSeek R1-Zero's project address

Application scenarios of DeepSeek R1-Zero

  • Education: DeepSeek R1-Zero can be used for the formulation of personalized learning plans and intelligent tutoring systems. It can provide targeted exercises and feedback based on students' learning progress and interests, helping students better master knowledge.
  • Healthcare: In the healthcare field, DeepSeek R1-Zero can be used for auxiliary diagnosis and drug development. It can analyze large amounts of medical data, identify lesion characteristics, and provide support for the early screening of diseases such as cancer.
  • Autonomous driving: DeepSeek R1-Zero has potential in the field of autonomous driving. It can make rapid decisions based on traffic conditions and emergencies, optimize driving routes, and improve driving safety.
  • Code generation and optimization: In the programming field, DeepSeek R1-Zero can be used for code generation and optimization. It performs excellently in programming competition tasks such as Codeforces and can generate high-quality code solutions.
  • Natural language processing: DeepSeek R1-Zero performs excellently in natural language reasoning tasks and can handle complex language logic problems, making it suitable for scenarios such as question answering systems and text analysis.