Skip to content

MoE (Mixture of Experts)

Abstract

MoE is an architecture where a model contains many narrow-specialized subnetworks or 'experts', and only the relevant ones are activated for each token. This significantly saves on computations.

How it Works

A typical (dense) model uses all its parameters when generating each token. An MoE model works differently: it has hundreds of 'experts'—small subnetworks, each strong in its domain. For each token, a special 'router' selects a few most suitable experts, and only they are engaged.

Example: DeepSeek-V3

  • Total parameters: 671 billion
  • Active per token: ~37 billion

This is like a library of 671 books, from which for each question you open only the 37 most relevant ones. The model is vast in knowledge but 'lightweight' in computations.

Pros and Cons

Pros Cons
Huge capacity with moderate costs Harder to train
Faster than dense models of the same size Requires more memory (to store all experts)
Scales better Nuances in balancing experts

Who Uses MoE

See Also