mlsanityData to 7 Oct 2026

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

arXiv 2603.09016 ↗First posted 9 Mar 2026cs.LG cs.CV cs.NEcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 13 of its 23 references that are in the map. First posted on arXiv 9 Mar 2026.

Builds on

13 of 23 references.

References · 13

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
  3. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,054
  4. 2018AutoAugment: Learning Augmentation Policies from Datacited by 728
  5. 2013Network In Networkcited by 600
  6. 2017Sharp Minima Can Generalize For Deep Netscited by 462
  7. 2023A Modern Look at the Relationship between Sharpness and Generalizationcited by 91
  8. 2020Relative Flatness and Generalizationcited by 88
  9. 2022Same Pre-training Loss, Better Downstream: Implicit Bias Matters for Language Modelscited by 84
  10. 2025Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via Grokkingcited by 8
  11. 2024The Uncanny Valley: Exploring Adversarial Robustness from a Flatness Perspectivecited by 4
  12. 2025When Flatness Does (Not) Guarantee Adversarial Robustnesscited by 3
1 more
  1. 2023FAM: Relative Flatness Aware Minimizationcited by 2

Built on by

Not cited yet.