Experiments / live

Adam playground

Four optimizers, one landscape, one starting point. From a fixed start, plain SGD, momentum, RMSProp and Adam each run for a fixed number of steps and leave a colored trail across the contours. Switch the surface to a ravine and watch SGD zig-zag off the walls while Adam cuts to the floor; drag η and the βs and watch every trail react. The white dot is the minimum. The full story — the ladder from SGD to Adam and why the early steps need a bias correction — is in the essay.

loss surface — trajectories

SGD Momentum RMSProp Adam