Effectively Leveraging Momentum Terms in Stochastic Line Search Frameworks for Fast Optimization of Finite-Sum Problems
Matteo Lapucci, Davide Pucci
TL;DR
The paper tackles fast optimization of large-scale finite-sum problems by integrating momentum into stochastic line search frameworks through a mini-batch persistency strategy. The authors develop a data-persistent conjugate-gradient–style framework (MBCG-DP) with safeguards and derive convergence results under interpolation and the Polyak-Lojasiewicz condition, supported by a bias-corrected gradient estimator when persistency is used. Empirically, the proposed MBCG_FR variant achieves state-of-the-art performance on convex problems and competitive results on nonconvex deep-learning tasks, particularly at larger batch sizes. The work highlights practical benefits of data overlap in minibatches and offers a foundation for further exploration of momentum-line-search interactions in scalable optimization.
Abstract
In this work, we address unconstrained finite-sum optimization problems, with particular focus on instances originating in large scale deep learning scenarios. Our main interest lies in the exploration of the relationship between recent line search approaches for stochastic optimization in the overparametrized regime and momentum directions. First, we point out that combining these two elements with computational benefits is not straightforward. To this aim, we propose a solution based on mini-batch persistency. We then introduce an algorithmic framework that exploits a mix of data persistency, conjugate-gradient type rules for the definition of the momentum parameter and stochastic line searches. The resulting algorithm provably possesses convergence properties under suitable assumptions and is empirically shown to outperform other popular methods from the literature, obtaining state-of-the-art results in both convex and nonconvex large scale training problems.
