Relative stability toward diffeomorphisms indicates performance in deep nets

Leonardo Petrini, Alessandro Favero, Mario Geiger, Matthieu Wyart
5/6/2021
16 citations
cs.LGcs.CV

Official code: pcsl-epfl/diffeomorphism (9 stars, Python, MIT, last commit 2023-05-31). 1 more implementation below.

Abstract

Understanding why deep nets can classify data in large dimensions remains a challenge. It has been proposed that they do so by becoming stable to diffeomorphisms, yet existing empirical measurements support that it is often not the case.

Show full abstract

We revisit this question by defining a maximum-entropy distribution on diffeomorphisms, that allows to study typical diffeomorphisms of a given norm. We confirm that stability toward diffeomorphisms does not strongly correlate to performance on benchmark data sets of images. By contrast, we find that the stability toward diffeomorphisms relative to that of generic transformations $R_f$ correlates remarkably with the test error $ε_t$. It is of order unity at initialization but decreases by several decades during training for state-of-the-art architectures. For CIFAR10 and 15 known architectures, we find $ε_t\approx 0.2\sqrt{R_f}$, suggesting that obtaining a small $R_f$ is important to achieve good performance. We study how $R_f$ depends on the size of the training set and compare it to a simple model of invariant learning.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
pcsl-epfl/diffeomorphismOfficial9PythonMIT2023-05-31
leonardopetrini/diffeo-sotaOfficial3Python–2022-09-28
MIT

Apply maximum-entropy diffeomorphisms to images

91PythonNov 12, 20203 years agoMIT
PyTorch

Train SOTA Architectures on benchmark data-sets of images with PyTorch

31PythonFeb 10, 20214 years ago
deep-learningpytorch

Similar Papers

Cite this paper

@article{petrini2021relative,
  title  = {Relative stability toward diffeomorphisms indicates performance in deep nets},
  author = {Leonardo Petrini and Alessandro Favero and Mario Geiger and Matthieu Wyart},
  year   = {2021},
  eprint = {2105.02468},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.02468}
}

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/2105.02468.svg)](https://codeofpaper.com/paper/2105.02468)

Discussion