Mixture of Experts

Mixture of Experts (MoE) is a machine learning architecture where the input is routed to a subset of specialized sub-networks (“experts”) via a gating mechanism. This approach enables scaling model capacity without proportional increases in computational cost during inference, as only a fraction of parameters are activated per token.

Core Mechanics

  • Gating Network: A lightweight neural network that determines which experts should process the input and how their outputs should be weighted.
  • Sparse Activation: Only the top-k experts are selected for each input, significantly reducing latency and computational overhead compared to dense models.
  • Load Balancing: Techniques to ensure experts are utilized evenly to prevent bottlenecks and improve training stability.

Industry Adoption & Case Studies

References