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

如何开始培训:培训和架构的影响

How to Start Training: The Effect of Initialization and Architecture

Massachusetts Institute of Technology(麻省理工学院)

Boris Hanin, David Rolnick

摘要:

我们识别并研究了深度ReLU网络早期训练的两种常见故障模式。对于每一种情况,我们都给出了严格的证明,证明了它何时发生以及如何避免它,对于完全连接和剩余架构。第一种故障模式,爆炸/消失的平均激活长度,可以通过从方差为2/扇入的对称分布初始化权重来避免,对于ResNets,可以通过正确加权剩余模块来避免。我们证明了第二个故障模式,指数大方差的激活长度,永远不会发生在剩余网络一旦第一个故障模式被避免。相反,对于全连通网络,我们证明了这种故障模式可以发生,并通过保持层宽度的倒数之和不变来避免。我们通过经验证明了我们的理论结果在预测网络何时能够开始训练方面的有效性。特别是,我们注意到许多流行的初始化都没有达到我们的标准,而正确的初始化和架构可以训练更深的网络。

英文摘要:

We identify and study two common failure modes for early training in deep ReLU nets. For each we give a rigorous proof of when it occurs and how to avoid it, for fully connected and residual architectures. The first failure mode, exploding/vanishing mean activation length, can be avoided by initializing weights from a symmetric distribution with variance 2/fan-in and, for ResNets, by correctly weighting the residual modules. We prove that the second failure mode, exponentially large variance of activation length, never occurs in residual nets once the first failure mode is avoided. In contrast, for fully connected nets, we prove that this failure mode can happen and is avoided by keeping constant the sum of the reciprocals of layer widths. We demonstrate empirically the effectiveness of our theoretical results in predicting when networks are able to start training. In particular, we note that many popular initializations fail our criteria, whereas correct initialization and architecture allows much deeper networks to be trained.

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

↑