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

通过逐层 Hessian 矩阵视角研究神经网络的局部性质

Local properties of neural networks through the lens of layer-wise Hessians

ITMO University(ITMO大学)

Maxim Bolshim, Alexander Kugaevskikh

AI总结:

本文提出利用逐层 Hessian 矩阵分析神经网络参数空间局部几何,通过 37 个数据集上的 111 个实验揭示其谱性质与过拟合、表达能力及泛化性能的关联,为网络诊断与设计提供新工具。

摘要:

我们引入一种通过逐层 Hessian 矩阵分析神经网络的方法。每个功能块(层)的局部 Hessian 定义为标量函数关于该层参数的二阶导数矩阵。这一概念为刻画参数空间的局部几何提供了形式化工具。我们表明,局部 Hessian 的谱性质(例如特征值分布)揭示了与神经网络架构中的过拟合、欠参数化和表达能力相关的定量模式。我们开展了广泛的实证研究,涉及 37 个数据集上的 111 个实验。结果表明,在训练过程中局部 Hessian 的演化存在一致的结构性规律,并凸显了其谱与泛化性能之间的相关性。这些发现为利用局部几何分析指导深度神经网络的诊断与设计奠定了基础。所提出的框架将优化几何与功能行为联系起来,并为改进网络架构和训练稳定性提供了实用见解。

英文摘要:

We introduce a methodology for analyzing neural networks through the lens of layer-wise Hessian matrices. The local Hessian of each functional block (layer) is defined as the matrix of second derivatives of a scalar function with respect to the parameters of that layer. This concept provides a formal tool for characterizing the local geometry of the parameter space. We show that the spectral properties of local Hessians, such as the distribution of eigenvalues, reveal quantitative patterns associated with overfitting, underparameterization, and expressivity in neural network architectures. We conduct an extensive empirical study involving 111 experiments across 37 datasets. The results demonstrate consistent structural regularities in the evolution of local Hessians during training and highlight correlations between their spectra and generalization performance. These findings establish a foundation for using local geometric analysis to guide the diagnosis and design of deep neural networks. The proposed framework connects optimization geometry with functional behavior and offers practical insight for improving network architectures and training stability.

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

↑