Mixture of Experts: Sparse Gated Routing (2D)
Interactive 2D mixture-of-experts router: tokens are noisily scored and routed to their top-k experts on a rotatable radial diagram, alongside a live score panel, with an auxiliary-loss-free load-balancing bias you can toggle and expert-utilization readouts.
Every glowing dot leaving the gate at the center of the radial diagram is a token being routed to the small set of "expert" sub-networks the noisy top-k gate selected for it — exactly the sparse-activation mechanism that lets modern large language models pack far more parameters into a model than they ever touch per token. Drag the diagram to spin the expert ring, watch each token's raw vs. noisy score race in the panel below, tune top-k and the gating noise to see routing sharpen or blur, and flip on the auxiliary-loss-free load-balancing bias — the same trick used in DeepSeek-V3 — to watch overloaded experts get throttled back until utilization evens out across all six.
Watch tokens leave a gating network and travel across a rotatable 2D radial diagram to the top-k expert sub-networks a noisy top-k router selects for them, with a live score panel and an auxiliary-loss-free load-balancing bias you can toggle to flatten expert utilization in real time.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install