Explain mixture of experts: routing, load balancing and memory

MediumConcept20 minRERSMLEPro outline

The question

Explain how a sparse mixture of experts layer works in a transformer.

Cover routing, why load balancing is needed, what 'total' versus 'active' parameters mean, and what makes MoE models harder to train and serve.

What the interviewer is looking for

  • Correct description: the feed-forward block is replaced by many experts and a router picks top-k per token
  • Explains the load balancing loss and capacity factor
  • Distinguishes compute per token (active) from memory (total)
  • Knows serving costs: all experts must be in memory, all-to-all communication with expert parallelism
  • Mentions training instabilities and fixes

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Mistral AI question type: Mixture of experts, parallelism, normalization and optimizers.

Reported in: supacv.com, datainterview.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Mistral AI question.