NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Token-Conditional Expert Dropout: Implicit Regularization for Stable MoE Pretraining

Haili WangNeurIPS 2026

TL;DR

Mixture-of-Experts (MoE) language models love to play favorites during pretraining, routing almost all work to a handful of sub-networks while starving the rest—a "rich-get-richer" spiral called expert collapse. Instead of slapping on auxiliary loss penalties that fight the main training objective, this paper introduces Token-Conditional Expert Dropout (TCED): a lightweight training trick that randomly masks overused experts and hands their tokens to the runner-up. It stabilizes training, boosts downstream reasoning scores, and costs practically zero extra compute.

What Problem Does This Paper Address?

Modern frontier models (like DeepSeek-V3 and Llama 4) rely on Mixture-of-Experts (MoE) architectures to scale up parameter counts without blowing up inference costs. Instead of firing the whole neural network for every word, a learned "router" sends each token to just the top-$k$ best-suited sub-networks ("experts").

Early in training, however, MoEs suffer from expert collapse. If one expert gets chosen slightly more often by chance, it receives more gradient updates, gets smarter faster, and consequently gets picked even more by the router. Meanwhile, neglected experts starve, dominant experts overfit, and training destabilizes with sudden loss spikes.

Standard fixes add auxiliary "load-balancing" loss terms that penalize uneven routing. While effective to a degree, these penalties treat the symptom rather than the underlying feedback loop, require delicate hyperparameter tuning, and inject competing gradients that distract the model from its actual job: predicting the next token.

Methods

Think of classical dropout, where random neurons are muted so the network doesn't over-rely on any single pathway. TCED applies this exact intuition at the expert level, turning a positive feedback loop into a self-correcting negative one.

Figure 1: Overview of TCED (illustrative values; E=8 experts, top-2 routing). (a) The router gθ scores the experts and selects the top two, experts 3 and 6. Expert 3 is over-utilized and therefore masked with high probability; here m3=1, so the token is re-routed to its next-highest-scoring expert that is not already selected (expert 5), while expert 6 is kept (m6=0). The output combines the active experts with renormalized gates ˜π. (b) The running utilization ¯ue (left axis) sets the drop probability pe = min(pmax, γE¯ue) (right axis), which equals γ at the uniform rate 1/E. Updating ¯u by an EMA after routing (Eq. (4)) closes a negative feedback loop: the more an expert is used, the more often its tokens are re-routed.

During training, TCED tracks an exponential moving average (EMA) of how frequently each expert is used. When the router assigns a token to its top-$k$ experts, TCED flips a biased coin for each chosen expert:

  • Utilization-conditioned masking: The probability of dropping an expert scales proportionally with its recent utilization (up to a safety cap, $p_{\max}$). Popular experts get dropped aggressively; underdogs are rarely touched.
  • Deterministic re-routing: If an expert is masked, the token isn't zeroed out. Instead, it is handed straight to the highest-scoring unchosen backup expert already identified by the router's sorting step.

Crucially, the drop probability is detached from backpropagation so routing statistics don't leak weird gradients back into the router, and TCED is turned off completely at inference time. Unlike recent "bias-based" loss-free balancing (used in DeepSeek-V3), which permanently alters router state by shifting selection boundaries for all tokens at once, TCED leaves the router untouched and stochastically perturbs individual token assignments.

Datasets

  • Pretraining: 480 billion tokens (and 100B for smaller ablations) sampled from a curated multilingual mix of filtered Common Crawl, scientific papers, code repositories, and synthetic reasoning traces.
  • Evaluation: Zero-shot accuracy across five established reasoning and coding benchmarks: MMLU-Pro (college-level multi-domain), GPQA (graduate-level science), BBH (BIG-bench Hard), HumanEval+ (code synthesis), and MATH-500 (math problem solving). No new datasets are introduced.

Key Insights and Ideas

  • Uniform randomness isn't enough: Dropping experts at a flat, uniform rate fails to fix collapse because every expert's gradient is scaled down equally, preserving the exact relative advantage that fuels the rich-get-richer loop. Conditioning dropout on utilization is the secret sauce—removing it more than doubles residual imbalance and drops MMLU-Pro accuracy by 1.7 points.
  • Re-routing beats muting: Simply zeroing out a masked expert's output hurts both stability and accuracy because the token loses its routing signal. Handing the token to its second-choice expert gives marginal experts the gradient signal they need to catch up.
  • Virtually free lunch in compute: Because the router already ranks all experts to find the top-$k$, looking up the $(k+1)$-th choice and sampling a Bernoulli mask adds just 0.36% to per-step wall-clock time.

Key Results

The author pretrained a 1.4B-active / 8B-total parameter MoE (64 experts, top-6 routing) across 256 H100 GPUs, comparing five stability recipes (one run each).

Figure 2: Expert utilization variance across pretraining for the four original recipes (one run per recipe; the bias-based run is not shown). Vanilla MoE becomes strongly imbalanced and stays so, the auxiliary-loss recipes contain but do not eliminate the imbalance, and TCED remains within [0.02, 0.04] throughout training. Curves are exponentially smoothed for clarity.
  • Crushing collapse: Relative to a tuned Auxiliary-Loss + Z-Loss baseline, TCED cut steady-state expert utilization variance by 67% (0.033 vs. 0.10)—and by 94% compared to Vanilla MoE (0.582). While Vanilla MoE suffered two loss spikes requiring checkpoint rollbacks (and Aux-Loss had one), TCED trained smoothly with zero spikes.
  • Better downstream brains: Freeing the model from competing auxiliary gradients paid off across every benchmark. Over the Z-Loss + Aux-Loss baseline, TCED boosted MMLU-Pro by +2.1 points (36.3% vs. 34.2%), GPQA by +2.1 (28.5% vs. 26.4%), BBH by +2.2, HumanEval+ by +2.5, and MATH-500 by +1.9.
  • On par with frontier loss-free methods: TCED performed neck-and-neck with DeepSeek-style bias-based loss-free balancing, edging it out by 0.3–0.4 points on evaluated benchmarks with 13% lower utilization variance (0.033 vs. 0.038).

Limitations and Future Work

  • Single-seed, single-scale: Pretraining 8B models on 480B tokens isn't cheap (7,680 H100 hours per run), so each recipe was trained only once. Without confidence intervals, small gaps—like the sub-point lead over bias-based balancing—are treated as inconclusive ties, and transferability to massive frontier scales (hundreds of billions of parameters) isn't guaranteed.
  • Untested on Top-1 routing: All main experiments used top-6 routing (plus ablations at $k=2, 12$). Top-1 routing (like Switch Transformers), where winner-take-all collapse is sharpest, remains untested.
  • Narrow theoretical bounds: The mathematical proof of variance reduction assumes a stationary router in steady-state; the chaotic early-training phase where collapse actually ignites is only validated empirically.
  • Future directions: Testing multiple random seeds, scaling up to frontier model sizes, evaluating top-1 routing, and combining TCED with bias-based balancing since the two operate on completely orthogonal mechanisms.

Summary updated

BibTeX
@inproceedings{wang2026token,
  author = {Haili Wang},
  title = {{Token-Conditional Expert Dropout: Implicit Regularization for Stable MoE Pretraining}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XhZkbaD4Ft},
}
Figure