Skip to main content
QUICK REVIEW

[Paper Review] Mixtures of Experts Unlock Parameter Scaling for Deep RL

Johan Obando-Ceron, Ghada Sokar|arXiv (Cornell University)|Feb 13, 2024
Machine Learning and ELMComputer Science3 citations
TL;DR

This paper demonstrates that integrating Mixture-of-Experts (MoE), particularly Soft MoE, into value-based deep reinforcement learning agents enables effective parameter scaling, leading to consistent performance gains across multiple environments and model sizes. The key contribution is empirical evidence that MoE modules enhance parameter efficiency and scalability in deep RL, overcoming the typical performance degradation seen when naively increasing model size.

ABSTRACT

The recent rapid progress in (self) supervised learning models is in large part predicted by empirical scaling laws: a model's performance scales proportionally to its size. Analogous scaling laws remain elusive for reinforcement learning domains, however, where increasing the parameter count of a model often hurts its final performance. In this paper, we demonstrate that incorporating Mixture-of-Expert (MoE) modules, and in particular Soft MoEs (Puigcerver et al., 2023), into value-based networks results in more parameter-scalable models, evidenced by substantial performance increases across a variety of training regimes and model sizes. This work thus provides strong empirical evidence towards developing scaling laws for reinforcement learning.

Motivation & Objective

  • To investigate whether Mixture-of-Experts (MoE) can unlock scalable performance gains in deep reinforcement learning, countering the common trend of performance degradation with increased model size.
  • To evaluate the impact of different MoE variants—specifically Soft MoE and Top1-MoE—on value-based RL agents across diverse training regimes and model sizes.
  • To analyze the underlying mechanisms of MoE success in RL, including gating strategies, input tokenization, and expert representation dynamics.
  • To explore the role of structured sparsity and parameter efficiency in improving deep RL training stability and scalability.
  • To extend the applicability of MoE to offline RL and low-data regimes, demonstrating broader utility beyond standard on-policy training.

Proposed method

  • The authors replace the penultimate fully connected layer in DQN and Rainbow agents with a Soft Mixture-of-Experts (MoE) module, where each expert is a feedforward network and the final output is a weighted sum of expert outputs based on a router network.
  • The router network, trained end-to-end, computes attention-like weights over experts using a temperature-controlled softmax, enabling soft routing and differentiable parameter updates.
  • The MoE layer is integrated into standard off-policy deep RL training pipelines with experience replay, using standard hyperparameters and training schedules across the Atari 100k benchmark.
  • The model is trained with a fixed replay ratio of 0.25, and performance is evaluated using IQM scores over 200M environment steps across 20 games with 5 independent runs.
  • The authors compare Soft MoE against Top1-MoE and standard dense baselines, varying the number of experts and expert width to assess scalability and efficiency.
  • They conduct ablation studies on routing mechanisms, input tokenization strategies, and expert representation dynamics, including dormant neuron analysis.

Experimental results

Research questions

  • RQ1Does incorporating Mixture-of-Experts (MoE) into value-based deep RL agents lead to scalable performance gains as model size increases?
  • RQ2How do different MoE variants—Soft MoE versus Top1-MoE—compare in terms of performance and scalability across different RL agents and environments?
  • RQ3What role does structured sparsity from MoE play in improving parameter efficiency and reducing dormant neurons in deep RL networks?
  • RQ4Can MoE modules enhance performance in low-data and offline RL regimes, where parameter efficiency is critical?
  • RQ5How do architectural choices such as router design, expert dimensionality, and input tokenization affect MoE effectiveness in deep RL?

Key findings

  • Soft MoE consistently improves performance over the standard dense baseline in both DQN and Rainbow agents, with gains increasing as the number of experts grows.
  • In DQN, Soft MoE achieves a 12.3% relative improvement in IQM score over the baseline when scaling from 1 to 8 experts, demonstrating strong scalability.
  • In Rainbow, Soft MoE outperforms both the baseline and Top1-MoE, with performance increasing monotonically with the number of experts, indicating effective parameter utilization.
  • The use of Soft MoE reduces the number of dormant neurons by up to 40% across multiple tasks and architectures, suggesting improved parameter efficiency.
  • Ablation studies show that the router's temperature and routing strategy significantly impact performance, with Soft MoE's differentiable routing outperforming hard routing (Top1-MoE).
  • Preliminary results in offline RL and low-data regimes show that Soft MoE maintains or improves performance, suggesting broader applicability beyond standard on-policy training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.