Input margins can predict generalization too
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 26 of its 36 references that are in the map. First posted on arXiv 29 Aug 2023.
Builds on
26 of 36 references.
References · 26
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,998
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,318
- 2018Robustness May Be at Odds with Accuracycited by 880
- 2017Spectrally-normalized margin bounds for neural networkscited by 686
- 2019Fantastic Generalization Measures and Where to Find Themcited by 513
- 2018Stronger generalization bounds for deep nets via a compression approachcited by 307
- 2018Disentangling Adversarial Robustness and Generalizationcited by 172
- 2017Generalization in Deep Learningcited by 146
- 2018Is Robustness the Cost of Accuracy? -- A Comprehensive Study on the Robustness of 18 Deep Image Classification Modelscited by 135
- 2019Adversarial Training Can Hurt Generalizationcited by 132
14 more
- 2016Robust Large Margin Deep Neural Networkscited by 118
- 2018Predicting the Generalization Gap in Deep Networks with Margin Distributionscited by 113
- 2018Large Margin Deep Networks for Classificationcited by 112
- 2022PAC-Bayes Compression Bounds So Tight That They Can Explain Generalizationcited by 76
- 2015Learning with a Strong Adversarycited by 68
- 2020NeurIPS 2020 Competition: Predicting Generalization in Deep Learningcited by 41
- 2020Representation Based Complexity Measures for Predicting Generalization in Deep Learningcited by 29
- 2020Boundary thickness and robustness in learning modelscited by 26
- 2021Measuring Generalization with Optimal Transportcited by 25
- 2021Predicting Deep Neural Network Generalization with Perturbation Response Curvescited by 14
- 2021Robustness to Augmentations as a Generalization metriccited by 13
- 2020k-Variance: A Clustered Notion of Variancecited by 11
- 2021On Predicting Generalization using GANscited by 6
- 2023The Missing Margin: How Sample Corruption Affects Distance to the Boundary in ANNscited by 1
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 0; 2026: 1.
4 papers.
- 2024Detecting Brittle Decisions for Free: Leveraging Margin Consistency in Deep Robust Classifierscited by 10
- 2023Improving classifier decision boundaries using nearest neighborscited by 1
- 2024Is network fragmentation a useful complexity measure?cited by 0
- 2026Can Circuit Alignment Predict OOD Generalization?cited by 0
- 2026Can Circuit Alignment Predict OOD Generalization?25 Sep 2026
- 2024Is network fragmentation a useful complexity measure?7 Nov 2024
- 2024Detecting Brittle Decisions for Free: Leveraging Margin Consistency in Deep Robust Classifiers26 Jun 2024
- 2023Improving classifier decision boundaries using nearest neighbors5 Oct 2023