Switch language한국어
Back to the list

Why Gradient Descent Zigzags and How Momentum Fixes It

TL;DR AI

Key summary

2 min read
  1. A stretched quadratic loss surface shows why vanilla gradient descent can struggle on uneven curvature.

  2. It overshoots in the steep direction and moves slowly along the flat direction, creating zigzagging updates.

  3. Momentum fixes this by keeping a running average of gradients, which dampens oscillations and builds useful velocity.

  4. In simulation, the momentum optimizer converges faster and more smoothly than plain gradient descent.

Read the original