AI Glossary Term

What does “Mixture of Experts (MoE)” mean?

Definition

An architecture with specialized subnetworks where only selected experts run per input.

How Mixture of Experts (MoE) works

Diagram for Mixture of Experts (MoE): Token comes in feed into Router picks the best 2 of 8 experts, which produces Expert 3 runs, Expert 7 runs.Token comes inRouter picks the best 2 of 8expertsExpert 3 runsExpert 7 runs

Example

A model may hold many expert subnetworks but send each token to only two of them. This way, it has a very large total number of parameters while using only a fraction of them for each token.

Why it matters

MoE lets models grow in capacity without a proportional rise in compute per token. It makes large models cheaper to run, though they still need lots of memory.

Common questions

Do experts specialize in topics?

Not necessarily in human-readable ways. They tend to specialize in patterns that help the model, which may not match neat subjects.

What is the router?

A small network that scores the experts and decides which ones process each token.

What is the trade-off?

All experts must be stored in memory, and balancing the load across them adds training complexity.

Learn more in our free guides

Test yourself

See also