2025-10-16 · 专家 · 自然语言处理 · 机器学习

The Art of Scaling Reinforcement Learning Compute for LLMs

本文提出了一种名为ScaleRL的强化学习算法,通过系统地分析和预测LLMs中强化学习的扩展,实现了对RL计算的有效和可预测的扩展。

更新于 2025-10-16。作者:Devvrit Khatri、Lovish Madaan、Rishabh Tiwari、Rachit Bansal、Sai Surya Duvvuri、Manzil Zaheer、Inderjit S. Dhillon、David Brandfonbrener、Rishabh Agarwal。

中文摘要

强化学习(RL)已成为训练大型语言模型(LLMs)的核心,然而,该领域缺乏与预训练中建立的类似的可预测扩展方法。尽管计算预算迅速上升,但我们对如何评估扩展RL计算算法改进的原则性理解仍然不足。我们展示了第一个大规模系统性研究,涉及超过40万GPU小时,为分析并预测LLMs中RL的扩展定义了一个原则性框架。我们对RL训练拟合了S型计算性能曲线,并消除了广泛的设计选择,以分析其对渐进性能和计算效率的影响。我们观察到:(1)并非所有方法都能产生相似的性能,(2)诸如损失聚合、归一化、课程和离策略算法等细节主要调节计算效率,而不会实质性地改变渐进极限,以及(3)稳定、可扩展的方法遵循可预测的扩展轨迹,使得可以从较小规模的运行中进行外推。结合这些见解,我们提出了最佳实践方法ScaleRL,并通过在一个扩展到10万GPU小时的单一RL运行中成功扩展并预测验证性能来证明其有效性。我们的工作既为分析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.

解读

一句话总结

本文提出了一种名为ScaleRL的强化学习算法,通过系统地分析和预测LLMs中强化学习的扩展,实现了对RL计算的有效和可预测的扩展。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt