Cargando…

CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing

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 f...

Descripción completa

Detalles Bibliográficos
Autores principales: Borysenko, Oleksandr, Byshkin, Maksym
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Nature Publishing Group UK 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8139967/
https://www.ncbi.nlm.nih.gov/pubmed/34021212
http://dx.doi.org/10.1038/s41598-021-90144-3
_version_ 1783696098094743552
author Borysenko, Oleksandr
Byshkin, Maksym
author_facet Borysenko, Oleksandr
Byshkin, Maksym
author_sort Borysenko, Oleksandr
collection PubMed
description 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. 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.
format Online
Article
Text
id pubmed-8139967
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher Nature Publishing Group UK
record_format MEDLINE/PubMed
spelling pubmed-81399672021-05-25 CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing Borysenko, Oleksandr Byshkin, Maksym Sci Rep Article 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. 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. Nature Publishing Group UK 2021-05-21 /pmc/articles/PMC8139967/ /pubmed/34021212 http://dx.doi.org/10.1038/s41598-021-90144-3 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) .
spellingShingle Article
Borysenko, Oleksandr
Byshkin, Maksym
CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title_full CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title_fullStr CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title_full_unstemmed CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title_short CoolMomentum: a method for stochastic optimization by Langevin dynamics with simulated annealing
title_sort coolmomentum: a method for stochastic optimization by langevin dynamics with simulated annealing
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8139967/
https://www.ncbi.nlm.nih.gov/pubmed/34021212
http://dx.doi.org/10.1038/s41598-021-90144-3
work_keys_str_mv AT borysenkooleksandr coolmomentumamethodforstochasticoptimizationbylangevindynamicswithsimulatedannealing
AT byshkinmaksym coolmomentumamethodforstochasticoptimizationbylangevindynamicswithsimulatedannealing