arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1412.6558cs.NEcs.LGstat.ML
收藏

训练超深前馈网络的随机游走算法

Random Walk Initialization for Training Very Deep Feedforward Networks

Google Inc.(谷歌公司);Columbia University(哥伦比亚大学)

David Sussillo, L. F. Abbott

摘要:

训练非常深的网络是机器学习中一个重要的开放问题。许多困难之一是反向传播误差梯度的范数可以指数增长或衰减。在这里,我们证明了训练非常深的前馈网络(FFN)并不像以前想象的那么困难。与将反向传播应用于递归网络不同,应用于FFN相当于将误差梯度乘以每层的不同随机矩阵。我们表明,连续应用正确缩放的随机矩阵的初始向量的结果在一个随机行走的日志所产生的向量的范数,我们计算的缩放,使这种行走无偏。随机游走的方差仅随网络深度线性增长,与每层的大小成反比。实际上,这意味着梯度的对数范数与网络深度的平方根成比例,并表明梯度消失问题可以通过增加层的宽度来缓解。数学分析和实验结果使用随机梯度下降,以优化任务相关的MNIST和TIMIT数据集提供支持这些主张。为线性和ReLU情况提供了最佳矩阵缩放的方程。

英文摘要:

Training very deep networks is an important open problem in machine learning. One of many difficulties is that the norm of the back-propagated error gradient can grow or decay exponentially. Here we show that training very deep feed-forward networks (FFNs) is not as difficult as previously thought. Unlike when back-propagation is applied to a recurrent network, application to an FFN amounts to multiplying the error gradient by a different random matrix at each layer. We show that the successive application of correctly scaled random matrices to an initial vector results in a random walk of the log of the norm of the resulting vectors, and we compute the scaling that makes this walk unbiased. The variance of the random walk grows only linearly with network depth and is inversely proportional to the size of each layer. Practically, this implies a gradient whose log-norm scales with the square root of the network depth and shows that the vanishing gradient problem can be mitigated by increasing the width of the layers. Mathematical analyses and experimental results using stochastic gradient descent to optimize tasks related to the MNIST and TIMIT datasets are provided to support these claims. Equations for the optimal matrix scaling are provided for the linear and ReLU cases.

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

↑