Mixture of experts
What it is
A gating network routes each input to a few specialist sub-networks, so total parameters grow without compute growing with them.
When to use it
Scaling up capacity at fixed inference cost — the defining design of modern large models (Mixtral, DeepSeek, Qwen, Grok).
Caveats
The gate can collapse onto a few experts and leave the rest unused, so training usually needs a load-balancing term. Hard routing decisions are discrete and awkward to train, and total parameter count and memory grow even though per-input compute does not.
Key ideas
- Sparse activation: N total parameters, k active per token
- Fine-grained experts and shared experts are the 2024+ refinements
- Routing stability is the hard part; balancing losses and capacity factors exist for it
Related architectures
Original paper
Adaptive Mixtures of Local Experts (1991, DOI)