TL;DR
Under realistic non-uniform smoothness conditions ($(L_0, L_1)$-smoothness), this paper proves a theoretical separation between Adam and Stochastic Gradient Descent with Momentum (SGDM). While SGDM suffers from higher-order dependence on initial suboptimality in deterministic settings and can fail entirely to converge in stochastic settings, Adam matches the optimal first-order lower bounds and can even be parameter-agnostic.
What Problem Does This Paper Address?
In deep learning practice, Adam consistently outperforms SGD and SGDM, especially when pretraining large language models and transformers. However, standard optimization theory—predicated on uniform $L$-Lipschitz smoothness and bounded gradient noise—cannot explain this: in standard settings, SGDM already matches the theoretical minimax lower bound, implying Adam should theoretically not be faster.
To explain Adam’s empirical superiority, recent work turned to non-uniform smoothness, specifically the $(L_0, L_1)$-smooth condition, where the local curvature grows linearly with the gradient norm ($\|\nabla^2 f(w)\| \le L_0 + L_1 \|\nabla f(w)\|$). Prior analyses under this condition suffered from restrictive assumptions (e.g., artificially large regularizer $\lambda$, bounded stochastic gradients, or learning rates chosen before adversarial functions). This paper resolves these limitations to cleanly answer: Can we theoretically prove a separation where Adam strictly outperforms SGDM under non-uniform smoothness?
Methods
The paper develops both algorithm upper bounds and fundamental lower bounds using several novel mathematical tools:
- Uncapped Adaptive Steps ($\lambda = 0$): The authors analyze Adam without an artificial upper bound on the effective step size (setting the stabilization parameter $\lambda = 0$), handling the most challenging and realistic regime.
- Novel Lyapunov Function: For deterministic Adam, they construct a momentum-tracking Lyapunov function modified to absorb fluctuations in the adaptive conditioner $\nu_t$.
- Adversarial Separating Objectives: For GDM lower bounds, they construct multi-dimensional counterexamples that slow down GDM regardless of post-hoc learning rate and momentum tuning. For SGDM, they exploit how exponential function growth transforms light-tailed noise into heavy-tailed gradient distributions, causing SGDM’s expected gradient norm to explode.
- Stopping-Time Technique: In the stochastic setting, standard divide-and-conquer bounds introduced loose dependencies on noise $\sigma_0$ and smoothness $L_1$. The authors introduce a stopping time $\tau \triangleq \min\{t : \|\nabla f(w_{t+1})\|^2 \le \mathcal{O}(\sigma_0^2(1-\beta_2))\} \wedge T$ combined with the Optional Stopping Theorem to maintain closed-form expectations and absorb second-order error terms.
Datasets
Not applicable. This is a purely theoretical optimization paper and does not evaluate on empirical datasets or benchmarks.
Key Insights and Ideas
- Adam Handles Variable Sharpness Better: In deterministic optimization, GDM must pick a conservative step size dictated by the sharpest region encountered (often at initialization), leading to an iteration complexity of $\tilde{\Omega}\left(\frac{L_1^2 \Delta_1^2 + L_0 \Delta_1}{\varepsilon^2}\right)$ (where $\Delta_1 = f(w_1) - f^*$). Adam automatically adapts step sizes per coordinate, achieving $\mathcal{O}\left(\frac{L_0 \Delta_1}{\varepsilon^2}\right)$, matching the lower bound for first-order methods.
- Stochastic Noise Breaks SGDM under $(L_0, L_1)$-Smoothness: Because gradient magnitudes can grow exponentially with distance under $(L_0, L_1)$-smoothness, even Gaussian-like or light-tailed noise pushes SGDM iterates into regions of extreme gradient magnitude where $\mathbb{E}[\|\nabla f(w_{t+1})\|] = \infty$. As a result, SGDM fails to converge in expectation for any step size $\eta > 0$ and momentum $\beta \in [0, 1]$.
-
Adam Matches Optimal Stochastic Complexity: Thanks to coordinate-wise normalization, Adam prevents runaway updates. Using the stopping-time approach, the authors prove Adam attains an optimal minimum gradient norm rate of: $$\min_{t \in [T]} \mathbb{E}\|\nabla f(w_t)\| \le \mathcal{O}\left(\left(\frac{L_0 \sigma_0^2 (f(w_1) - f^*)}{T}\right)^{1/4}\right)$$ matching the minimax lower bound across all problem hyperparameters.
-
Parameter-Agnostic Scheduling: By setting time-decaying schedules $\eta_t = 1/\sqrt{t}$ and $\beta_{2,t} = 1 - t^{-3/4}$, Adam converges at a rate of $\tilde{\mathcal{O}}(T^{-1/4})$ without requiring prior knowledge of $L_0, L_1, \sigma_0$, or $\Delta_1$.
Key Results
- Deterministic Separation:
- Adam: Matches the lower bound $\mathcal{O}(L_0 \Delta_1 / \varepsilon^2)$ with optimal linear dependence on the initial gap $\Delta_1$.
- GDM: Proven lower bound of $\tilde{\Omega}((L_1^2 \Delta_1^2 + L_0 \Delta_1)/\varepsilon^2)$ under arbitrary post-hoc tuned $\eta > 0$ and $\beta \in [0, 1]$.
- AdaGrad Comparison: Deterministic AdaGrad suffers an inferior $\Omega(L_1^2 \Delta_1^2 / \varepsilon^2)$ rate because its monotonically accumulating conditioner makes late-stage learning rates vanishingly small.
- Stochastic Separation:
- SGDM: Provably diverges in expectation ($\min_{t \in [T]} \mathbb{E}\|\nabla f(w_t)\| \ge L_1 \Delta_1$ for all $T > 0$).
- Adam: Converges in expectation, achieving $\mathcal{O}(\varepsilon^{-4})$ sample complexity and matching the optimal lower bound $\Theta\left(\frac{L_0 \sigma_0^2 \Delta_1}{\varepsilon^4}\right)$ across all problem hyperparameters.
Limitations and Future Work
- Expectation vs. High-Probability Non-Convergence: The failure of SGDM is established in expectation (due to heavy tails caused by exponential landscapes). Recent literature shows SGD can converge with high probability under bounded noise variance; deriving a matching high-probability lower bound remains an open problem.
- Worst-Case Counterexamples: The non-convergence of SGDM relies on specific, asymmetric counterexamples designed to amplify noise along extreme slopes. Exploring whether structural constraints (such as overparameterized deep networks) mitigate this behavior in practice is a natural next step.
- Norm vs. Coordinate-Wise Adam: While the authors state the analysis extends naturally to coordinate-wise Adam, the formal proofs are conducted on the scalar/norm-adaptive version of Adam for readability.
Summary updated