arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.02076cs.LGcond-mat.dis-nnnlin.CDstat.ML
收藏

神经网络训练中的普适锐度动力学:不动点分析、稳定性边缘与混沌路径

Universal Sharpness Dynamics in Neural Network Training: Fixed Point Analysis, Edge of Stability, and Route to Chaos

University of Maryland, College Park(马里兰大学学院公园分校);Joint Quantum Institute, University of Maryland, College Park(马里兰大学学院公园分校联合量子研究所)

Dayal Singh Kalra, Tianyu He, Maissam Barkeshli

AI总结:

该研究通过分析双层线性UV模型的梯度下降动力学,揭示神经网络训练中损失海森矩阵最大特征值(锐度)的普适动力学机制,包括锐度降低、渐进锐化、稳定性边缘及混沌路径,并证明其预测可推广至现实场景。

摘要:

在神经网络的梯度下降动力学中,损失海森矩阵的最大特征值(锐度)在整个训练过程中展现出多种稳健现象,包括训练初期可能出现的锐度下降(锐度降低),以及后期的渐进锐化和稳定性边缘等行为。我们证明,在单个训练样本上训练的简单双层线性网络(UV模型)展现了现实场景中观察到的所有关键锐度现象。通过分析函数空间中动态不动点的结构和函数更新的向量场,我们揭示了这些锐度趋势背后的潜在机制:(1)早期锐度降低和渐进锐化的机制;(2)稳定性边缘所需的条件;(3)初始化和参数化的关键作用;(4)当学习率增加时,在稳定性边缘流形上通过倍周期分岔进入混沌的路径。最后,我们证明该简化模型的各种预测可推广到现实场景,并讨论了其局限性。

英文摘要:

In gradient descent dynamics of neural networks, the top eigenvalue of the loss Hessian (sharpness) displays a variety of robust phenomena throughout training. This includes early time regimes where the sharpness may decrease during early periods of training (sharpness reduction), and later time behavior such as progressive sharpening and edge of stability. We demonstrate that a simple $2$-layer linear network (UV model) trained on a single training example exhibits all of the essential sharpness phenomenology observed in real-world scenarios. By analyzing the structure of dynamical fixed points in function space and the vector field of function updates, we uncover the underlying mechanisms behind these sharpness trends. Our analysis reveals (i) the mechanism behind early sharpness reduction and progressive sharpening, (ii) the required conditions for edge of stability, (iii) the crucial role of initialization and parameterization, and (iv) a period-doubling route to chaos on the edge of stability manifold as learning rate is increased. Finally, we demonstrate that various predictions from this simplified model generalize to real-world scenarios and discuss its limitations.

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

↑