MoE (Mixture of Experts)
An architecture where a multitude of narrow-specialized subnetworks or 'experts' live inside the model, and only the necessary ones are connected for each token.
How it works
A typical (dense) model uses all parameters when generating each token. An MoE model works differently: a special router selects several experts for each token.
Example: DeepSeek-V3
| Metric | Value |
|---|---|
| Total parameters | 671 billion |
| Active per token | ~37 billion |
This is like a library of 671 books, from which only 37 relevant books are opened for each question.
Pros and Cons
| Pros | Cons |
|---|---|
| Enormous capacity | Harder to train |
| Computational savings | Requires more memory |
| Good scalability | Expert balancing nuances |