4.6 Article

Training neural networks using Metropolis Monte Carlo and an adaptive variant

Journal

Publisher

IOP Publishing Ltd
DOI: 10.1088/2632-2153/aca6cd

Keywords

adaptive; optimization; neural networks; Metropolis Monte Carlo; gradients

Funding

  1. Office of Science, Office of Basic Energy Sciences, of the U.S. Department of Energy [DE-AC02-05CH11231]
  2. National Science and Engineering Council of Canada
  3. Research Foundation-Flanders (FWO)
  4. National Energy Research Scientific Computing Center (NERSC), a U.S. Department of Energy Office of Science User Facility [DE-AC02-05CH11231]

Ask authors/readers for more resources

The zero-temperature Metropolis Monte Carlo (MC) algorithm is examined as a tool for training neural networks. It can effectively train neural networks with comparable accuracy to gradient descent (GD), although not necessarily as quickly. The adaptive Monte Carlo algorithm (aMC) is introduced to overcome limitations when the network structure or neuron activations are strongly heterogeneous. The MC method allows training of deep neural networks and recurrent neural networks that cannot be trained by GD due to insignificant or excessive gradients. MC methods offer a complementary approach to gradient-based methods for training neural networks, providing access to different network architectures and principles.
We examine the zero-temperature Metropolis Monte Carlo (MC) algorithm as a tool for training a neural network by minimizing a loss function. We find that, as expected on theoretical grounds and shown empirically by other authors, Metropolis MC can train a neural net with an accuracy comparable to that of gradient descent (GD), if not necessarily as quickly. The Metropolis algorithm does not fail automatically when the number of parameters of a neural network is large. It can fail when a neural network's structure or neuron activations are strongly heterogenous, and we introduce an adaptive Monte Carlo algorithm (aMC) to overcome these limitations. The intrinsic stochasticity and numerical stability of the MC method allow aMC to train deep neural networks and recurrent neural networks in which the gradient is too small or too large to allow training by GD. MC methods offer a complement to gradient-based methods for training neural networks, allowing access to a distinct set of network architectures and principles.

Authors

I am an author on this paper
Click your name to claim this paper and add it to your profile.

Reviews

Primary Rating

4.6
Not enough ratings

Secondary Ratings

Novelty
-
Significance
-
Scientific rigor
-
Rate this paper

Recommended

No Data Available
No Data Available