Heavy-Ball Momentum Method in Continuous Time and Discretization Error Analysis

Bochen Lyu, Xiaojing Zhang, Fangyi Zheng, He Wang, Zheng Wang +1 more
6/3/2025
cs.LG

No confident code implementation found for this paper.

Abstract

This paper establishes a continuous time approximation, a piece-wise continuous differential equation, for the discrete Heavy-Ball (HB) momentum method with explicit discretization error. Investigating continuous differential equations has been a promising approach for studying the discrete optimization methods. Despite the crucial role of momentum in gradient-based optimization methods, the gap between the original discrete dynamics and the continuous time approximations due to the discretization error has not been comprehensively bridged yet. In this work, we study the HB momentum method in continuous time while putting more focus on the discretization error to provide additional theoretical tools to this area. In particular, we design a first-order piece-wise continuous differential equation, where we add a number of counter terms to account for the discretization error explicitly. As a result, we provide a continuous time model for the HB momentum method that allows the control of discretization error to arbitrary order of the step size. As an application, we leverage it to find a new implicit regularization of the directional smoothness and investigate the implicit bias of HB for diagonal linear networks, indicating how our results can be used in deep learning. Our theoretical findings are further supported by numerical experiments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lyu2025heavyball,
  title  = {Heavy-Ball Momentum Method in Continuous Time and Discretization Error Analysis},
  author = {Bochen Lyu and Xiaojing Zhang and Fangyi Zheng and He Wang and Zheng Wang and Zhanxing Zhu},
  year   = {2025},
  eprint = {2506.14806},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.14806v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.14806.svg)](https://codeofpaper.com/paper/2506.14806)

Discussion