Input margins can predict generalization too

Coenraad Mouton, Marthinus W. Theunissen, Marelie H. Davel
8/29/2023
cs.LGcs.CV

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Understanding generalization in deep neural networks is an active area of research. A promising avenue of exploration has been that of margin measurements: the shortest distance to the decision boundary for a given sample or its representation internal to the network. While margins have been shown to be correlated with the generalization ability of a model when measured at its hidden representations (hidden margins), no such link between large margins and generalization has been established for input margins. We show that while input margins are not generally predictive of generalization, they can be if the search space is appropriately constrained. We develop such a measure based on input margins, which we refer to as `constrained margins'. The predictive power of this new measure is demonstrated on the 'Predicting Generalization in Deep Learning' (PGDL) dataset and contrasted with hidden representation margins. We find that constrained margins achieve highly competitive scores and outperform other margin measurements in general. This provides a novel insight on the relationship between generalization and classification margins, and highlights the importance of considering the data manifold for investigations of generalization in DNNs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mouton2023input,
  title  = {Input margins can predict generalization too},
  author = {Coenraad Mouton and Marthinus W. Theunissen and Marelie H. Davel},
  year   = {2023},
  eprint = {2308.15466},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.15466v1}
}

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

Discussion