Mixture of Experts (MoE)

Also known as: MoE

Category: Neural Networks & Architectures

An architecture that routes each input to a subset of specialized sub-networks (experts), allowing massive model capacity with efficient computation.

Full Explanation

Mixture of Experts (MoE) is an architecture where a large model is divided into many specialized sub-networks (experts), and a gating network routes each input token to only a few experts (typically top-2). This allows the model to have many more parameters (total capacity) than are activated for any single input, achieving better performance per FLOP of computation. MoE is typically applied to the feed-forward layers in transformers. Mixtral 8x7B, Switch Transformer, and GShard are prominent MoE models. Key challenges include load balancing across experts, training stability, and ensuring experts specialize meaningfully. MoE models can match the quality of dense models several times their activated size while being faster at inference. The approach has become increasingly popular for training frontier-scale language models where efficiency is critical.

Related Terms

More in Neural Networks & Architectures

Explore More

  • AI Tools Library — Discover AI tools related to Mixture of Experts (MoE)
  • AI Education — Courses to learn about Neural Networks & Architectures
  • AI News — Latest news and updates