Manuscript Offprint

arXiv:2610.27674

Hybrid Momentum Methods for Optimizing Deep Learning Models

Haifeng Xu, Yijin Ren, Qi Deng, Chenyu Zhou, Dongdong Ge, Yinyu Ye

Abstract

Momentum is central to stochastic optimization in deep learning, including the training of large language models. Classical momentum methods typically rely on a fast exponential moving average (EMA) scheme, which discounts past gradients on a fixed timescale and may underweight older gradients that remain informative. This creates a trade-off between retaining long-term history and adapting to recent changes. We introduce Hybrid Momentum (HyM), which combines a linearly weighted average of past gradients with a geometrically discounted fast momentum. The former assigns weights proportional to the gradients' iteration indices and retains a growing span of history, while the latter emphasizes recent gradients. This hybrid construction is modular and can be combined with adaptive preconditioning and other update transformations. In particular, we propose HyMUON, which applies Newton–Schulz orthogonalization to the hybrid direction. Illustrative examples and controlled experiments demonstrate the benefits of combining gradient information across these two timescales. Across image classification, machine translation, and language modeling, HyM and HyMUON match or improve upon strong baselines. HyMUON improves over Muon on IWSLT14, and in both the 100k- and 600k-step GPT-2 124M OpenWebText regimes. For LLaMA-1.3B pretraining on C4, HyMUON achieves a final validation loss of 2.777, compared with 2.903 for Muon.

1 Introduction

Momentum methods improve stochastic optimization by combining the current gradient with information from earlier updates. In deep learning, this history is usually maintained through exponential moving averaging (EMA), which assigns geometrically decaying weights to past gradients, as in Heavy-Ball momentum and commonly used Nesterov updates [Polyak, 1964, Sutskever et al., 2013]. EMA emphasizes recent gradients while strongly reducing the influence of older gradients on subsequent updates. When gradient contributions that reduce a particular target loss occur intermittently across mini-batches, retaining a longer history may help accumulate these contributions.

By combining momentum with iterate averaging, Defazio et al. [2024] proposed the Schedule-Free method, which achieves strong empirical performance without a prescribed schedule for learning rate decay. The empirical success of Schedule-Free optimization motivates revisiting how this history is accumulated. To see how its averaging mechanism retains past gradients, consider the Schedule-Free SGD recurrence with a constant step size

yt=(1−β)zt+βxt,zt+1=zt−ηgt,xt+1=(1−ct+1)xt+ct+1zt+1,\begin{align*}\mathbf{y}_{t}&=(1-\beta)\mathbf{z}_{t}+\beta\mathbf{x}_{t},\\\mathbf{z}_{t+1}&=\mathbf{z}_{t}-\eta\mathbf{g}_{t},\\\mathbf{x}_{t+1}&=(1-c_{t+1})\mathbf{x}_{t}+c_{t+1}\mathbf{z}_{t+1},\end{align*}

(1)

where zt\mathbf{z}_t is the base iterate, xt\mathbf{x}_t is the averaged iterate, and yt\mathbf{y}_t is the training iterate. Here ct+1=1/(t+1)c_{t+1} = 1/(t+1), z1=x1\mathbf{z}_1 = \mathbf{x}_1, and gt\mathbf{g}_t is a stochastic gradient evaluated at yt\mathbf{y}_t. Eliminating xt\mathbf{x}_t and zt\mathbf{z}_t gives a representation using one sequence that exposes its gradient memory [Morwani et al., 2025]:

nt=(1−ct)nt−1+gt,yt+1=yt−η[βct+1nt+(1−β)gt],\begin{align*}\mathbf{n}_{t}&=(1-c_{t})\mathbf{n}_{t-1}+\mathbf{g}_{t},\\\mathbf{y}_{t+1}&=\mathbf{y}_{t}-\eta[\beta c_{t+1}\mathbf{n}_{t}+(1-\beta)\mathbf{g}_{t}],\end{align*}

(2)

with ct=1/tc_t = 1/t and n0=0\mathbf{n}_0 = \mathbf{0}; Appendix A gives the derivation for completeness. In this form, the update combines a running weighted sum of past gradients with the current gradient. As training proceeds, this weighted sum spans a longer history, but each new gradient contributes a smaller fraction of its total weight. The historical component therefore responds more slowly to new gradients later in training, suggesting that a separate momentum state emphasizing recent gradients can complement this long-term accumulation.

Building on this perspective, we propose Hybrid Momentum (HyM), which combines a linearly weighted gradient average with a geometrically discounted fast momentum. The average assigns weights proportional to the gradients' iteration indices and retains a growing span of history, while the fast momentum emphasizes recent gradients. HyM also maintains an averaged iterate formed from its training iterates for evaluation and checkpointing. Our convergence analysis via cumulative gradient weights accommodates this growing gradient memory and establishes an O(T−1/2)\mathcal{O}(T^{-1/2}) bound on the expected suboptimality of the averaged iterate for smooth convex objectives. Moreover, this hybrid momentum scheme is modular and can be combined with adaptive preconditioning and other update transformations. In particular, applying Muon's Newton–Schulz (NS) orthogonalization to the combined momentum [Jordan et al., 2024], we develop Hybrid Momentum Orthogonalized by NS (HyMUON), which applies to matrix-valued parameters.

We characterize the weights assigned to past gradients and use controlled experiments to examine why this history can remain useful. These experiments show that a gradient contribution retained in the optimizer state can still lower a target loss thousands of steps later, and that replacing this contribution with a gradient recomputed on the same batch at the current parameters can lower the loss further. We also examine how gradients from different training examples vary in their usefulness for a given target and how HyM's relative performance changes with batch size. Across the evaluated benchmarks, HyM matches or improves upon Schedule-Free on image classification, while HyMUON improves upon Muon on IWSLT14 and across the evaluated language modeling settings.

Notation. The training and averaged iterates are yt\mathbf{y}_t and xt\mathbf{x}_t; uppercase letters such as Yt\mathbf{Y}_t and Xt\mathbf{X}_t denote the matrix variables. Vector norms are Euclidean, while ∥⋅∥op\|\cdot\|_{\mathrm{op}} and ∥⋅∥∗\|\cdot\|_{*} denote the matrix operator and nuclear norms. Probabilistic notation is introduced where it is used.

References (35)