What happens during optimization if the learning rate is set too large?

Quick Overview

Asks what goes wrong in gradient-based training when the learning rate is too large. Tests the stability condition on a quadratic, how curvature limits the step size, the symptoms seen in training curves, and the usual fixes such as warmup and clipping.

What happens during optimization if the learning rate is set too large?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What happens during optimization if the learning rate is set too large? ```hint Try a quadratic Run gradient descent by hand on $f(w) = \tfrac{1}{2}\lambda w^2$. Write $w_{t+1}$ in terms of $w_t$ and ask when that update makes $|w|$ smaller. ``` ### What a Strong Answer Covers - What a step that is too large does to the iterates: overshooting, oscillation and divergence - The stability condition on a quadratic and which curvature direction sets it - How the problem shows up in training curves at different levels of severity - Practical fixes, and why a large but still stable learning rate can help ### Follow-up Questions - On $f(w) = 5w^2$, which learning rates converge smoothly, which oscillate while converging, and which diverge? - How does a learning-rate range test work, and how do you read its plot? - Why does Adam usually need warmup even though it rescales the gradient per parameter? - The loss spikes suddenly late in training. How would you tell a learning rate problem from a bad batch of data?

Overview: Asks what goes wrong in gradient-based training when the learning rate is too large. Tests the stability condition on a quadratic, how curvature limits the step size, the symptoms seen in training curves, and the usual fixes such as warmup and clipping.

Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What happens during optimization if the learning rate is set too large?

What a Strong Answer Covers Guidance

  • What a step that is too large does to the iterates: overshooting, oscillation and divergence
  • The stability condition on a quadratic and which curvature direction sets it
  • How the problem shows up in training curves at different levels of severity
  • Practical fixes, and why a large but still stable learning rate can help

Follow-up Questions Guidance

  • On f(w)=5w2f(w) = 5w^2 , which learning rates converge smoothly, which oscillate while converging, and which diverge?
  • How does a learning-rate range test work, and how do you read its plot?
  • Why does Adam usually need warmup even though it rescales the gradient per parameter?
  • The loss spikes suddenly late in training. How would you tell a learning rate problem from a bad batch of data?