ExpertMuon-Compass: Alignment-Guided Step Sizes for Mixture-of-Experts Training
cs.LG, cs.CL, math.OC
Submitted: 2026-10-02
Updated: 2026-10-02
Comments: 37 pages, 9 figures
License: http://creativecommons.org/licenses/by/4.0/
The gist: Mixture-of-experts (MoE) language models send each token to a few experts, so each expert is trained on a different part of the data, and this part changes during training.
Terminology
Abstract
Mixture-of-experts (MoE) language models send each token to a few experts, so each expert is trained on a different part of the data, and this part changes during training. With a shared learning rate, Muon applies updates of roughly the same size to expert matrices of the same shape, even when an expert's update is poorly aligned with its current gradient. We here propose ExpertMuon-Compass (Compass), which multiplies the Muon step of each expert by two factors. A family factor compares the cosine between the expert's orthogonalized update and its gradient with the same cosine for the other experts in its layer. A scalar radius aggregates the alignment between corresponding rows of the update and gradient into one step-length multiplier. Compass keeps the update direction and the momentum buffer of Muon. In pretraining on FineWeb-Edu, Compass with Nesterov momentum on all matrices performs as well as or better than Muon, NorMuon, and other optimizers, with weight decay matched to NorMuon in the longer runs. Adding its factors to NorMuon gives the same or a lower loss than NorMuon. Compass is the most effective when the data seen by each expert varies during training, for example, as when the languages of a multilingual corpus arrive in separate blocks. With Compass, the expert load stays balanced, and the router assigns tokens to experts more decisively. We also prove a perturbation bound for the two factors.
Sources
- On Surprising Effectiveness of Masking Updates in Adaptive Optimizers
- NorMuon: Making Muon more efficient and scalable
- Cautious Optimizers: Improving Training with One Line of Code
- Muon is Scalable for LLM Training
- 2 OLMo 2 Furious
- The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scale
- Excitation: Momentum For Experts
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer
- JetMoE: Reaching Llama2 Performance with 0.1M Dollars
- Beyond the Ideal: Analyzing the Inexact Muon Update
- Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks