For a general quadratic loss:

  • > 0 is the curvature
  • = minimum
  • = current parameter

Gradient descent update:

The error relative to the optimum is: After t steps:

So for convergence from any starting point:

Learning RateBehavior
No learning
Converge without oscillation
Reaches optimum in one step
Converges with oscillation
Oscillates infinitely
Diverges

If we multiply the loss by a constant:

Then:

Tip

If we multiply the loss by 100, gradients and curvature become 100 times larger. The maximum stable learning rate becomes 100 times smaller.

Multidimensional optimization

For when we have multiple parameters, consider a positive-definite quadratic:

  • = hessian matrix containing the second derivatives of the Loss

In each Hessian eigenvector direction, the error evolves according to:

= curvature in each direction

The direction with the largest positive curvature limits the stable learning rate.