On Computation and Reinforcement Learning
Raj Ghugare, Michał Bortkiewicz, Alicja Ziarko, Benjamin Eysenbach
TL;DR
The paper argues that compute duration, not just parameter count, determines RL performance. It formalizes compute-bounded policies and proves a Policy Hierarchy Theorem and a Long Horizon Generalization result, showing that more compute can solve broader MDPs and generalize to longer horizons, while less compute may overfit. To study this, it introduces a minimal recurrent architecture, the IRU, that uses a fixed parameter budget but scales compute through iterative application, enabling strong performance and horizon generalization across 31 tasks. Empirical results demonstrate that increasing recurrent steps yields substantial gains and offer a method to measure the value of compute (VoC) during RL. The work suggests computation should be treated as a distinct resource in RL design, with potential adaptive compute strategies and extensions to transformer-based architectures as fruitful future directions.
Abstract
How does the amount of compute available to a reinforcement learning (RL) policy affect its learning? Can policies using a fixed amount of parameters, still benefit from additional compute? The standard RL framework does not provide a language to answer these questions formally. Empirically, deep RL policies are often parameterized as neural networks with static architectures, conflating the amount of compute and the number of parameters. In this paper, we formalize compute bounded policies and prove that policies which use more compute can solve problems and generalize to longer-horizon tasks that are outside the scope of policies with less compute. Building on prior work in algorithmic learning and model-free planning, we propose a minimal architecture that can use a variable amount of compute. Our experiments complement our theory. On a set 31 different tasks spanning online and offline RL, we show that $(1)$ this architecture achieves stronger performance simply by using more compute, and $(2)$ stronger generalization on longer-horizon test tasks compared to standard feedforward networks or deep residual network using up to 5 times more parameters.
