Mixture of Experts (MoE)
What is Mixture of Experts (MoE)?
In one sentence: Mixture of Experts is a model design with many smaller "expert" networks, where a router picks only a few experts to handle each token.
Imagine a school with dozens of tutors, each good at different things. For each question, a coordinator sends it to the two best tutors instead of all of them. MoE works the same way, so the model can hold lots of knowledge while only using a small part per token.
Σ Quick math / rule of thumb: VRAM scales with Total Parameters, while per-token FLOPs scale with Active Parameters (e.g., 8×7B routes 2 of 8 experts: ~47B in RAM, ~13B compute per token).
What does Mixture of Experts (MoE) look like?
Mixtral 8x7B has 8 experts per layer and uses 2 of them for each token.
Why does Mixture of Experts (MoE) matter?
MoE lets models be huge and smart while staying fairly fast and cheap to run.
Mixture of Experts (MoE) vs. Dense Model
A dense model activates 100% of its parameters for every token, whereas a Mixture-of-Experts model stores many specialist sub-networks and routes each token through only a small active slice.
| Dimension | Mixture of Experts (MoE) | Dense Model |
|---|---|---|
| Parameters used per token | A fraction—roughly 5%–30% of total weights in popular models | 100% of weights |
| Speed per token | Fast—scales with active parameters | Scales directly with total model size |
| VRAM requirement | Still must hold all experts in memory | Fits total weights |
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/mixture-of-experts-moe/">Mixture of Experts (MoE), explained simply</a> (The AI Math Dictionary)