English

OptEMA: Adaptive Exponential Moving Average for Stochastic Optimization with Zero-Noise Optimality

Machine Learning 2026-04-17 v3 Numerical Analysis Numerical Analysis Optimization and Control

Abstract

The Exponential Moving Average (EMA) is a cornerstone of widely used optimizers such as Adam. However, existing theoretical analyses of Adam-style methods have notable limitations: their guarantees can remain suboptimal in the zero-noise regime, rely on restrictive boundedness conditions (e.g., bounded gradients or objective gaps), use constant or open-loop stepsizes, or require prior knowledge of Lipschitz constants. To overcome these bottlenecks, we introduce OptEMA and analyze two novel variants: OptEMA-M, which applies an adaptive, decreasing EMA coefficient to the first-order moment with a fixed second-order decay, and OptEMA-V, which swaps these roles. At the heart of these variants is a novel Corrected AdaGrad-Norm stepsize. This formulation renders OptEMA closed-loop and Lipschitz-free, meaning its effective stepsizes are strictly trajectory-dependent and require no parameterization via the Lipschitz constant. Under standard stochastic gradient descent (SGD) assumptions, namely smoothness, a lower-bounded objective, and unbiased gradients with bounded variance, we establish rigorous convergence guarantees. Both variants achieve a noise-adaptive convergence rate of O~(T1/2+σ1/2T1/4)\widetilde{\mathcal{O}}(T^{-1/2}+\sigma^{1/2} T^{-1/4}) for the average gradient norm, where σ\sigma is the noise level. Crucially, the Corrected AdaGrad-Norm stepsize plays a central role in enabling the noise-adaptive guarantees: in the zero-noise regime (σ=0\sigma=0), our bounds automatically reduce to the nearly optimal deterministic rate O~(T1/2)\widetilde{\mathcal{O}}(T^{-1/2}) without any manual hyperparameter retuning.

Keywords

Cite

@article{arxiv.2603.09923,
  title  = {OptEMA: Adaptive Exponential Moving Average for Stochastic Optimization with Zero-Noise Optimality},
  author = {Ganzhao Yuan},
  journal= {arXiv preprint arXiv:2603.09923},
  year   = {2026}
}
R2 v1 2026-07-01T11:13:24.741Z