Every large language model was trained by the same basic loop: compute a gradient, nudge the weights downhill, repeat. Plain gradient descent, though, is a surprisingly bad walker. It zigzags across narrow valleys, crawls along flat ones, and jitters when the gradients are noisy. Momentum is the fix, and it fits in one line of arithmetic: when you update a weight, add a fraction of the previous update to the new one. The model carries some of its past motion forward. That single change, proposed in 1964 and adopted by neural network researchers in 1986, is still running inside every frontier training job. The number behind it, usually 0.9, is one of the most durable hyperparameters in machine learning.
The heavy ball
The idea is older than neural network practice. In 1964, the Soviet mathematician Boris Polyak published "Some methods of speeding up the convergence of iteration methods"90137-4) and analyzed what became known as the heavy ball method: instead of moving only along the current gradient, the iterate also keeps a portion of its previous displacement. The name comes from the physical picture, a heavy ball rolling through a landscape defined by the cost function, with friction damping its motion. On strongly convex quadratic problems, where the optimum is a single clean bowl, Polyak showed that this second-order update converges faster than plain gradient descent, under suitable step-size and damping parameters.
The mechanics are worth stating exactly, because everything else in the article follows from them. Momentum maintains a velocity term, an exponentially weighted average of past gradients. At each step, the velocity is a fraction of itself plus the new gradient, and the weight moves by the learning rate times that velocity. With the standard setting of 0.9, the velocity is roughly a ten-step average of recent gradients. Directions that persist across steps accumulate. Directions that flip sign, which is what oscillation looks like, cancel out.
That cancellation property is the practical heart of the method, as Gabriel Goh's Distill explainer lays out with interactive demos. In an elongated valley, steep across and shallow along, plain gradient descent bounces from wall to wall while making slow progress toward the bottom. Momentum suppresses the bouncing because the transverse gradient flips sign every step and averages toward zero, and it accelerates the along-valley motion because that component keeps the same sign. Goh's analysis also shows why steeper steps become safe: with momentum, the range of step sizes that converge roughly doubles compared to plain gradient descent, and the resulting trajectory "ploughs through narrow valleys, small humps, ridges and local minima" where a frictionless descent would get stuck or crawl.

Into the neural networks
Momentum entered deep learning practice through the backpropagation papers of the mid-1980s. The CMU technical report "Experiments on Learning by Back Propagation" by Plaut, Nowlan and Hinton (1986), extending the Rumelhart-Hinton-Williams algorithm, writes the weight change explicitly as the current gradient term plus a fraction of the previous change, and calls that fraction momentum. The report even gives the physics analogy modern tutorials still recycle: the update behaves like a ball-bearing rolling down the error surface through a liquid whose viscosity is set by the momentum coefficient. It also carries a tuning observation that has aged well. The authors found momentum should start low and only be raised once the search has settled into a stable direction. Set to 0.9 too early, the accumulated gradient from a chaotic first epoch drove the error up instead of down.
There is a second lineage. In 1983, Yuri Nesterov proposed a variant, described in the literature on accelerated first-order methods, that evaluates the gradient not where the iterate is, but where momentum is about to carry it: a look-ahead point. The subtlety buys a real guarantee, an optimal convergence rate of O(1/k^2) for convex problems that the heavy ball method does not achieve globally. "Nesterov momentum" is a checkbox argument in every mainstream training library, and as we will see, it reappeared at the center of 2020s LLM training.
It never left
The reason momentum feels invisible today is that it was absorbed into the defaults. The Adam optimizer paper (Kingma and Ba, 2014/2015) pairs two running averages: the first moment, which is exactly Polyak-style momentum on gradients, and the second moment, a per-parameter scaling by recent gradient magnitude. Adam's recommended first-moment coefficient is 0.9. Any model trained with Adam at defaults has been trained with momentum.
The published recipes confirm the continuity. Kaiming He et al.'s ResNet paper (2015), the architecture that made very deep networks trainable, specifies SGD "with a weight decay of 0.0001 and a momentum of 0.9." OpenAI's GPT-3 paper (2020) lists, for all model sizes, Adam with beta-1 of 0.9 and beta-2 of 0.95. Momentum 0.9 is on page after page of frontier training tables, unchanged in four decades.
What is striking is how weak the theoretical footing remains for something so load-bearing. Polyak's acceleration result holds locally, near the optimum, on quadratics. In 2016, Lessard, Reeves and Fox constructed examples showing Polyak's own parameter choices do not even guarantee global convergence on convex problems. A 2024 survey of heavy-ball acceleration results puts it bluntly: momentum methods that provably beat plain SGD have appeared for Nesterov-style schemes, yet "Polyak's original simple momentum update defies theory by remaining highly effective in practice." On nonconvex objectives, which is what neural networks actually are, convergence of the heavy ball method remains an open problem. The engineering answer is that the loss surfaces of overparameterized networks appear to behave nothing like the worst-case constructions that break the proofs.
Momentum in the LLM era
Momentum recently stopped being a background default and became a design decision again. Moonshot AI's Muon paper ("Muon is Scalable for LLM Training", 2025), the first optimizer to beat Adam at scale in a frontier training run, still relies on momentum in its inner loop: it builds the update from a Nesterov-style momentum buffer with coefficient 0.95, then reshapes that buffer with a Newton-Schulz orthogonalization before applying it. Notably, the authors report they saw "no consistent performance gain in tuning momentum" and simply kept 0.95 from the original Muon implementation. Even an optimizer invented to fix Adam kept, and inherited blind, the momentum term.
The pattern generalizes. Adaptive methods scale each parameter's step but still average gradients over time to fight minibatch noise; momentum-free large-scale optimizers are rare to nonexistent in production reports. If you inspect the training config of any recent open-weight model, the first moment coefficient is somewhere between 0.9 and 0.98.

