arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.12151cs.LGcs.AI
收藏

IsoCompute Playbook: 优化LLM RL中的采样计算规模

IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RL

UC San Diego(UC圣地亚哥大学);MBZUAI-IFM;Carnegie Mellon University(卡内基梅隆大学)
Zhoujun Cheng, Yutao Xie, Yuxiao Qu, Amrith Setlur, Shibo Hao, Varad Pimpalkhute, Tongtong Liang, Feng Yao, Zhengzhong Liu, Eric Xing, Virginia Smith, Ruslan Sa… 展开作者

Zhoujun Cheng, Yutao Xie, Yuxiao Qu, Amrith Setlur, Shibo Hao, Varad Pimpalkhute, Tongtong Liang, Feng Yao, Zhengzhong Liu, Eric Xing, Virginia Smith, Ruslan Salakhutdinov, Zhiting Hu, Taylor Killian, Aviral Kumar

AI总结:

本文研究了LLM RL中采样计算的最优分配,发现并行回放数随计算预算增加而增加并饱和,不同问题驱动机制不同,且增加并行回放可减少干扰,问题数影响训练稳定性。

摘要:

尽管扩展定律指导了LLM预训练的计算分配,但类似的规定在大型语言模型(LLM)后训练的强化学习(RL)中仍缺乏理解。我们研究了在LLM中用于on-policy RL方法的采样计算最优分配,将扩展视为在三个资源上的计算受限优化:每个问题的并行回放数、每个批次的问题数和更新步骤数。我们发现,每个问题的并行回放数的计算最优数随着计算预算增加而可预测地增加,然后饱和。这一趋势在易问题和难问题上都成立,尽管驱动机制不同:在易问题中是解决方案变尖,在难问题中是覆盖扩展。我们进一步表明,增加并行回放数可以减少问题间的干扰,而每个批次的问题数主要影响训练稳定性,可以在较宽的范围内选择。在基础模型和数据分布上得到验证,我们的结果将RL扩展定律重新定义为指导性分配规则,并为LLM后训练的计算高效RL提供实用指导。

英文摘要:

While scaling laws guide compute allocation for LLM pre-training, analogous prescriptions for reinforcement learning (RL) post-training of large language models (LLMs) remain poorly understood. We study the compute-optimal allocation of sampling compute for on-policy RL methods in LLMs, framing scaling as a compute-constrained optimization over three resources: parallel rollouts per problem, number of problems per batch, and number of update steps. We find that the compute-optimal number of parallel rollouts per problem increases predictably with compute budget and then saturates. This trend holds across both easy and hard problems, though driven by different mechanisms: solution sharpening on easy problems and coverage expansion on hard problems. We further show that increasing the number of parallel rollouts mitigates interference across problems, while the number of problems per batch primarily affects training stability and can be chosen within a broad range. Validated across base models and data distributions, our results recast RL scaling laws as prescriptive allocation rules and provide practical guidance for compute-efficient LLM RL post-training.

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

↑