Skip to content

Menu

WorksComputer Science

Randomized Momentum Transport with Cheap Predictors

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_9yy28ra8. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

Abstract

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.

Introduction

Momentum averages stochastic gradients across iterations. As the parameters move, this average must also track the change of the gradient. STORM adds the difference of two gradients evaluated on the same sample at consecutive iterates (Cutkosky and Orabona, [4]); second-order momentum adds a Hessian-vector product (HVP) (Salehkaleybar et al., [17]; Tran and Cutkosky, [20]). Each correction costs one extra oracle call per iteration. We study how often the correction needs to be evaluated.

Let CtC_t be the correction at iteration tt, an estimate of the gradient change ∇f(xt)−∇f(xt−1)\nabla f(x_t)-\nabla f(x_{t-1}), and let BtB_t be a cheap prediction of CtC_t. We use the randomized transport estimator

C^t=Bt+Jtq(Ct−Bt),Jt∼Bernoulli⁡(q),(1)\widehat{C}_t = B_t + \frac{J_t}{q}(C_t-B_t), \qquad J_t \sim\operatorname{Bernoulli}(q), \tag*{(1)}

with JtJ_t drawn independently of (Ct,Bt)(C_t,B_t). The correction is evaluated only when Jt=1J_t=1. The estimator has the conditional mean of CtC_t, and its conditional variance exceeds that of CtC_t by exactly (q−1−1)Et∥Ct−Bt∥2(q^{-1}-1)\mathbb{E}_t\lVert C_t-B_t\rVert^2, where Et\mathbb{E}_t denotes expectation given the past. The prediction loss therefore sets the variance cost of querying less often.

Contributions.

  • Randomized transport. The estimator (1) keeps the conditional mean of the correction and its covariance with the fresh gradient, and adds exactly (q−1−1)Et∥Ct−Bt∥2(q^{-1}-1)\mathbb{E}_t\lVert C_t-B_t\rVert^2 to its variance (Lemma 1).

  • LMO convergence. For gradient-difference and HVP transport with LMO directions, decreasing momentum weights, and a single-gradient initialization, the dual-norm stationarity measure of the LMO set is O(T−1/3)O(T^{-1/3}) after TT iterations for fixed q>0q>0. The bound holds at every TT with explicit constants; qq enters only through q−1−1q^{-1}-1 times the average prediction loss, while the additional error contributes O(T−1)O(T^{-1}) (Theorem 2, Corollary 3).

  • Gradient budget of randomized STORM. For unnormalized STORM with a zero predictor, which uses 1+q1+q gradients per iteration in expectation, we give an explicit finite-horizon gradient budget to reach expected gradient norm ε\varepsilon, with a leading term of order ε−3\varepsilon^{-3}. Some q<1q<1 lowers this term if and only if the gradient-difference noise modulus δ\delta exceeds the smoothness constant LL, and by at most about 10% (Theorem 4, Proposition 5).

  • Learned predictor. A diagonal predictor with O(d)O(d) state, trained only on queried corrections,

has expected regret O(dT/q)O(\sqrt{dT/q}) against every fixed comparator. This gives a complete stationarity bound and oracle budget, and, when a fixed comparator has a uniformly smaller expected loss than the zero predictor, the learned bound improves on the zero-predictor bound once q(T−1)q(T-1) exceeds a sufficient threshold linear in dd (Theorem 6, Corollary 7).

The analysis extends to inexact LMO directions (Appendix § 9.4) and to MARS-style scaling of the whole correction or of its residual (Appendix § 12). On MNIST1D, randomized queries lower the final training loss relative to full correction at equal oracle cost, for both transports; on CIFAR-10, randomized HVP queries raise test accuracy; on a quadratic with controlled curvature noise, the benefit reverses as the curvature noise decreases, and the diagonal predictor then removes most of the reducible residual (§ 5).

Both corrections are matrix-free, and the predictor uses O(d)O(d) arithmetic per iteration. The update geometry enters through the Euclidean radius of the LMO set; the cost of the direction oracle is accounted for separately.

Related Work

