Deep reinforcement learning (RL) has achieved massive success in single-task settings, such as mastering specific games. However, these agents are often "brittle." If a minor detail in the environment changes, the agent typically fails and must relearn from scratch. The core challenge is generalization: building agents that learn general principles rather than memorizing specific action sequences.
Previous research suggested that RL agents suffer from "negative interference" (where learning one task hurts performance on another) and that their internal representations overfit quickly to a single environment. This paper investigates whether scaling up both the diversity of training data and the size of the neural network can overcome these hurdles, demonstrating that the "pretrain then fine-tune" paradigm—highly successful in NLP and Computer Vision—is also highly effective for RL.
Methodology and Datasets
The authors employ a "pretrain then fine-tune" protocol using IMPALA, a popular actor-critic algorithm. Instead of training on just one version of a game, they train on multiple "variants" (different modes and difficulty levels) simultaneously.
The study uses the Arcade Learning Environment (ALE), focusing on four classic Atari 2600 games: Space Invaders, Asteroids, Breakout, and Bank Heist. What makes this work unique is the use of built-in game variants. For example, depending on the mode, shields might move or remain static in Space Invaders, or the layout might shift in Bank Heist.
These variants are split into a "train set" and a "test set" to rigorously measure how well an agent generalizes to never-before-seen versions of the same game. To handle this multi-task learning, the authors move beyond the standard, shallow 3-layer convolutional networks typically used in Atari research. They test much larger Residual Networks (ResNets) ranging from 11 million to 42 million parameters. Pretraining is conducted over a staggering 15 billion environment frames to ensure the models have enough data to saturate their capacity.
Key Insights and Results
- Diversity as a Regularizer: Increasing the number of pretraining modes consistently improves both zero-shot transfer and fine-tuning performance. Training on more variations prevents the representation from overfitting to a single task, acting as a form of implicit regularization. For instance, agents pretrained on just 4 modes of Space Invaders showed significant zero-shot transfer to unseen modes, whereas agents trained on only 1 mode failed completely.
- The Capacity Paradox: In standard single-task RL, larger models often perform worse or are unstable. However, this paper finds that in the multi-task regime, high-capacity models are a requirement. Small networks simply lack the capacity to learn the nuances of multiple tasks, whereas ResNets thrive as task diversity increases. On Asteroids and Space Invaders, fine-tuned ResNets achieved 3x to 6x higher scores than the standard IMPALA architecture.
- Representation Longevity: Surprisingly, the advantage of a good pretrained representation persists even after 200 million frames of fine-tuning. This suggests that pretraining isn't just a "head start" in score; it fundamentally changes the quality of the features the agent uses to understand the world. Furthermore, unlike previous studies with DQN that saw performance drop as training progressed, these IMPALA-based agents showed performance that scaled positively with more data, up to the 15B frame limit.
Limitations and Future Work
While using variants of the same game reduces negative interference, the study focuses on transfer between variants of the same game. The "holy grail" of RL remains transferring knowledge between entirely different games (e.g., from Pong to Breakout).
Additionally, the experiments required massive computational resources (32 TPU v3 cores for pretraining), highlighting a growing "compute gap" in RL research. Future work could explore more complex "routing" architectures to handle even more diverse task sets without relying on a single policy/value head.
Summary updated