Reproduce “DAPO: An Open-Source LLM Reinforcement Learning System at Scale” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Qiying Yu, Zheng Zhang, Ruofei Zhu, Yufeng Yuan, Xiaochen Zuo, Yu Yue, Weinan Dai, Tiantian Fan and 27 more

Researchers from ByteDance Seed, Tsinghua University, and The University of Hong Kong developed DAPO, an open-source reinforcement learning system for large language models. The system achieved 50 points on the AIME 2024 dataset with a Qwen2.5-32B model, surpassing the prior 47-point score of DeepSeek-R1-Zero-Qwen-32B while requiring 50% fewer training steps.

Key insights

  • The combination of specific algorithmic refinements (Clip-Higher, Dynamic Sampling, Token-level loss, Overlong Reward Shaping) is critical for stable and efficient large-scale LLM RL training, especially for long Chain-of-Thought reasoning.
  • Maintaining a healthy level of policy entropy and ensuring consistent, effective gradients by filtering out zero-gradient samples are crucial for improving performance and accelerating convergence.
  • Reinforcement learning can foster the emergence of new, complex reasoning behaviors in LLMs, such as self-reflection and error correction, which were not explicitly present in the base model.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.