Relative Flatness and Generalization

Henning Petzka, Michael Kamp, Linara Adilova, Cristian Sminchisescu, Mario Boley
1/3/2020
cs.LGstat.ML

Official code: kampmichael/RelativeFlatnessAndGeneralization (9 stars, Python, Apache-2.0, last commit 2024-05-14).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Experiments and implementations of the methods described in the paper "Relative Flatness and Generalization".

91Python, Jupyter NotebookMay 27, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{petzka2020relative,
  title  = {Relative Flatness and Generalization},
  author = {Henning Petzka and Michael Kamp and Linara Adilova and Cristian Sminchisescu and Mario Boley},
  year   = {2020},
  eprint = {2001.00939},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.00939}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.00939.svg)](https://codeofpaper.com/paper/2001.00939)

Discussion