TL;DR
While momentum is widely used to accelerate Stochastic Gradient Descent (SGD), tuning the momentum hyperparameter $\beta$ has historically relied on static heuristics (such as fixing $\beta = 0.9$). This paper proves both analytically and empirically that scaling momentum with the learning rate as $1 - \beta \propto \eta^{2/3}$ optimally balances training dynamics, maximizing training acceleration along the zero-loss manifold without sacrificing generalization.
What Problem Does This Paper Address?
In overparameterized deep networks, training loss typically features continuous, degenerate manifolds of global minimizers rather than isolated local minima. While gradient descent freezes once it hits zero loss, SGD with noise generates a subtle, slow "drift" along this manifold toward flatter minima—which are widely known to generalize better.
Adding Polyak (heavy-ball) momentum accelerates SGD, but practitioners typically keep $\beta$ fixed (often at $0.9$), even when decaying the learning rate $\eta$ late in training. Until now, there has been no principled mathematical guideline for choosing or scheduling $\beta$ relative to $\eta$ to achieve both fast convergence and optimal implicit regularization.
Methods
The authors model momentum SGD with label noise near a manifold of global minimizers: $$\pi_{k+1} = \beta \pi_k - \nabla L(w_k) + \epsilon \sigma(w_k) \xi_k, \quad w_{k+1} = w_k + \eta \pi_{k+1}$$
To analyze this system, the authors:
- Derive a Limiting Drift-Diffusion Process: Extending stochastic differential equation frameworks on manifolds (Katzenberger, 1991; Li et al., 2022), they project out fast degrees of freedom in the small-noise limit ($\epsilon \to 0$) to extract the effective continuous-time drift-diffusion along the zero-loss manifold $\Gamma$.
- Perform Timescale Matching: Parameterizing momentum as $1 - \beta = C \eta^\gamma$, they uncover two competing timescales:
- Equilibration timescale ($\tau_1 \sim \eta^{-\gamma}$): The time required for perturbations transverse to the valley to relax back onto the manifold.
- Longitudinal drift timescale ($\tau_2 \sim \eta^{2\gamma - 2}$): The time required for noise-induced fluctuations to drive transport along the valley toward flatter regions.
- Identify the Optimal Scaling: When $\tau_1 \ll \tau_2$, drift along the manifold occurs steadily. When $\tau_1 \gg \tau_2$, slow transverse oscillations disrupt the longitudinal drift. The fastest training speedup occurs precisely when these two timescales intersect ($\tau_1 = \tau_2$), which uniquely identifies the optimal exponent: $$\gamma = \frac{2}{3} \implies 1 - \beta \propto \eta^{2/3}$$
Datasets
The authors validate their predictions across toy benchmarks and standard vision datasets:
- Synthetic Vector UV Model: A 2-layer linear/tanh/ReLU model trained on synthetic regression data.
- Low-Rank Matrix Sensing: Matrix reconstruction problem with asymmetric ground truth ($d=100$, rank $r=5$, $P=2500$ samples).
- FashionMNIST: Evaluated on a 6-layer fully connected MLP.
- CIFAR-10: Evaluated on ResNet-18.
No new datasets were introduced in this work.
Key Insights and Ideas
- Two Interacting Modes: Near a zero-loss manifold, transverse noise feeds the longitudinal motion because momentum averages gradients in the persistent direction of the valley.
- Transition at $\gamma = 2/3$: For $\gamma < 2/3$, the system is in an overdamped-like regime where drift is bottlenecked by the longitudinal speed. For $\gamma > 2/3$, transverse and mixed longitudinal modes take too long to decay, disrupting the drift. The sweet spot where training time is minimized is exactly $\gamma = 2/3$.
- Fastest Flattener: Counterintuitively, the optimal hyperparameter scaling for speed of convergence also yields the best generalization, because faster drift along the manifold navigates the model more quickly to flatter, lower-trace regions of the Hessian.
- Heuristic Justification for $\beta = 0.9$: The fitted prefactor $C$ routinely lands between $0.1$ and $0.5$. Notice that when $\eta = 1$, setting $C \approx 0.1$ yields $\beta \approx 0.9$—recovering standard deep learning folklore, but showing it must adapt as $\eta$ changes.
Key Results
- 2-Layer Models: Training time scaling exponent $\alpha$ (where $T_c \sim \eta^{-\alpha}$) achieves its minimum precisely at $\gamma = 2/3$ across linear, tanh, and ReLU activations, with $C \approx 0.2$ (closely matching the theoretical prediction $C \approx 0.17$).
- FashionMNIST (6-Layer MLP): The optimal momentum parameter scaling with learning rate yields an empirical exponent of $\gamma = 0.64 \pm 0.05$.
- CIFAR-10 (ResNet-18):
- In the theoretical setting (valley initialization with label noise), optimal generalization scales with $\gamma = 0.66 \pm 0.06$.
- In a standard realistic setting (random initialization, SGD mini-batch noise, no artificial projection), the optimal momentum scaling exponent remains robust at $\gamma = 0.66 \pm 0.05$.
Limitations and Future Work
- Small-Noise & Small-Rate Asymptotics: The mathematical proof relies on taking noise $\epsilon \to 0$ before $\eta \to 0$; it does not provide strict finite-noise error bounds.
- Optimizer Scope: The analysis is restricted to classical Heavy-Ball momentum; adaptive gradient optimizers like Adam and Nesterov-accelerated variants are left for future work.
- Practical Learning Rate Schedules: While the results suggest tying $\beta$ to $\eta$ when the learning rate is decayed in late-stage training, formal validation within standard multi-step or cosine schedules remains an open direction.
Summary updated