arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1711.04735cs.LGstat.ML
收藏

通过动态等距恢复深度学习中的sigmoid:理论与实践

Resurrecting the sigmoid in deep learning through dynamical isometry: theory and practice

Google Brain(谷歌大脑);Applied Physics, Stanford University(斯坦福大学应用物理系)

Jeffrey Pennington, Samuel S. Schoenholz, Surya Ganguli

摘要:

众所周知,深度神经网络中权重的初始化会对学习速度产生巨大影响。例如,确保网络的输入输出雅可比矩阵的均方奇异值为$O(1)$,对于避免梯度的指数消失或爆炸至关重要。雅可比矩阵的所有奇异值集中在$1$附近的更强条件是一种称为动态等距的性质。对于深度线性网络,动态等距可以通过正交权重初始化来实现,并已被证明可以显着加快学习速度;然而,如何将这些结果扩展到非线性设置仍然不清楚。我们通过使用来自自由概率论的强大工具来分析计算深度网络的输入-输出雅可比矩阵的整个奇异值分布来解决这个问题。我们探讨了奇异值分布对网络深度、权重初始化和非线性选择的依赖性。有趣的是,我们发现ReLU网络无法实现动态等距。另一方面,S形网络可以实现等距,但只有正交权重初始化。此外,我们通过经验证明,实现动态等距的深度非线性网络比没有实现动态等距的网络学习速度快几个数量级。事实上,我们证明了正确初始化的深度S形网络始终优于深度ReLU网络。总的来说,我们的分析表明,控制雅可比奇异值的整个分布是深度学习中一个重要的设计考虑因素。

英文摘要:

It is well known that the initialization of weights in deep neural networks can have a dramatic impact on learning speed. For example, ensuring the mean squared singular value of a network's input-output Jacobian is $O(1)$ is essential for avoiding the exponential vanishing or explosion of gradients. The stronger condition that all singular values of the Jacobian concentrate near $1$ is a property known as dynamical isometry. For deep linear networks, dynamical isometry can be achieved through orthogonal weight initialization and has been shown to dramatically speed up learning; however, it has remained unclear how to extend these results to the nonlinear setting. We address this question by employing powerful tools from free probability theory to compute analytically the entire singular value distribution of a deep network's input-output Jacobian. We explore the dependence of the singular value distribution on the depth of the network, the weight initialization, and the choice of nonlinearity. Intriguingly, we find that ReLU networks are incapable of dynamical isometry. On the other hand, sigmoidal networks can achieve isometry, but only with orthogonal weight initialization. Moreover, we demonstrate empirically that deep nonlinear networks achieving dynamical isometry learn orders of magnitude faster than networks that do not. Indeed, we show that properly-initialized deep sigmoidal networks consistently outperform deep ReLU networks. Overall, our analysis reveals that controlling the entire distribution of Jacobian singular values is an important design consideration in deep learning.

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

↑