Momentum
Category: Foundations of ML/AI
An optimization technique that accelerates gradient descent by accumulating a velocity vector from past gradients.
Full Explanation
Momentum is an enhancement to gradient descent that helps accelerate convergence by accumulating an exponentially decaying moving average of past gradients. Instead of updating parameters solely based on the current gradient, momentum adds a fraction of the previous update direction. This helps the optimizer move faster through regions with consistent gradient direction and dampens oscillations in ravines. The momentum coefficient, typically set between 0.9 and 0.99, controls how much past gradients influence the current update. Momentum significantly improves convergence speed compared to vanilla gradient descent. Nesterov momentum, a variant that computes the gradient at a "look-ahead" position, provides further acceleration. Momentum is a component of many modern optimizers including Adam and SGD with momentum.
Related Terms
More in Foundations of ML/AI
Explore More
- AI Tools Library — Discover AI tools related to Momentum
- AI Education — Courses to learn about Foundations of ML/AI
- AI News — Latest news and updates