ailocalinference

← Glossary

Mixture of Experts (MoE)

Sparse architecture activating only a fraction of weights per token

Architecture

In plain English

A council of 8 specialized doctors. When a patient arrives, only the 2 most relevant doctors give advice, saving time and energy.

Technically

A model architecture where feed-forward network (FFN) layers are split into multiple independent expert subnetworks. A learned router dynamically activates top-k experts per token (e.g. 2 of 8 in Mixtral 8x7B, or 8 of 256 in DeepSeek-R1), decoupling total parameter capacity from per-token compute cost.

Related terms

Multi-Head Latent Attention (MLA)Memory BandwidthDecodeDeepSeek-R1 & V3

More in Architecture

AttentionGrouped-Query Attention (GQA)Multi-Head Latent Attention (MLA)Multi-Token Prediction (MTP)Sliding Window Attention (SWA)