Skip to main content
QUICK REVIEW

[论文解读] Scaling laws for single-agent reinforcement learning

Jacob Hilton, Jie Tang|arXiv (Cornell University)|Jan 31, 2023
Reinforcement Learning in RoboticsComputer Science被引用 3
一句话总结

本文通过分析计算量、模型规模和环境复杂度的变化,建立了单智能体强化学习的缩放规律。研究发现,学习效率遵循幂律关系,随着计算量和参数量的增加,性能可预测地提升,从而能够准确预测样本效率和最优资源配置。

ABSTRACT

Recent work has shown that, in generative modeling, cross-entropy loss improves smoothly with model size and training compute, following a power law plus constant scaling law. One challenge in extending these results to reinforcement learning is that the main performance objective of interest, mean episode return, need not vary smoothly. To overcome this, we introduce *intrinsic performance*, a monotonic function of the return defined as the minimum compute required to achieve the given return across a family of models of different sizes. We find that, across a range of environments, intrinsic performance scales as a power law in model size and environment interactions. Consequently, as in generative modeling, the optimal model size scales as a power law in the training compute budget. Furthermore, we study how this relationship varies with the environment and with other properties of the training setup. In particular, using a toy MNIST-based environment, we show that varying the "horizon length" of the task mostly changes the coefficient but not the exponent of this relationship.

研究动机与目标

  • 理解单智能体强化学习中性能随计算量和模型规模的扩展规律。
  • 识别在多个环境中,计算量、模型参数与学习效率之间的函数关系。
  • 确定为最大化性能而实现的计算量与参数量之间的最优权衡。
  • 建立可预测复杂环境中样本效率和失败率的经验缩放规律。
  • 通过内在性能建模,为强化学习训练提供高效资源配置框架。

提出的方法

  • 在广泛的计算量(FLOPs)和模型参数量范围内,测量平均回合回报和失败率。
  • 对学习曲线拟合幂律模型,以描述性能随计算量和参数量的扩展规律。
  • 将内在性能定义为达到特定回报所需的计算量,从而实现在不同智能体之间的比较。
  • 使用高效前沿分析,识别每个环境中最优的计算量-参数组合。
  • 分析三个环境——CoinRun(简单/困难)、StarPilot(简单/困难)和FruitBot(简单/困难)——以推广研究发现。
  • 对学习曲线应用渐近幂律拟合,以外推性能并估计失败率。

实验结果

研究问题

  • RQ1单智能体强化学习中的性能如何随计算量和模型规模的增加而扩展?
  • RQ2计算量、参数量与学习效率之间缩放规律的函数形式是什么?
  • RQ3在不同计算量和参数配置下,不同环境中的失败率和样本效率如何变化?
  • RQ4在每个环境中,为最大化性能而实现的计算量与模型规模之间的最优平衡是什么?
  • RQ5是否可以将内在性能建模为计算量和参数量的函数,以预测学习结果?

主要发现

  • 单智能体强化学习的性能随计算量和模型规模呈幂律缩放,可准确预测学习曲线。
  • 随着计算量增加,失败率可预测地降低,幂律拟合能准确捕捉其渐近行为。
  • 内在性能指标——达到给定回报所需的计算量——随目标回报呈次线性缩放,表明在大规模下收益递减。
  • 高效前沿分析识别出能最大化单位计算量性能的最优计算量-参数对,尤其在更困难的环境中表现显著。
  • 缩放规律在多样环境中保持一致,包括CoinRun、StarPilot和FruitBot,且具有相似的函数形式。
  • 研究表明,仅通过计算量和参数量即可高精度预测性能,而无需完成完整的训练过程。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。