arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.12250cs.LGcond-mat.dis-nn
收藏

深度神经网络早期训练动力学的相图:学习率、深度和宽度的影响

Phase diagram of early training dynamics in deep neural networks: effect of the learning rate, depth, and width

University of Maryland(马里兰大学);Joint Quantum Institute(联合量子研究所)

Dayal Singh Kalra, Maissam Barkeshli

AI总结:

本文系统分析了深度神经网络中学习率、深度和宽度对SGD优化动力学的影响,通过Hessian矩阵最大特征值发现早期训练存在四种状态区域,并确定了区分不同早期动力学现象的临界值,揭示了随深度增加和宽度减小而开启的“锐度降低”相。

摘要:

我们系统分析了使用随机梯度下降(SGD)训练的深度神经网络(DNNs)的优化动力学,并研究了学习率$η$、网络深度$d$和宽度$w$的影响。通过分析损失函数 Hessian 矩阵的最大特征值$λ^H_t$(衡量损失景观锐度的指标),我们发现该动力学可表现出四种不同的状态区域:(i) 早期瞬态区域,(ii) 中期饱和区域,(iii) 渐进锐化区域,以及 (iv) 晚期“稳定性边缘”区域。早期和中期区域(i)与(ii)展现出依赖于$η\equiv c / λ_0^H$、$d$和$w$的丰富相图。我们确定了$c$的几个临界值,它们将训练损失和锐度早期动力学中性质截然不同的现象区分开来。值得注意的是,我们发现随着$d$和$1/w$的增大,开启了一个“锐度降低”相,在该相中锐度在早期会下降。

英文摘要:

We systematically analyze optimization dynamics in deep neural networks (DNNs) trained with stochastic gradient descent (SGD) and study the effect of learning rate $η$, depth $d$, and width $w$ of the neural network. By analyzing the maximum eigenvalue $λ^H_t$ of the Hessian of the loss, which is a measure of sharpness of the loss landscape, we find that the dynamics can show four distinct regimes: (i) an early time transient regime, (ii) an intermediate saturation regime, (iii) a progressive sharpening regime, and (iv) a late time ``edge of stability" regime. The early and intermediate regimes (i) and (ii) exhibit a rich phase diagram depending on $η\equiv c / λ_0^H $, $d$, and $w$. We identify several critical values of $c$, which separate qualitatively distinct phenomena in the early time dynamics of training loss and sharpness. Notably, we discover the opening up of a ``sharpness reduction" phase, where sharpness decreases at early times, as $d$ and $1/w$ are increased.

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

↑