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

通过训练雅可比矩阵理解梯度下降

Understanding Gradient Descent through the Training Jacobian

EleutherAI

Nora Belrose, Adam Scherlis

AI总结:

该研究通过训练参数相对初始值的雅可比矩阵,揭示神经网络训练的低维结构及奇异值谱的三个区域,阐明初始化扰动的传播特性与不同种子下体子空间的重叠性。

摘要:

我们利用训练后网络参数相对于其初始值的雅可比矩阵,研究神经网络训练的几何特性。分析揭示了训练过程中存在低维结构,该结构依赖于输入数据,但很大程度上与标签无关。我们发现雅可比矩阵的奇异值谱包含三个截然不同的区域:数值远大于1的“混沌”区域、数值极其接近1的庞大“体”区域,以及数值小于1的“稳定”区域。沿每个体区域方向,左右奇异向量几乎完全相同,表明对初始化的扰动在训练过程中几乎未发生改变就被保留下来。这些扰动对网络在分布内的输出几乎没有影响,但对远分布外的输出确有影响。尽管雅可比矩阵仅在单个初始化的局部有效,但我们发现不同随机种子对应的体子空间存在显著重叠。我们的代码可在https://github.com/EleutherAI/training-jacobian 获取。

英文摘要:

We examine the geometry of neural network training using the Jacobian of trained network parameters with respect to their initial values. Our analysis reveals low-dimensional structure in the training process which is dependent on the input data but largely independent of the labels. We find that the singular value spectrum of the Jacobian matrix consists of three distinctive regions: a "chaotic" region of values orders of magnitude greater than one, a large "bulk" region of values extremely close to one, and a "stable" region of values less than one. Along each bulk direction, the left and right singular vectors are nearly identical, indicating that perturbations to the initialization are carried through training almost unchanged. These perturbations have virtually no effect on the network's output in-distribution, yet do have an effect far out-of-distribution. While the Jacobian applies only locally around a single initialization, we find substantial overlap in bulk subspaces for different random seeds. Our code is available at https://github.com/EleutherAI/training-jacobian

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

↑