Saddle point

On this page 7

A saddle point is a stationary point of a differentiable function at which the gradient is zero, yet the point is neither a local minimum nor a local maximum: the function increases along some directions and decreases along others. In optimization for artificial intelligence, saddle points matter because the loss surfaces of neural networks are high-dimensional and non-convex, and in such spaces saddle points are far more numerous than poor local minima.

The name comes from the shape of a horse saddle, which curves upward from front to back and downward from side to side. The textbook example is f(x, y) = x² − y², whose origin is flat in the first-order sense but curves in opposite directions along the two axes.

How a saddle point is identified mathematically

A saddle point is identified by combining the first-order condition with the second-order structure of the function. The gradient must vanish, which makes the point stationary, and the Hessian matrix of second derivatives must have both positive and negative eigenvalues, which makes the curvature indefinite.

Each eigenvector of the Hessian describes a direction, and its eigenvalue describes the curvature along that direction. Positive eigenvalues mark directions where the function bends upward, negative eigenvalues mark escape directions where it bends downward, and zero eigenvalues mark flat directions that the second-order test cannot classify. The number of negative eigenvalues is called the index of the stationary point.

The following table shows how the eigenvalues of the Hessian classify a stationary point.

Hessian eigenvaluesCurvature typeClassification
All positivePositive definiteStrict local minimum
All negativeNegative definiteStrict local maximum
Mixed signsIndefiniteStrict saddle point
Some zero, others one signSemidefiniteDegenerate, test inconclusive
Some zero, mixed signsIndefinite with flat directionsDegenerate saddle point
Classification of stationary points by Hessian eigenvalues

A strict saddle has at least one clearly negative eigenvalue, so a small step in the right direction always lowers the objective. A degenerate saddle, often called a plateau-like saddle, has very small or zero curvature in the escape direction, which makes it much harder for an algorithm to notice and leave.

Why saddle points dominate high-dimensional loss surfaces

In high dimensions, saddle points vastly outnumber local minima at most loss levels. A heuristic argument comes from random matrix theory: if the signs of the Hessian eigenvalues at a critical point behaved roughly independently, the chance that all of them are positive would shrink exponentially with dimension. A model with millions of parameters therefore has many more critical points with mixed curvature than with uniformly positive curvature.

Empirical studies of deep networks support a refined version of this picture. Critical points with high loss tend to have a high index, meaning many escape directions, while critical points with low loss tend to have a low index. Most local minima reached in practice lie close in value to the global optimum, so the practical obstacle in training is often slow progress near saddles and plateaus, not entrapment in a bad minimum.

The table below contrasts saddle points with the neighboring concepts of local and global optima.

ConceptGradientCurvatureTypical role in training
Saddle pointZeroMixed signsSlows optimizers, rarely final
Local optimumZeroNon-negative in all directionsPossible end point of descent
Global optimumZero if interiorNon-negative, lowest valueIdeal target, rarely certified
Plateau regionNear zeroNear zeroLong stalls in the loss curve
Saddle points compared with related critical points

How optimization algorithms behave near a saddle point

Different optimizers react to saddle points in very different ways, because they use different information about curvature. Plain gradient descent sees only the slope, so near a saddle the steps become tiny and progress slows dramatically, although it almost surely avoids converging to a strict saddle from a random initialization.

Newton’s method is attracted to any stationary point, including saddles, because it rescales each direction by the inverse of its curvature and therefore moves toward the stationary point even along negative-curvature directions. This is why pure second-order methods are rarely used on raw neural network losses without modification.

The table summarizes the behavior of common methods near a strict saddle.

MethodBehavior near a saddleReason
Gradient descentSlows down, usually escapesGradient shrinks, instability in negative directions grows
Stochastic gradient descentEscapes more reliablyMinibatch noise perturbs the iterate off the saddle
Momentum methodsEscape faster than plain descentAccumulated velocity carries the iterate through flat zones
Adaptive methods such as AdamOften faster escapePer-parameter scaling enlarges small gradients
Newton’s methodCan be attracted to saddlesInverts negative curvature into an attracting step
Saddle-free Newton, cubic regularizationDesigned to escapeUses absolute curvature or negative-curvature steps
Perturbed gradient descentProvably escapes strict saddlesAdds small random noise when the gradient is small
Optimizer behavior near saddle points

Theoretical work shows that perturbed gradient descent reaches an approximate second-order stationary point in a number of iterations that grows only polylogarithmically with dimension, which formalizes the intuition that noise helps optimization leave saddle regions.

Saddle points in min-max problems and duality

In some settings the saddle point is the desired solution, not an obstacle. In min-max optimization, one player minimizes and another maximizes the same function, and an equilibrium is a point that is a minimum along one set of variables and a maximum along the other.

  • Lagrangian duality: the optimal primal and dual variables form a saddle point of the Lagrangian under suitable conditions such as convexity and constraint qualification.
  • Generative adversarial networks: training seeks a saddle point of the generator and discriminator objective, which is why GAN training is notoriously unstable.
  • Adversarial training and robust optimization: the model minimizes a loss that an inner adversary maximizes.
  • Game-theoretic equilibria: in two-player zero-sum games, a mixed-strategy Nash equilibrium is a saddle point of the payoff function.

Here plain simultaneous gradient descent-ascent can cycle or diverge around the solution, so practitioners use extragradient methods, optimistic updates or two-timescale learning rates to converge to the saddle point.

Common misconceptions and practical diagnostics

Several widespread beliefs about saddle points are inaccurate, and recognizing them helps in diagnosing training problems correctly. The table lists frequent symptoms and their likely interpretation.

SymptomLikely causePractical response
Loss plateaus, then drops suddenlyEscape from a saddle regionKeep training, check learning rate schedule
Gradient norm near zero, loss still highSaddle or plateau, not a minimumAdd momentum, increase batch noise, warm restarts
Second-order method stallsAttraction to a saddleUse damping or saddle-free variants
GAN losses oscillateRotational dynamics around a saddleExtragradient or two-timescale updates
Training symptoms related to saddle regions

A small gradient norm is not proof of a minimum. Confirming the nature of a stationary point requires curvature information, which in practice is estimated with Hessian-vector products and the Lanczos method rather than by forming the full Hessian, since that matrix is too large for modern models.

In simple terms

Picture a mountain pass between two peaks. From the pass, the path goes uphill toward each peak. It also goes downhill into the valleys on either side. The pass is flat right where you stand, but it is not the lowest point and not the highest point. That pass is a saddle point.

When a computer trains an AI model, it walks downhill on a landscape of errors. Flat spots like mountain passes can fool it into slowing down. The good news is that a pass always has a way further down. A little randomness in each step usually pushes the model off the pass and back into steady descent.

A practical example

A machine learning team trains a 50-million-parameter image classifier with stochastic gradient descent and a learning rate of 0.1. For roughly 3,000 iterations, the training loss stays almost constant near 2.1, and the gradient norm drops below 0.01. A junior engineer suspects the model is stuck in a poor local minimum and proposes restarting from new weights.

A senior engineer instead estimates the smallest Hessian eigenvalue with a few dozen Hessian-vector products and finds it clearly negative. The model sits near a strict saddle region, not a minimum. The team adds momentum of 0.9 and keeps the original run. Within 500 further iterations the loss falls below 1.0, and the final model reaches the expected accuracy, saving a full restart and several GPU hours.