Rethinking Convergence in MoE Training: The Role of Routing Sparsity
Abstract
Lay Summary
Large language models increasingly rely on Mixture-of-Experts (MoE) architectures to scale model capacity while keeping computation manageable. A key component of MoE training is sparse routing, where only a small subset of experts is activated for each input. The number of activated experts has a major impact on training: using more experts can improve learning efficiency but also increases computational cost. In practice, this routing sparsity is usually chosen through trial and error, with little theoretical understanding of how it affects training performance. In this work, we provide a theoretical analysis of how routing sparsity influences the convergence behavior of MoE training. Our results show that activating more experts can accelerate optimization, but only up to a point: under a fixed computational budget, increasing the number of activated experts also raises computation cost, creating an inherent trade-off. We further show that this trade-off implies the existence of an optimal routing sparsity that achieves the best training efficiency. Extensive experiments across diverse settings support our theoretical findings. By providing principled guidance for selecting routing sparsity, our work moves MoE training beyond heuristic tuning and offers insights for building more efficient large-scale AI systems.