Momentum › Visualizations
Language AI HandbookAll chapters Momentum › VisualizationsOne section · Sections in this chapter10 / 18 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable

The loss curve plot reveals the key advantage of momentum: both variants converge much faster than plain SGD. Within the first 20 epochs, the momentum-based optimizers have already reached loss values that plain SGD will not achieve until epoch 60 or later. The curves for classical and Nesterov momentum are close but Nesterov's slightly more responsive correction gives it a small advantage in the early phase of training.


These trajectory plots make the oscillation problem and momentum's solution visually clear. The SGD path (left) zigzags across the valley walls, spending many steps moving laterally rather than toward the minimum. The momentum path (right) quickly aligns with the valley floor and approaches the minimum along a smooth arc. The contour ellipses elongated along the x-axis show the difficulty of the loss surface caused by the high curvature ratio.

The effective learning rate curve shows why momentum choice matters so much. At (the default), the effective step size for persistent gradient directions is 10 times the nominal learning rate. This is why practitioners typically reduce the base learning rate when switching from plain SGD to SGD with momentum. The relationship between and the multiplier is nonlinear and accelerates rapidly as approaches 1, which is why the difference between and is so dramatic in practice.