optimizer-arena race in 2D and 3D

Eight optimizers (GD, momentum, Nesterov, RMSProp, Adam, AdaGrad, AdamW, Lion) start from the same point on a loss surface. By default each one uses the learning rate that suits it best on that surface; untick "tune η" to give them all the same η, and pick a learning-rate schedule to decay it over the run. Drag the sliders to change β, ρ, β₁, β₂, ε, AdamW's λ and Lion's betas and the race reruns live. Click the contour map to move the start point, or switch to the 3D view to see the surface itself: drag to orbit, scroll to zoom.

View
Racers
optimizerηstepfupdate rule

Loss vs step