A Stitch in Time Saves Nine: A Train-Time Regularizing Loss for Improved Neural Network Calibration
Not on the map. Why?
Abstract (arXiv)
Deep Neural Networks ( DNN s) are known to make overconfident mistakes, which makes their use problematic in safety-critical applications. State-of-the-art ( SOTA ) calibration techniques improve on the confidence of predicted labels alone and leave the confidence of non-max classes (e.g. top-2, top-5) uncalibrated. Such calibration is not suitable for label refinement using post-processing. Further, most SOTA techniques learn a few hyper-parameters post-hoc, leaving out the scope for image, or pixel specific calibration. This makes them unsuitable for calibration under domain shift, or for dense prediction tasks like semantic segmentation. In this paper, we argue for intervening at the train time itself, so as to directly produce calibrated DNN models. We propose a novel auxiliary loss function: Multi-class Difference in Confidence and Accuracy ( MDCA ), to achieve the same MDCA can be used in conjunction with other application/task-specific loss functions. We show that training with MDCA leads to better-calibrated models in terms of Expected Calibration Error ( ECE ), and Static Calibration Error ( SCE ) on image classification, and segmentation tasks. We report ECE ( SCE ) score of 0.72 (1.60) on the CIFAR 100 dataset, in comparison to 1.90 (1.71) by the SOTA. Under domain shift, a ResNet-18 model trained on PACS dataset using MDCA gives an average ECE ( SCE ) score of 19.7 (9.7) across all domains, compared to 24.2 (11.8) by the SOTA. For the segmentation task, we report a 2X reduction in calibration error on PASCAL - VOC dataset in comparison to Focal Loss. Finally, MDCA training improves calibration even on imbalanced data, and for natural language classification tasks. We have released the code here: code is available at https://github.com/mdca-loss
Key facts. Cited by 49 papers in the map (data through 7 Oct 2026). Builds on 37 of its 59 references that are in the map. First posted on arXiv 25 Mar 2022.
Builds on
37 of 59 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,362
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,337
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
25 more
- 2019When Does Label Smoothing Help?cited by 985
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2018Deep Anomaly Detection with Outlier Exposurecited by 939
- 2017Focal Loss for Dense Object Detectioncited by 749
- 2013Network In Networkcited by 600
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
- 2019Measuring Calibration in Deep Learningcited by 443
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
- 2021Revisiting the Calibration of Modern Neural Networkscited by 387
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2019Verified Uncertainty Calibrationcited by 307
- 2019On Mixup Training: Improved Calibration and Predictive Uncertainty for Deep Neural Networkscited by 304
- 2018Learning Confidence for Out-of-Distribution Detection in Neural Networkscited by 245
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2019Calibration tests in multi-class classification: A unifying frameworkcited by 79
- 2020Post-hoc Uncertainty Calibration for Domain Drift Scenarioscited by 61
- 2019Analyzing the Role of Model Uncertainty for Electronic Health Recordscited by 41
- 2020Improved Trainable Calibration Method for Neural Networks on Medical Imaging Classificationcited by 37
- 2020Revisiting One-vs-All Classifiers for Predictive Uncertainty and Out-of-Distribution Detection in Neural Networkscited by 31
- 2021Class-Distribution-Aware Calibration for Long-Tailed Visual Recognitioncited by 19
- 2020Stationary Activations for Uncertainty Calibration in Deep Learningcited by 14
- 2020Improving Calibration and Out-of-Distribution Detection in Medical Image Segmentation with Convolutional Neural Networkscited by 6
- 2020On Calibration of Mixup Training for Deep Neural Networkscited by 5
Built on by
Citing papers per year: 2022: 3; 2023: 19; 2024: 12; 2025: 11; 2026: 4.
49 papers.
Sort:
By area:
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2023Rethinking Confidence Calibration for Failure Predictioncited by 43
- 2022Towards Improving Calibration in Object Detection Under Domain Shiftcited by 26
- 2023RankMixup: Ranking-Based Mixup Training for Network Calibrationcited by 19
- 2025Your Pre-trained LLM is Secretly an Unsupervised Confidence Calibratorcited by 19
- 2022Calibrating Deep Neural Networks using Explicit Regularisation and Dynamic Data Pruningcited by 18
- 2023Multiclass Confidence and Localization Calibration for Object Detectioncited by 16
- 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibrationcited by 15
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 14
- 2024Dynamic Correlation Learning and Regularization for Multi-Label Confidence Calibrationcited by 13
- 2023Bridging Precision and Confidence: A Train-Time Loss for Calibrating Object Detectioncited by 12
- 2023Transfer Knowledge from Head to Tail: Uncertainty Calibration under Long-tailed Distributioncited by 12
37 more
- 2024Are foundation models for computer vision good conformal predictors?cited by 12
- 2023Cal-DETR: Calibrated Detection Transformercited by 11
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
- 2023Beyond Classification: Definition and Density-based Estimation of Calibration in Object Detectioncited by 9
- 2024Revisiting Confidence Estimation: Towards Reliable Failure Predictioncited by 9
- 2023Multi-Head Multi-Loss Model Calibrationcited by 8
- 2023Threshold-Consistent Margin Loss for Open-World Deep Metric Learningcited by 7
- 2022A Novel Data Augmentation Technique for Out-of-Distribution Sample Detection using Compounded Corruptionscited by 6
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentationcited by 6
- 2024Performance Control in Early Exiting to Deploy Large Models at the Same Cost of Smaller Onescited by 4
- 2024The Misclassification Likelihood Matrix: Some Classes Are More Likely To Be Misclassified Than Otherscited by 3
- 2024Unlocking the Potential of Model Calibration in Federated Learningcited by 3
- 2024Ordinal-Aware Calibration for Ordinal Classificationcited by 3
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentationcited by 3
- 2025Sample Margin-Aware Recalibration of Temperature Scalingcited by 3
- 2025Calibration-Aware Prompt Learning for Medical Vision-Language Modelscited by 3
- 2024Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibrationcited by 2
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimizationcited by 2
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibrationcited by 2
- 2023Towards Unbiased Calibration using Meta-Regularizationcited by 1
- 2023Perception and Semantic Aware Regularization for Sequential Confidence Calibrationcited by 1
- 2023Multiclass Alignment of Confidence and Certainty for Network Calibrationcited by 1
- 2023CAST: Cluster-Aware Self-Training for Tabular Data via Reliable Confidencecited by 1
- 2023Towards Fair and Calibrated Modelscited by 1
- 2023IW-GAE: Importance Weighted Group Accuracy Estimation for Improved Calibration and Model Selection in Unsupervised Domain Adaptationcited by 1
- 2023AUGCAL: Improving Sim2Real Adaptation by Uncertainty Calibration on Augmented Synthetic Imagescited by 1
- 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibrationcited by 1
- 2026MVC-Bench: Benchmarking Calibration of Medical Vision-Language Modelscited by 1
- 2023Calibrated Adaptive Teacher for Domain Adaptive Intelligent Fault Diagnosiscited by 0
- 2024Task-specific regularization loss towards model calibration for reliable lung cancer detectioncited by 0
- 2024Accurate and Reliable Predictions with Mutual-Transport Ensemblecited by 0
- 2025Calibrating the Full Predictive Class Distribution of 3D Object Detectors for Autonomous Drivingcited by 0
- 2025How (Mis)calibrated is your Federated CLIP and what to do about it?cited by 0
- 2025Deep Probabilistic Supervision for Image Classificationcited by 0
- 2026Expectation Consistency Loss: Rethink Confidence Calibration under Covariate Shiftcited by 0
- 2026Enhancing Deep Neural Network Reliability with Refinement and Calibrationcited by 0
- 2026MVC-Bench: Benchmarking Calibration of Medical Vision-Language Models27 Aug 2026
- 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibration26 Jun 2026
- 2026Enhancing Deep Neural Network Reliability with Refinement and Calibration22 May 2026
- 2026Expectation Consistency Loss: Rethink Confidence Calibration under Covariate Shift20 May 2026
- 2025Deep Probabilistic Supervision for Image Classification30 Dec 2025
- 2025How (Mis)calibrated is your Federated CLIP and what to do about it?3 Dec 2025
- 2025Calibrating the Full Predictive Class Distribution of 3D Object Detectors for Autonomous Driving2 Oct 2025
- 2025Calibration-Aware Prompt Learning for Medical Vision-Language Models18 Sep 2025
- 2025Sample Margin-Aware Recalibration of Temperature Scaling30 Jun 2025
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration28 Jun 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentation4 Jun 2025
37 more
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Your Pre-trained LLM is Secretly an Unsupervised Confidence Calibrator22 May 2025
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Models15 Mar 2025
- 2024Performance Control in Early Exiting to Deploy Large Models at the Same Cost of Smaller Ones26 Dec 2024
- 2024Are foundation models for computer vision good conformal predictors?8 Dec 2024
- 2024Ordinal-Aware Calibration for Ordinal Classification21 Oct 2024
- 2024Unlocking the Potential of Model Calibration in Federated Learning7 Sep 2024
- 2024The Misclassification Likelihood Matrix: Some Classes Are More Likely To Be Misclassified Than Others10 Jul 2024
- 2024Dynamic Correlation Learning and Regularization for Multi-Label Confidence Calibration9 Jul 2024
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselines30 May 2024
- 2024Accurate and Reliable Predictions with Mutual-Transport Ensemble30 May 2024
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentation11 Mar 2024
- 2024Revisiting Confidence Estimation: Towards Reliable Failure Prediction5 Mar 2024
- 2024Consistency-Guided Temperature Scaling Using Style and Content Information for Out-of-Domain Calibration22 Feb 2024
- 2024Task-specific regularization loss towards model calibration for reliable lung cancer detection21 Jan 2024
- 2023Beyond Classification: Definition and Density-based Estimation of Calibration in Object Detection11 Dec 2023
- 2023AUGCAL: Improving Sim2Real Adaptation by Uncertainty Calibration on Augmented Synthetic Images11 Dec 2023
- 2023Calibrated Adaptive Teacher for Domain Adaptive Intelligent Fault Diagnosis5 Dec 2023
- 2023Cal-DETR: Calibrated Detection Transformer6 Nov 2023
- 2023IW-GAE: Importance Weighted Group Accuracy Estimation for Improved Calibration and Model Selection in Unsupervised Domain Adaptation16 Oct 2023
- 2023Towards Fair and Calibrated Models16 Oct 2023
- 2023CAST: Cluster-Aware Self-Training for Tabular Data via Reliable Confidence10 Oct 2023
- 2023Multiclass Alignment of Confidence and Certainty for Network Calibration6 Sep 2023
- 2023RankMixup: Ranking-Based Mixup Training for Network Calibration23 Aug 2023
- 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibration23 Aug 2023
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Art2 Aug 2023
- 2023Threshold-Consistent Margin Loss for Open-World Deep Metric Learning8 Jul 2023
- 2023Multiclass Confidence and Localization Calibration for Object Detection14 Jun 2023
- 2023Perception and Semantic Aware Regularization for Sequential Confidence Calibration31 May 2023
- 2023Transfer Knowledge from Head to Tail: Uncertainty Calibration under Long-tailed Distribution13 Apr 2023
- 2023Towards Unbiased Calibration using Meta-Regularization27 Mar 2023
- 2023Bridging Precision and Confidence: A Train-Time Loss for Calibrating Object Detection25 Mar 2023
- 2023Rethinking Confidence Calibration for Failure Prediction6 Mar 2023
- 2023Multi-Head Multi-Loss Model Calibration2 Mar 2023
- 2022Calibrating Deep Neural Networks using Explicit Regularisation and Dynamic Data Pruning20 Dec 2022
- 2022Towards Improving Calibration in Object Detection Under Domain Shift15 Sep 2022
- 2022A Novel Data Augmentation Technique for Out-of-Distribution Sample Detection using Compounded Corruptions28 Jul 2022
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Modelscited by 14
- 2024Are foundation models for computer vision good conformal predictors?cited by 12
- 2025Calibration-Aware Prompt Learning for Medical Vision-Language Modelscited by 3
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibrationcited by 2
- 2026MVC-Bench: Benchmarking Calibration of Medical Vision-Language Modelscited by 1
- 2025How (Mis)calibrated is your Federated CLIP and what to do about it?cited by 0
- 2026MVC-Bench: Benchmarking Calibration of Medical Vision-Language Models27 Aug 2026
- 2025How (Mis)calibrated is your Federated CLIP and what to do about it?3 Dec 2025
- 2025Calibration-Aware Prompt Learning for Medical Vision-Language Models18 Sep 2025
- 2025Prompting without Panic: Attribute-aware, Zero-shot, Test-Time Calibration28 Jun 2025
- 2025O-TPT: Orthogonality Constraints for Calibrating Test-time Prompt Tuning in Vision-Language Models15 Mar 2025
- 2024Are foundation models for computer vision good conformal predictors?8 Dec 2024
- 2023Calibration in Deep Learning: A Survey of the State-of-the-Artcited by 72
- 2023Rethinking Confidence Calibration for Failure Predictioncited by 43
- 2022Towards Improving Calibration in Object Detection Under Domain Shiftcited by 26
- 2023RankMixup: Ranking-Based Mixup Training for Network Calibrationcited by 19
- 2025Your Pre-trained LLM is Secretly an Unsupervised Confidence Calibratorcited by 19
- 2022Calibrating Deep Neural Networks using Explicit Regularisation and Dynamic Data Pruningcited by 18
- 2023Multiclass Confidence and Localization Calibration for Object Detectioncited by 16
- 2023ACLS: Adaptive and Conditional Label Smoothing for Network Calibrationcited by 15
- 2024Dynamic Correlation Learning and Regularization for Multi-Label Confidence Calibrationcited by 13
- 2023Bridging Precision and Confidence: A Train-Time Loss for Calibrating Object Detectioncited by 12
- 2023Transfer Knowledge from Head to Tail: Uncertainty Calibration under Long-tailed Distributioncited by 12
- 2023Cal-DETR: Calibrated Detection Transformercited by 11
12 most cited of 42 All 42 (JSON)
- 2026FedLAS: Feature-Modulated Bidirectional Label Smoothing for Neural Network Calibration26 Jun 2026
- 2026Enhancing Deep Neural Network Reliability with Refinement and Calibration22 May 2026
- 2026Expectation Consistency Loss: Rethink Confidence Calibration under Covariate Shift20 May 2026
- 2025Deep Probabilistic Supervision for Image Classification30 Dec 2025
- 2025Calibrating the Full Predictive Class Distribution of 3D Object Detectors for Autonomous Driving2 Oct 2025
- 2025Sample Margin-Aware Recalibration of Temperature Scaling30 Jun 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentation4 Jun 2025
- 2025Towards Understanding The Calibration Benefits of Sharpness-Aware Minimization29 May 2025
- 2025Your Pre-trained LLM is Secretly an Unsupervised Confidence Calibrator22 May 2025
- 2024Ordinal-Aware Calibration for Ordinal Classification21 Oct 2024
- 2024Unlocking the Potential of Model Calibration in Federated Learning7 Sep 2024
12 newest of 42 All 42 (JSON)