NEW
Also known as: Nesterov Accelerated Gradient, NAG
A momentum variant that computes the gradient at a lookahead position, improving convergence over classical momentum in many settings.
DESCRIPTION
Nesterov Momentum modifies gradient descent by evaluating gradients at a projected future position of parameters. This lookahead reduces overshoot and can accelerate convergence compared to classical momentum. It is effective for convex and many non-convex problems. Common deep learning frameworks support Nesterov momentum as an option in SGD implementations. Proper tuning of learning rate and momentum coefficient is essential for stability.
ALTERNATIVE DEFINITIONS
Wikipedia
Nesterov accelerated gradient (NAG) is a first-order optimization method that makes use of the gradient at the next estimated position of the parameters.
Stresses lookahead gradient evaluation.
Stanford CS231n
Nesterov Momentum computes the gradient at the predicted future position of the parameters, leading to a corrective update that can improve convergence.
Emphasizes corrective nature and convergence benefits.
RELATED TERMS
Gradient Descent RMSProp Learning Rate Accelerated Gradient Methods Convex Optimization Optimizer First-Order Methods Convergence
COMPETING TERMS
RELATIONS
- Broader: Momentum
KNOWLEDGE AREAS
TARGET AUDIENCE
Data Scientist AI Engineer MLOps Engineer
EXTERNAL SOURCES
- Wikipedia - Nesterov accelerated gradient
- PyTorch - SGD optimizer docs with nesterov option
- Google Developers - Optimization concepts overview
TOP QUESTIONS
How does Nesterov Momentum differ from classical momentum?
It evaluates gradients at a lookahead position rather than the current one, providing a corrective step that can reduce overshoot and accelerate convergence.
Category: Comparison
When should I enable Nesterov Momentum?
It’s often beneficial in SGD-based training when you observe oscillations or slow progress in ravine-like loss landscapes.
Category: Decision
Does Nesterov Momentum always help?
No. Benefits are problem-dependent; improper learning rate or momentum settings can destabilize training.
Category: Misunderstanding
How do I tune Nesterov Momentum?
Start with momentum around 0.9 and adjust learning rate; monitor loss smoothness and validation metrics for stability.
Category: HowTo
Is Nesterov Momentum compatible with adaptive optimizers?
Yes. Nadam incorporates Nesterov into Adam, combining lookahead momentum with adaptive per-parameter updates.
Category: Integration
What is a good diagnostic for too much momentum?
Large oscillations or divergence indicate momentum is too high or learning rate too large; reduce one or both.
Category: Troubleshooting
Does Nesterov Momentum guarantee faster convergence?
It can accelerate convergence theoretically in convex settings, but guarantees depend on assumptions and tuning.
Category: Misunderstanding
How is Nesterov Momentum implemented in frameworks?
Frameworks like PyTorch and TensorFlow provide a nesterov flag in SGD optimizers to compute lookahead gradients.
Category: Implementation
What is the intuition behind the lookahead step?
The method anticipates where momentum will take the parameters and corrects the direction using a gradient computed there.
Category: Explanation