Minimise starting from with initial velocity , learning rate and momentum . Compute and using (a) heavy-ball momentum (, ) and (b) Nesterov accelerated gradient (, ). How do the two updates differ?
Linear algebra and optimisation, Gradient methods
Level L2 Elementary. Length Medium. Nature Mat Mathematical.
What's being asked
Whether you can execute both momentum rules by hand and pinpoint where Nesterov evaluates the gradient.
Key idea
Both methods take the same first step when . On later steps, heavy-ball evaluates the gradient at the current point , whereas Nesterov first applies the momentum coast and evaluates the gradient at the look-ahead point , acting as a brake when approaching a minimum.
Steps
- Note the gradient is .
- Heavy-ball step 1: , so .
- Heavy-ball step 2: evaluate the gradient at , giving , so .
- Nesterov step 1: look-ahead point is , so and (identical to heavy-ball).
- Nesterov step 2: first compute the look-ahead point . Evaluate the gradient there (), giving , so .
- Compare: because the gradient at the look-ahead point is smaller than at , Nesterov automatically trims the velocity ( vs ), reducing overshoot in steep valleys.
Common mistakes
- Evaluating the Nesterov gradient at instead of .
- Updating from the look-ahead point instead of : the coast is already inside .
How long your answer should be
Half a page; 3–4 minutes.
Last checked on 4 December 2026.
Read this
Previous in Linear algebra and optimisation: Starting from , perform two steps of gradient descent on with learning rate . Does the iterate overshoot the minimum, and do the iterates still converge?
Next in Linear algebra and optimisation: How does RMSProp fix AdaGrad's diminishing step size, and for starting from with , and , what are and under (a) AdaGrad () and (b) RMSProp () with ?