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

在稳定性边缘的守恒定律破坏:非凸神经网络优化的谱理论

Conservation Law Breaking at the Edge of Stability: A Spectral Theory of Non-Convex Neural Network Optimization

University of Colorado Boulder(科罗拉多大学博尔德分校)

Daniel Nobrega Medeiros

AI总结:

本文研究了梯度下降在非凸神经网络优化中为何能可靠找到良好解的问题,揭示了梯度流在ReLU网络中保持L-1守恒定律,以及离散梯度下降中守恒定律破坏的机制,通过谱理论分析解释了交叉熵损失的自调节特性。

摘要:

为什么梯度下降在非凸神经网络优化中能够可靠地找到好的解,尽管在最坏情况下优化景观是NP难的?我们展示梯度流在无偏L层ReLU网络中保持L-1守恒定律C_l = ||W_{l+1}||_F^2 - ||W_l||_F^2,将轨迹限制在低维流形上。在离散梯度下降中,这些定律会破坏,总漂移规模随eta^alpha变化,其中alpha大约为1.1-1.6,取决于架构、损失函数和宽度。我们精确分解了这种漂移为eta^2 * S(eta),其中梯度不平衡总和S(eta)具有闭合形式的谱交叉公式,其模式系数c_k与e_k(0)^2 * lambda_{x,k}^2成比例,源自基本原理并验证了线性(R=0.85)和ReLU(R>0.80)网络。对于交叉熵损失,softmax概率集中导致指数Hessian谱压缩,时间尺度tau = Theta(1/eta),与训练集大小无关,解释了交叉熵损失在接近alpha=1.0时的自调节特性。我们识别出两个由宽度决定的动态区域:一个扰动子边缘稳定性区域,其中谱公式适用,和一个非扰动区域,其中存在广泛的模式耦合。所有预测在23个实验中得到验证。

英文摘要:

Why does gradient descent reliably find good solutions in non-convex neural network optimization, despite the landscape being NP-hard in the worst case? We show that gradient flow on L-layer ReLU networks without bias preserves L-1 conservation laws C_l = ||W_{l+1}||_F^2 - ||W_l||_F^2, confining trajectories to lower-dimensional manifolds. Under discrete gradient descent, these laws break with total drift scaling as eta^alpha where alpha is approximately 1.1-1.6 depending on architecture, loss function, and width. We decompose this drift exactly as eta^2 * S(eta), where the gradient imbalance sum S(eta) admits a closed-form spectral crossover formula with mode coefficients c_k proportional to e_k(0)^2 * lambda_{x,k}^2, derived from first principles and validated for both linear (R=0.85) and ReLU (R>0.80) networks. For cross-entropy loss, softmax probability concentration drives exponential Hessian spectral compression with timescale tau = Theta(1/eta) independent of training set size, explaining why cross-entropy self-regularizes the drift exponent near alpha=1.0. We identify two dynamical regimes separated by a width-dependent transition: a perturbative sub-Edge-of-Stability regime where the spectral formula applies, and a non-perturbative regime with extensive mode coupling. All predictions are validated across 23 experiments.

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

↑