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

扩展大语言模型强化学习计算的艺术

The Art of Scaling Reinforcement Learning Compute for LLMs

Meta;Harvard University(哈佛大学);Periodic Labs

Devvrit Khatri, Lovish Madaan, Rishabh Tiwari, Rachit Bansal, Sai Surya Duvvuri, Manzil Zaheer, Inderjit S. Dhillon, David Brandfonbrener, Rishabh Agarwal

AI总结:

本研究通过40万GPU小时的大规模实验,提出RL计算扩展的预测框架,并给出最佳实践方案ScaleRL,成功在10万GPU小时运行中预测验证性能。

摘要:

强化学习(RL)已成为训练大语言模型(LLMs)的核心,但该领域缺乏与预训练领域相媲美的预测性扩展方法论。尽管计算预算迅速增加,但对于如何评估算法改进以扩展RL计算,尚无原则性理解。我们提出了首个大规模系统性研究,总计超过40万GPU小时,定义了一个用于分析和预测LLMs中RL扩展的原则性框架。我们为RL训练拟合了S形计算-性能曲线,并消融了多种常见设计选择,以分析它们对渐近性能和计算效率的影响。我们观察到:(1)并非所有方案都能产生相似的渐近性能;(2)损失聚合、归一化、课程学习和离策略算法等细节主要调节计算效率,而不会实质性改变渐近线;(3)稳定、可扩展的方案遵循可预测的扩展轨迹,从而能够从较小规模的运行中进行外推。结合这些见解,我们提出了一种最佳实践方案ScaleRL,并通过成功扩展和预测单次RL运行(扩展至10万GPU小时)的验证性能来证明其有效性。我们的工作既提供了一个用于分析RL中扩展的科学框架,也提供了一个实用方案,使RL训练更接近预训练中早已实现的预测性。

英文摘要:

Reinforcement learning (RL) has become central to training large language models (LLMs), yet the field lacks predictive scaling methodologies comparable to those established for pre-training. Despite rapidly rising compute budgets, there is no principled understanding of how to evaluate algorithmic improvements for scaling RL compute. We present the first large-scale systematic study, amounting to more than 400,000 GPU-hours, that defines a principled framework for analyzing and predicting RL scaling in LLMs. We fit sigmoidal compute-performance curves for RL training and ablate a wide range of common design choices to analyze their effects on asymptotic performance and compute efficiency. We observe: (1) Not all recipes yield similar asymptotic performance, (2) Details such as loss aggregation, normalization, curriculum, and off-policy algorithm primarily modulate compute efficiency without materially shifting the asymptote, and (3) Stable, scalable recipes follow predictable scaling trajectories, enabling extrapolation from smaller-scale runs. Combining these insights, we propose a best-practice recipe, ScaleRL, and demonstrate its effectiveness by successfully scaling and predicting validation performance on a single RL run scaled up to 100,000 GPU-hours. Our work provides both a scientific framework for analyzing scaling in RL and a practical recipe that brings RL training closer to the predictability long achieved in pre-training.

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

↑