Skip to main content
QUICK REVIEW

[Paper Review] Gradient descent with momentum --- to accelerate or to super-accelerate?

Goran Nakerst, John Brennan|arXiv (Cornell University)|Jan 17, 2020
Stochastic Gradient Optimization TechniquesComputer Science48 references5 citations
TL;DR

This paper proposes 'super-acceleration' in gradient descent with momentum by evaluating the gradient at a point several steps ahead (via a new hyperparameter σ > g), significantly improving convergence speed over standard Nesterov acceleration. For quadratic and synthetic loss landscapes, and in MNIST neural network training, optimal σ > 1 yields faster minimization, with benefits extending to adaptive optimizers like RMSProp and Adam.

ABSTRACT

We consider gradient descent with `momentum', a widely used method for loss function minimization in machine learning. This method is often used with `Nesterov acceleration', meaning that the gradient is evaluated not at the current position in parameter space, but at the estimated position after one step. In this work, we show that the algorithm can be improved by extending this `acceleration' --- by using the gradient at an estimated position several steps ahead rather than just one step ahead. How far one looks ahead in this `super-acceleration' algorithm is determined by a new hyperparameter. Considering a one-parameter quadratic loss function, the optimal value of the super-acceleration can be exactly calculated and analytically estimated. We show explicitly that super-accelerating the momentum algorithm is beneficial, not only for this idealized problem, but also for several synthetic loss landscapes and for the MNIST classification task with neural networks. Super-acceleration is also easy to incorporate into adaptive algorithms like RMSProp or Adam, and is shown to improve these algorithms.

Motivation & Objective

  • To improve gradient descent with momentum by extending Nesterov acceleration beyond one-step lookahead.
  • To investigate whether evaluating the gradient at a point several steps ahead (σ > 1) enhances convergence speed.
  • To analyze the optimal value of the new hyperparameter σ in both quadratic and non-quadratic loss functions.
  • To extend super-acceleration to adaptive optimizers like RMSProp and Adam.
  • To provide practical recommendations for using σ in training deep learning models.

Proposed method

  • Proposes a modified momentum algorithm where the gradient is computed at θ^(i) + σ·m^(i-1), introducing σ as a new hyperparameter.
  • Uses continuous-time ordinary differential equations (ODEs) to model momentum and Nesterov methods as damped harmonic oscillators.
  • Analyzes the one-dimensional quadratic loss function L(θ) = ½kθ² to derive the optimal σ analytically and numerically.
  • Employs numerical experiments on 2D and ~50D synthetic loss functions to evaluate performance across different σ values.
  • Tests the method on MNIST classification with feedforward and convolutional neural networks.
  • Extends the approach to adaptive optimizers like RMSProp and Adam by incorporating σ into their update rules.

Experimental results

Research questions

  • RQ1Can extending the Nesterov lookahead from one step to multiple steps (σ > 1) significantly accelerate convergence in optimization?
  • RQ2What is the optimal value of σ for minimizing a quadratic loss function, and how does it depend on the learning rate and curvature?
  • RQ3Does super-acceleration improve performance on non-quadratic, synthetic loss landscapes and real-world deep learning tasks like MNIST?
  • RQ4How does super-acceleration interact with adaptive optimizers such as RMSProp and Adam?
  • RQ5Under what conditions does super-acceleration fail, and how can these instabilities be mitigated in practice?

Key findings

  • For the one-dimensional quadratic loss function, the optimal σ is significantly larger than 1 (e.g., σ* ≈ 2–5) for most values of kη, indicating that super-acceleration improves convergence speed.
  • In 2D and ~50D synthetic landscapes, increasing σ beyond g ≈ 0.9 leads to faster minimization, but excessively large σ causes convergence to non-minimal points due to nonlinearities.
  • On the MNIST classification task with fully connected and convolutional networks, super-acceleration with σ > 1 accelerates training and improves convergence speed.
  • The method is easily integrated into adaptive optimizers like RMSProp and Adam, with preliminary results showing performance improvements.
  • For practical use, starting with σ ≈ 5 and gradually reducing it to σ ≈ 2 avoids instability while maintaining fast convergence.
  • The method fails in ultra-shallow regions (very small kη), where σ has little effect, and in highly nonlinear regions (e.g., σ ≳ 4 for some synthetic functions), where spurious attractors emerge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.