Introduction
Scaling neural networks reliably improves performance, but training dense models with hundreds of billions of parameters is prohibitively expensive. Mixture-of-Experts (MoE) architectures address this by sparsely activating parameters—routing tokens only to specific "expert" sub-networks. This keeps compute costs constant while significantly increasing the total parameter count. Despite the success of models like the Switch Transformer, the exact mechanics of why MoE layers improve quality remain poorly understood. Furthermore, training trillion-parameter models typically requires massive, specialized hardware setups, such as 2048 TPU cores, which are inaccessible to most research teams.
Methodology: Expert Prototyping
The authors systematically investigate MoE components, specifically load balancing, top-$k$ routing strategies, and expert capacity. To overcome the computational bottlenecks of standard routing, they propose Expert Prototyping ($k$ top-1 routing).
In standard Top-$k$ routing, all experts are evaluated, and a sequential argmax operation finds the top $k$ experts for each token. This process scales poorly as $k$ increases. In contrast, Expert Prototyping splits the total pool of experts into $k$ distinct groups, or "prototypes." A router for each group independently selects its top-1 expert. This parallelizes the routing process, avoiding the sequential bottleneck while retaining the benefits of multi-expert activation.
The researchers also explored MoE Attention, replacing linear transformations within the attention mechanism with MoE layers. However, this approach increased training difficulty and generally degraded performance compared to standard MoE Feed-Forward Networks (FFNs).
Key Insights
A significant finding of this work is that load imbalance is not as detrimental as previously believed. While using an auxiliary load-balancing loss successfully equalized token distribution across experts, it actually worsened model perplexity in several tests. This suggests that forcing a uniform load may interfere with the natural specialization of experts.
Furthermore, the study confirms that routing tokens to multiple experts (e.g., top-2 or top-4) consistently outperforms top-1 routing. Expert prototyping allows the model to achieve these quality gains without the latency hit associated with standard top-$k$ routing.
Key Results and Scaling
The efficiency gains from expert prototyping are substantial. For a 1.5B parameter model, standard Top-4 routing required 305.3 ms/step. The proposed 4 Top-1 routing (expert prototyping) reduced this to 225.3 ms/step—nearly as fast as standard Top-1 (214.3 ms/step) but with significantly higher model quality.
Leveraging these efficiencies, the team successfully trained a 1-trillion parameter model on a cluster of just 480 NVIDIA V100 GPUs. This represents a massive reduction in hardware requirements compared to previous state-of-the-art models. Notably, the trillion-parameter model equipped with expert prototyping achieved a 3x speedup in training convergence compared to a baseline MoE model of the same size.
Limitations and Future Work
Due to extreme compute costs and system instabilities at the trillion-parameter scale, the largest model was only trained for 2,500 steps. Additionally, while MoE attention showed some promise in deeper models, it failed to outperform standard MoE FFN baselines. Successfully integrating MoE into attention mechanisms remains a key challenge for future research.
Summary updated