Distributionally Robust Mixture-of-Experts Training
Xin Teng, Muxiao Li, Hongyi Wen
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Mixture-of-Experts Optimization · Type: new method · Keywords: Mixture-of-Experts, routing robustness, distributionally robust training, expert specialization, MoE scaling
Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Mixture of Experts Architectures
Summary
Distributionally Robust MoE Training (DRMoET) introduces a drop-in objective that optimizes high-loss routing outcomes to improve expert reliability in sparse MoE models.
Explained to a 5-year-old
In a big computer brain, there are many tiny helpers called experts that each know a little something. When the brain wants to solve a problem, it decides which helper will work on it, but sometimes it picks a helper that isn't good at that problem. The new idea makes the brain choose helpers in a smarter way so that even if it picks a not-so-good helper, the brain still works well. It does this by looking at how often each helper makes mistakes and adjusting the choices to be safer. This helps big AI models be more reliable when they get used in real life.
Explained to a 5-year-old, longer
Big AI models are like a team of many small helpers that each know a special skill. These helpers are called experts, and the model decides which expert works on each piece of information. Sometimes the model picks a helper that hasn't learned enough about that piece, which can make the whole answer wrong. The paper introduces a new way to train these helpers so they are more robust when the model makes mistakes in picking them. It does this by looking at how often each helper gets things wrong and smoothing those mistakes over time. Then it changes the rule that decides which helper to use, making safer choices more likely. This helps the model keep working well even when it sometimes routes a task to a less-trained expert. The new training method also keeps the model fast because it still uses the same kind of calculations as before. Experiments show that the helpers have less variation in their errors and are better at handling different topics. The model also suffers less when forced to send tasks to unexpected helpers. Overall, the approach makes large sparse models more reliable for real-world use. It shows that focusing on routing robustness, not just balancing traffic, can improve performance.
For a technical reader
The paper proposes a drop-in training objective for Mixture-of-Experts (MoE) models that treats each expert group as a robustness unit rather than just balancing traffic. It computes per-layer expert losses, smooths them with an exponential moving average, and uses an entropy-regularized softmax to update routing probabilities, encouraging safer routing paths. When evaluated on large-scale FLAME-MoE configurations (746 M and 10.3 B parameters), the approach reduces expert-loss variance, cuts degradation under forced misrouting by 4.3 %, and improves domain-expert specialization. The method integrates seamlessly with existing MoE pipelines, requiring no changes to inference or model architecture. Overall, it demonstrates that focusing on routing robustness can yield more reliable sparse models for production AI systems.
Problem
Sparse mixture-of-experts models can suffer when routing sends tokens to poorly trained experts, leading to unreliable performance. This issue arises because load balancing alone does not guarantee that each expert is adequately prepared for its assigned inputs.
Method
The approach treats each layer's experts as robustness groups and optimizes for high-loss routing outcomes rather than just balancing traffic. It updates a per-layer expert distribution using an entropy-regularized softmax on smoothed, activation-weighted expert losses, strengthening plausible non-top routing paths while preserving standard MoE computation.
Results
The approach achieves lower expert-loss variance with similar mean loss, reduces degradation under misrouting by 4.3%, and yields better domain-expert specialization compared to prior balancing methods.
Contributions
It introduces a distributionally robust objective that optimizes routing outcomes for expert reliability and provides analyses showing reduced loss variance and improved specialization. The work highlights routing robustness as a key factor for reliable sparse MoE scaling.
Practical relevance
By making routing more robust, the work enables more reliable deployment of large sparse MoE models in production settings.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction