[论文解读] IsoCompute Playbook: Optimally Scaling Sampling Compute for LLM RL
论文推导了在对策略强化学习(LLMs)中按计算量最优的采样资源分配规则,覆盖并行 rollouts、问题批大小和更新迭代次数,揭示 n(每个问题的rollout数)如何随预算变化而变化,以及在不同问题难度下的差异。
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.
研究动机与目标
- 阐明在LLMs的RL后训练中需要对规模法则的动机,并建立一个受计算约束的采样资源优化框架。
- 在固定计算预算下,表征三种采样维度(n、Bp、M)对性能的影响。
- 提供在易/难问题集合中选择n、Bp和M的实际建议,以最大化RL性能。
提出的方法
- 将RL后训练设置形式化为三种采样资源:每个问题的并行rollout数n、每批问题数量Bp以及更新迭代次数M。
- 将总采样计算定义为C = Bp · n · M,并通过探索分配(Bp、n、M)来研究C0前沿的性能。
- 使用带分组归一化优势和0/1结果奖励的在策略强化学习(GRPO),在不同提示下评估性能。
- 确立一个健康的RL配方,通过数据集难度、熵/KL正则化,以及随批量大小B = Bp · n的平方根学习率缩放来确保训练稳定性。
- 通过在学习曲线的极值点识别破纪录点并拟合单调前沿,提取计算最优前沿。

实验结果
研究问题
- RQ1在固定预算C0下,给定采样资源(Bp、n、M)的计算最优分配是什么?
- RQ2随着计算预算的增加,计算最优n(每个问题的并行rollouts)如何变化,以及Easy与Hard问题集合之间有何差异?
- RQ3在固定或受限的批量设置下,Bp(每批问题数)和M(更新迭代)如何与n相互作用,影响稳定性和性能?
- RQ4基线模型和提示分布是否普遍出现缩放趋势,以及这些发现对不同RL算法(GRPO、PPO、CISPO)是否鲁棒?
- RQ5哪些机制(锐化与覆盖)驱动对Easy与Hard任务中n扩大所带来的收益?
主要发现
- 计算最优n随采样计算预算C增加而增加,随后趋于饱和,log n与log C之间呈类S形关系。
- 通过在Easy问题上实现解的锐化以及在Hard问题上实现覆盖扩展,n的放大有帮助。
- 在固定硬件条件下,性能对n比对Bp更敏感,意味着在一个较宽且稳定的范围内才优先增加每批的问题数。
- 更大的n可减小跨问题的干扰,从而在多问题RL设置中提高学习效率。
- 当M(连续更新)增加时,最优分配向更大的n倾斜;在较低M下偏向更大的Bp,且这一权衡因Easy与Hard问题集合而异。
- 联合优化(Bp、n、M)仍然使n随C的增长占优势地位,而Bp主要作为稳定性调节,M吸收剩余预算。

阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。