arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1712.01076stat.MLcs.NE
收藏

神经网络的自然Langevin动力学

Natural Langevin Dynamics for Neural Networks

Gaétan Marceau-Caron, Yann Ollivier

摘要:

在机器学习中避免过拟合的一种方法是使用根据给定数据的贝叶斯后验分布的模型参数,而不是极大似然估计。随机梯度朗之万动力学(SGLD)是一种用于近似大型模型和数据集的贝叶斯后验的算法。SGLD是一种标准的随机梯度下降,其中添加了受控量的噪声,特别是缩放,以便参数按规律收敛到后验分布[WT 11,TTV 16]。后验预测分布可以通过来自轨迹的样本的集合来近似。已知噪声方差的选择会影响SGLD的实际行为:例如,对于敏感参数方向,噪声应该更小。理论上,建议使用模型的逆费舍尔信息矩阵作为噪声的方差,因为它也是贝叶斯后验的方差[PT 13,AKW 12,GC 11]。但是对于大维度的模型来说,费歇尔矩阵的计算成本很高.在这里,我们使用[MO16,Oll15]中的深度神经网络的Fisher矩阵近似。由此产生的自然Langevin动力学结合了Amari的自然梯度下降和Fisher预处理Langevin动力学的优势,用于大型神经网络。MNIST上的小规模实验表明,Fisher矩阵预处理作为一种正则化技术,使SGLD接近dropout。

英文摘要:

One way to avoid overfitting in machine learning is to use model parameters distributed according to a Bayesian posterior given the data, rather than the maximum likelihood estimator. Stochastic gradient Langevin dynamics (SGLD) is one algorithm to approximate such Bayesian posteriors for large models and datasets. SGLD is a standard stochastic gradient descent to which is added a controlled amount of noise, specifically scaled so that the parameter converges in law to the posterior distribution [WT11, TTV16]. The posterior predictive distribution can be approximated by an ensemble of samples from the trajectory. Choice of the variance of the noise is known to impact the practical behavior of SGLD: for instance, noise should be smaller for sensitive parameter directions. Theoretically, it has been suggested to use the inverse Fisher information matrix of the model as the variance of the noise, since it is also the variance of the Bayesian posterior [PT13, AKW12, GC11]. But the Fisher matrix is costly to compute for large- dimensional models. Here we use the easily computed Fisher matrix approximations for deep neural networks from [MO16, Oll15]. The resulting natural Langevin dynamics combines the advantages of Amari's natural gradient descent and Fisher-preconditioned Langevin dynamics for large neural networks. Small-scale experiments on MNIST show that Fisher matrix preconditioning brings SGLD close to dropout as a regularizing technique.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