TL;DR
While large language models scale effortlessly with size, deep reinforcement learning (RL) agents often perform worse when naively made larger. This paper demonstrates that replacing standard dense layers with Mixture-of-Experts (MoE) modules—specifically Soft MoEs—successfully unlocks parameter scaling in deep RL, leading to significant performance gains across various training regimes and model sizes.
What Problem Does This Paper Address?
In supervised learning, scaling laws are a golden rule: bigger models yield better results. In deep reinforcement learning, however, scaling up a network's parameter count often degrades final performance. This phenomenon occurs because deep RL networks frequently under-utilize their parameters, suffering from optimization issues like "dormant neurons" (inactive nodes) and capacity loss during training.
Because naively widening or deepening networks fails, the RL community has historically relied on complex workarounds like auxiliary losses, distillation, or extensive pre-training to stabilize larger models. This paper tackles the root challenge: how can we alter network architecture so that deep RL agents naturally benefit from scaling up parameters?
Methods
The authors propose integrating Mixture-of-Experts (MoE) modules into standard value-based RL architectures like DQN and Rainbow. Instead of using a traditional dense feed-forward layer before the output, they route the network's internal representations through a collection of parallel subnetworks ("experts").
The paper contrasts two gating mechanisms:
- Top1-MoE: A hard-routing approach where a router network sends each input token to exactly one expert.
- Soft MoE: A fully differentiable approach that computes a soft, weighted assignment of tokens across all experts simultaneously.
To make MoEs work within RL networks (which process images rather than text tokens), the authors introduce a tokenization step. They split the feature map output from the convolutional encoder into $h \times w$ distinct $d$-dimensional tokens (termed PerConv tokenization).
Datasets
The primary evaluation benchmark is the Arcade Learning Environment (ALE), utilizing a diverse suite of Atari 2600 games. The authors evaluate their methods across:
- A standard 20-game subset for core architectural comparisons.
- A 26-game subset for low-data regime testing.
- The full 60-game Atari set to verify generalizability.
Additionally, the appendix includes preliminary experiments on continuous control tasks using the MuJoCo environment.
Key Insights and Ideas
- Soft Routing Trumps Hard Routing: Top1-MoE often suffers from training instabilities due to discrete routing choices. Soft MoE avoids this by being fully differentiable, making it uniquely suited for the non-stationary data distributions inherent to RL.
- It’s About Sparsity, Not Just Size: The performance boost from MoEs isn't just due to having more parameters. When the authors scaled down the internal dimensionality of the Soft MoE experts to keep the total parameter count identical to the baseline, performance remained high. This proves that the structured sparsity induced by MoEs drives the benefit.
- Stabilizing Optimization Dynamics: Deeper analysis revealed that MoE modules drastically reduce the number of dormant neurons and maintain a higher effective rank of features and gradients. This mitigates the optimization bottlenecks that typically plague large RL networks.
- Resilience to High Replay Ratios: Increasing the replay ratio (re-using data from the replay buffer more frequently) usually breaks standard RL agents. Soft MoE maintains a strong performance advantage even under aggressive data reuse.
Key Results
- True Parameter Scaling: On the Atari benchmark, increasing the number of experts in Soft MoE from 1 to 8 consistently improved the Interquartile Mean (IQM) score. Conversely, naively widening the baseline architecture's dense layer caused a 40% drop in performance.
- Broad Algorithmic Gains: Soft MoE delivered robust performance improvements when integrated into multiple distinct training paradigms, including online RL (DQN, Rainbow), offline RL (CQL), and data-efficient variants (DER).
- Wall-Clock Efficiency: Despite the architectural additions, Soft MoE maintained a runtime comparable to standard baselines, offering a highly efficient path to scaling.
Limitations and Future Work
While Soft MoE excelled on pixel-based Atari environments using convolutional backbones, initial experiments on MuJoCo continuous control tasks (using purely dense layers) did not yield the same performance gains. The authors hypothesize that MoEs might be uniquely effective when paired with convolutional feature maps, or that MuJoCo environments are simply too low-complexity to benefit from scaling.
Future directions include exploring alternative tokenization strategies, optimizing router-specific learning rates, and evaluating MoEs in multi-task RL settings where expert specialization can be fully exploited.
Summary updated