On the Provable Suboptimality of Momentum SGD in Nonstationary Stochastic Optimization
Sharan Sahu, Cameron J. Hogan, Martin T. Wells
TL;DR
The paper analyzes momentum SGD in nonstationary stochastic optimization, where the data distribution drifts and the minimizer moves over time. It develops finite-time, expectation, and high-probability bounds for SGD and momentum variants under uniformly strongly convex and smooth objectives, revealing a three-term error decomposition: initialization forgetting, irreducible gradient-noise floors, and drift-induced tracking lag. A key finding is the inertia window: as momentum $β$ approaches 1, momentum can amplify drift and delay adaptation, making SGD provably better in drift-dominated regimes, a fact supported by minimax lower bounds on dynamic regret. Experiments across drifting quadratics, linear/logistic regression, and teacher–student MLPs confirm the regime split: momentum helps in near-stationary, noise-dominated settings but harms tracking under genuine regime shifts, especially with ill-conditioning. These results provide a rigorous theoretical foundation for the empirical instability of momentum in dynamic environments and guide practical strategies like forgetting/restart mechanisms to mitigate drift effects.
Abstract
While momentum-based acceleration has been studied extensively in deterministic optimization problems, its behavior in nonstationary environments -- where the data distribution and optimal parameters drift over time -- remains underexplored. We analyze the tracking performance of Stochastic Gradient Descent (SGD) and its momentum variants (Polyak heavy-ball and Nesterov) under uniform strong convexity and smoothness in varying stepsize regimes. We derive finite-time bounds in expectation and with high probability for the tracking error, establishing a sharp decomposition into three components: a transient initialization term, a noise-induced variance term, and a drift-induced tracking lag. Crucially, our analysis uncovers a fundamental trade-off: while momentum can suppress gradient noise, it incurs an explicit penalty on the tracking capability. We show that momentum can substantially amplify drift-induced tracking error, with amplification that becomes unbounded as the momentum parameter approaches one, formalizing the intuition that using 'stale' gradients hinders adaptation to rapid regime shifts. Complementing these upper bounds, we establish minimax lower bounds for dynamic regret under gradient-variation constraints. These lower bounds prove that the inertia-induced penalty is not an artifact of analysis but an information-theoretic barrier: in drift-dominated regimes, momentum creates an unavoidable 'inertia window' that fundamentally degrades performance. Collectively, these results provide a definitive theoretical grounding for the empirical instability of momentum in dynamic environments and delineate the precise regime boundaries where SGD provably outperforms its accelerated counterparts.
