Back to Discover
Spark

Why Gradient Descent Slows at Saddles

Gradient descent slows near a saddle because one direction has weak downhill slope and weak curvature, so the update becomes very small in that direction.

Before you enter

A complete interactive classroom, not just a preview.

Start when you are ready to enter this Stage's 4 scenes and explore, respond, and learn as you go.

4
Scenes
8 min
Estimated
Content language: en-US
Start this Stage
Sign-in may be required to play
What happens inside
  1. 01A Surface That Is Not Flat Everywhereslide
    Slot 1Hook

    Show a saddle-shaped loss surface: the path rises in one direction and falls in another, with the center appearing nearly level.

    • A saddle is flat in some directions
    • Its curvature changes with direction
    • The gradient can be close to zero without the surface being a minimum
    Phenomenon

    Gradient descent appears to creep along the nearly level center of a saddle-shaped surface.

    Question

    If the slope is almost zero, why does the optimizer take such short steps?

  2. 02Small Slope Does Not Mean Fast Escapeslide
    Slot 2Tension

    Contrast a gently sloping valley with the saddle's weakly curved direction. A small gradient alone does not reveal how rapidly the slope changes.

    • The step is proportional to the gradient
    • The direction may also have very small curvature
    • Both effects can make the update shrink
    Prediction

    Near the center, the update should become much smaller and progress should visibly stall.

    Tempting intuition

    A small gradient always means a small step, so the slowdown is simply caused by the loss changing very little.

  3. 03Curvature Controls the Effective Stepslide
    Slot 3Reveal

    Visualize the optimizer crossing a direction whose slope increases only slowly. After a small move, the gradient reverses or nearly disappears, so the next update cannot travel far.

    • The gradient supplies the direction and magnitude of the step
    • Weak curvature makes the gradient change only slowly
    • The resulting updates repeatedly overshoot and correct themselves
    Evidence

    Along the saddle's weakly curved direction, the gradient is small and changes gradually as the optimizer moves.

    Conclusion

    The slowdown comes from the combination of a small gradient and weak curvature, not from a small gradient alone.

    Mechanism
    1. 1A small gradient produces a small displacement from the saddle center.
    2. 2Because curvature is weak, the gradient remains small for a while, so the next displacement is again short.
  4. 04How to Recognize the Bottleneckslide
    Slot 4Takeaway

    Show that a larger step, momentum, or curvature-aware method can move farther across the weakly curved direction instead of repeatedly making tiny corrections.

    • Look for directions with small gradients and weak curvature
    • A larger effective step can cross the saddle region
    • The diagnosis applies to other nearly flat, sharply changing directions too
    Transfer

    When a training curve slows near a nearly flat region, consider whether the optimizer is spending many updates escaping a weak-curvature direction.

    Expected inference

    A small gradient can be harmless in a strongly curved direction, but near a saddle it can signal tiny updates and stalled progress.

Discussion

Discussion threads for a Stage aren't available yet.

Where this leads
Explore more

More in Math & Logic

See all