Load Balancing Mixture of Experts with Similarity Preserving Routers
Nabil Omi, Siddhartha Sen, Ali Farhadi
TL;DR
This paper tackles the issue of underutilized MoE routers by introducing SimBal, a similarity-preserving router objective that softly enforces token-wise relationships through a Gram-matrix loss $\mathcal{L}_{\text{orth}} = \left\| R^{\top} R - I_E \right\|_1$. By promoting near-orthogonality in router weights rather than hard constraints, SimBal preserves pairwise token similarities and prevents expert collapse, leading to faster convergence and less redundancy compared with traditional load balancing losses. Empirical results across MoE-M and MoE-L show ~36% faster training and improved perplexity, alongside a new Pairwise Expert Similarity (PES) metric that captures reduced redundancy and better specialization. Inference-time pruning further reveals that SimBal enables greater throughput gains with minimal perplexity loss, underscoring its practical benefits for scalable MoE training and deployment.
Abstract
Sparse Mixture of Experts (MoE) models offer a scalable and efficient architecture for training large neural networks by activating only a subset of parameters ("experts") for each input. A learned router computes a distribution over these experts, and assigns input tokens to a small subset. However, without auxiliary balancing mechanisms, routers often converge to using only a few experts, severely limiting model capacity and degrading performance. Most current load balancing mechanisms encourage a distribution over experts that resembles a roughly uniform distribution of experts per token. During training, this can result in inconsistent routing behavior, resulting in the model spending its capacity to learn redundant knowledge. We address this by introducing a novel load balancing loss that preserves token-wise relational structure, encouraging consistent expert choices for similar inputs during training. Our experimental results show that applying our loss to the router results in 36% faster convergence and lower redundancy compared to a popular load balancing loss.
