Match each MoE load-balancing mechanism to its defining property.
Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
MoE load balancing splits into loss-based (Switch aux loss with f_i·p_i) and loss-free (DeepSeek dynamic bias on logits); high α on aux loss can distort task gradients.
Imagine assigning customers to checkout lanes. Switch-style aux loss is a manager who docks the store's sales bonus when one lane gets too popular, the penalty is baked into the main scorecard everyone optimizes. DeepSeek's bias approach is a sign that nudges customers toward shorter lines without changing the sales bonus formula. The f_i term counts who actually went to each lane (a hard count you can't differentiate through), while p_i is how likely the router thought each lane would be picked.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
7 min: aux loss mechanics, DeepSeek bias balancing, differentiability, and α tradeoffs.
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Treating f_i and p_i as interchangeable, or assuming aux loss free balancing means experts are perfectly uniform.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.