Three Phases of Expert Routing: How Load Balance Evolves During Mixture-of-Experts Training

Charafeddine Mouzouni
4/5/2026
cs.LGcs.AIcs.MA

No official code found. Best implementation: Cmouzouni/three-phases-moe (1 star, MIT, last commit 2026-04-05).

Abstract

We model Mixture-of-Experts (MoE) token routing as a congestion game with a single effective parameter, the congestion coefficient gamma_eff, that quantifies the balance-quality tradeoff. Tracking gamma_eff across training checkpoints of two open-source MoE models, OLMoE-1B-7B (20 checkpoints, with dense sampling in the surge region) and OpenMoE-8B (6 checkpoints), reveals a three-phase trajectory: a surge phase where the router learns to balance load (gamma_eff: 14 to 36-39, peaking in the step 30K-40K region), a stabilization phase where experts specialize under steady balance (B_0: 2.4 to 2.3, steps 100K-400K), and a relaxation phase where the router trades balance for quality as experts differentiate (gamma_eff: 27 to 9, steps 400K-1.2M). This non-monotone trajectory, invisible to post-hoc analysis of converged models, reveals that early MoE training prioritizes balance while late training prioritizes quality. The theoretical framework is honest about its limits: the single-type equilibrium reduces to temperature-scaled softmax (held-out L1: MFG = 0.199 vs. softmax = 0.200). The game is not a better predictor; it reveals what the temperature means and, critically, how that temperature evolves. We complement the dynamics with an effective congestion decomposition, a multi-type extension that improves load prediction via token clustering on all 16 layers (mean: 30%), scope diagnostics (K/M, epsilon_l), and robustness verification across four independent quality estimators (r >= 0.89). All confidence intervals are from bootstrap resampling over 50 independent text batches.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data for: Three Phases of Expert Routing — How Load Balance Evolves During MoE Training

10TeX, PythonApr 5, 20266 months agoMIT
deep-learningexpert-routingllm-architectureload-balancingmean-field-games+7 more

Similar Papers

Cite this paper

@article{mouzouni2026three,
  title  = {Three Phases of Expert Routing: How Load Balance Evolves During Mixture-of-Experts Training},
  author = {Charafeddine Mouzouni},
  year   = {2026},
  eprint = {2604.04230},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.04230v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.04230.svg)](https://codeofpaper.com/paper/2604.04230)

Discussion