Momentum sgd sampling and curvature influence exit behaviors in optimization
Sampling and Curvature in First-Exit Comparisons for Momentum SGD
Machine Learning
Summary
How algorithms like momentum SGD stop moving at certain points depends on details of how data samples and curvature information are gathered—details that older theories often miss. The authors studied how using different ways to pick data can drastically change when and where the algorithm exits certain regions during training. They developed new math tools to predict these exit times more accurately, tested their ideas on standard machine learning models, and found that some common assumptions about step sizes and sampling don't always hold. Their results help explain the complex behaviors of momentum SGD and offer ways to better estimate its training dynamics.
What this means in practice
- •For machine learning engineers: Improve estimation of optimization exit times when tuning momentum SGD in training deep networks using sampling and curvature insights.
- •For deep learning framework developers: Incorporate precise minibatch and step-size control techniques to better manage convergence behaviors in momentum SGD implementations.
Authors
Haiyi Li
Abstract
First-exit prediction for momentum SGD depends on sampling information that pointwise gradient laws omit. Strongly convex finite pools with identical pointwise laws and matched iid momentum dynamics can have different reshuffled exits; even analytic pools with uniformly close pointwise laws can have separated exit probabilities. For persistent sampling in one dimension, we establish an explicit $O(h)$ mean-exit comparison with a finite-rate switching process under nonvanishing component velocities and step-size conditions; iid sampling instead averages to an ODE. Retaining realized minibatches and sampled curvature yields finite-window exit brackets beyond this regime. In 32 trained ridge-logistic runs, 29 meet prespecified targets with rounding-certified brackets; an enclosure control explains most of the width advantage. Exact-real certificates establish finite means at the original tested radii for three ResNet-18 checkpoints and give local finite-mean conditions for tanh and ViT networks; their upper bounds remain loose, and original-radius ViT mean guarantees remain unresolved despite 128 fresh continuation paths. A two-network replication gives 32/32 successful seeds in each of four finite-path persistence comparisons. Independent equal-length controls retain slower exits after refresh resets than without resets, but the refresh-versus-random ordering reverses with update length at both networks. These interventions do not causally decompose raw momentum SGD. Neural step-size scaling does not validate the switching limit.