Knowledge note

Mixture of Experts

A sparse model architecture that routes each token through a small subset of many expert feed-forward networks to increase total capacity without activating every parameter.

Updated September 16, 2026Confidence: High

Mixture of Experts

Mixture of Experts is a sparse neural-network architecture where a router sends each token to a small subset of many expert feed-forward networks, increasing total parameter capacity while keeping per-token active compute limited.

Why It Exists

Dense scaling activates every parameter for every token, so larger models cost proportionally more at training and inference. MoE separates total capacity from active compute: many experts store knowledge and specialization, but only a few are evaluated per token.

How It Works

A router scores experts for each token and selects a Top-k subset. The selected experts process the token representation, their outputs are weighted by router scores, and the aggregate returns to the main model stream. Large MoE systems usually combine routed experts with shared experts, expert parallelism, load-balancing rules, and communication overlap.

Tradeoffs

MoE introduces routing instability, expert load imbalance, dispatch/combination communication, and train–inference consistency issues. Extreme expert counts need explicit load-balancing mechanisms such as routing biases, quantile balancing, redundant experts, or expert-parallel planning.

Common Confusions

  • Total parameters vs. active parameters: Total parameters count all experts; active parameters count only experts selected for one token.
  • MoE vs. attention: MoE usually expands feed-forward/channel mixing capacity, while attention controls token mixing.

Where It Appears

  • All-Gather — Common distributed primitive in parallel training systems.
  • All-Reduce — Common gradient-synchronization primitive.