arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00700cs.LGcs.AI
收藏

深度归一化网络的权重动力学

On the Weight Dynamics of Deep Normalized Networks

Johannes-Gutenberg University(约翰内斯古滕贝格大学)

Christian H. X. Ali Mehmeti-Göpel, Michael Wand

AI总结:

本研究形式化深度归一化网络中有效学习率差异的演化,证明其收敛性,识别临界学习率,并提出无超参数热身方法以最小化ELR扩散,从而提升极深网络的可训练性。

摘要:

近期研究表明,深度神经网络中各层有效学习率(ELR)之间的高差异会对可训练性产生负面影响。我们通过建模带有归一化层的网络的权重动力学(期望梯度和权重范数的演化),形式化了这些差异如何随时间演化,并预测了逐层ELR比率的演化过程。我们证明,当使用任意常数学习率进行训练时,尽管初始梯度会爆炸,ELR比率仍会收敛到1。我们识别出一个“临界学习率”,超过该值ELR差异会扩大,该临界值仅取决于当前的ELR。为验证我们的发现,我们设计了一种无需超参数的热身方法,该方法在理论和实践中均能快速最小化ELR的扩散。我们的实验将ELR扩散与可训练性联系起来,这种关系在具有显著梯度幅度波动的极深网络中最为明显。

英文摘要:

Recent studies have shown that high disparities in effective learning rates (ELRs) across layers in deep neural networks can negatively affect trainability. We formalize how these disparities evolve over time by modeling weight dynamics (evolution of expected gradient and weight norms) of networks with normalization layers, predicting the evolution of layer-wise ELR ratios. We prove that when training with any constant learning rate, ELR ratios converge to 1, despite initial gradient explosion. We identify a ``critical learning rate" beyond which ELR disparities widen, which only depends on current ELRs. To validate our findings, we devise a hyper-parameter-free warm-up method that successfully minimizes ELR spread quickly in theory and practice. Our experiments link ELR spread with trainability, a relationship that is most evident in very deep networks with significant gradient magnitude excursions.

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

↑