The Role of Memory in Stochastic Optimization
Not on the map. Why?
Abstract (arXiv)
The choice of how to retain information about past gradients dramatically affects the convergence properties of state-of-the-art stochastic optimization methods, such as Heavy-ball, Nesterov's momentum, RMSprop and Adam. Building on this observation, we use stochastic differential equations (SDEs) to explicitly study the role of memory in gradient-based algorithms. We first derive a general continuous-time model that can incorporate arbitrary types of memory, for both deterministic and stochastic settings. We provide convergence guarantees for this SDE for weakly-quasi-convex and quadratically growing functions. We then demonstrate how to discretize this SDE to get a flexible discrete-time algorithm that can implement a board spectrum of memories ranging from short- to long-term. Not only does this algorithm increase the degrees of freedom in algorithmic choice for practitioners but it also comes with better stability properties than classical momentum in the convex stochastic setting. In particular, no iterate averaging is needed for convergence. Interestingly, our analysis also provides a novel interpretation of Nesterov's momentum as stable gradient amplification and highlights a possible reason for its unstable behavior in the (convex) stochastic setting. Furthermore, we discuss the use of long term memory for second-moment estimation in adaptive methods, such as Adam and RMSprop. Finally, we provide an extensive experimental study of the effect of different types of memory in both convex and nonconvex settings.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Jul 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 2; 2023: 0; 2024: 2.
10 papers.
- 2022On Almost Sure Convergence Rates of Stochastic Gradient Methodscited by 32
- 2021A Bregman Learning Framework for Sparse Neural Networkscited by 15
- 2021Dynamics of Stochastic Momentum Methods on Large-scale, Quadratic Modelscited by 15
- 2022Trajectory of Mini-Batch Momentum: Batch Size Saturation and Convergence in High Dimensionscited by 15
- 2024Leveraging Continuous Time to Understand Momentum When Training Diagonal Linear Networkscited by 9
- 2021The Role of Momentum Parameters in the Optimal Convergence of Adaptive Polyak's Heavy-ball Methodscited by 7
- 2021Revisiting the Role of Euler Numerical Integration on Acceleration and Stability in Convex Optimizationcited by 6
- 2021Neural Architecture Search via Bregman Iterationscited by 5
- 2024Almost sure convergence rates of stochastic gradient methods under gradient dominationcited by 5
- 2021On the Generalization of Stochastic Gradient Descent with Momentumcited by 0
- 2024Almost sure convergence rates of stochastic gradient methods under gradient domination22 May 2024
- 2024Leveraging Continuous Time to Understand Momentum When Training Diagonal Linear Networks8 Mar 2024
- 2022Trajectory of Mini-Batch Momentum: Batch Size Saturation and Convergence in High Dimensions2 Jun 2022
- 2022On Almost Sure Convergence Rates of Stochastic Gradient Methods9 Feb 2022
- 2021Dynamics of Stochastic Momentum Methods on Large-scale, Quadratic Models7 Jun 2021
- 2021Neural Architecture Search via Bregman Iterations4 Jun 2021
- 2021A Bregman Learning Framework for Sparse Neural Networks10 May 2021
- 2021On the Generalization of Stochastic Gradient Descent with Momentum26 Feb 2021
- 2021Revisiting the Role of Euler Numerical Integration on Acceleration and Stability in Convex Optimization23 Feb 2021
- 2021The Role of Momentum Parameters in the Optimal Convergence of Adaptive Polyak's Heavy-ball Methods15 Feb 2021