arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.10202cs.LGcs.AIcs.NE
收藏

Wolkowicz-Styan上界用于非线性光滑神经网络交叉熵损失的Hessian特征谱

Wolkowicz-Styan Upper Bound on the Hessian Eigenspectrum for Cross-Entropy Loss in Nonlinear Smooth Neural Networks

Nihon University(日本国立.nihon大学);National Institute of Technology, Nagaoka College(日本国立技术研究所, Nagoka学院);Tokyo City University(东京城大学)

Yuto Omae, Kazuki Sakai, Yohei Kakimoto, Makoto Sasaki, Yusuke Sakai, Hirotaka Takahashi

AI总结:

本文基于Wolkowicz-Styan界,推导出非线性光滑神经网络交叉熵损失Hessian最大特征值的闭式上界,为分析损失锐度提供了理论工具。

摘要:

神经网络(NNs)是现代机器学习的核心,广泛应用于各种任务。然而,损失几何与泛化能力之间的关系仍不明确。在临界点附近,损失函数的局部几何可通过二次形式近似,通过二阶泰勒展开获得。二次项的系数对应于Hessian矩阵,其特征谱可用于评估临界点处损失的锐度。大量研究表明,平坦的临界点具有更好的泛化能力,而尖锐的临界点会导致更高的泛化误差。然而,锐度需要Hessian特征谱,但一般矩阵特征方程没有闭式解。因此,现有研究主要依赖数值近似方法。现有的闭式分析主要局限于简化架构,如线性或ReLU激活网络;因此,对光滑非线性多层神经网络的理论分析仍有限。本文针对非线性光滑多层神经网络,推导出基于Wolkowicz-Styan界的交叉熵损失Hessian最大特征值的闭式上界。具体而言,推导出的上界以仿射变换参数、隐藏层维度和训练样本间正交度为函数。本文的主要贡献是通过闭式表达式对光滑非线性多层神经网络的损失锐度进行分析,避免显式计算特征谱。我们希望这项工作能为解开深度学习的谜团提供一个微小但有意义的步骤。

英文摘要:

Neural networks (NNs) are central to modern machine learning and achieve state-of-the-art results in many applications. However, the relationship between loss geometry and generalization is still not well understood. The local geometry of the loss function near a critical point is well-approximated by its quadratic form, obtained through a second-order Taylor expansion. The coefficients of the quadratic term correspond to the Hessian matrix, whose eigenspectrum allows us to evaluate the sharpness of the loss at the critical point. Extensive research suggests flat critical points generalize better, while sharp ones lead to higher generalization error. However, sharpness requires the Hessian eigenspectrum, but general matrix characteristic equations have no closed-form solution. Therefore, most existing studies on evaluating loss sharpness rely on numerical approximation methods. Existing closed-form analyses of the eigenspectrum are primarily limited to simplified architectures, such as linear or ReLU-activated networks; consequently, theoretical analysis of smooth nonlinear multilayer neural networks remains limited. Against this background, this study focuses on nonlinear, smooth multilayer neural networks and derives a closed-form upper bound for the maximum eigenvalue of the Hessian with respect to the cross-entropy loss by leveraging the Wolkowicz-Styan bound. Specifically, the derived upper bound is expressed as a function of the affine transformation parameters, hidden layer dimensions, and the degree of orthogonality among the training samples. The primary contribution of this paper is an analytical characterization of loss sharpness in smooth nonlinear multilayer neural networks via a closed-form expression, avoiding explicit numerical eigenspectrum computation. We hope that this work provides a small yet meaningful step toward unraveling the mysteries of deep learning.

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

↑