Local Optima, Saddle Points, and Plateaus in Deep Learning

Early discussions of neural-network optimization focused heavily on the risk of gradient descent becoming trapped in poor local optima. As neural networks grew larger and researchers developed a better understanding of high-dimensional optimization, this view changed.

In large neural networks, saddle points and plateaus are often more relevant concerns than bad local minima.

The Traditional View of Local Optima

Consider a cost function involving two parameters:\[ J(w_1,w_2) \]

The horizontal axes represent \(w_1\) and \(w_2\), while the surface height represents the cost.

In a two-dimensional visualization, it is easy to draw a surface containing many valleys. Some valleys may be global minima, while others are higher local minima.

A local minimum satisfies:\[ \nabla J(w_1,w_2)=0 \]

and the cost increases in every nearby direction.

This visualization creates a natural concern: gradient descent could enter a poor valley and become trapped before reaching the global minimum.

However, this low-dimensional picture does not accurately describe many high-dimensional neural-network objectives.

Why Two-Dimensional Intuition Can Be Misleading

Modern neural networks may contain thousands, millions, or billions of parameters. Their cost functions therefore exist in extremely high-dimensional spaces:\[ J(\theta), \qquad \theta\in\mathbb{R}^n \]

where \(n\) may be very large.

A point with zero gradient satisfies:\[ \nabla J(\theta)=0 \]

But a zero gradient does not imply that the point is a local minimum. It could also be:

  • A local maximum
  • A saddle point
  • Part of a flat region
  • Another type of stationary point

Intuition developed from two-dimensional plots does not always transfer to high-dimensional optimization.

Curvature Around a Stationary Point

At a stationary point, the gradient is zero:\[ \nabla J(\theta)=0 \]

To understand the point’s local geometry, examine the curvature in different directions.

A direction may curve upward:\[ \text{positive curvature} \]

or downward:\[ \text{negative curvature} \]

At a true local minimum, the surface must curve upward—or at least not downward—in every direction.

In a high-dimensional space, satisfying that condition in every direction is restrictive.

The Hessian Perspective

The Hessian matrix contains the second derivatives of the cost:\[ H= \nabla^2J(\theta) \]

Its eigenvalues describe curvature along principal directions.

At a stationary point:

  • All positive eigenvalues indicate a strict local minimum.
  • All negative eigenvalues indicate a strict local maximum.
  • A mixture of positive and negative eigenvalues indicates a saddle point.
  • Zero or nearly zero eigenvalues indicate flat directions.

For a local minimum:\[ \lambda_i(H)>0 \qquad \text{for every }i \]

For a saddle point, there are directions with different curvature signs:\[ \lambda_i(H)>0 \]

for some \(i\), and:\[ \lambda_j(H)<0 \]

for others.

Why Saddle Points Are Common in High Dimensions

Suppose a cost function has 20,000 parameter directions. For a stationary point to be a strict local minimum, the surface must curve upward in all 20,000 directions.

If even one direction curves downward, the point is not a local minimum.

A high-dimensional objective has many opportunities to contain a mixture of upward and downward curvature. This makes saddle points far more plausible than a two-dimensional plot might suggest.

The informal probability argument sometimes used to illustrate this idea assumes that positive and negative curvature are equally likely and independent. Under that deliberately simplified assumption, the probability of positive curvature in all \(n\) directions would scale like:\[ \left(\frac{1}{2}\right)^n \]

For:\[ n=20{,}000 \]

this would be extraordinarily small.

This is not a formal model of neural-network Hessians, but it captures the intuition:

As dimensionality increases, it becomes increasingly restrictive for every direction to have the curvature required by a strict local minimum.

What Is a Saddle Point?

A saddle point is a stationary point that behaves differently in different directions.

In one direction, the surface may look like a valley:\[ J(\theta+\delta u) > J(\theta) \]

for small movement along \(u\).

In another direction, it may look like a hill:\[ J(\theta+\delta v) < J(\theta) \]

for movement along \(v\).

The gradient may still be zero at the center:\[ \nabla J(\theta)=0 \]

The name comes from the shape of a riding saddle: it curves upward in one direction and downward in another.

Because a downhill direction exists, a saddle point is not a local minimum.

A Simple Mathematical Example

Consider:\[ J(w_1,w_2)=w_1^2-w_2^2 \]

Its gradient is:\[ \nabla J = \begin{bmatrix} 2w_1\\ -2w_2 \end{bmatrix} \]

At:\[ (w_1,w_2)=(0,0) \]

the gradient is zero:\[ \nabla J(0,0) = \begin{bmatrix} 0\\ 0 \end{bmatrix} \]

But along the \(w_1\) direction:\[ J(w_1,0)=w_1^2 \]

which curves upward.

Along the \(w_2\) direction:\[ J(0,w_2)=-w_2^2 \]

which curves downward.

Therefore, the origin is a saddle point rather than a minimum.

Bad Local Minima Are Not the Only Concern

The modern perspective is not that local minima never exist. Neural-network objectives are nonconvex, so multiple minima and other stationary structures can occur.

Rather, the practical lesson is that poor local minima are often not the dominant obstacle once a network operates in a large parameter space.

Other difficulties can matter more:

  • Saddle points
  • Broad flat regions
  • Plateaus
  • Poor conditioning
  • Noisy gradients
  • Vanishing gradients
  • Exploding gradients
  • Inappropriate learning rates

What Is a Plateau?

A plateau is an extended region where the cost surface is nearly flat:\[ \left\lVert\nabla J(\theta)\right\rVert\approx0 \]

