Introduction
In fields like computer vision and natural language processing, a clear "bigger is better" trend has emerged: larger models trained on massive datasets consistently yield better results. Reinforcement Learning (RL), however, has historically struggled to follow this scaling law. Increasing model capacity in deep RL often leads to instability or performance degradation, leading many researchers to rely on relatively small, older CNN architectures.
Recent approaches that treat offline RL as a supervised learning problem (such as Decision Transformers) have shown some promise in scaling. However, they suffer from a major limitation: they struggle to exceed the performance of the data they are trained on. If the training data is suboptimal, the resulting policy will likely be suboptimal as well.
This paper demonstrates that value-based offline RL—specifically Q-learning—can successfully scale to high-capacity models and large, diverse datasets. Crucially, unlike supervised approaches, Q-learning can "stitch together" suboptimal experiences to produce policies that significantly outperform the best trajectories in the dataset.
Overcoming Scaling Bottlenecks in Q-Learning
The authors identify three critical design choices that enable offline Q-learning to scale effectively without collapsing:
- ResNet Architectures with Group Normalization: Instead of shallow CNNs, the authors utilize ResNet-34, 50, and 101 backbones. Because standard Batch Normalization is unstable with the small batch sizes typical in RL, they replace it with Group Normalization. They also use learned spatial embeddings to preserve spatial information before flattening features.
- Distributional Q-Learning (C51): Standard Mean Squared Error (MSE) loss fails to scale in multi-task RL because gradient interference between tasks with wildly different reward magnitudes degrades performance. To solve this, the authors use a categorical distribution (C51) to represent potential returns. A cross-entropy loss on a fixed set of "bins" provides a much more stable gradient.
- Feature Normalization (DR3): To prevent "feature co-adaptation" and stabilize the training of very deep networks in an offline setting, they introduce a normalization layer that forces learned features to have an $\ell_2$ norm of 1.
These components are integrated into a multi-task version of Conservative Q-Learning (CQL). The architecture uses a shared encoder and feedforward layers, branching into 40 separate "heads"—one for each Atari game in the training set.
Experimental Setup
The study evaluates this "Scaled QL" approach using the DQN-Replay dataset, which consists of 40 Atari games. The evaluation focuses on two specific data compositions:
- Sub-optimal Dataset: Contains only the first 20% of transitions from a DQN agent's training (400 million transitions total). The average performance in this dataset is only 51% of human level.
- Near-optimal Dataset: Contains the full training history of a DQN agent (2 billion transitions), including expert-level trajectories. The average performance here is 93.5% of human level.
Key Findings and Performance
The results demonstrate that scaling laws do exist in RL when the architecture and loss functions are designed correctly. The paper shows a clear power-law relationship between model capacity and performance.
- The "Stitching" Advantage: Scaled QL effectively combines successful segments from different suboptimal trajectories. On the suboptimal dataset (averaging 51% human-level), Scaled QL achieved 77.8% human-level performance.
- Outperforming Supervised RL: On the same suboptimal dataset, an 80M parameter Scaled QL model outperformed a 200M parameter Decision Transformer by 2.5x.
- State-of-the-Art on Near-Optimal Data: When trained on the massive 2-billion-transition dataset, Scaled QL achieved a 114.1% IQM (Interquartile Mean) human-normalized score, surpassing previous state-of-the-art benchmarks.
- Superior Transfer Learning: The representations learned via multi-task Q-learning are highly robust. When fine-tuning on just 1% of data for a completely new, unseen game, pre-training with Scaled QL resulted in 82% better performance compared to other initialization methods (like self-supervised MAE or Decision Transformers).
- Fast Adaptation: The model demonstrated a remarkable ability to adapt zero-shot or via fast online learning to new game "modes" (e.g., a version of Freeway with more buses) much faster than training from scratch.
Limitations and Future Work
While Scaled QL marks a significant step forward for offline RL, challenges remain. Training these 80M+ parameter models for 10 million gradient steps is computationally expensive, which limited the authors to single-seed experiments for the largest models. Furthermore, while the learned representations facilitate rapid transfer, "online" fine-tuning on entirely new games is still bottlenecked by the agent's ability to explore effectively—a classic RL challenge. Finally, future work will need to determine if these scaling laws and architectural choices translate from discrete, visual domains like Atari to continuous control tasks and real-world robotics.
Summary updated