Skip to content
Lambdian

Learning rate

The step size of gradient descent: too small is slow, too large overshoots and diverges.

The learning rate η\eta multiplies the gradient in each update. If it is too small, training crawls; if it is too large, the loss bounces around or explodes to infinity. On a quadratic loss, gradient descent only converges when η<2/λmax⁡\eta < 2/\lambda_{\max}, where λmax⁡\lambda_{\max} is the largest curvature.

In practice try values on a log scale (0.1, 0.01, 0.001), standardise your features, and often decay the rate during training (step, cosine or "warm-up then decay" schedules). Adam's default of 10−310^{-3} is a common starting point for neural networks.

See it in action