Mixture-of-experts language models
What it is
Transformer blocks whose feed-forward layers are replaced by routed expert banks, activating a small slice per token.
When to use it
Best quality per FLOP for training and per token for serving — the standard frontier design (Switch, Mixtral, DeepSeek, Qwen, GLM, Grok).
Caveats
All experts must be held in memory even though only a few run per token, so memory needs are high relative to compute. Routing needs balancing losses to avoid expert collapse, and uneven expert load complicates batching and serving.
Key ideas
- Total parameters and active parameters are two different numbers
- Load balancing and router collapse are the practical failure modes
Related architectures
Original paper
Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity (2021, arXiv)