Sparse MoE replaces one monolithic FFN with N specialist experts and a router that activates only top-k per token. Decoupling total parameters from per-token FLOPs unlocks huge capacity—but creates three engineering problems: expert buffer overflow, router collapse during training, and batch-dependent serving memory bandwidth. Tabs 1–2 are computed live from seeded browser simulations; Tab 3 combines published specs + formula.
capacity = ceil(C · Ttok · k / N) slots: excess tokens overflow and are dropped (falling back to the residual stream), while unused slots become wasted padding. Toggle Dropless MoE to see variable-sized block-sparse execution eliminate both.L = LCE + α·Laux (which pulls probabilities toward uniform but fights the LM gradient), and (3) DeepSeek-V3 aux-loss-free bias bi ← bi + γ·sign(1/N − fi) applied only to top-k selection while keeping gating weights untouched.E[experts] = N(1 − (1 − k/N)B) distinct experts, driving weight reads toward all total parameters while VRAM must always hold all N experts in memory.