Shuffling Momentum Gradient Algorithm for Convex Optimization
Trang H. Tran, Quoc Tran-Dinh, Lam M. Nguyen
TL;DR
This work analyzes the Shuffling Momentum Gradient (SMG) algorithm for finite-sum convex optimization, combining shuffling updates with an anchor momentum to improve convergence. It provides new theoretical guarantees in both merely convex and strongly convex settings, achieving the state-of-the-art rate $O\left(\frac{1}{nT^2}\right)$ in the strongly convex case under randomized reshuffling, and matching leading rates for convex problems ($\mathcal{O}(n^{-1/3}T^{-2/3})$ with common LR schedules). The analysis introduces an anchor-momentum scheme where the epoch-end gradient average updates the momentum term, and derives key recursive bounds leveraging Bregman divergences and variance terms. Empirical results on logistic regression tasks corroborate the theoretical findings, showing competitive or superior training performance relative to SGD, SGD with momentum, and Adam under randomized reshuffling. Overall, the paper advances the understanding of momentum-augmented shuffling methods and their optimality in convex regimes, with clear avenues for future work on broader problem classes and momentum schemes.
Abstract
The Stochastic Gradient Descent method (SGD) and its stochastic variants have become methods of choice for solving finite-sum optimization problems arising from machine learning and data science thanks to their ability to handle large-scale applications and big datasets. In the last decades, researchers have made substantial effort to study the theoretical performance of SGD and its shuffling variants. However, only limited work has investigated its shuffling momentum variants, including shuffling heavy-ball momentum schemes for non-convex problems and Nesterov's momentum for convex settings. In this work, we extend the analysis of the shuffling momentum gradient method developed in [Tran et al (2021)] to both finite-sum convex and strongly convex optimization problems. We provide the first analysis of shuffling momentum-based methods for the strongly convex setting, attaining a convergence rate of $O(1/nT^2)$, where $n$ is the number of samples and $T$ is the number of training epochs. Our analysis is a state-of-the-art, matching the best rates of existing shuffling stochastic gradient algorithms in the literature.
