Calibrating the Dice loss to handle neural network overconfidence for biomedical image segmentation
Not on the map. Why?
Abstract (arXiv)
The Dice similarity coefficient (DSC) is both a widely used metric and loss function for biomedical image segmentation due to its robustness to class imbalance. However, it is well known that the DSC loss is poorly calibrated, resulting in overconfident predictions that cannot be usefully interpreted in biomedical and clinical practice. Performance is often the only metric used to evaluate segmentations produced by deep neural networks, and calibration is often neglected. However, calibration is important for translation into biomedical and clinical practice, providing crucial contextual information to model predictions for interpretation by scientists and clinicians. In this study, we provide a simple yet effective extension of the DSC loss, named the DSC++ loss, that selectively modulates the penalty associated with overconfident, incorrect predictions. As a standalone loss function, the DSC++ loss achieves significantly improved calibration over the conventional DSC loss across six well-validated open-source biomedical imaging datasets, including both 2D binary and 3D multi-class segmentation tasks. Similarly, we observe significantly improved calibration when integrating the DSC++ loss into four DSC-based loss functions. Finally, we use softmax thresholding to illustrate that well calibrated outputs enable tailoring of recall-precision bias, which is an important post-processing technique to adapt the model predictions to suit the biomedical or clinical task. The DSC++ loss overcomes the major limitation of the DSC loss, providing a suitable loss function for training deep learning segmentation models for use in biomedical and clinical practice. Source code is available at: https://github.com/mlyg/DicePlusPlus.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 28 of its 45 references that are in the map. First posted on arXiv 31 Oct 2021.
Builds on
28 of 45 references.
References · 28
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2019Skin Lesion Analysis Toward Melanoma Detection 2018: A Challenge Hosted by the International Skin Imaging Collaboration (ISIC)cited by 657
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
- 2017Tversky loss function for image segmentation using 3D fully convolutional deep networkscited by 228
- 2019The state of the art in kidney and kidney tumor segmentation in contrast-enhanced CT imaging: Results of the KiTS19 Challengecited by 188
- 2018A Novel Focal Tversky loss function with improved Attention U-Net for lesion segmentationcited by 171
- 2019The KiTS19 Challenge Data: 300 Kidney Tumor Cases with Clinical Context, CT Semantic Segmentations, and Surgical Outcomescited by 168
- 2019Confidence Calibration and Predictive Uncertainty Estimation for Deep Medical Image Segmentationcited by 162
16 more
- 2015DeepOrgan: Multi-level Deep Convolutional Networks for Automated Pancreas Segmentationcited by 158
- 2016The Importance of Skip Connections in Biomedical Image Segmentationcited by 126
- 2021Unified Focal loss: Generalising Dice and cross entropy-based losses to handle class imbalanced medical image segmentationcited by 88
- 2018Combo Loss: Handling Input and Output Imbalance in Multi-Organ Segmentationcited by 76
- 2017Transfer Learning for Domain Adaptation in MRI: Application in Brain Lesion Segmentationcited by 66
- 2021Understanding Softmax Confidence and Uncertaintycited by 62
- 2021Common Limitations of Image Processing Metrics: A Picture Storycited by 58
- 2020Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Indexcited by 52
- 2018Leveraging Uncertainty Estimates for Predicting Segmentation Qualitycited by 44
- 20183D Segmentation with Exponential Logarithmic Loss for Highly Unbalanced Object Sizescited by 42
- 2017Generalised Wasserstein Dice Score for Imbalanced Multi-class Segmentation using Holistic Convolutional Networkscited by 21
- 2020Post Training Uncertainty Calibration of Deep Networks For Medical Image Segmentationcited by 19
- 2019MIScnn: A Framework for Medical Image Segmentation with Convolutional Neural Networks and Deep Learningcited by 18
- 2018Towards increased trustworthiness of deep learning segmentation methods on cardiac MRIcited by 16
- 2018Normalization in Training U-Net for 2D Biomedical Semantic Segmentationcited by 15
- 2019Optimization with soft Dice can lead to a volumetric biascited by 9
Built on by
Citing papers per year: 2022: 2; 2023: 0; 2024: 4; 2025: 8; 2026: 3.
17 papers.
Sort:
- 2022Trustworthy clinical AI solutions: a unified review of uncertainty quantification in deep learning models for medical image analysiscited by 62
- 2024HairFastGAN: Realistic and Robust Hair Transfer with a Fast Encoder-Based Approachcited by 10
- 2022A Survey of Computer Vision Technologies In Urban and Controlled-environment Agriculturecited by 6
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentationcited by 6
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentationcited by 3
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Modelcited by 2
- 2025Towards Reliable WMH Segmentation under Domain Shift: An Application Study using Maximum Entropy Regularization to Improve Uncertainty Estimationcited by 2
- 2025Learning by Analogy: A Causal Framework for Composition Generalizationcited by 1
- 2024RIDGE: Reproducibility, Integrity, Dependability, Generalizability, and Efficiency Assessment of Medical Image Segmentation Modelscited by 0
- 2024Uncertainty quantification for White Matter Hyperintensity segmentation detects silent failures and improves automated Fazekas quantificationcited by 0
- 2025Occlusion-Ordered Semantic Instance Segmentationcited by 0
- 2025HyTver: A Novel Loss Function for Longitudinal Multiple Sclerosis Lesion Segmentationcited by 0
5 more
- 2025Random forest-based out-of-distribution detection for robust lung cancer segmentationcited by 0
- 2025Confidence-Calibrating Regularization for Robust Brain MRI Segmentation Under Domain Shiftcited by 0
- 2026Component-Adaptive and Lesion-Level Supervision for Improved Small Structure Segmentation in Brain MRIcited by 0
- 2026EPRA U-Net: An Efficient Pyramid Residual Attention Framework for Accurate Infarct Segmentation in Diffusion-Weighted MRIcited by 0
- 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
- 2026EPRA U-Net: An Efficient Pyramid Residual Attention Framework for Accurate Infarct Segmentation in Diffusion-Weighted MRI3 Jul 2026
- 2026Component-Adaptive and Lesion-Level Supervision for Improved Small Structure Segmentation in Brain MRI9 Apr 2026
- 2025Learning by Analogy: A Causal Framework for Composition Generalization11 Dec 2025
- 2025Confidence-Calibrating Regularization for Robust Brain MRI Segmentation Under Domain Shift27 Sep 2025
- 2025Random forest-based out-of-distribution detection for robust lung cancer segmentation26 Aug 2025
- 2025HyTver: A Novel Loss Function for Longitudinal Multiple Sclerosis Lesion Segmentation25 Aug 2025
- 2025Towards Reliable WMH Segmentation under Domain Shift: An Application Study using Maximum Entropy Regularization to Improve Uncertainty Estimation17 Jun 2025
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentation4 Jun 2025
- 2025Occlusion-Ordered Semantic Instance Segmentation18 Apr 2025
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Model7 Mar 2025
- 2024Uncertainty quantification for White Matter Hyperintensity segmentation detects silent failures and improves automated Fazekas quantification26 Nov 2024
5 more
- 2024HairFastGAN: Realistic and Robust Hair Transfer with a Fast Encoder-Based Approach1 Apr 2024
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentation11 Mar 2024
- 2024RIDGE: Reproducibility, Integrity, Dependability, Generalizability, and Efficiency Assessment of Medical Image Segmentation Models16 Jan 2024
- 2022A Survey of Computer Vision Technologies In Urban and Controlled-environment Agriculture20 Oct 2022
- 2022Trustworthy clinical AI solutions: a unified review of uncertainty quantification in deep learning models for medical image analysis5 Oct 2022
- 2022Trustworthy clinical AI solutions: a unified review of uncertainty quantification in deep learning models for medical image analysiscited by 62
- 2024HairFastGAN: Realistic and Robust Hair Transfer with a Fast Encoder-Based Approachcited by 10
- 2022A Survey of Computer Vision Technologies In Urban and Controlled-environment Agriculturecited by 6
- 2024Average Calibration Error: A Differentiable Loss for Improved Reliability in Image Segmentationcited by 6
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentationcited by 3
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Modelcited by 2
- 2025Towards Reliable WMH Segmentation under Domain Shift: An Application Study using Maximum Entropy Regularization to Improve Uncertainty Estimationcited by 2
- 2025Learning by Analogy: A Causal Framework for Composition Generalizationcited by 1
- 2024RIDGE: Reproducibility, Integrity, Dependability, Generalizability, and Efficiency Assessment of Medical Image Segmentation Modelscited by 0
- 2024Uncertainty quantification for White Matter Hyperintensity segmentation detects silent failures and improves automated Fazekas quantificationcited by 0
- 2025Occlusion-Ordered Semantic Instance Segmentationcited by 0
- 2025HyTver: A Novel Loss Function for Longitudinal Multiple Sclerosis Lesion Segmentationcited by 0
12 most cited of 17 All 17 (JSON)
- 2026Beyond scalar losses: calibrating segmentation models via gradient vector field surgery15 Jul 2026
- 2026EPRA U-Net: An Efficient Pyramid Residual Attention Framework for Accurate Infarct Segmentation in Diffusion-Weighted MRI3 Jul 2026
- 2026Component-Adaptive and Lesion-Level Supervision for Improved Small Structure Segmentation in Brain MRI9 Apr 2026
- 2025Learning by Analogy: A Causal Framework for Composition Generalization11 Dec 2025
- 2025Confidence-Calibrating Regularization for Robust Brain MRI Segmentation Under Domain Shift27 Sep 2025
- 2025Random forest-based out-of-distribution detection for robust lung cancer segmentation26 Aug 2025
- 2025HyTver: A Novel Loss Function for Longitudinal Multiple Sclerosis Lesion Segmentation25 Aug 2025
- 2025Towards Reliable WMH Segmentation under Domain Shift: An Application Study using Maximum Entropy Regularization to Improve Uncertainty Estimation17 Jun 2025
- 2025Average Calibration Losses for Reliable Uncertainty in Medical Image Segmentation4 Jun 2025
- 2025Occlusion-Ordered Semantic Instance Segmentation18 Apr 2025
- 2025We Care Each Pixel: Calibrating on Medical Segmentation Model7 Mar 2025
- 2024Uncertainty quantification for White Matter Hyperintensity segmentation detects silent failures and improves automated Fazekas quantification26 Nov 2024
12 newest of 17 All 17 (JSON)