Unlike an isolated stationary point, a plateau can cover a large region of parameter space.

When gradient descent enters such an area, its update becomes small:\[ \theta_{t+1} = \theta_t-\alpha\nabla J(\theta_t) \]

If:\[ \nabla J(\theta_t)\approx0 \]

then:\[ \theta_{t+1}\approx\theta_t \]

The optimizer may therefore make extremely slow progress.

A plateau does not necessarily trap the optimizer permanently, but it can delay learning for many iterations.

Why Plateaus Are Difficult

Imagine that the cost decreases gradually toward a broad, nearly flat area. Gradient descent enters the plateau, but the slopes are very small.

It may then require many updates to move across the region:\[ \theta_1 \rightarrow \theta_2 \rightarrow \theta_3 \rightarrow \cdots \]

with:\[ \lVert\theta_{t+1}-\theta_t\rVert \]

remaining tiny.

Eventually, noise from mini-batches or accumulated optimizer state may move the parameters toward a direction where the slope becomes larger again. Once the optimizer leaves the plateau, progress can accelerate.

Plateaus Versus Local Minima

A poor local minimum and a plateau create different problems.

Poor local minimum

The gradient is zero, and every nearby direction increases the cost. A local optimizer cannot leave without sufficient noise or a nonlocal mechanism.

Plateau

The gradient is close to zero across a broad region, but lower-cost regions may still be accessible. The optimizer moves slowly because the available slopes are weak.

Saddle point

The gradient is zero, but at least one downhill direction exists. The difficulty is finding and moving along that direction.

StructureGradientCurvatureMain difficulty
Local minimumZeroUpward in all directionsNo nearby downhill direction
Saddle pointZeroMixed signsIdentifying an escape direction
PlateauNear zeroVery flatExtremely slow movement

How Momentum Helps

Momentum tracks an exponentially weighted average of recent gradients:\[ V_t = \beta_1V_{t-1} + (1-\beta_1)g_t \]

and updates:\[ \theta_t = \theta_{t-1} – \alpha V_t \]

Even when the current gradient becomes small, the accumulated velocity may continue moving the parameters through a flat region.

Momentum can therefore:

  • Preserve progress in a consistent direction
  • Reduce oscillation
  • Help traverse shallow areas
  • Accelerate movement after leaving a plateau

How RMSprop Helps

RMSprop tracks squared gradients:\[ S_t = \beta_2S_{t-1} + (1-\beta_2)g_t^2 \]

and scales the update:\[ \theta_t = \theta_{t-1} – \alpha \frac{g_t} {\sqrt{S_t}+\varepsilon} \]

It adjusts the effective learning rate independently for each parameter.

This can improve movement through poorly conditioned landscapes where some directions are steep and others are flat.

How Adam Helps

Adam combines momentum and RMSprop:\[ V_t = \beta_1V_{t-1} + (1-\beta_1)g_t \]\[ S_t = \beta_2S_{t-1} + (1-\beta_2)g_t^2 \]

After bias correction:\[ \theta_t = \theta_{t-1} – \alpha \frac{\hat{V}_t} {\sqrt{\hat{S}_t}+\varepsilon} \]

The momentum component preserves useful direction, while the RMSprop component adapts update sizes.

Advanced optimizers do not remove every difficult feature of the cost surface, but they can traverse flat or poorly conditioned regions more efficiently than standard gradient descent.

Mini-Batch Noise Can Also Help

Mini-batch gradient descent calculates gradients using only a subset of the data:\[ g_t = \nabla J^{\{t\}}(\theta) \]

These gradients contain noise relative to the complete-data gradient.

Although excessive noise can slow convergence, moderate variation may help the optimizer move away from saddle points or explore flat regions instead of remaining exactly stationary.

This is one reason the optimization path of mini-batch training can differ substantially from deterministic full-batch gradient descent.

Why Optimization Landscapes Remain Difficult to Visualize

A neural network may have millions of parameters:\[ \theta\in\mathbb{R}^{1{,}000{,}000} \]

No two- or three-dimensional plot can fully represent such a space.

Visualizations can illustrate individual concepts, but they omit:

  • Interactions among thousands of directions
  • Large flat subspaces
  • Parameter symmetries
  • Different curvature scales
  • Stochastic effects from mini-batches
  • Complex connectivity among low-cost regions

Our understanding of these landscapes continues to evolve, so simple diagrams should be treated as limited intuition rather than literal maps.

Practical Implications

When training a large neural network, do not automatically assume that slow progress means the optimizer is trapped in a bad local minimum.

Investigate other possibilities:

  • Is the learning rate too small?
  • Is the cost surface poorly conditioned?
  • Are gradients vanishing?
  • Is the optimizer traversing a plateau?
  • Are the input features normalized?
  • Is the initialization appropriate?
  • Would momentum, RMSprop, or Adam improve progress?
  • Is the model’s cost still trending downward over a longer interval?

A long flat period can be frustrating, but it does not necessarily mean that training has permanently failed.

Key Takeaway

In high-dimensional neural-network optimization, stationary points are often more likely to be saddle points than strict local minima.

A local minimum requires suitable upward curvature in every direction, while a saddle point contains both upward and downward directions.

Bad local minima are often less important in large neural networks than low-dimensional intuition suggests.

Plateaus remain a practical problem because gradients can stay close to zero across an extended region:\[ \left\lVert\nabla J(\theta)\right\rVert\approx0 \]

This can make learning extremely slow. Momentum, RMSprop, and Adam can help by preserving direction, adapting update scales, and moving through difficult regions more efficiently.

Similar Posts

Leave a Reply