arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.03763cs.LG
收藏

随机初始化深度网络中的消失曲率和自适应方法的功效

Vanishing Curvature and the Power of Adaptive Methods in Randomly Initialized Deep Networks

ETH Zurich(苏黎世联邦理工学院)

Antonio Orvieto, Jonas Kohler, Dario Pavllo, Thomas Hofmann, Aurelien Lucchi

摘要:

本文回顾了所谓的消失梯度现象,这通常发生在深度随机初始化神经网络。利用对神经链的深入分析,我们首先证明,当网络宽度小于O(深度)时,即使使用流行的Xavier和He初始化初始化,也无法规避消失梯度。其次,我们扩展到二阶导数的分析,并表明,随机i.i.d.初始化也会产生Hessian矩阵,其特征谱随着网络深度的增长而消失。每当这种情况发生时,优化器都会在一个非常平坦的鞍点状高原中初始化,这是特别难以用随机梯度下降(SGD)逃脱的,因为它的逃脱时间与曲率成反比。我们认为,这一观察结果对于充分理解(a)使用香草SGD训练深度网络的历史困难,(b)自适应梯度方法的成功(自然适应曲率,从而快速逃离平坦高原)以及(c)现代架构组件(如剩余连接和归一化层)的有效性至关重要。

英文摘要:

This paper revisits the so-called vanishing gradient phenomenon, which commonly occurs in deep randomly initialized neural networks. Leveraging an in-depth analysis of neural chains, we first show that vanishing gradients cannot be circumvented when the network width scales with less than O(depth), even when initialized with the popular Xavier and He initializations. Second, we extend the analysis to second-order derivatives and show that random i.i.d. initialization also gives rise to Hessian matrices with eigenspectra that vanish as networks grow in depth. Whenever this happens, optimizers are initialized in a very flat, saddle point-like plateau, which is particularly hard to escape with stochastic gradient descent (SGD) as its escaping time is inversely related to curvature. We believe that this observation is crucial for fully understanding (a) historical difficulties of training deep nets with vanilla SGD, (b) the success of adaptive gradient methods (which naturally adapt to curvature and thus quickly escape flat plateaus) and (c) the effectiveness of modern architectural components like residual connections and normalization layers.

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

↑