NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Mixtures of Experts Unlock Parameter Scaling for Deep RL

Johan S. Obando-Ceron, Ghada Sokar, Timon Willi, Clare Lyle, Jesse Farebrother, Jakob N. Foerster, Gintare Karolina Dziugaite, Doina Precup, Pablo Samuel Castro

Introduction & The Scaling Problem

In supervised learning domains like natural language processing and computer vision, empirical scaling laws dictate a clear trend: increasing a model's parameter count generally leads to better performance. Deep Reinforcement Learning (RL), however, often defies this logic. Naively making an RL network wider or deeper frequently degrades its final performance, leading to training instabilities and severe capacity under-utilization (e.g., dormant neurons).

To scale RL models successfully, researchers typically have to rely on complex interventions like auxiliary losses, distillation, or pre-training. This work asks a fundamental architectural question: Can we change the network topology itself to make deep RL agents naturally benefit from increased parameter counts? By replacing standard dense layers with Mixture-of-Experts (MoE) modules, the authors demonstrate that value-based RL agents can finally unlock positive parameter scaling.

Methods: Introducing Mixture-of-Experts to RL

The authors investigate incorporating Mixture-of-Experts (MoE) modules into standard value-based RL agents (DQN and Rainbow) using both standard CNN and Impala (ResNet) encoders. They replace the penultimate dense layer of the network with an MoE module, testing two variants:

  1. Top1-MoE: The standard approach used in Large Language Models (LLMs), which uses a router to assign each input token to a single, discrete expert (hard routing).
  2. Soft MoE: A fully differentiable approach that computes a learned, weighted combination of tokens for each expert, avoiding the discrete routing step.

Because vision-based RL networks do not naturally process discrete "tokens" like language models do, the authors introduce a tokenization step. They slice the output of the convolutional encoder into $d$-dimensional chunks (e.g., treating each spatial location in the feature map as a token) before passing them to the MoE layer.

Key Insights and Ideas

  • Soft Routing > Hard Routing in RL: While Soft MoE scaled beautifully with the number of experts, Top1-MoE struggled to improve with scale. The hard-routing mechanism of Top1-MoE likely introduces training difficulties that standard load-balancing losses cannot fix. Soft MoE's differentiable routing is much better suited to the volatile training dynamics of RL.
  • Structured Sparsity is the Secret Sauce:
Ablation showing SoftMoE outperforms baseline even when parameter-matched

The researchers ran an ablation scaling down the dimensionality of the Soft MoE experts so the total parameter count matched the baseline network. Surprisingly, Soft MoE still outperformed the baseline. This proves the performance gains stem not just from having more parameters, but from the structured sparsity and routing mechanisms MoEs introduce.

  • Curing Dormant Neurons: Standard RL networks suffer from "dormant neurons"—nodes that stop activating and become useless during training. MoE architectures drastically reduced the number of dormant neurons, ensuring the network actually utilized its capacity.
  • Stabilized Optimization: Networks equipped with MoE modules exhibited higher numerical rank in their empirical neural tangent kernel (NTK) matrices and lower feature norm growth, naturally stabilizing the optimization process.

Key Results

Performance scaling of DQN and Rainbow with increasing experts
  • Scaling Success: When naively scaling up the baseline Rainbow agent by making its penultimate layer 8x wider, performance dropped by ~40%. However, scaling it using a Soft MoE with 8 experts improved performance by ~20% (measured via Interquartile Mean scores).
  • High Replay Ratios: Soft MoE maintained a strong advantage over baselines even at high replay ratios (updating the network more frequently per environment step), a setting where standard RL agents typically collapse.
  • Offline & Low-Data Regimes: Soft MoE isn't just for standard online RL. When combined with modern offline RL algorithms (CQL+C51), it achieved state-of-the-art aggregate performance. It also improved data-efficient agents trained for 50M steps.
  • Negligible Overhead: Despite the performance gains, Soft MoE added virtually no wall-clock runtime overhead compared to the baseline architecture.

Limitations and Future Work

Limitations: The authors note that the MoE benefits did not transfer to continuous control tasks (MuJoCo) using PPO and SAC. They hypothesize this might be because those specific networks only use dense layers (where MoE-induced sparsity might be less effective than when combined with CNNs), or because the MuJoCo environments are less complex than Atari, leading to saturated performance.

Future Work: This paper opens up a massive design space for RL architectures. Promising future directions include exploring different MoE topologies (e.g., placing MoEs at every layer), experimenting with different visual tokenization strategies, tuning optimizers specifically for MoE routing, and testing these architectures on more complex, multi-task RL environments.

Summary updated

BibTeX
@inproceedings{obandoceron2024mixtures,
  author = {Johan S. Obando-Ceron and Ghada Sokar and Timon Willi and Clare Lyle and Jesse Farebrother and Jakob N. Foerster and Gintare Karolina Dziugaite and Doina Precup and Pablo Samuel Castro},
  title = {{Mixtures of Experts Unlock Parameter Scaling for Deep RL}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=X9VMhfFxwn},
}
Figure