Mixture of Experts (MoE)

Appears in 1 paper · 1 tutorial

A layer type where multiple expert networks are available, and a router learns which expert(s) to use for each input.

As used in Paper 18 — Mistral 7B →

A layer type where multiple expert networks are available, and a router learns which expert(s) to use for each input. Mistral's follow-up, Mixtral 8×7B, uses this: 8 experts of 7B each, but only 2 experts activate per token. Provides larger model capacity with less compute than fully dense networks.

As used in LLM Infrastructure →

An architecture where each token uses only a few of the model's many "experts" per step — cheap to run per token, but all experts must still be stored.