math.OCFeb 6, 2026

RanSOM: Second-Order Momentum with Randomized Scaling for Constrained and Unconstrained Optimization

Authors: El Mahdi Chayti, Mohamad Fakhouri

Organizations: Machine Learning and Optimization Laboratory (MLO) EPFL, Switzerland

Abstract

Second-order momentum corrects the lag of momentum behind the current gradient with a Hessian-vector product (HVP), but existing corrections need either a Lipschitz Hessian or extra forward and backward passes at an auxiliary point. We show that randomizing the step length removes this trade-off: if the step is exponentially distributed with mean ηη, a Stein-type identity makes ηη times one HVP at the new iterate an estimate of the gradient change that is unbiased in expectation over the step, and this HVP shares its forward pass with the next gradient. The resulting method, RanSOM-E, works with normalized, sign, and Muon-type steps, and a Beta-distributed variant, RanSOM-B, keeps Frank-Wolfe iterates feasible. For objectives with Lipschitz gradient and heavy-tailed gradient and Hessian noise with tail indices p,q∈(1,2]p, q \in (1,2], RanSOM-E attains the optimal oracle-complexity exponents for every pair (p,q)(p,q), including p≠qp \neq q, without a Lipschitz Hessian or clipping (O(ε−3)\mathcal{O}(\varepsilon^{-3}) for p=q=2p = q = 2). On CIFAR-10 with ResNet-20, we detect no accuracy difference from existing second-order momentum methods, and its mean update time is lower than that of the auxiliary-point method.

Figures & tables

Appendix figures & tables10 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Oct 9, 2026cs.LG

Randomized Momentum Transport with Cheap Predictors

Momentum methods such as STORM and second-order momentum track the gradient by adding a transport correction to momentum, at the cost of an extra oracle call per iteration. We introduce randomized momentum transport, which evaluates the correction with probability qq and otherwise uses a cheap prediction, with importance weighting that preserves the conditional mean and adds (q−1−1)(q^{-1}-1) times the prediction loss to the variance. Under transport-bias, second-moment, and residual-control assumptions, linear minimization oracle (LMO) updates, including normalized, sign, and exact spectral (Muon) directions, retain an O(T−1/3)O(T^{-1/3}) stationarity bound for each fixed q>0q>0 with a single-gradient initialization. For unnormalized STORM, some q<1q<1 lowers the leading coefficient of our sufficient gradient budget if and only if the gradient-difference noise modulus exceeds the smoothness constant, by at most about 10%10\%. An online diagonal predictor admits a regret-to-convergence guarantee. At approximately equal oracle cost, querying a quarter of the corrections lowers the final training loss by 1818 to 43%43\% on MNIST1D and raises the test accuracy of Hessian-vector transport on CIFAR-10 by 1.51.5 points.
Aug 16, 2026cs.LG

Second-Moment Memory in Coordinatewise Adam

Adam retains a moving average of past squared gradients in its denominator, but the optimization cost of this memory is not well understood. We show that second-moment memory can itself suppress progress toward the optimum even under finite-variance stochastic gradients. For a simple two-point oracle, the expected positive normalized update is O(M2−1/2)O(M_2^{-1/2}) after an initialization transient, where M2=(1−β2)−1M_2=(1-β_2)^{-1} is the second-moment memory length. We convert this directional bound, under the stated memory and stepsize scaling, into an average-stationarity lower bound of the same order on a smooth convex problem with normalized gap, smoothness, and variance. Long second-moment memory can slow optimization even when the gradient noise has finite variance.
Aug 31, 2026cs.LG

Convergence rates for the RMSprop optimizer with full control of the hyperparameters

Popular adaptive stochastic gradient descent (SGD) methods to train artificial intelligence (AI) systems include the RMSprop, the Adam, and the AdamW optimizers, where the adaptivity parts in Adam and AdamW basically just coincide with RMSprop. Such adaptive methods involve several hyperparameters including the regularization parameter εε (which ensures that one does not divide by 0 and is often chosen to be very close to zero such as 10−810^{-8} in PyTorch by default) and the second moment decay parameter ββ (which is often chosen to be very close to 11 such as 0.99 (RMSprop) and 0.999 (Adam and AdamW) in PyTorch by default). Despite the high relevance of such methods, it remains an open research problem to provide error estimates for such methods with the error constants being not exploding but uniformly bounded with the respect to the hyperparameters, even in the situation of convex stochastic optimization problems. It is the key contribution of this work to essentially solve this problem for RMSprop. Specifically, we bound the expectation of the stopped evaluation of the objective function at the RMSprop process from above by the sum of an initialization term that decays exponentially in the training time, a stochastic approximation remainder of order γnγ_n, and a memory error of order (1−β)2( 1 - β)^2 with the error constants being uniformly controlled over all admissible choices of the step sizes, the second moment decay parameter ββ and the regularization parameter ε∈[0,1]ε\in[0,1] (also covering ε=0ε=0). Our non-asymptotic error estimates hold not just for all sufficiently large n but hold for every gradient step n=1,2,3,...n=1,2,3,... with all error constants being explicitly specified. The key innovative new feature in the proof of our analysis are suitable inverse moment bounds for the second moment process in RMSprop.