Input Margins Can Predict Generalization Too
Coenraad Mouton, Marthinus Wilhelmus Theunissen, Marelie H. Davel
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. Preprint. Under review.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 27472e29-f7e4-451f-bfa0-df4d54f6b8e1Cited by top-tier papers1
Ask how each one uses itBuilds on7
- Towards Evaluating the Robustness of Neural NetworksNicholas Carlini, David A. WagnerS&P 2017 · 9,786 citations
- Fantastic Generalization Measures and Where to Find ThemYiding Jiang, Behnam Neyshabur, Hossein Mobahi, Dilip Krishnan et al.ICLR 2020 · 705 citations
- PAC-Bayes Compression Bounds So Tight That They Can Explain GeneralizationSanae Lotfi, Marc Finzi, Sanyam Kapoor, Andres Potapczynski et al.NeurIPS 2022 · 98 citations
- Boundary thickness and robustness in learning modelsYaoqing Yang, Rajiv Khanna, Yaodong Yu, Amir Gholami et al.NeurIPS 2020 · 53 citations
- Measuring Generalization with Optimal TransportChing-Yao Chuang, Youssef Mroueh, Kristjan H. Greenewald, Antonio Torralba et al.NeurIPS 2021 · 33 citations
Related papers
- Improved Sample Complexities for Deep Neural Networks and Robust Classification via an All-Layer MarginColin Wei, Tengyu MaICLR 2020 · 91 citations
- Abstraction Mechanisms Predict Generalization in Deep Neural NetworksAlex Gain, Hava T. SiegelmannICML 2020 · 6 citations
- Understanding Generalization in Quantum Machine Learning with MarginsTak Hur, Daniel K. ParkICML 2025
- Neural Complexity MeasuresYoonho Lee, Juho Lee, Sung Ju Hwang, Eunho Yang et al.NeurIPS 2020 · 13 citations
- Information-theoretic generalization bounds for black-box learning algorithmsHrayr Harutyunyan, Maxim Raginsky, Greg Ver Steeg, Aram GalstyanNeurIPS 2021 · 61 citations
