Buffer Matters: Unleashing the Power of Off-Policy Reinforcement Learning in Large Language Model Reasoning
Organizations: Zhejiang University · Bytedance Seed Robotics · Peking University · China Southern Power Grid
Abstract
Traditional on-policy Reinforcement Learning with Verifiable Rewards (RLVR) frameworks suffer from experience waste and reward homogeneity, which directly hinders learning efficiency on difficult samples during large language models post-training. In this paper, we introduce Batch Adaptation Policy Optimization (BAPO), an off-policy RLVR framework to improve the data efficiency in large language models post-training. It dynamically selects training batches by re-evaluating historically difficult samples and reusing high-quality ones, while holding a lower bound guarantee for policy improvement. Extensive experiments further demonstrate that BAPO achieves an average 12.5% improvement over GRPO across mathematics, planning, and visual reasoning tasks. Crucially, BAPO successfully resolves 40.7% of problems that base models consistently fail to solve.
Figures & tables
| (a) Mathematics Benchmarks | ||||||||
|---|---|---|---|---|---|---|---|---|
| Method | AIME24 | AMC | MATH500 | Minerva. | Olympiad. | Avg. | Rollouts | Type |
| DeepSeek R1 Distill Qwen 1.5B | 28.80 | 62.90 | 82.80 | 26.50 | 44.42 | 48.90 | - | - |
| +GRPO ( Guo et al., 2025 ) | 30.73 | 67.47 | 85.40 | 28.95 | 45.33 | 51.58 | 677k | on |
| +DAPO ( Yu et al., 2025 ) | 35.73 | 70.08 | 86.05 | 30.70 | 48.48 | 54.20 | 1921k | on |
| +MoPPS ∗ ( Qu et al., 2025 ) | 33.33 | 65.29 | 84.94 | 28.88 | 45.93 | 51.67 | 737k | on |
| +GRPO ( ) ( Mroueh et al., 2025 ) | 30.49 | 65.09 | 86.72 | 28.16 | 46.18 | 51.57 | 677k | off |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Term | Definition |
|---|---|
| Thresholds for classifying historical samples by difficulty (group mean reward). | |
| Subsets of training batch: fresh, re-evaluated difficult, and historical high-quality samples. | |
| Re-evaluation frequency for historically difficult samples. | |
| Delay steps for updating the rollout policy. | |
| Group size, number of responses generated per prompt during rollout. | |
| Replay buffer storing historical samples. |
| Tasks | Methods | Batch Size | Num Epoch | Time |
| Mathematics | GRPO | (256, 64) | 3 | 1d 16h 58m |
| DAPO | (256, 64) | 3 | 2d 15h 30m | |
| BAPO | (256, 64) | 3 | 1d 22h 37m | |
| Planning | GRPO | (256, 64) | 3 | 3h 47m |
| DAPO | (256, 64) | 3 | 6h 35m | |
| BAPO | (256, 64) | 3 | 3h 23m |
| Parameter | Value | Parameter | Value | Parameter | Value |
|---|---|---|---|---|---|
| Rollout Configuration | |||||
| Top-p | 1 | Top-k | -1 | Temperature | 1 |
| Group size ( ) | 8 | Max prompt length | 2048 | Max response length | 8192 |
| Rollout workers | 8 | Sample batch size | 256 | Seed | 42 |
| Training Configuration | |||||
| Learning rate | 1e-6 | Train mini batch size | 64 | GAE lambda | 1.0 |
| Dataset | #Train | #Test | Task Type | Domain | License | Source |
| Training Datasets | ||||||
| DeepScaleR-1.5B-Preview | 40,000 | – | Math reasoning | Mathematics | Apache 2.0 | Link |
| Countdown-Tasks-3to4 | 49,000 | – | Logic reasoning | Planning | Apache 2.0 | Link |
| Geometry3k | 2,100 | – | Visual reasoning | Visual Geometry | Apache 2.0 | Link |
| Test Benchmarks | ||||||
| AIME24 | – | 30 | Math competition | Mathematics | MIT | Link |
RL for Language Model Reasoning
Reinforcement learning for language model reasoning uses reward-driven training to improve multi-step problem solving, tool use, and reliable answers.
See all 1,057 papers