English

Almost sure convergence of stochastic Hamiltonian descent methods

Optimization and Control 2025-07-01 v3

Abstract

Gradient normalization and soft clipping are two popular techniques for tackling instability issues and improving convergence of stochastic gradient descent (SGD) with momentum. In this article, we study these types of methods through the lens of dissipative Hamiltonian systems. Gradient normalization and certain types of soft clipping algorithms can be seen as (stochastic) implicit-explicit Euler discretizations of dissipative Hamiltonian systems, where the kinetic energy function determines the type of clipping that is applied. We make use of dynamical systems theory to show in a unified way that all of these schemes converge to stationary points of the objective function, almost surely, in several different settings: a) for LL-smooth objective functions, when the variance of the stochastic gradients is possibly infinite, b) under the (L0,L1)(L_0,L_1)-smoothness assumption, for heavy-tailed noise with bounded variance, and c) for (L0,L1)(L_0,L_1)-smooth functions in the empirical risk minimization setting, when the variance is possibly infinite but the expectation is finite.

Keywords

Cite

@article{arxiv.2406.16649,
  title  = {Almost sure convergence of stochastic Hamiltonian descent methods},
  author = {Måns Williamson and Tony Stillfjord},
  journal= {arXiv preprint arXiv:2406.16649},
  year   = {2025}
}