使用Metropolis Monte Carlo和自适应变体训练神经网络
Training neural networks using Metropolis Monte Carlo and an adaptive variant
摘要:
我们研究了零温度的大都会蒙特卡罗算法作为一种工具,通过最小化损失函数来训练神经网络。我们发现,正如理论上所预期的那样,其他作者的经验表明,大都会蒙特卡洛可以训练神经网络的准确性与梯度下降,如果不一定那么快。当神经网络的参数数量很大时,Metropolis算法不会自动失效。当一个神经网络的结构或神经元激活是强异质性时,它可能会失败,我们引入了一个自适应蒙特卡罗算法,aMC,以克服这些限制。蒙特卡罗方法的内在随机性和数值稳定性允许aMC训练深度神经网络和递归神经网络,其中梯度太小或太大而不允许通过梯度下降进行训练。蒙特卡罗方法为训练神经网络提供了基于梯度的方法的补充,允许访问一组不同的网络架构和原理。
英文摘要:
We examine the zero-temperature Metropolis Monte Carlo 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 Monte Carlo can train a neural net with an accuracy comparable to that of gradient descent, 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 Monte Carlo 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 gradient descent. Monte Carlo methods offer a complement to gradient-based methods for training neural networks, allowing access to a distinct set of network architectures and principles.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。