What to actually take away
For anyone training or debugging models, momentum has a short list of practical consequences. First, it is noise averaging as much as acceleration: with minibatch gradients, the velocity term smooths out which-example-was-sampled jitter, which is why small batches need it most. Second, momentum and learning rate are one coupled dial, not two independent ones. Higher momentum means a larger effective step, so retuning one without the other is how runs diverge. Third, the 1986 warning survives: momentum early in training, when gradient directions are inconsistent, mainly stores up chaos, which is one reason training recipes pair a momentum-carrying optimizer with a learning-rate warmup. Fourth, persistent oscillation in a loss curve is the diagnostic Goh highlights, and the standard response is to lower the learning rate before touching momentum.
The deeper lesson is about how the field knows things. The oldest acceleration trick in optimization has no global convergence proof for the problems it is used on, has been known to diverge on toy convex cases since 2016, and yet ran GPT-3, ResNet and the model that wrote most code you use this week. Sixty years of evidence from practice outranked the theory. Nobody has found a good reason to stop, and in optimization, as in politics, incumbency is powerful.
Sources
- Polyak, B. T. (1964). Some methods of speeding up the convergence of iteration methods. USSR Computational Mathematics and Mathematical Physics 4(5). https://doi.org/10.1016/0041-5553(64)90137-4
- Plaut, D., Nowlan, S., Hinton, G. (1986). Experiments on Learning by Back Propagation. CMU tech report. https://ni.cmu.edu/~plaut/papers/pdf/PlautNowlanHinton86TR.backprop.pdf
- Goh, G. (2017). Why Momentum Really Works. Distill. https://distill.pub/2017/momentum/
- Kingma, D. P., Ba, J. (2014). Adam: A Method for Stochastic Optimization. https://arxiv.org/abs/1412.6980
- He, K. et al. (2015). Deep Residual Learning for Image Recognition. https://arxiv.org/abs/1512.03385
- Brown, T. et al. (2020). Language Models are Few-Shot Learners. https://arxiv.org/abs/2005.14165
- Jordan, K. et al. / Moonshot AI (2025). Muon is Scalable for LLM Training. https://arxiv.org/abs/2502.16982
- Accelerated Over-Relaxation Heavy-Ball Methods with Provable Acceleration and Global Convergence (2024). https://arxiv.org/abs/2406.09772
- On the fast convergence of minibatch heavy ball momentum. IMA Journal of Numerical Analysis (2024). https://academic.oup.com/imajna/article/45/3/1397/7729526
- A globally convergent gradient method with momentum (2024). https://arxiv.org/abs/2403.17613
