DAPO:一个开源的大规模 LLM 强化学习系统

DAPO: An Open-Source LLM Reinforcement Learning System at Scale

于琪颖 Qiying Yu · ByteDance Seed · 2025-03-18 · arXiv:2503.14476 ↗ · 被引 2144

打开互动全文版(逐段中英对照 + 图/公式 + 论文问答)→

摘要 · Abstract

推理扩展通过强化学习赋予大语言模型前所未有的推理能力,但最先进的推理模型的关键技术细节(如 OpenAI o1 博客和 DeepSeek R1 技术报告)被隐藏,导致社区难以复现其 RL 训练结果。我们提出了解耦裁剪与动态采样策略优化(DAPO)算法,并完全开源了一个最先进的大规模 RL 系统,该系统使用 Qwen2.5-32B 基座模型在 AIME 2024 上达到 50 分。与以往隐藏训练细节的工作不同,我们介绍了使大规模 LLM RL 成功的四项关键技术。此外,我们开源了基于 verl 框架的训练代码,以及精心整理和处理的数据集。这些开源组件增强了可复现性,并支持未来大规模 LLM RL 的研究。

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

局限 · Limitations

论文章节 · Sections(共 19)

阅读逐段中英对照全文 →