arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1806.02375cs.LGcs.AIstat.ML
收藏

了解批量归一化

Understanding Batch Normalization

Cornell University(康奈尔大学)

Johan Bjorck, Carla Gomes, Bart Selman, Kilian Q. Weinberger

摘要:

批量归一化(BN)是一种对深层神经网络的中间层中的激活进行归一化的技术。它提高准确性和加快训练速度的趋势使BN成为深度学习中最受欢迎的技术。然而,尽管取得了巨大的成功,但对于这些改进背后的确切原因和机制仍然没有达成共识。在本文中,我们采取了一个步骤,更好地了解BN,以下的实证方法。我们进行了几个实验,并表明BN主要使训练具有更大的学习率,这是更快的收敛和更好的泛化的原因。对于没有BN的网络,我们展示了大的梯度更新如何导致发散损失和激活随着网络深度不受控制地增长,这限制了可能的学习率。BN通过不断地将激活校正为零均值和单位标准差来避免这个问题,这使得能够实现更大的梯度步长,产生更快的收敛,并且可以帮助绕过尖锐的局部最小值。我们进一步展示了深度非规范化网络的梯度和激活行为不佳的各种方式。我们将我们的结果与随机矩阵理论中的最新发现进行对比,从而为经典初始化方案及其后果提供新的思路。

英文摘要:

Batch normalization (BN) is a technique to normalize activations in intermediate layers of deep neural networks. Its tendency to improve accuracy and speed up training have established BN as a favorite technique in deep learning. Yet, despite its enormous success, there remains little consensus on the exact reason and mechanism behind these improvements. In this paper we take a step towards a better understanding of BN, following an empirical approach. We conduct several experiments, and show that BN primarily enables training with larger learning rates, which is the cause for faster convergence and better generalization. For networks without BN we demonstrate how large gradient updates can result in diverging loss and activations growing uncontrollably with network depth, which limits possible learning rates. BN avoids this problem by constantly correcting activations to be zero-mean and of unit standard deviation, which enables larger gradient steps, yields faster convergence and may help bypass sharp local minima. We further show various ways in which gradients and activations of deep unnormalized networks are ill-behaved. We contrast our results against recent findings in random matrix theory, shedding new light on classical initialization schemes and their consequences.

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

↑