mlsanityData to 7 Oct 2026

The Devil is in the Margin: Margin-based Label Smoothing for Network Calibration

arXiv 2111.15430 ↗First posted 30 Nov 2021cs.CV cs.LGcited by 91

Not on the map. Why?

Abstract (arXiv)

In spite of the dominant performances of deep neural networks, recent works have shown that they are poorly calibrated, resulting in over-confident predictions. Miscalibration can be exacerbated by overfitting due to the minimization of the cross-entropy during training, as it promotes the predicted softmax probabilities to match the one-hot label assignments. This yields a pre-softmax activation of the correct class that is significantly larger than the remaining activations. Recent evidence from the literature suggests that loss functions that embed implicit or explicit maximization of the entropy of predictions yield state-of-the-art calibration performances. We provide a unifying constrained-optimization perspective of current state-of-the-art calibration losses. Specifically, these losses could be viewed as approximations of a linear penalty (or a Lagrangian) imposing equality constraints on logit distances. This points to an important limitation of such underlying equality constraints, whose ensuing gradients constantly push towards a non-informative solution, which might prevent from reaching the best compromise between the discriminative performance and calibration of the model during gradient-based optimization. Following our observations, we propose a simple and flexible generalization based on inequality constraints, which imposes a controllable margin on logit distances. Comprehensive experiments on a variety of image classification, semantic segmentation and NLP benchmarks demonstrate that our method sets novel state-of-the-art results on these tasks in terms of network calibration, without affecting the discriminative performance. The code is available at https://github.com/by-liu/MbLS .

Key facts. Cited by 91 papers in the map (data through 7 Oct 2026). Builds on 23 of its 37 references that are in the map. First posted on arXiv 30 Nov 2021.

Builds on

23 of 37 references.

References · 23

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  4. 2017On Calibration of Modern Neural Networkscited by 4,860
  5. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  6. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
  7. 2017Rethinking Atrous Convolution for Semantic Image Segmentationcited by 2,154
  8. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
  9. 2019When Does Label Smoothing Help?cited by 985
  10. 2013Network In Networkcited by 600
  11. 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
  12. 2020Calibrating Deep Neural Networks using Focal Losscited by 353
11 more
  1. 2015Probabilistic Backpropagation for Scalable Learning of Bayesian Neural Networkscited by 295
  2. 2020Does label smoothing mitigate label noise?cited by 204
  3. 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
  4. 2020Hyperparameter Ensembles for Robustness and Uncertainty Quantificationcited by 149
  5. 2020Local Temperature Scaling for Probability Calibrationcited by 95
  6. 2016Structured and Efficient Variational Deep Learning with Matrix Gaussian Posteriorscited by 82
  7. 2020Post-hoc Uncertainty Calibration for Domain Drift Scenarioscited by 61
  8. 2016DisturbLabel: Regularizing CNN on the Loss Layercited by 41
  9. 2021Meta-Cal: Well-controlled Post-hoc Calibration by Rankingcited by 33
  10. 2019Confidence Calibration for Convolutional Neural Networks Using Structured Dropoutcited by 19
  11. 2021Orthogonal Ensemble Networks for Biomedical Image Segmentationcited by 16

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 3; 2023: 24; 2024: 23; 2025: 23; 2026: 16.

91 papers.

Sort:

By area:

  1. 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
  2. 2023Rethinking Confidence Calibration for Failure Predictioncited by 43
  3. 2024Robust Calibration of Large Vision-Language Adapterscited by 28
  4. 2023A Unified Perspective for Loss-Oriented Imbalanced Learning via Localizationcited by 24
  5. 2023RankMixup: Ranking-Based Mixup Training for Network Calibrationcited by 19
  6. 2023Multiclass Confidence and Localization Calibration for Object Detectioncited by 16
  7. 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibrationcited by 15
  8. 2023Two Sides of Miscalibration: Identifying Over and Under-Confidence Prediction for Network Calibrationcited by 14
  9. 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 14
  10. 2021Maximum Entropy on Erroneous Predictions (MEEP): Improving model calibration for medical image segmentationcited by 13
  11. 2022Class Adaptive Network Calibrationcited by 13
  12. 2024Dynamic Correlation Learning and Regularization for Multi-Label Confidence Calibrationcited by 13
