TL;DR: Standard reinforcement learning (RL) treats policies as static functions with a fixed computational cost per step. This paper proves—both theoretically and empirically—that separating computation time from parameter count allows agents to solve harder problems and generalize to much longer tasks, even when using up to 5x fewer parameters than traditional deep networks.
1. Introduction: The Conflation of Memory and Compute
In the current deep reinforcement learning paradigm, increasing an agent's capabilities typically involves scaling up the neural network. However, this approach conflates two fundamentally distinct resources: memory (the number of parameters) and computation (the time spent processing an input).
The authors argue that relying on static architectures introduces a critical bottleneck. In the real world, some decisions are trivial (e.g., a robot moving its foot), while others require deep deliberation (e.g., planning how to pack a truck). Standard RL policies expend the exact same amount of computational "thought" on both. This paper formalizes the concept of "compute-bounded policies" to investigate a core question: Does giving an agent more time to "think" per timestep—without increasing its memory footprint—lead to better learning and generalization?
2. Theoretical Framework and Methodology
The researchers tackle the role of computation from both theoretical and empirical perspectives.
Theoretical Formalization
The authors represent RL policies as Time-bounded Turing Machines. Through this lens, they establish a "Policy Hierarchy Theorem," which mathematically proves that for certain Markov Decision Processes (MDPs), a policy endowed with more computation time will consistently outperform one with less. Crucially, the theory demonstrates that additional compute enables Long Horizon Generalization—the capacity to solve tasks requiring significantly more steps than those encountered during training.
The Interpolation Recurrent Unit (IRU)
To test their theoretical claims empirically, the authors propose a minimal recurrent architecture called the Interpolation Recurrent Unit (IRU).
- Mechanism: Instead of a standard single feedforward pass, the input is routed through a recurrent block $N$ times.
- Interpolation: The updated hidden state is an interpolation between the previous state and the current computation, regulated by a "forget gate" ($f_i$).
- Compute Scaling: By increasing $N$ (the number of recurrent steps), the compute budget per timestep scales up while the total number of parameters remains strictly constant.
3. Experimental Setup
The IRU architecture was evaluated across 31 diverse tasks spanning three primary domains:
- Boxpick: A discrete grid-world benchmark (resembling Sokoban) where an agent must navigate and move boxes to targets. It features "stitching" tasks designed to test the agent's ability to combine learned sub-behaviors.
- Lightsout: A combinatorial grid puzzle where flipping one light alters its neighbors. This high-complexity environment is notoriously difficult for models to simply "memorize."
- OGBench: A comprehensive suite of 25 offline goal-reaching tasks involving continuous control, manipulation, and navigation.
4. Key Findings and Insights
Compute as a Distinct Scaling Axis
The results confirm that researchers do not always need a "wider" or "deeper" model to achieve better performance. Running a smaller model for more iterations can yield superior outcomes. Performance generally followed a scaling law, improving as the number of recurrent steps ($N$) increased, typically plateauing around $N=5$ or $N=10$.
Generalization Through Deliberation
A major insight from the study is that compute-constrained models tend to learn brittle "heuristics" that overfit the training distribution. When granted more compute, the model is able to learn the underlying algorithm of the task. This algorithmic understanding allows it to generalize to much longer horizons (e.g., successfully moving 10 boxes during testing despite only training on 2).
Empirical Superiority and Efficiency
- Performance vs. Parameters: In the Boxpick task, the IRU achieved approximately 95% success. In stark contrast, a standard ResNet with 5 times more parameters only managed about 58% success.
- Horizon Generalization: On the Lightsout 4x5 task, the IRU-(5) (using 5 recurrent steps) achieved over 70% success on long-horizon evaluation tasks. All baseline architectures (MLPs and ResNets) failed completely, hovering near 0% success.
The Value of Compute (VoC) and Expressivity
The authors introduced a metric to measure the Value of Compute (VoC) at specific timesteps, discovering that compute is most valuable during the early-to-middle stages of a task where decisions are both complex and highly consequential. Furthermore, through "yoked" experiments (training a passive agent on data generated by an active one), they demonstrated that the performance boost stems primarily from the agent's enhanced ability to process information (expressivity), rather than merely collecting higher-quality data during training.
5. Limitations and Future Directions
While the findings strongly advocate for compute-scaled RL, the paper notes several areas for future exploration:
- Adaptive Compute: The current IRU model uses a fixed number of recurrent steps ($N$) for every state. A more efficient, dynamic approach would allow the model to "decide" to think longer only when encountering complex states.
- Architectural Expansion: The study deliberately focused on a minimal RNN-like structure to isolate the effects of computation. Future research should investigate how these principles translate to Transformer-based recursive architectures.
- Theoretical Refinements: The current proofs rely on single-tape Turing Machines. Future theoretical frameworks could adopt models that better reflect modern hardware, such as boolean circuits, or shift focus toward space complexity (memory constraints) alongside time complexity.
Summary updated