Training a neural network means repeatedly nudging its weights downhill on a loss surface — a landscape whose height is the error for a given set of weights. Which way you step, and how far, is entirely controlled by the optimizer and its hyperparameters. This lab drops four balls, one per optimizer, on the same 3D loss surface and lets you watch how learning rate and momentum change the path each one takes to the bottom.
Adam's name is an abbreviation of "Adaptive Moment Estimation" — it tracks both the first moment (mean) and second moment (uncentered variance) of the gradients, which is exactly the momentum term and the RMSProp term combined.
Four gradient-descent optimizers — SGD, Momentum, RMSProp and Adam — race across the same live 3D loss surface, letting you watch learning rate and momentum reshape each one's path to the minimum.
Each ball takes gradient steps scaled and shaped by its optimizer's own rule. On a steep ravine, plain SGD zig-zags or overshoots while adaptive methods like Adam and RMSProp settle in smoothly.
Raise the learning rate to see instability appear, tune momentum to see smoother trajectories, switch landscapes to test escaping local dips, and isolate a single optimizer to inspect its trail.
Adam is the default optimizer in most deep learning frameworks precisely because it adapts its effective learning rate per-parameter, making it far more forgiving of a poorly tuned learning rate than plain SGD.