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

一种准确的平坦度度量以估计CNN模型的泛化性能

An accurate flatness measure to estimate the generalization performance of CNN models

Rahman Taleghani, Maryam Mohammadi, Francesco Marchetti

AI总结:

本文提出了一种准确的CNN模型泛化性能评估方法,通过推导闭式表达式和参数感知度量,改进了传统平坦度度量的不足。

摘要:

基于损失谱或迹的平坦度度量被广泛用作深度网络泛化能力的代理。然而,大多数现有定义要么专门针对全连接架构,依赖于Hessian迹的随机估计器,要么忽略了现代卷积神经网络(CNNs)的特定几何结构。在本工作中,我们开发了一种既精确又对架构忠实的平坦度度量,适用于广泛且实际相关的CNN类。我们首先推导了在使用全局平均池化后接线性分类器的网络中,交叉熵损失对卷积核的Hessian迹的闭式表达式。在此基础上,我们专门将相对平坦度的概念应用于卷积层,并获得一种参数感知的平坦度度量,能够正确考虑卷积和池化引起的缩放对称性和滤波器相互作用。最后,我们在训练于标准图像分类基准的CNN家族上经验性地研究了所提出的度量。所得结果表明,所提出的度量可以作为评估和比较CNN模型泛化性能的稳健工具,并指导实际的架构和训练选择。

英文摘要:

Flatness measures based on the spectrum or the trace of the Hessian of the loss are widely used as proxies for the generalization ability of deep networks. However, most existing definitions are either tailored to fully connected architectures, relying on stochastic estimators of the Hessian trace, or ignore the specific geometric structure of modern Convolutional Neural Networks (CNNs). In this work, we develop a flatness measure that is both exact and architecturally faithful for a broad and practically relevant class of CNNs. We first derive a closed-form expression for the trace of the Hessian of the cross-entropy loss with respect to convolutional kernels in networks that use global average pooling followed by a linear classifier. Building on this result, we then specialize the notion of relative flatness to convolutional layers and obtain a parameterization-aware flatness measure that properly accounts for the scaling symmetries and filter interactions induced by convolution and pooling. Finally, we empirically investigate the proposed measure on families of CNNs trained on standard image-classification benchmarks. The results obtained suggest that the proposed measure can serve as a robust tool to assess and compare the generalization performance of CNN models, and to guide the design of architecture and training choices in practice.

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

↑