How does the smoothness (Lipschitz constant of the gradient) of a loss bound the largest stable learning rate?

Quick Overview

Asks how the Lipschitz constant of a loss gradient limits the step size of gradient descent, using the descent lemma and the quadratic case. Tests the stability threshold, why the sharpest direction caps progress, condition number effects, and how the classical picture changes for deep networks.

How does the smoothness (Lipschitz constant of the gradient) of a loss bound the largest stable learning rate?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: hard

Interview Round: Other

How does the smoothness (Lipschitz constant of the gradient) of a loss bound the largest stable learning rate? Assume plain gradient descent with a fixed step size $\eta$ on a loss whose gradient is $L$-Lipschitz. ```hint Use the upper bound Write the quadratic upper bound on $f(y)$ that $L$-smoothness gives, then substitute one gradient step for $y$. ``` ```hint Check a quadratic On a quadratic loss, follow the error along one eigenvector of the Hessian and look at the factor it is multiplied by each step. ``` ### What a Strong Answer Covers - The definition of $L$-smoothness and the quadratic upper bound (descent lemma) it implies - The guaranteed per-step decrease as a function of $\eta$, the stability threshold it gives, and the step that maximizes the guaranteed decrease - The quadratic case: how $L$ relates to the Hessian eigenvalues and what happens along each eigenvector - Why the sharpest direction limits progress along flat directions, and the role of the condition number - Where the global bound stops describing deep networks: local sharpness and edge-of-stability behavior ### Follow-up Questions - How does heavy-ball momentum change the largest stable learning rate on a quadratic? - On a quadratic with eigenvalues between $\mu$ and $L$, which fixed step size gives the fastest convergence, and what rate does it achieve? - In practice $L$ is unknown. How would you pick or adapt the step size?

Overview: Asks how the Lipschitz constant of a loss gradient limits the step size of gradient descent, using the descent lemma and the quadratic case. Tests the stability threshold, why the sharpest direction caps progress, condition number effects, and how the classical picture changes for deep networks.

General logo
General
Nov 25, 2026
hardMachine Learning EngineerOtherMachine Learning
0
0

How does the smoothness (Lipschitz constant of the gradient) of a loss bound the largest stable learning rate?

Assume plain gradient descent with a fixed step size η\eta on a loss whose gradient is LL-Lipschitz.

What a Strong Answer Covers Guidance

  • The definition of LL -smoothness and the quadratic upper bound (descent lemma) it implies
  • The guaranteed per-step decrease as a function of η\eta , the stability threshold it gives, and the step that maximizes the guaranteed decrease
  • The quadratic case: how LL relates to the Hessian eigenvalues and what happens along each eigenvector
  • Why the sharpest direction limits progress along flat directions, and the role of the condition number
  • Where the global bound stops describing deep networks: local sharpness and edge-of-stability behavior

Follow-up Questions Guidance

  • How does heavy-ball momentum change the largest stable learning rate on a quadratic?
  • On a quadratic with eigenvalues between μ\mu and LL , which fixed step size gives the fastest convergence, and what rate does it achieve?
  • In practice LL is unknown. How would you pick or adapt the step size?