[Paper Review] Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks using PAC-Bayesian Analysis
This paper introduces normalized flat minima, a scale-invariant measure of loss landscape flatness in neural networks derived from PAC-Bayesian analysis. By reweighting curvature and parameter norms using layer-specific scaling, it resolves the known scale dependence of prior flatness definitions, achieving a 91.1% correlation with generalization gap—significantly higher than the 70.8% for standard Hessian-based measures.
The notion of flat minima has played a key role in the generalization studies of deep learning models. However, existing definitions of the flatness are known to be sensitive to the rescaling of parameters. The issue suggests that the previous definitions of the flatness might not be a good measure of generalization, because generalization is invariant to such rescalings. In this paper, from the PAC-Bayesian perspective, we scrutinize the discussion concerning the flat minima and introduce the notion of normalized flat minima, which is free from the known scale dependence issues. Additionally, we highlight the scale dependence of existing matrix-norm based generalization error bounds similar to the existing flat minima definitions. Our modified notion of the flatness does not suffer from the insufficiency, either, suggesting it might provide better hierarchy in the hypothesis class.
Motivation & Objective
- Address the scale dependence of existing flat minima definitions, which vary under parameter rescaling despite invariant generalization.
- Identify that prior generalization bounds and flatness measures suffer from the same scale sensitivity due to implicit uniform prior variance assumptions.
- Develop a scale-invariant flatness measure by incorporating layer-specific scaling into the PAC-Bayesian framework.
- Demonstrate that the new measure better distinguishes overfitted models (e.g., trained on random labels) than existing methods.
- Provide a theoretical foundation for flat minima that unifies flatness and parameter scale in a principled, invariant way.
Proposed method
- Formulate a PAC-Bayesian bound that explicitly accounts for layer-wise parameter scaling, replacing uniform priors with scale-aware priors.
- Introduce normalized sharpness as the square root of the Hessian trace divided by the Frobenius norm of the weight matrix, ensuring invariance under row/column scaling.
- Derive a matrix-normalized sharpness measure that is invariant under rescaling of individual weight matrices and their rows/columns.
- Use Gaussian priors and posteriors within the PAC-Bayesian framework, but modify the KL divergence term to incorporate scale normalization.
- Apply row- and column-wise normalization to weight matrices to achieve invariance under parameter rescaling while preserving function equivalence.
- Validate the method empirically on Wide ResNets trained with varying ratios of random labels, comparing sharpness measures against generalization gap.
Experimental results
Research questions
- RQ1Can a flatness measure be defined that is invariant under parameter rescaling, given that generalization is invariant to such transformations?
- RQ2Why do existing flatness definitions and generalization bounds fail to correlate with generalization when parameters are rescaled?
- RQ3How can the PAC-Bayesian framework be extended to incorporate layer-specific scaling for improved generalization bounds?
- RQ4Does the proposed normalized flatness measure better distinguish between overfit and generalizing models than standard Hessian- or norm-based measures?
- RQ5Can the new measure improve the hierarchy of hypothesis classes by unifying flatness and parameter scale in a scale-invariant way?
Key findings
- The proposed normalized sharpness achieves a correlation of 91.1% with the generalization gap on CIFAR-10 with random labels, significantly outperforming the 70.8% correlation of standard Hessian-based sharpness measures.
- The normalized flat minima definition is invariant under row- and column-wise rescaling of weight matrices, resolving a key limitation of prior definitions.
- The method successfully distinguishes models trained on random labels from those trained on real labels, even when standard flatness measures fail.
- The analysis reveals that existing matrix-norm-based generalization bounds also suffer from scale dependence, which the new framework avoids.
- The normalized sharpness measure is invariant under reparameterization such as splitting a weight matrix into two equal parts and rescaling them differently, unlike the Fisher-Rao norm.
- Empirical results confirm that the normalized sharpness provides a tighter and more reliable proxy for generalization than naive parameter counting or unnormalized curvature measures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.