Recursive and switching estimators. STORM combines fresh gradients with recursive transport ([4]. PAGE switches with a fixed probability between a gradient refresh and a recursive correction ((Li et al., 2021), and MARINA uses the same switching for compressed gradient differences in distributed learning ([6]. Our estimator draws a fresh gradient at every iteration and randomizes only the transport correction, which importance weighting keeps unbiased.

Shifted compression. The estimator (1) applies an unbiased Bernoulli compressor to the residual of CtC_t around the shift BtB_t. DIANA learns such shifts so that the compression variance vanishes over time ([15]. Here the shift is a predictor of a transport correction inside a single momentum recursion, and its accuracy is controlled through online regret.

Scaling and second-order correction. MARS scales recursive corrections ([22], and Shulgin et al. ((2026b)) explain when scaling helps through a γ\gamma-similarity condition. Appendix § 12 combines this scaling with randomized queries and analyzes scaling only the prediction residual. Hessian-vector transport underlies second-order momentum ([17, 20]) and its LMO extensions ([10]). RanSOM randomizes step lengths so that Stein-type identities produce the correction ([2]); our HVP variant keeps deterministic step lengths, randomizes the queries, and controls the Taylor remainder. Lazy Hessian methods reuse a Hessian over several iterations ([5], which is one source of cheap predictors.

Predictors and update geometry. Delay-compensated SGD uses diagonal transport approximations ([23]; Sophia reuses intermittently refreshed diagonal curvature for preconditioning ([14]; stochastic quasi-Newton methods learn curvature from spaced HVP evaluations ([1]). We relate the accuracy of such predictions to the cost of randomized corrections and prove a regret guarantee for a diagonal predictor. LMO-based momentum methods include normalized momentum ([3], Scion ([16], and the non-Euclidean trust-region view of Muon ([11]). Khirirat et al. ((2025)) compare LMO-based methods with Polyak, extrapolated, second-order, and variance-reduced momentum, so an O(T−1/3)O(T^{-1/3}) rate with full correction is available in this setting; our contribution there is the randomized query and its residual-dependent constants. Inexact Muon directions are analyzed by Shulgin et al. ((2026a).

Randomized Transport

We minimize a differentiable function f:Rd→Rf:\mathbb{R}^{d}\to\mathbb{R} over an integer horizon T≥1T \ge1. Matrix parameters are identified with a Euclidean space through the Frobenius inner product, and all unqualified norms are Euclidean. Fix x0x_0, let f∗=inf⁡xf(x)f_*=\inf_x f(x), and set Δ=f(x0)−f∗\Delta=f(x_0)-f_*. For t≥1t \ge1, write st=xt−xt−1s_t=x_t-x_{t-1} and Ct∗=∇f(xt)−∇f(xt−1)C_t^*=\nabla f(x_t)-\nabla f(x_{t-1}).

Momentum recurrence. Choose a deterministic sequence αt∈(0,1]\alpha_t\in(0,1] with α0=1\alpha_0=1, and initialize m0=g0m_0=g_0, a stochastic gradient gtg_t at xtx_t and C^t\widehat{C}_t from (1), for t≥1t \ge1,

mt=(1−αt)(mt−1+C^t)+αtgt.(2)m_t=(1-\alpha_t)(m_{t-1}+\widehat{C}_t)+\alpha_t g_t. \tag*{(2)}

With q=1q=1 this is the original transport recurrence. Our rate results use the decreasing schedule with floor α\alpha,

αt=max⁡{α,2/(t+2)},0<α≤1.(3)\alpha_t=\max\{\alpha,2/(t+2)\},\qquad0<\alpha\le1. \tag*{(3)}

Directions. Let K\mathcal{K} be compact, convex, symmetric about the origin (i.e., K=−K\mathcal{K}=-\mathcal{K}), and full dimensional, with radius R=sup⁡u∈K∥u∥R=\sup_{u\in\mathcal{K}}\lVert u\rVert and inradius rK=sup⁡{r:∥u∥≤r⇒u∈K}>0r_{\mathcal{K}}=\sup\{r:\lVert u\rVert\le r\Rightarrow u\in\mathcal{K}\}>0. Its support function SK(z)=max⁡u∈K⟨z,u⟩S_{\mathcal{K}}(z)=\max_{u\in\mathcal{K}}\langle z,u\rangle is a norm, and SK(z)≥rK∥z∥S_{\mathcal{K}}(z)\ge r_{\mathcal{K}}\lVert z\rVert. Choose a measurable LMO direction and update

ut∈arg⁡max⁡u∈K⟨mt,u⟩,xt+1=xt−ηut.(4)u_t\in\arg\max_{u\in\mathcal{K}}\langle m_t,u\rangle,\qquad x_{t+1}=x_t-\eta u_t. \tag*{(4)}

Algorithm 1: Randomized momentum transport. Input: x0x_0, TT, η\eta, qq, {αt}t=0T−1\{\alpha_t\}_{t=0}^{T-1}, predictor state. Compute one stochastic gradient m0=g0m_0 = g_0 at x0x_0. For t=0,…,T−1t = 0, \ldots, T - 1: Choose utu_t by the LMO; set xt+1=xt−ηutx_{t+1} = x_t - \eta u_t. If t=T−1t = T - 1, stop. Compute fresh gt+1g_{t+1} and prediction Bt+1B_{t+1}. Draw independent Jt+1∼Bernoulli⁡(q)J_{t+1} \sim\operatorname{Bernoulli}(q). If Jt+1=1J_{t+1} = 1, evaluate Ct+1C_{t+1}. Form C^t+1\widehat{C}_{t+1} by (1). Update mt+1m_{t+1} by (2), using αt+1\alpha_{t+1}. Train future predictions if a correction was observed. Return: xUx_U, with independent U∼Unif⁡{0,…,T−1}U \sim\operatorname{Unif}\{0, \ldots, T-1\}.

so that ∥st∥≤ηR\|s_t\| \le\eta R for every t≥1t \ge1. At mt=0m_t = 0 choose ut=0u_t = 0.

History and assumptions. Let F−1\mathcal{F}_{-1} be trivial and, for t≥0t \ge0, let Ft\mathcal{F}_t be the σ\sigma-algebra generated by all oracle samples, query decisions, and evaluated quantities used to form m0,…,mtm_0, \ldots, m_t and the predictor state used at iteration t+1t + 1. Then xt+1x_{t+1}, st+1s_{t+1}, and Ct+1∗C^*_{t+1} are Ft\mathcal{F}_t-measurable. Write Et[⋅]=E[⋅∣Ft−1]\mathbb{E}_t[\cdot] = \mathbb{E}[\cdot\mid\mathcal{F}_{t-1}]. The correction CtC_t is treated as a potential oracle value, defined whether or not it is evaluated. Relevant second moments are assumed finite.

Assumption 1 (Objective and gradients). f∗>−∞f_* > -\infty and ff is LL-smooth. For every t≥0t \ge0, Etgt=∇f(xt)\mathbb{E}_t g_t = \nabla f(x_t) and Et∥gt−∇f(xt)∥2≤σ2\mathbb{E}_t\|g_t - \nabla f(x_t)\|^2 \le\sigma^2.

References

  1. [1]Byrd, R. H., Hansen, S. L., Nocedal, J., and Singer, Y. (2016). A stochastic quasi-Newton method for large-scale optimization. SIAM Journal on Optimization, 26:1008–1031.arxiv.org/abs/1401.7020
  2. [2]Chayti, E. M. (2026). RanSOM: Second-order momentum with randomized scaling for constrained and unconstrained optimization. arXiv:2602.06824.arxiv.org/abs/2602.06824
  3. [3]Cutkosky, A. and Mehta, H. (2020). Momentum improves normalized SGD. In Proceedings of the 37th International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 2260–2268.arxiv.org/abs/2002.03305
  4. [4]Cutkosky, A. and Orabona, F. (2019). Momentum-based variance reduction in non-convex SGD. In Advances in Neural Information Processing Systems, volume 32.arxiv.org/abs/1905.10018
  5. [5]Doikov, N., Chayti, E. M., and Jaggi, M. (2023). Second-order optimization with lazy Hessians. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 8138–8161.arxiv.org/abs/2212.00781
  6. [6]Gorbunov, E., Burlachenko, K., Li, Z., and Richtárik, P. (2021). MARINA: Faster non-convex distributed learning with compression. In Proceedings of the 38th International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 3788–3798.arxiv.org/abs/2102.07845
  7. [7]Greydanus, S. J. and Kobak, D. (2024). Scaling down deep learning with MNIST-1D. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 16404–16415.arxiv.org/abs/2011.14439
  8. [9]Hendrycks, D. and Gimpel, K. (2016). Gaussian error linear units (GELUs). arXiv:1606.08415.
  9. [10]Khirirat, S., Sadiev, A., Demidovich, Y., and Richtárik, P. (2025). Better LMO-based momentum methods with second-order information. arXiv:2512.13227.arxiv.org/abs/2512.13227
  10. [11]Kovalev, D. (2025). Understanding gradient orthogonalization for deep learning via non-Euclidean trust-region optimization. arXiv:2503.12645.arxiv.org/abs/2503.12645
  11. [12]Krizhevsky, A. (2009). Learning multiple layers of features from tiny images. Technical report, University of Toronto.
  12. [14]Liu, H., Li, Z., Hall, D., Liang, P., and Ma, T. (2024). Sophia: A scalable stochastic second-order optimizer for language model pre-training. In International Conference on Learning Representations.arxiv.org/abs/2305.14342
  13. [15]Mishchenko, K., Gorbunov, E., Takáč, M., and Richtárik, P. (2019). Distributed learning with compressed gradient differences. arXiv:1901.09269.arxiv.org/abs/1901.09269
  14. [16]Pethick, T., Xie, W., Antonakopoulos, K., Zhu, Z., Silveti-Falls, A., and Cevher, V. (2025). Training deep learning models with norm-constrained LMOs. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 49069–49104.arxiv.org/abs/2502.07529
  15. [17]Salehkaleybar, S., Khorasani, S., Kiyavash, N., He, N., and Thiran, P. (2024). Momentum-based policy gradient with second-order information. Transactions on Machine Learning Research.arxiv.org/abs/2205.08253
  16. [18]Shulgin, E., AlRashed, S., Richtárik, P., and Orabona, F. (2026a). Beyond the ideal: Analyzing the inexact Muon update. In Proceedings of the 29th International Conference on Artificial Intelligence and Statistics, volume 300 of Proceedings of Machine Learning Research, pages 5167–5175.arxiv.org/abs/2510.19933
  17. [19]Shulgin, E., Gadaev, T., Khirirat, S., and Richtárik, P. (2026b). Understanding MARS: When scaling momentum correction provably helps. In Proceedings of the 43rd International Conference on Machine Learning, volume 306 of Proceedings of Machine Learning Research, pages 112936–112965.
  18. [20]Tran, H. and Cutkosky, A. (2022). Better SGD using second-order momentum. In Advances in Neural Information Processing Systems, volume 35.arxiv.org/abs/2103.03265
  19. [21]Wu, Y. and He, K. (2018). Group normalization. In Proceedings of the European Conference on Computer Vision.arxiv.org/abs/1803.08494
  20. [22]Yuan, H., Liu, Y., Wu, S., Zhou, X., and Gu, Q. (2025). MARS: Unleashing the power of variance reduction for training large models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 73553–73587.arxiv.org/abs/2411.10438
  21. [23]Zheng, S., Meng, Q., Wang, T., Chen, W., Yu, N., Ma, Z.-M., and Liu, T.-Y. (2017). Asynchronous stochastic gradient descent with delay compensation. In Proceedings of the 34th International Conference on Machine Learning, volume 70 of Proceedings of Machine Learning Research, pages 4120–4129.arxiv.org/abs/1609.08326

AI tools statement

This work lists 1 AI tool.

  • a large language model · AI tool

    Roles
    Formal AnalysisInvestigationSoftwareWriting — review & editing
    Verification
    self-declared at submission

Recorded on the work at submission, not per version. Names and roles are shown as submitted; roles use the CRediT taxonomy.

How AI tools are recorded

Paper details

Cite this paper

Publication

Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Table 1

1 / 12

Pick where to look, or just type