Lune

NeurIPS2021Top-tier venue

Relative Flatness and Generalization

Henning Petzka, Michael Kamp, Linara Adilova, Cristian Sminchisescu, Mario Boley

Abstract

Flatness of the loss curve is conjectured to be connected to the generalization ability of machine learning models, in particular neural networks. While it has been empirically observed that flatness measures consistently correlate strongly with generalization, it is still an open theoretical problem why and under which circumstances flatness is connected to generalization, in particular in light of reparameterizations that change certain flatness measures but leave generalization unchanged. We investigate the connection between flatness and generalization by relating it to the interpolation from representative data, deriving notions of representativeness, and feature robustness. The notions allow us to rigorously connect flatness and generalization and to identify conditions under which the connection holds. Moreover, they give rise to a novel, but natural relative flatness measure that correlates strongly with generalization, simplifies to ridge regression for ordinary least squares, and solves the reparameterization issue.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

46 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Anticorrelated Noise Injection for Improved Generalization cites Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks Using PAC-Bayesian Analysis
  • Anticorrelated Noise Injection for Improved Generalization cites Fantastic Generalization Measures and Where to Find Them
  • Diverse Weight Averaging for Out-of-Distribution Generalization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Diverse Weight Averaging for Out-of-Distribution Generalization cites When Do Flat Minima Optimizers Work?
  • A Modern Look at the Relationship between Sharpness and Generalization cites Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks Using PAC-Bayesian Analysis
  • A Modern Look at the Relationship between Sharpness and Generalization cites Adversarial Weight Perturbation Helps Robust Generalization
  • A Modern Look at the Relationship between Sharpness and Generalization cites Fantastic Generalization Measures and Where to Find Them
  • A Modern Look at the Relationship between Sharpness and Generalization cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • The Implicit Regularization of Dynamical Stability in Stochastic Gradient Descent cites Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks Using PAC-Bayesian Analysis
  • The Implicit Regularization of Dynamical Stability in Stochastic Gradient Descent cites Sharpness-aware Minimization for Efficiently Improving Generalization
  • Sharpness-aware Minimization for Efficiently Improving Generalization cites Exploring the Vulnerability of Deep Neural Networks: A Study of Parameter Corruption
  • Sharpness-aware Minimization for Efficiently Improving Generalization cites Fantastic Generalization Measures and Where to Find Them
  • When Do Flat Minima Optimizers Work? cites Fantastic Generalization Measures and Where to Find Them
  • When Do Flat Minima Optimizers Work? cites Sharpness-aware Minimization for Efficiently Improving Generalization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers46

  1. Diverse Weight Averaging for Out-of-Distribution GeneralizationAlexandre Ramé, Matthieu Kirchmeyer, Thibaud Rahier, Alain Rakotomamonjy et al.NeurIPS 2022 · 183 citations
  2. When Do Flat Minima Optimizers Work?Jean Kaddour, Linqing Liu, Ricardo Silva, Matt J. KusnerNeurIPS 2022 · 102 citations
  3. A Modern Look at the Relationship between Sharpness and GeneralizationMaksym Andriushchenko, Francesco Croce, Maximilian Müller, Matthias Hein et al.ICML 2023 · 92 citations
  4. Anticorrelated Noise Injection for Improved GeneralizationAntonio Orvieto, Hans Kersting, Frank Proske, Francis R. Bach et al.ICML 2022 · 58 citations
  5. The Implicit Regularization of Dynamical Stability in Stochastic Gradient DescentLei Wu, Weijie J. SuICML 2023 · 41 citations

Builds on6

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 citations
  2. Adversarial Weight Perturbation Helps Robust GeneralizationDongxian Wu, Shu-Tao Xia, Yisen WangNeurIPS 2020 · 917 citations
  3. Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
  4. Normalized Flat Minima: Exploring Scale Invariant Definition of Flat Minima for Neural Networks Using PAC-Bayesian AnalysisYusuke Tsuzuku, Issei Sato, Masashi SugiyamaICML 2020 · 91 citations
  5. Exploring the Vulnerability of Deep Neural Networks: A Study of Parameter CorruptionXu Sun, Zhiyuan Zhang, Xuancheng Ren, Ruixuan Luo et al.AAAI 2021 · 45 citations

Related papers

  1. Towards Robust Out-of-Distribution Generalization Bounds via SharpnessYingtian Zou, Kenji Kawaguchi, Yingnan Liu, Jiashuo Liu et al.ICLR 2024 · 13 citations
  2. Flatness is Necessary, Neural Collapse is Not: Rethinking Generalization via GrokkingTing Han, Linara Adilova, Henning Petzka, Jens Kleesiek et al.NeurIPS 2025 · 9 citations
  3. How Uniform Random Weights Induce Non-uniform Bias: Typical Interpolating Neural Networks Generalize with Narrow TeachersGon Buzaglo, Itamar Harel, Mor Shpigel Nacson, Alon Brutzkus et al.ICML 2024 · 11 citations
  4. The Geometry of Neural Nets' Parameter Spaces Under ReparametrizationAgustinus Kristiadi, Felix Dangel, Philipp HennigNeurIPS 2023 · 21 citations
  5. A Reparametrization-Invariant Sharpness Measure Based on Information GeometryCheongjae Jang, Sungyoon Lee, Frank C. Park, Yung-Kyun NohNeurIPS 2022 · 19 citations
Dusk over the sea between two cliffs drawn in fine vertical lines