drag = orbit · wheel = zoom

GradNorm: Loss Weighting for Multi-Task Learning (2D)

A shared trunk feeds three task-specific heads, and this simulator lets you switch between the three standard ways a real multi-task network decides how hard each task is allowed to pull on those shared weights: naive equal weighting, Kendall's learned-uncertainty weighting, and Chen et al.'s GradNorm, which actively balances each task's gradient magnitude against its relative training pace. This 2D edition renders the network as a radial diagram you can drag to orbit and scroll to zoom — colored particle streams flow from each task head back into the trunk with a size and speed set by that task's live gradient norm — while a companion log-scale scope traces every task's loss over training steps, and side panels track every task's evolving loss weight and gradient norm step by step. Watch, in real time, a hard task get starved under equal weighting and then rescued the moment GradNorm or uncertainty weighting takes over.