EasyDeepLearn

What is a Mixture-of-Experts (MoE) LLM?

hard

Answer

  • An MoE model has many expert subnetworks (usually MLP blocks) and a router that picks a few (top-k, often 2) per token.
  • Only the selected experts run — the model has huge total parameter count but far fewer active parameters per token, so compute stays close to a dense model of the smaller active size.
  • Used by Mixtral, DeepSeek-V3, and others.
  • Challenges: load balancing across experts, communication overhead in distributed training.
Check yourself — multiple choice
  • MoE activates all experts for every token
  • MoE routes each token to a small subset of experts
  • MoE always improves latency over dense models
  • MoE has no load-balancing issues

Only a top-k subset of experts activates per token — sparse computation.

#moe#architecture

Practise LLMs & GenAI

214 interview questions in this topic.

Related questions