SGD with memory: fundamental properties and stochastic acceleration

An important open problem is the theoretically feasible acceleration of mini-batch SGD-type algorithms on quadratic problems with power-law spectrum. In the non-stochastic setting, the optimal exponent in the loss convergence is double that in plain GD and is achievable using Heavy Ball (HB) with a suitable schedule; this no longer works in the presence of mini-batch noise. We address this challenge by considering first-order methods with an arbitrary fixed number of auxiliary velocity vectors (*memory- algorithms*). We first prove an equivalence between two forms of such algorithms and describe them in terms of suitable characteristic polynomials. Then we develop a general expansion of the loss in terms of signal and noise propagators. Using it, we show that losses of stationary stable memory- algorithms always retain the exponent of plain GD, but can have different constants depending on their effective learning rate that generalizes that of HB. We prove that in memory-1 algorithms we can make arbitrarily small while maintaining stability. As a consequence, we propose a memory-1 algorithm with a time-dependent schedule that we show heuristically and experimentally to improve the exponent of plain SGD.
View on arXiv@article{yarotsky2025_2410.04228, title={ SGD with memory: fundamental properties and stochastic acceleration }, author={ Dmitry Yarotsky and Maksim Velikanov }, journal={arXiv preprint arXiv:2410.04228}, year={ 2025 } }