38 more
  1. 2023Trust your neighbours: Penalty-based constraints for model calibrationcited by 12
  2. 2023Bridging Precision and Confidence: A Train-Time Loss for Calibrating Object Detectioncited by 12
  3. 2024Are foundation models for computer vision good conformal predictors?cited by 12
  4. 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustnesscited by 11
  5. 2023Cal-DETR: Calibrated Detection Transformercited by 11
  6. 2024Towards Understanding Why Label Smoothing Degrades Selective Classification and How to Fix Itcited by 11
  7. 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
  8. 2025Towards Objective Fine-tuning: How LLMs' Prior Knowledge Causes Potential Poor Calibration?cited by 11
  9. 2024Revisiting Confidence Estimation: Towards Reliable Failure Predictioncited by 9
  10. 2023Multi-Head Multi-Loss Model Calibrationcited by 8
  11. 2024LFME: A Simple Framework for Learning from Multiple Experts in Domain Generalizationcited by 8
  12. 2024Feature Clipping for Uncertainty Calibrationcited by 8
  13. 2022Learning to segment fetal brain tissue from noisy annotationscited by 7
  14. 2024Neighbor-Aware Calibration of Segmentation Networks with Penalty-Based Constraintscited by 7
  15. 2024OSSAR: Towards Open-Set Surgical Activity Recognition in Robot-assisted Surgerycited by 7
  16. 2025Calibrated Language Models and How to Find Them with Label Smoothingcited by 7
  17. 2023Cut your Losses with Squentropycited by 6
  18. 2023Data Optimization in Deep Learning: A Surveycited by 6
  19. 2024A Review of Bayesian Uncertainty Quantification in Deep Probabilistic Image Segmentationcited by 6
  20. 2023Tailoring Mixup to Data for Calibrationcited by 5
  21. 2025Adaptive Decision Boundary for Few-Shot Class-Incremental Learningcited by 5
  22. 2023Boundary-weighted logit consistency improves calibration of segmentation networkscited by 4
  23. 2023Empirical Optimal Risk to Quantify Model Trustworthiness for Failure Detectioncited by 4
  24. 2024Confidence-Aware Multi-Field Model Calibrationcited by 4
  25. 2024Uncertainty Calibration with Energy Based Instance-wise Scaling in the Wild Datasetcited by 4
  26. 2025T-CIL: Temperature Scaling using Adversarial Perturbation for Calibration in Class-Incremental Learningcited by 4
  27. 2021Probabilistic Approach for Road-Users Detectioncited by 3
  28. 2024Error-Driven Uncertainty Aware Trainingcited by 3
  29. 2024Unlocking the Potential of Model Calibration in Federated Learningcited by 3
  30. 2024Ordinal-Aware Calibration for Ordinal Classificationcited by 3
  31. 2025Balancing Two Classifiers via A Simplex ETF Structure for Model Calibrationcited by 3
  32. 2025Uncertainty Estimation by Human Perception versus Neural Modelscited by 3
  33. 2025Calibration-Aware Prompt Learning for Medical Vision-Language Modelscited by 3
  34. 2025A-TPT: Angular Diversity Calibration Properties for Test-Time Prompt Tuning of Vision-Language Modelscited by 3
  35. 2024Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibrationcited by 2
  36. 2024Class and Region-Adaptive Constraints for Network Calibrationcited by 2
  37. 2024Do not trust what you trust: Miscalibration in Semi-supervised Learningcited by 2
  38. 2025Technical report on label-informed logit redistribution for better domain generalization in low-shot classification with foundation modelscited by 2

50 most cited of 91 All 91 (JSON)