arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.18853cs.LGcs.AI
收藏

双时钟:为什么在带可验证奖励的强化学习中,更大的回滚批次学习速度更慢但会按计划失败

Two Clocks: Why Larger Rollout Batches Learn Slower but Fail on Schedule in Reinforcement Learning with Verifiable Rewards

Carnegie Mellon University(卡内基梅隆大学);University of Toronto(多伦多大学)

Yuante Li, Junwei Quan, Kai Qiu, Kate Zhang, Yicheng Tao

AI总结:

该研究针对带可验证奖励的强化学习,提出双时钟框架,解释了更大回滚批次学习慢但按计划失败的原因,推导了多步RLVR训练计划,实验验证了相关预测。

摘要:

带可验证奖励的强化学习(RLVR)依赖于成本高昂的模型生成响应,这促使人们采用更大的回滚批次和平方根学习率缩放规则。据报道,在每次回滚使用一个优化器步骤时,该规则大致能保持每个样本的进展,但在实际多步训练中对其理解较少。我们开发了一个双时钟框架,将取得进展所需的样本与崩溃前消耗的样本分开。在局部二次模型下,平方根规则保持了每个样本的一阶漂移,但未保持进展:更大的批次需要更少、更长的更新,且因曲率损失更多,从而产生了一个依赖学习率的临界批次,超过该批次后样本效率会下降。漂移阈值假设预测了一个互补的失败时钟,其样本数量沿平方根规则大致保持不变。在Qwen2.5-Math-1.5B上进行的受控GRPO实验,覆盖了16倍的批次范围,支持这两个预测。比率裁剪会延迟失败,尤其是对于更大的批次,但不使用它时进展差距仍然存在。扩大裁剪会以稳定性为代价换取短暂的速度提升。进展差距在另一个数据集、一个通用检查点和一个7B模型上再次出现。最后,我们使用双时钟框架推导了一个简单的多步RLVR计划:从低于临界批次开始,在失败前切换到更大的批次。我们的代码可在以下网址获取:this https URL。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) relies on costly model-generated responses, motivating larger rollout batches and square-root learning-rate scaling. Reported to approximately preserve progress per sample with one optimizer step per rollout, this rule is less understood in practical multi-step training. We develop a two-clock framework that separates the samples needed to make progress from those consumed before collapse. Under a local quadratic model, the square-root rule preserves first-order drift per sample but not progress: larger batches take fewer, longer updates and lose more to curvature, yielding a learning-rate-dependent critical batch beyond which sample efficiency degrades. A drift-threshold hypothesis predicts a complementary failure clock whose sample count remains approximately invariant along the square-root rule. Controlled GRPO experiments on Qwen2.5-Math-1.5B across a $16\times$ batch range support both predictions. Ratio clipping delays failure, especially for larger batches, but the progress gap persists without it. Widening the clip trades stability for a transient speed gain. The progress gap reappears on another dataset, a general-purpose checkpoint, and a 7B model. Finally, we use the two-clock framework to derive a simple multi-step RLVR schedule: start below the critical batch and switch to a larger batch before failure. Our code is available at: https://github.com/WinstonLiyt/two-clocks-rlvr.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