Inside the Mixture of Experts Router
from My Weird Prompts
Mixture of experts models are often pitched as an efficiency trick — activate a fraction of the network, get more capability per compute. But the interesting part is the gate itself: what happens when a token arrives and only a handful of experts get picked? This episode digs into the routing mechanism, from the small learned linear map that scores each expert to the top-k selection that decides who does the expensive work. Along the way, we look at how DeepSeek V3 separates selection scores from mixing weights, uses a dynamic per-expert bias instead of a heavy balancing loss, and constrains routing around the physical hardware experts live on. We also ask whether experts actually specialize in anything we'd recognize — biology, programming, a particular language — or whether the picture is far less intuitive than that. Key sources: • DeepSeek-V3 Technical Report — https://arxiv.org/html/2412.19437v2 • DeepSeek-V3.2 model card — https://huggingface.co/deepseek-ai/DeepSeek-V3.2 • Vinija's DeepSeek-V3 primer (routing/bias/group details). — https://vinija.ai/models/deepseekV3/ Episode 6243 — myweirdprompts.com/n/6243 (permanent short link: myweirdprompts.com/533595) Listen on Android: MWP FM Player — myweirdprompts.com/apk
Embed this episode
Chapters
No transcript yet.