Muon Makes the First Mixture-of-Experts Layer Harder to Balance
Organizations: Escuela Politécnica Superior, Universidad Autónoma de Madrid
Abstract
Many open mixture-of-experts (MoE) language models train with Muon instead of AdamW. Most balance the load with a bias on each expert's routing score, adjusted after every step. Their recipes disagree on whether Muon should also train the router. In models with 55M and 108M active parameters, we measure how the optimizer changes the span of these biases, the largest minus the smallest in a layer. The span grows when all tokens favor the same experts, so it shows how hard a layer is to balance. At learning rates tuned on shorter runs, Muon raised the span of the first MoE layer at every seed, roughly doubling it on average, while the other layers changed much less. The rise came from Muon on the rest of the network, whichever optimizer trained the router. In those runs, the inputs to the first router shared a direction, and soon after the warmup its busiest expert averaged four to seven times its fair share. Over the first 3,000 steps, subtracting the batch mean from these inputs removed this overload while barely changing the loss. On the smaller model, halving Muon's learning rate removed most of the rise and slightly improved the loss. Moving only the router to AdamW made the loads shift more during the warmup and slightly raised the loss, so at this scale the results favor keeping the router on Muon.
Figures & tables
| What the report says | |||
|---|---|---|---|
| Model | Router | Balancer | about the router or the balance |
| DeepSeek-V4 | Muon | bias, balance loss | loss spikes tied to outliers in the MoE layers, which routing appears to exacerbate |
| Kimi K3 | Muon | bias set from the scores | a fixed bias step adapts slowly or oscillates |
| GLM-5.3 | Muon | bias, balance loss | cites GLM-5, which follows the training setting of GLM-4.5, whose Muon excludes only embeddings, bias vectors, and normalization gains |
| Qwen3.8-Flash-Next | AdamW | balance loss | Muon made the router unstable early, with no significant gain later |
| MiMo-V2.6 | AdamW | bias | frozen in reinforcement learning after it unbalanced the loads |
| Partition | Groups trained with Muon | Experiments |
|---|---|---|
| AdamW | none | all |
| Muon | all five | all |
| Muon, router on AdamW | all but the router | stress test, ablation, balance loss, large model |
| AdamW, router on Muon | the router | ablation |
| Experts on Muon | the routed experts | ablation |
| Attention on Muon | the attention | ablation |
| Metric | AdamW | Muon | Difference |
|---|---|---|---|
| Validation loss | 3.255 | 3.177 | [ , ] |
| Span, all layers | 0.105 | 0.137 | [ , ] |
| Span, first MoE layer | 0.084 | 0.194 | [ , ] |
| Update–load correlation | 0.379 | 0.024 | [ , ] |
| Update–load correlation, spectral norm | 0.102 | 0.035 | [ , ] |
| Load churn | 0.032 | 0.038 | [ , ] |
| Input | Score | Early | Common | Span, | Warmup | |||
|---|---|---|---|---|---|---|---|---|
| Arm | Loss | Span | cosine | offset | overload | share | all layers | churn |
| AdamW | 3.253 | 0.095 | 0.071 | 0.095 | 1.14 | 0.129 | 0.103 | 0.102 |
| AdamW, router on Muon | 3.248 | 0.099 | 0.074 | 0.100 | 1.16 | 0.151 | 0.117 | 0.092 |
| Muon, router on AdamW | 3.177 | 0.175 | 0.391 | 0.137 | 6.63 | 0.497 | 0.123 | 0.122 |
| Muon | 3.175 | 0.198 | 0.408 | 0.140 | 4.06 | 0.160 | 0.140 | 0.084 |
| Muon, half rate | 3.166 | 0.119 | 0.401 | 0.100 | 1.73 | 0.161 | 0.115 | 0.074 |
| Arm AdamW | Span | Early overload | Input cosine | Loss |
|---|---|---|---|---|
| Main comparison, small model, seeds 0 to 2 | ||||
| Muon | [ , ] | [ , ] | – | [ , ] |
| Ablation, small model, seeds 3 to 5 | ||||
| Muon | [ , ] | [ , ] | [ , ] | [ , ] |
| Muon, router on AdamW | [ , ] | [ , ] | [ , ] | [ , ] |
| Muon, half rate | [ , ] | [ , ] | [ , ] | [ , ] |
| Small model, | |||
|---|---|---|---|
| Metric | Small model | balance loss | Large model |
| Warmup churn | [ , ] | [ , ] | [ , ] |
| Early overload | [ , ] | [ , ] | [ , ] |
| Common share | [ , ] | [ , ] | [ , ] |
| Span | [ , ] | [ , ] | [ , ] |
| Loss | [ , ] | [ , ] | [ , ] |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Small model | Large model | |
| Blocks (dense, MoE) | 8 (1, 7) | 12 (1, 11) |
| Width , attention heads, head width | 512, 8, 64 | 768, 12, 64 |
| Hidden width of the dense FFN | 2,048 | 3,072 |
| Routed experts , selected , shared experts | 32, 4, 1 | 32, 4, 1 |
| Hidden width of an expert | 768 | 512 |
| Vocabulary | 16,384 | 16,384 |
| Setting | Value |
|---|---|
| Muon | Nesterov momentum , five Newton–Schulz steps, factor , |
| AdamW | , , , on every weight matrix, including the embedding table and the output head, and none on the gains |
| Control | the Nesterov momentum of Muon rescaled to the Frobenius norm , then the factor and of Muon |
| Tuning grids | AdamW from to (five rates), Muon from to (five), the control from to (six), each rate twice the one before |
| Rates, small model | AdamW , Muon , the control (tuning only) |
| Rates, large model | tuned with 1B tokens, AdamW and Muon , and used with 3B tokens, AdamW and Muon |
| Experiment | Model | Tokens | Arms and seeds | Runs |
|---|---|---|---|---|
| Tuning | small | 0.5B | AdamW and Muon at five rates, the control at six, AdamW with , seed 0 | 17 |
| Main comparison | small | 1B | AdamW and Muon, seeds 0 to 2 | 6 |
| Stress test | small | 0.5B | three recipe partitions at five multiples and Muon with the fast bias at multiple 4, seeds 0 to 2, and three calibration runs | 51 |
| Ablation | small | 1B | eight partitions, Muon at half rate, and AdamW and Muon without the bias, seeds 3 to 5 | 33 |
| Bias speed | small | 1B | AdamW and Muon with the usual and the fast bias, seeds 6 to 8 | 12 |
| Balance loss | small | 1B | AdamW, Muon, and Muon with the router on AdamW, all with the balance loss, seeds 3 to 5 | 9 |
Mixture-of-Experts Language Models
Mixture-of-Experts language models use input-dependent routing to activate a small subset of expert networks, increasing capacity without proportional compute.
See all 229 papers