Mind the GAP! The Challenges of Scale in Pixel-based Deep Reinforcement Learning
Ghada Sokar, Pablo Samuel Castro
TL;DR
This work tackles the challenge of scaling pixel-based deep reinforcement learning by identifying the bottleneck between the encoder output $\phi(x)$ and the dense head $\psi$ as the main limiting factor. It shows that prior scaling techniques—such as SoftMoE, tokenization, and pruning—primarily act by restructuring this bottleneck, rather than fundamentally improving representation learning. The authors propose Global Average Pooling (GAP) as a simple, efficient intervention that directly targets the bottleneck, achieving strong performance across scales, architectures, and data regimes, while reducing computational cost relative to more complex methods like SoftMoE. They validate GAP’s generality by demonstrating consistent gains on Atari ALE, Procgen, Atari100K with DER, and SAC on the DMC suite, highlighting a practical path to scalable pixel-based RL and inviting further exploration of bottleneck-aware representation design.
Abstract
Scaling deep reinforcement learning in pixel-based environments presents a significant challenge, often resulting in diminished performance. While recent works have proposed algorithmic and architectural approaches to address this, the underlying cause of the performance drop remains unclear. In this paper, we identify the connection between the output of the encoder (a stack of convolutional layers) and the ensuing dense layers as the main underlying factor limiting scaling capabilities; we denote this connection as the bottleneck, and we demonstrate that previous approaches implicitly target this bottleneck. As a result of our analyses, we present global average pooling as a simple yet effective way of targeting the bottleneck, thereby avoiding the complexity of earlier approaches.
