[Paper Review] Scaling laws for single-agent reinforcement learning
This paper establishes scaling laws for single-agent reinforcement learning by analyzing performance across varying compute, model size, and environment complexity. It finds that learning efficiency follows a power-law relationship, with performance improving predictably as compute and parameters scale, enabling accurate prediction of sample efficiency and optimal resource allocation.
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.
Motivation & Objective
- Understand how performance in single-agent reinforcement learning scales with compute and model size.
- Identify the functional relationship between compute, model parameters, and learning efficiency across multiple environments.
- Determine the optimal trade-offs between compute and parameter count for maximizing performance.
- Establish empirical scaling laws that predict sample efficiency and failure rates in complex environments.
- Provide a framework for efficient resource allocation in RL training through intrinsic performance modeling.
Proposed method
- Measure mean episode return and failure rates across a wide range of compute (FLOPs) and model parameter counts.
- Fit power-law models to learning curves to describe performance scaling with compute and parameters.
- Define intrinsic performance as the compute required to achieve a given return, enabling comparison across agents.
- Use efficient frontier analysis to identify optimal compute-parameter combinations for each environment.
- Analyze three environments—CoinRun (easy/hard), StarPilot (easy/hard), and FruitBot (easy/hard)—to generalize findings.
- Apply asymptotic power law fits to learning curves to extrapolate performance and estimate failure rates.
Experimental results
Research questions
- RQ1How does performance in single-agent RL scale with increasing compute and model size?
- RQ2What is the functional form of the scaling law relating compute, parameters, and learning efficiency?
- RQ3How do failure rates and sample efficiency vary across different environments under different compute and parameter regimes?
- RQ4What is the optimal balance between compute and model size for maximizing performance in each environment?
- RQ5Can intrinsic performance be modeled as a function of compute and parameters to predict learning outcomes?
Key findings
- Performance in single-agent RL follows a power-law scaling with compute and model size, enabling accurate prediction of learning curves.
- Failure rates decrease predictably with increased compute, with the power-law fit accurately capturing the asymptotic behavior.
- The intrinsic performance metric—compute required to reach a given return—scales sublinearly with target return, indicating diminishing returns at scale.
- Efficient frontier analysis identifies optimal compute-parameter pairs that maximize performance per compute unit, especially in harder environments.
- Scaling laws hold consistently across diverse environments, including CoinRun, StarPilot, and FruitBot, with similar functional forms.
- The study demonstrates that performance can be predicted with high accuracy using only compute and parameter count, without requiring full training runs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.