Inference scaling empowers LLMs with unprecedented reasoning ability, with reinforcement learning as the core technique to elicit complex reasoning. However, key technical details of state-of-the-art reasoning LLMs are concealed (such as in OpenAI o1 blog and DeepSeek R1 technical report), thus the community still struggles to reproduce their RL training results. We propose the $\textbf{D}$ecoupled Clip and $\textbf{D}$ynamic s$\textbf{A}$mpling $\textbf{P}$olicy $\textbf{O}$ptimization ($\textbf{DAPO}$) algorithm, and fully open-source a state-of-the-art large-scale RL system that achieves 50 points on AIME 2024 using Qwen2.5-32B base model. Unlike previous works that withhold training details, we introduce four key techniques of our algorithm that make large-scale LLM RL a success. In addition, we open-source our training code, which is built on the verl framework, along with a carefully curated and processed dataset. These components of our open-source system enhance reproducibility and support future research in large-scale LLM RL.
核心贡献 · Key contributions
提出 DAPO 算法,包含四项关键技术,用于大规模 LLM 强化学习。 Proposes DAPO algorithm with four key techniques for large-scale LLM RL.
使用 Qwen2.5-32B 在 AIME 2024 上达到 50 分,超越 DeepSeek-R1-Zero-Qwen-32B。 Achieves 50 points on AIME 2024 using Qwen2.5-32B, surpassing DeepSeek-R1-Zero-Qwen-32B.
开源训练代码、数据集和算法细节,提升可复现性。 Open-sources training code, dataset, and algorithm details for reproducibility.
引入 Clip-Higher 策略,防止熵崩溃并促进探索。 Introduces Clip-Higher to prevent entropy collapse and promote exploration.
提出动态采样,过滤零梯度提示,提高训练效率。 Proposes Dynamic Sampling to filter zero-gradient prompts and improve efficiency.
实现词元级策略梯度损失和过长奖励塑造,提升训练稳定性。 Implements Token-Level Policy Gradient Loss and Overlong Reward Shaping for stability.
局限 · Limitations
评估仅限于数学任务,未验证对其他领域的泛化能力。 Evaluation limited to mathematical tasks; generalization to other domains not verified.
大规模强化学习训练需要大量算力资源。 Requires significant computational resources for large-scale RL training.
过长奖励塑造仍可能对截断响应引入偏差。 Overlong reward shaping may still introduce bias for truncated responses.