Predicting the Generalization Gap in Deep Networks with Margin Distributions
Not on the map. Why?
Abstract (arXiv)
As shown in recent research, deep neural networks can perfectly fit randomly labeled data, but with very poor accuracy on held out data. This phenomenon indicates that loss functions such as cross-entropy are not a reliable indicator of generalization. This leads to the crucial question of how generalization gap should be predicted from the training data and network parameters. In this paper, we propose such a measure, and conduct extensive empirical studies on how well it can predict the generalization gap. Our measure is based on the concept of margin distribution, which are the distances of training points to the decision boundary. We find that it is necessary to use margin distributions at multiple layers of a deep network. On the CIFAR-10 and the CIFAR-100 datasets, our proposed measure correlates very strongly with the generalization gap. In addition, we find the following other factors to be of importance: normalizing margin values for scale independence, using characterizations of margin distribution rather than just the margin (closest distance to decision boundary), and working in log space instead of linear space (effectively using a product of margins rather than a sum). Our measure can be easily applied to feedforward deep networks with any architecture and may point towards new training loss functions that could enable better generalization.
Key facts. Cited by 111 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Sep 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 33; 2022: 24; 2023: 19; 2024: 14; 2025: 14; 2026: 7.
111 papers.
Sort:
By area:
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2021Deep Learning Through the Lens of Example Difficultycited by 139
- 2021Assessing Generalization of SGD via Disagreementcited by 116
- 2021Predicting with Confidence on Unseen Distributionscited by 116
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2023Permutation Equivariant Neural Functionalscited by 69
- 2021What Does Rotation Prediction Tell Us about Classifier Accuracy under Varying Testing Environments?cited by 63
- 2023Neural Functional Transformerscited by 50
- 2021Scalable Diverse Model Selection for Accessible Transfer Learningcited by 40
- 2024Towards Scalable and Versatile Weight Space Learningcited by 40
- 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 38
38 more
- 2022Model Zoos: A Dataset of Diverse Populations of Neural Network Modelscited by 38
- 2021Generalization bounds via distillationcited by 33
- 2021Pay attention to your loss: understanding misconceptions about 1-Lipschitz neural networkscited by 30
- 2021Noisy Feature Mixupcited by 27
- 2021Measuring Generalization with Optimal Transportcited by 24
- 2022On the Strong Correlation Between Model Invariance and Generalizationcited by 23
- 2023Confidence and Dispersity Speak: Characterising Prediction Matrix for Unsupervised Accuracy Estimationcited by 22
- 2022Multi-Object Navigation with dynamically learned neural implicit representationscited by 21
- 2025Early Stopping Against Label Noise Without Validation Datacited by 21
- 2022Evaluating natural language processing models with generalization metrics that do not need access to any training or testing datacited by 18
- 2023Neural (Tangent Kernel) Collapsecited by 18
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classificationcited by 18
- 2022Membership Inference Attacks and Generalization: A Causal Perspectivecited by 17
- 2024Energy-based Automated Model Evaluationcited by 16
- 2023On the Importance of Feature Separability in Predicting Out-Of-Distribution Errorcited by 15
- 2021Predicting Deep Neural Network Generalization with Perturbation Response Curvescited by 14
- 2022On the Relationship Between Explanation and Prediction: A Causal Viewcited by 14
- 2025Intermediate Layer Classifiers for OOD generalizationcited by 14
- 2021Robustness to Augmentations as a Generalization metriccited by 13
- 2021Why flatness does and does not correlate with generalization for deep neural networkscited by 13
- 2022Instance-Dependent Generalization Bounds via Optimal Transportcited by 13
- 2022Topology and geometry of data manifold in deep learningcited by 12
- 2024Dataset Difficulty and the Role of Inductive Biascited by 12
- 2021Deep Learning Generalization and the Convex Hull of Training Setscited by 10
- 2021Robustness to Pruning Predicts Generalization in Deep Neural Networkscited by 10
- 2021Label-Free Model Evaluation with Semi-Structured Dataset Representationscited by 10
- 2022Delving into the Openness of CLIPcited by 10
- 2023MarginMatch: Improving Semi-Supervised Learning with Pseudo-Marginscited by 10
- 2021Hyper-Representations: Self-Supervised Representation Learning on Neural Network Weights for Model Characteristic Predictioncited by 9
- 2022Predicting the generalization gap in neural networks using topological data analysiscited by 9
- 2021Ranking Models in Unlabeled New Environmentscited by 8
- 2021Well-classified Examples are Underestimated in Classification with Deep Neural Networkscited by 8
- 2022Deep Double Descent via Smooth Interpolationcited by 8
- 2024Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networkscited by 8
- 2021Recent Advances in Large Margin Learningcited by 7
- 2023Selecting which Dense Retriever to use for Zero-Shot Searchcited by 7
- 2024Leveraging PAC-Bayes Theory and Gibbs Distributions for Generalization Bounds with Complexity Measurescited by 7
- 2021On Predicting Generalization using GANscited by 6
50 most cited of 111 All 111 (JSON)
- 2026Can Circuit Alignment Predict OOD Generalization?25 Sep 2026
- 2026Mapping the Emergence of Regularization-Driven Dynamics in Grokking26 Aug 2026
- 2026A Geometric View of Counterfactual Behavior: Interaction of Boundary Proximity and Local Support2 Jun 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026Intermediate Representations are Strong AI-Generated Image Detectors5 May 2026
- 2026Failure Modes for Deep Learning-Based Online Mapping: How to Measure and Address Them20 Mar 2026
- 2026Transductive Generalization via Optimal Transport and Its Application to Graph Node Classification10 Mar 2026
- 2025Rethinking the Capability of Fine-Tuned Language Models for Automated Vulnerability Repair27 Dec 2025
- 2025Rethinking the Use of Vision Transformers for AI-Generated Image Detection4 Dec 2025
- 2025Volatility in Certainty (VC): A Metric for Detecting Adversarial Perturbations During Inference in Neural Network Classifiers14 Nov 2025
- 2025Mitigating Negative Flips via Margin Preserving Training11 Nov 2025
- 2025Position: Many generalization measures for deep learning are fragile21 Oct 2025
38 more
- 2025Confidence and Dispersity as Signals: Unsupervised Model Evaluation and Ranking3 Oct 2025
- 2025PENEX: AdaBoost-Inspired Neural Network Regularization2 Oct 2025
- 2025Continual Learning with Support Boundary Experience Blending31 Jul 2025
- 2025Maximize margins for robust splicing detection28 Jul 2025
- 2025Intermediate Layer Classifiers for OOD generalization7 Apr 2025
- 2025Can We Optimize Deep RL Policy Weights as Trajectory Modeling?6 Mar 2025
- 2025Unsupervised Source-Free Ranking of Biomedical Segmentation Models Under Distribution Shift1 Mar 2025
- 2025Early Stopping Against Label Noise Without Validation Data11 Feb 2025
- 2025Multi-Instance Partial-Label Learning with Margin Adjustment22 Jan 2025
- 2024Understanding Generalization in Quantum Machine Learning with Margins11 Nov 2024
- 2024SFTMix: Elevating Language Model Instruction Tuning with Mixup Recipe7 Oct 2024
- 2024Hyper-Representations: Learning from Populations of Neural Networks7 Oct 2024
- 2024LeCov: Multi-level Testing Criteria for Large Language Models20 Aug 2024
- 2024Improving Hyperparameter Optimization with Checkpointed Model Weights26 Jun 2024
- 2024Towards Scalable and Versatile Weight Space Learning14 Jun 2024
- 2024Relevant Irrelevance: Generating Alterfactual Explanations for Image Classifiers8 May 2024
- 2024Bounding Box Stability against Feature Dropout Reflects Detector Generalization across Environments20 Mar 2024
- 2024Twin: Tuning Learning Rate and Weight Decay of Deep Homogeneous Classifiers without Validation8 Mar 2024
- 2024Leveraging PAC-Bayes Theory and Gibbs Distributions for Generalization Bounds with Complexity Measures19 Feb 2024
- 2024Energy-based Automated Model Evaluation23 Jan 2024
- 2024Leveraging Gradients for Unsupervised Accuracy Estimation under Distribution Shift17 Jan 2024
- 2024Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networks7 Jan 2024
- 2024Dataset Difficulty and the Role of Inductive Bias3 Jan 2024
- 2023An extended asymmetric sigmoid with Perceptron (SIGTRON) for imbalanced linear classification26 Dec 2023
- 2023Can we infer the presence of Differential Privacy in Deep Learning models' weights? Towards more secure Deep Learning20 Nov 2023
- 2023PAGER: A Framework for Failure Analysis of Deep Regression Models20 Sep 2023
- 2023Accurate and Scalable Estimation of Epistemic Uncertainty for Graph Neural Networks20 Sep 2023
- 2023Selecting which Dense Retriever to use for Zero-Shot Search18 Sep 2023
- 2023Input margins can predict generalization too29 Aug 2023
- 2023CAME: Contrastive Automated Model Evaluation22 Aug 2023
- 2023MarginMatch: Improving Semi-Supervised Learning with Pseudo-Margins17 Aug 2023
- 2023Pseudo-Bag Mixup Augmentation for Multiple Instance Learning-Based Whole Slide Image Classification28 Jun 2023
- 2023Deep neural networks architectures from the perspective of manifold learning6 Jun 2023
- 2023Neural (Tangent Kernel) Collapse25 May 2023
- 2023Neural Functional Transformers22 May 2023
- 2023Sparsified Model Zoo Twins: Investigating Populations of Sparsified Neural Network Models26 Apr 2023
- 2023K-means Clustering Based Feature Consistency Alignment for Label-free Model Evaluation17 Apr 2023
- 2023On the Importance of Feature Separability in Predicting Out-Of-Distribution Error27 Mar 2023
50 newest of 111 All 111 (JSON)
- 2021Neural Collapse Under MSE Loss: Proximity to and Dynamics on the Central Pathcited by 156
- 2021Deep Learning Through the Lens of Example Difficultycited by 139
- 2021Assessing Generalization of SGD via Disagreementcited by 116
- 2021Predicting with Confidence on Unseen Distributionscited by 116
- 2021Exploring the Limits of Large Scale Pre-trainingcited by 104
- 2022Neural Collapse: A Review on Modelling Principles and Generalizationcited by 95
- 2023Permutation Equivariant Neural Functionalscited by 69
- 2021What Does Rotation Prediction Tell Us about Classifier Accuracy under Varying Testing Environments?cited by 63
- 2023Neural Functional Transformerscited by 50
- 2021Scalable Diverse Model Selection for Accessible Transfer Learningcited by 40
- 2024Towards Scalable and Versatile Weight Space Learningcited by 40
- 2022Why neural networks find simple solutions: the many regularizers of geometric complexitycited by 38
12 most cited of 109 All 109 (JSON)
- 2026Can Circuit Alignment Predict OOD Generalization?25 Sep 2026
- 2026Mapping the Emergence of Regularization-Driven Dynamics in Grokking26 Aug 2026
- 2026A Geometric View of Counterfactual Behavior: Interaction of Boundary Proximity and Local Support2 Jun 2026
- 2026Do Deep Networks Forget Initialization? A Forgetting-Time View of Practical Inductive Bias27 May 2026
- 2026Intermediate Representations are Strong AI-Generated Image Detectors5 May 2026
- 2026Failure Modes for Deep Learning-Based Online Mapping: How to Measure and Address Them20 Mar 2026
- 2026Transductive Generalization via Optimal Transport and Its Application to Graph Node Classification10 Mar 2026
- 2025Rethinking the Use of Vision Transformers for AI-Generated Image Detection4 Dec 2025
- 2025Volatility in Certainty (VC): A Metric for Detecting Adversarial Perturbations During Inference in Neural Network Classifiers14 Nov 2025
- 2025Mitigating Negative Flips via Margin Preserving Training11 Nov 2025
- 2025Position: Many generalization measures for deep learning are fragile21 Oct 2025
- 2025Confidence and Dispersity as Signals: Unsupervised Model Evaluation and Ranking3 Oct 2025
12 newest of 109 All 109 (JSON)