"Gradient descent might get stuck in a local minimum" is one of the most repeated warnings about training neural networks. In a landscape with millions of dimensions, how often does that actually happen?
The gradient is exactly zero right where you started — by every test gradient descent has, this looks like a place to stop. Drag along and the value climbs. Drag along instead, and it falls. Zero gradient was never a guarantee of a minimum.
- A true minimum curves up in every direction
A flat point () is a true local minimum only if the function curves upward in every direction through it.
- One downward direction makes it a saddle
If even one direction curves downward instead, it's a saddle point — and gradient descent can simply walk out along that direction.
- The Hessian's eigenvalues decide which
Whether a given direction curves up or down is governed by the sign of an eigenvalue of the Hessian (the matrix of second derivatives); a minimum needs all of them positive.
Switch between Bowl and Saddle. Same starting point, same exactly-zero gradient — one traps you, one doesn't. In two dimensions, a random flat point has to get lucky in only 2 independent directions to be a true minimum.
- Model each dimension as a coin flip
Treat each of dimensions at a flat point as an independent coin flip: does the function curve up or down along that direction? A true minimum needs every coin to land "up."
- Compute the probability as n grows
With fair coins, that probability is :
- :
- :
- : — already under
- : — under one in a million
- Apply it to real networks
Real networks have millions of dimensions. Almost every flat point gradient descent finds is a saddle, not a trap — and saddles have at least one escape direction, which is exactly what noisy, non-exact gradients (Chapter 5 of Part II) are good at stumbling onto.
Starting exactly at the zero-gradient point, drag to reach a value of -2 or lower.
"Stuck in a local minimum" describes a 2D intuition that barely survives contact with high dimensions. The real obstacle in deep networks is usually a saddle point's flat region nearby, not the point itself — training slows down passing through, then finds a downhill direction and keeps going. The next few chapters look at other things that go wrong at depth, and why.