arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.02596cs.LG
收藏

神经网络损失景观的谱渐近:曲率指数的精确分解

Spectral Asymptotics of Neural Network Loss Landscapes: An Exact Decomposition of the Curvature Exponent

D Labs(9D实验室)

Anherutowa Calvo

AI总结:

本文通过谱对齐分解证明曲率指数α=2+dlogΦ_k/dlogσ_k,揭示了不同层类型曲率指数变化的几何原因,并推导出谱传递恒等式s=αγ,在无自由参数下以约2%中位误差预测Hessian衰减指数。

摘要:

曲率指数α(h_k ∝ σ_k^α中,控制Hessian特征值如何随梯度奇异值缩放)在不同层类型中系统变化(卷积层约2,Transformer注意力层约1,MLP上投影层小于1)。为什么?我们证明了谱对齐分解:α = 2 + dlogΦ_k / dlogσ_k,其中Φ_k衡量Kronecker因子特征基与梯度奇异方向之间的对齐程度。这将“为什么α变化?”简化为一个几何问题,我们针对LayerNorm、残差连接和softmax头给出了答案。该分解蕴含一个谱传递恒等式s = αγ,连接曲率指数、有效梯度秩衰减γ和Hessian衰减指数s。该恒等式是代数的;其实证内容是,在独立数据(HVPs vs. SVD)上拟合的α和γ,在93个层、五种架构和三个数据集上以约2%的中位误差恢复s,且无自由参数。参与比的zeta函数界表明曲率集中在每层一个有效方向上。作为概念验证,我们推导了架构自适应预条件子T(σ;α),并展示了在梯度奇异基中实现T的谱牛顿法在α≈2的视觉基准上优于AdamW。

英文摘要:

The curvature exponent $α$ in $h_k \propto σ_k^α$ -- governing how Hessian eigenvalues scale with gradient singular values -- varies systematically across layer types ($α\approx 2$ for convolutions, $\approx 1$ for transformer attention, $< 1$ for MLP up-projections). Why? We prove the Spectral Alignment Decomposition: $α= 2 + d\logΦ_k / d\logσ_k$, where $Φ_k$ measures alignment between Kronecker factor eigenbases and gradient singular directions. This reduces "why does $α$ vary?" to a geometric question we answer for LayerNorm, residual connections, and softmax heads. The decomposition implies a spectral transfer identity $s = αγ$ linking curvature exponent, effective gradient rank-decay $γ$, and Hessian decay exponent $s$. The identity is algebraic; its empirical content is that $α$ and $γ$, fit on independent data (HVPs vs. SVD), recover $s$ to ~2% median error across 93 layers, five architectures, and three datasets -- with no free parameters. A zeta-function bound on participation ratio shows curvature concentrates onto effectively one direction per layer. As a proof of concept, we derive the architecture-adaptive preconditioner $T(σ;α)$ and show that Spectral Newton -- implementing $T$ in the gradient singular basis -- outperforms AdamW on vision benchmarks where $α\approx 2$.

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

↑