[论文解读] Prune as You Generate: Online Rollout Pruning for Faster and Better RLVR
tldr: ARRoL 引入在线 rollout 修剪,并由轻量级质量头引导,以在 0/1 奖励之间实现平衡,从而在 Qwen-3 和 LLaMA-3.2 的 RLVR 上实现更快的训练(1.6–1.7 倍)和更高的准确率(+2.30 到 +2.99),测试时的准确率提升最高可达 +8.33。
Reinforcement Learning with Verifiable Rewards (RLVR) has significantly advanced the reasoning capabilities of Large Language Models (LLMs). However, methods such as GRPO and DAPO suffer from substantial computational cost, since they rely on sampling many rollouts for each prompt. Moreover, in RLVR the relative advantage is often sparse: many samples become nearly all-correct or all-incorrect, yielding low within-group reward variance and thus weak learning signals. In this paper, we introduce arrol (Accelerating RLVR via online Rollout Pruning), an online rollout pruning method that prunes rollouts during generation while explicitly steering the surviving ones more correctness-balanced to enhance learning signals. Specifically, arrol trains a lightweight quality head on-the-fly to predict the success probability of partial rollouts and uses it to make early pruning decisions. The learned quality head can further weigh candidates to improve inference accuracy during test-time scaling. To improve efficiency, we present a system design that prunes rollouts inside the inference engine and re-batches the remaining ones for log-probability computation and policy updates. Across GRPO and DAPO on Qwen-3 and LLaMA-3.2 models (1B-8B), arrol improves average accuracy by +2.30 to +2.99 while achieving up to 1.7x training speedup, and yielding up to +8.33 additional gains in average accuracy in test-time scaling. The code is available at https://github.com/Hsu1023/ARRoL.
研究动机与目标
- 解决 RLVR rollout 生成的高计算成本(如 GRPO、DAPO)。
- 通过在线剪枝在同组内奖励平衡,缓解稀疏的学习信号。
- 利用学习到的质量分数作为投票权重来提高测试时的准确率。
- 提供一个端到端的系统设计,使在生成后端实现剪枝,在前端实现重新分批。
- 在多个模型(Qwen-3、LLaMA-3.2)和基准测试上证明持续的改进。
提出的方法
- 在部分 rollout 上训练轻量级质量头,以预测最终成功的概率。
- 使用质量头分数在线剪枝 rollout,引导剩余样本朝向 0/1 平衡(目标 rho = 0.5)。
- 通过在线分箱方法将部分 rollout 的分数标定为后验成功概率。
- 将剪枝集成到生成后端(vLLM)并在前端对存活样本重新分批,以实现高效的对数概率计算和更新。
- 在测试阶段,以质量头分数对候选样本进行加权,而非简单多数投票。
- 将检测长度 L_detect 设置为 512,以在剪枝的可靠性和时间成本之间取得平衡。
实验结果
研究问题
- RQ1在线 rollout 剪枝能在不降低甚至提升学习信号的情况下降低 rollout 生成成本吗?
- RQ2在组内奖励平衡(趋向 rho=0.5)是否能改善梯度质量和最终准确率?
- RQ3学习到的质量头能否作为测试时有效的投票权重以提升最终准确率?
- RQ4实现 rollout 生成剪枝下的秒表级加速所需的端到端系统设计是什么?
主要发现
- ARRoL 在 Qwen-3 与 LLaMA-3.2 模型上,相较于原生 GRPO/DAPO,平均准确率持续提升大约 +2.30 到 +2.99 点。
- 端到端训练通过剪枝大约一半的 rollout 并重新分配容量,实现最高 1.7× 的加速。
- 质量头的预测准确率大约达到 80%(如 Qwen-3-1.7B 上为 82.37%)。
- 在测试时使用质量头分数进行投票,在平均准确率上相较 DeepConf 和多数投票提升最高可达 +8.33 点。
- 剪枝使组内奖励比率趋于平衡,改善学习信号和非简并梯度。
- ARRoL 在更难的基准上(如 AMC’23、AIME’24)取得提升,并且对 RLVR 算法(GRPO 和 DAPO)具有良好泛化性。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。