Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Blog › Explore in 3D

25 November 2026 · 4 min readInteractive 3D

A valley between hills with rays of light
Photo by Jonny Gios on Unsplash

What is a saddle point? Flat spots that slow AI

A saddle is downhill one way and uphill the other. In big models, saddles are far more common than valleys. See one in 3D.

A horse’s saddle dips down from front to back but rises up from side to side. At its centre the ground is perfectly flat, yet it is neither the top of a hill nor the bottom of a valley. That is a saddle point.

Start the ball near the middle and watch it slow down before sliding off.

Flat, but not finished

Gradient descent looks for flat ground. At a saddle, the slope is zero, so steps become tiny and progress crawls. Eventually a small nudge sends the ball rolling off down the falling side, but it can waste a lot of time first.

Why saddles are everywhere

For a flat spot to be a valley, the ground must curve upwards in every single direction. With millions of directions, it is very likely that at least one curves down. So in large models, most flat spots are saddles, not valleys. Optimisers such as momentum and Adam help by keeping some speed through flat regions.

A useful picture: a valley needs every direction to agree. A saddle needs only one to disagree.

The classic example

The surface z = x² − y² looks like a horse saddle or a Pringle crisp. At the origin both slopes are zero. Walk along the x direction and you go up; walk along the y direction and you go down. So the origin is neither a top nor a bottom.

  1. ∂z/∂x = 2x, zero at x = 0
  2. ∂z/∂y = −2y, zero at y = 0
  3. Along y = 0: z = x², a valley
  4. Along x = 0: z = −y², a hill

How to tell from the second derivatives

For a function of two variables, compute the second derivatives fxx, fyy and fxy at the flat point. If fxx × fyy − fxy² is negative, the point is a saddle. If it is positive, it is a valley (fxx > 0) or a peak (fxx < 0). For z = x² − y², fxx = 2, fyy = −2 and fxy = 0, giving −4: a saddle.

Why training slows near saddles

Near a saddle the slopes are tiny, so plain gradient descent takes tiny steps and can crawl for a long time. Methods like momentum and Adam keep moving through these flat regions, which is one reason they are used for almost every modern model.

In high dimensions, saddle points vastly outnumber local minima, so escaping saddles matters more than escaping valleys.

Why high dimensions are full of saddles

At a flat point, each direction curves either up or down. For a true valley, every direction must curve up. If each direction were like a coin toss, with two directions the chance of all up is ¼; with 100 directions it is less than one in 10³⁰. So almost every flat point in a big model is a saddle, not a valley.

Glossary

  • Critical point: where all first derivatives are zero.
  • Second derivative: how the slope itself is changing.
  • Hessian: the table of all second derivatives.
  • Adam: a popular optimiser that adapts its step size.

Try these yourself

  1. Q1. f = x² + y² at (0, 0): fxx·fyy − fxy² = 4 > 0 and fxx > 0, a minimum
  2. Q2. f = xy at (0, 0): fxx = fyy = 0, fxy = 1, so −1 < 0, a saddle
  3. Q3. f = −x² − y²: a maximum (peak)
  4. Q4. f = x² − 3y²: a saddle

Where you see saddles

  • A mountain pass between two peaks.
  • A horse saddle or a Pringle crisp.
  • The loss landscape of nearly every large neural network.

In short

A saddle is flat but not a valley: up one way, down another. Second derivatives tell them apart, and modern optimisers are designed to slide off them.

Keep going

  • Glossary: saddle point
  • Lesson: momentum and Adam
  • Local minima explained
  • What is a learning rate? Why step size matters
  • What is linear regression? Fitting a plane in 3D
  • What is noise in data? Why models miss points

Read and listen in

Indian languages

World languages

Questions people ask

What is a saddle point?

A point where the slope is zero but the surface goes up in one direction and down in another, like the middle of a horse saddle.

How do you know if a point is a saddle point?

Check the second derivatives: if fxx × fyy − fxy² is negative at a flat point, it is a saddle.

Why do saddle points matter in machine learning?

Gradients are almost zero near them, so training can stall. Momentum and adaptive methods help models move past them.

More articles

  • What is a learning rate? Why step size matters
  • What is linear regression? Fitting a plane in 3D
  • What is noise in data? Why models miss points