CoolMomentum: A Method for Stochastic Optimization by Langevin Dynamics with Simulated Annealing

Oleksandr Borysenko, Maksym Byshkin
5/29/2020
stat.MLcs.LGstat.CO

Official code: borbysh/coolmomentum (7 stars, Python, last commit 2025-09-05).

Abstract

Deep learning applications require global optimization of non-convex objective functions, which have multiple local minima. The same problem is often found in physical simulations and may be resolved by the methods of Langevin dynamics with Simulated Annealing, which is a well-established approach for minimization of many-particle potentials.

Show full abstract

This analogy provides useful insights for non-convex stochastic optimization in machine learning. Here we find that integration of the discretized Langevin equation gives a coordinate updating rule equivalent to the famous Momentum optimization algorithm. As a main result, we show that a gradual decrease of the momentum coefficient from the initial value close to unity until zero is equivalent to application of Simulated Annealing or slow cooling, in physical terms. Making use of this novel approach, we propose CoolMomentum -- a new stochastic optimization method. Applying Coolmomentum to optimization of Resnet-20 on Cifar-10 dataset and Efficientnet-B0 on Imagenet, we demonstrate that it is able to achieve high accuracies.

View on arXivView PDF

Code Implementations(1)

Implementation for the CoolMomentum Optimizer.

71PythonMay 28, 20201 years ago

Similar Papers

Cite this paper

@article{borysenko2020coolmomentum,
  title  = {CoolMomentum: A Method for Stochastic Optimization by Langevin Dynamics with Simulated Annealing},
  author = {Oleksandr Borysenko and Maksym Byshkin},
  year   = {2020},
  eprint = {2005.14605},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2005.14605}
}

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/2005.14605.svg)](https://codeofpaper.com/paper/2005.14605)

Discussion