Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
  • Matrices0/5
  • Derivatives0/5
  • Probability0/6
⋆\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
dydx\tfrac{dy}{dx}dxdy​Maths, module 12: Derivatives, lesson 5 of 5

Valleys, peaks and saddles

A zero gradient means the ground is level, but level ground comes in three kinds. Telling them apart explains a good deal about why training works at all.

8 minute readOne thing to try6 questionsFree

Read the whole lesson free

Make a free account to read on, try the interactive parts, answer the 6 practice questions and keep your progress.

Create a free accountLog in

What this lesson covers

  • Zero slope can mean a minimum, a maximum or a saddle.
  • The second derivative is curvature. High curvature needs a small learning rate.
  • In very many dimensions most level points are saddles, which descent can escape.

More in Derivatives

  1. 1Slope and the derivative
  2. 2The chain rule
  3. 3Gradients
  4. 4Backpropagation by hand
  5. 5Valleys, peaks and saddles