Using the update convention vt=βvt−1+∇f(⋅) and θt=θt−1−ηvt, how does Nesterov accelerated gradient (NAG) differ from classical momentum, and for f(θ)=12θ2 with θ0=1, v0=4, β=0.5 and η=0.5, what is θ1 under each method?

Deep learning, Optimisers
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you know the lookahead gradient step of Nesterov momentum and can compute why it reduces overshoot.

Key idea

Classical momentum computes the gradient at the current position θt−1, whereas Nesterov computes it at the lookahead position θ~t−1=θt−1−ηβvt−1 where momentum alone will carry it. On the quadratic example, classical momentum overshoots to θ1=−0.5, while Nesterov lands directly on the minimum θ1=0.

Steps

  1. Write both updates: classical momentum sets vt=βvt−1+∇f(θt−1) and θt=θt−1−ηvt; Nesterov sets θ~t−1=θt−1−ηβvt−1, vt=βvt−1+∇f(θ~t−1), and θt=θt−1−ηvt.
  2. Classical calculation (f′(θ)=θ): at θ0=1, f′(1)=1, so v1=0.5(4)+1=3 and θ1=1−0.5(3)=−0.5 (overshoots 0).
  3. Nesterov calculation: the lookahead point is θ~0=1−(0.5)(0.5)(4)=0, where f′(0)=0. Thus v1=0.5(4)+0=2 and θ1=1−0.5(2)=0.
  4. Intuition: by checking the slope ahead of the momentum jump, NAG brakes automatically when momentum is about to carry the iterate past a valley floor.

Common mistakes

How long your answer should be

Half a page; 4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: What are the GELU and SiLU (Swish) activation functions, what is the exact derivative of SiLU⁡(z)=z σ(z), and why do modern deep architectures often prefer them over ReLU?
Next in Deep learning: What are the per-parameter update rules for AdaGrad and RMSProp, why does AdaGrad’s effective step size decay towards zero in deep learning, and for a constant gradient gt=2 with base learning rate η=0.1, decay rate ρ=0.9 and stability constant ϵ=0, what are the effective learning rates after 100 steps under AdaGrad versus RMSProp (at steady state)?