Auxiliary Loss
What is Auxiliary Loss?
In one sentence: An auxiliary loss is an extra training penalty added to encourage a side goal, such as balancing work across experts.
The main loss teaches the model to predict well. The auxiliary loss gently punishes uneven expert usage so the router spreads tokens out. It must be tuned carefully so it does not hurt the main task.
What does Auxiliary Loss look like?
An MoE model adds a small auxiliary loss whenever some experts are overused.
Why does Auxiliary Loss matter?
Auxiliary losses keep MoE training healthy.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/auxiliary-loss/">Auxiliary Loss, explained simply</a> (The AI Math Dictionary)