Mixture of Experts
Domain: LLM Concepts
π― Motivation
Instead of using the entire model for every token, MoE routes each token to a few expert sub-networks. This scales up capacity without scaling up compute.
π Concrete Example
A 1-trillion-parameter MoE might only use 12B parameters per token. 64 experts, top-2 routing: each token goes to 2 experts. Total knowledge is huge, but per-token cost is manageable.
π Analogy
A hospital with 64 specialist doctors - when a patient arrives, they donβt see all 64. They see the 2 most relevant specialists. The hospital has vast expertise, but each visit is efficient.