揭示深度线性网络在稳定边缘外的震荡规律与特征空间演化机制
Learning Dynamics of Deep Linear Networks Beyond the Edge of Stability
- 分析深度线性网络在稳定边缘外的周期倍增混沌行为
- 发现损失震荡局限于由学习率决定的低维子空间
- 解释浅层模型无震荡及非线性网络中特征优先震荡现象
使用固定学习率η的梯度下降训练深度神经网络常处于“稳定边缘”(EOS)区域,此时海森矩阵最大特征值约等于2/η。本文对深度线性网络(DLNs)在深度矩阵分解损失函数下超越EOS的训练动态进行精细分析。结果显示,超越EOS后损失震荡呈现周期倍增通往混沌的路径。理论分析表明,在2周期轨道下,震荡局限于一个维度由学习率精确决定的低维子空间。关键在于,梯度流中的对称性守恒律——即各层奇异值间的平衡差——在EOS处被打破,并单调衰减至零。结果有助于解释两大现象:(i) 浅层模型与简单任务不总是呈现EOS;(ii) 震荡仅发生在顶层特征上。实验验证了理论,并展示了这些现象在非线性网络中的体现及其与具有良性景观的深度线性网络的区别。
原文摘要 · Abstract (English)
Deep neural networks trained using gradient descent with a fixed learning rate $η$ often operate in the regime of "edge of stability" (EOS), where the largest eigenvalue of the Hessian equilibrates about the stability threshold $2/η$. In this work, we present a fine-grained analysis of the learning dynamics of (deep) linear networks (DLNs) within the deep matrix factorization loss beyond EOS. For DLNs, loss oscillations beyond EOS follow a period-doubling route to chaos. We theoretically analyze the regime of the 2-period orbit and show that the loss oscillations occur within a small subspace, with the dimension of the subspace precisely characterized by the learning rate. The crux of our analysis lies in showing that the symmetry-induced conservation law for gradient flow, defined as the balancing gap among the singular values across layers, breaks at EOS and decays monotonically to zero. Overall, our results contribute to explaining two key phenomena in deep networks: (i) shallow models and simple tasks do not always exhibit EOS; and (ii) oscillations occur within top features. We present experiments to support our theory, along with examples demonstrating how these phenomena occur in nonlinear networks and how they differ from those which have benign landscape such as in DLNs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。