Trust your neighbours: Penalty-based constraints for model calibration
Not on the map. Why?
Abstract (arXiv)
Ensuring reliable confidence scores from deep networks is of pivotal importance in critical decision-making systems, notably in the medical domain. While recent literature on calibrating deep segmentation networks has led to significant progress, their uncertainty is usually modeled by leveraging the information of individual pixels, which disregards the local structure of the object of interest. In particular, only the recent Spatially Varying Label Smoothing (SVLS) approach addresses this issue by softening the pixel label assignments with a discrete spatial Gaussian kernel. In this work, we first present a constrained optimization perspective of SVLS and demonstrate that it enforces an implicit constraint on soft class proportions of surrounding pixels. Furthermore, our analysis shows that SVLS lacks a mechanism to balance the contribution of the constraint with the primary objective, potentially hindering the optimization process. Based on these observations, we propose a principled and simple solution based on equality constraints on the logit values, which enables to control explicitly both the enforced constraint and the weight of the penalty, offering more flexibility. Comprehensive experiments on a variety of well-known segmentation benchmarks demonstrate the superior performance of the proposed approach.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 11 Mar 2023.
Builds on
16 of 25 references.
References · 16
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,274
- 2019When Does Label Smoothing Help?cited by 985
- 2018Identifying the Best Machine Learning Algorithms for Brain Tumor Segmentation, Progression Assessment, and Overall Survival Prediction in the BRATS Challengecited by 508
- 2017Regularizing Neural Networks by Penalizing Confident Output Distributionscited by 461
- 2019Beyond temperature scaling: Obtaining well-calibrated multiclass probabilities with Dirichlet calibrationcited by 359
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2020AbdomenCT-1K: Is Abdominal Organ Segmentation A Solved Problem?cited by 222
- 2020Mix-n-Match: Ensemble and Compositional Methods for Uncertainty Calibration in Deep Learningcited by 190
4 more
- 2020Local Temperature Scaling for Probability Calibrationcited by 95
- 2021The Devil is in the Margin: Margin-based Label Smoothing for Network Calibrationcited by 91
- 2020Post-hoc Uncertainty Calibration for Domain Drift Scenarioscited by 61
- 2021Spatially Varying Label Smoothing: Capturing Uncertainty from Expert Annotationscited by 31
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 3; 2026: 2.
12 papers.
- 2024Robust Calibration of Large Vision-Language Adapterscited by 28
- 2024Neighbor-Aware Calibration of Segmentation Networks with Penalty-Based Constraintscited by 7
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentationcited by 6
- 2023Boundary-weighted logit consistency improves calibration of segmentation networkscited by 4
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentationcited by 3
- 2024Class and Region-Adaptive Constraints for Network Calibrationcited by 2
- 2024Do not trust what you trust: Miscalibration in Semi-supervised Learningcited by 2
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Modelcited by 2
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2026Quantile Adaptive Temperature Scaling for Confidence Calibrationcited by 2
- 2024Improving Uncertainty-Error Correspondence in Deep Bayesian Medical Image Segmentationcited by 1
- 2026Beyond scalar losses: calibrating segmentation models via gradient vector field surgerycited by 0
- 2026Beyond scalar losses: calibrating segmentation models via gradient vector field surgery15 Jul 2026
- 2026Quantile Adaptive Temperature Scaling for Confidence Calibration19 Jun 2026
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentation4 Jun 2025
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Model7 Mar 2025
- 2024Improving Uncertainty-Error Correspondence in Deep Bayesian Medical Image Segmentation5 Sep 2024
- 2024Robust Calibration of Large Vision-Language Adapters18 Jul 2024
- 2024Do not trust what you trust: Miscalibration in Semi-supervised Learning22 Mar 2024
- 2024Class and Region-Adaptive Constraints for Network Calibration19 Mar 2024
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentation11 Mar 2024
- 2024Neighbor-Aware Calibration of Segmentation Networks with Penalty-Based Constraints25 Jan 2024
- 2023Boundary-weighted logit consistency improves calibration of segmentation networks16 Jul 2023