Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Index
Not on the map. Why?
Abstract (arXiv)
In many medical imaging and classical computer vision tasks, the Dice score and Jaccard index are used to evaluate the segmentation performance. Despite the existence and great empirical success of metric-sensitive losses, i.e. relaxations of these metrics such as soft Dice, soft Jaccard and Lovasz-Softmax, many researchers still use per-pixel losses, such as (weighted) cross-entropy to train CNNs for segmentation. Therefore, the target metric is in many cases not directly optimized. We investigate from a theoretical perspective, the relation within the group of metric-sensitive loss functions and question the existence of an optimal weighting scheme for weighted cross-entropy to optimize the Dice score and Jaccard index at test time. We find that the Dice score and Jaccard index approximate each other relatively and absolutely, but we find no such approximation for a weighted Hamming similarity. For the Tversky loss, the approximation gets monotonically worse when deviating from the trivial weight setting where soft Tversky equals soft Dice. We verify these results empirically in an extensive validation on six medical segmentation tasks and can confirm that metric-sensitive losses are superior to cross-entropy based loss functions in case of evaluation with Dice Score or Jaccard Index. This further holds in a multi-class setting, and across different object sizes and foreground/background ratios. These results encourage a wider adoption of metric-sensitive loss functions for medical segmentation tasks where the performance measure of interest is the Dice score or Jaccard index.
Key facts. Cited by 52 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 12; 2022: 10; 2023: 11; 2024: 8; 2025: 8; 2026: 3.
52 papers.
Sort:
By area:
- 2022blob loss: instance imbalance aware loss functions for semantic segmentationcited by 18
- 2021Calibrating the Dice loss to handle neural network overconfidence for biomedical image segmentationcited by 17
- 2021Do We Really Need Dice? The Hidden Region-Size Biases of Segmentation Lossescited by 12
- 2021Detect-and-Segment: a Deep Learning Approach to Automate Wound Image Segmentationcited by 12
- 2023Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labelscited by 12
- 2021On the relationship between calibrated predictors and unbiased volume estimationcited by 11
- 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustnesscited by 11
- 2021TATL: Task Agnostic Transfer Learning for Skin Attributes Detectioncited by 8
- 2022EllSeg-Gen, towards Domain Generalization for head-mounted eyetrackingcited by 6
- 2022Theoretical analysis and experimental validation of volume bias of soft Dice optimized segmentation maps in the context of inherent uncertaintycited by 6
- 2022ViTBIS: Vision Transformer for Biomedical Image Segmentationcited by 5
- 2022The Dice loss in the context of missing or empty labels: Introducing Phi and εcited by 5
38 more
- 2023Dice Semimetric Losses: Optimizing the Dice Score with Soft Labelscited by 5
- 2021A new baseline for retinal vessel segmentation: Numerical identification and correction of methodological inconsistencies affecting 100+ paperscited by 4
- 2021Distribution-aware Margin Calibration for Semantic Segmentation in Imagescited by 4
- 2022DGNet: Distribution Guided Efficient Learning for Oil Spill Image Segmentationcited by 4
- 2021Advancing Eosinophilic Esophagitis Diagnosis and Phenotype Assessment with Deep Learning Computer Visioncited by 3
- 2021Deep Learning Analysis of Cardiac MRI in Legacy Datasets: Multi-Ethnic Study of Atherosclerosiscited by 3
- 2024AGSENet: A Robust Road Ponding Detection Method for Proactive Traffic Safetycited by 3
- 2025ReCoSeg++:Extended Residual-Guided Cross-Modal Diffusion for Brain Tumor Segmentationcited by 3
- 2022MRF-UNets: Searching UNet with Markov Random Fieldscited by 2
- 2023Brain Tumor Segmentation from MRI Images using Deep Learning Techniquescited by 2
- 2024Integrating Deep Learning in Cardiology: A Comprehensive Review of Atrial Fibrillation, Left Atrial Scar Segmentation, and the Frontiers of State-of-the-Art Techniquescited by 2
- 2025GBT-SAM: A Parameter-Efficient Depth-Aware Model for Generalizable Brain tumour Segmentation on mp-MRIcited by 2
- 2023Noisy Image Segmentation With Soft-Dicecited by 1
- 2023A Review of Benchmarks for Visual Defect Detection in the Manufacturing Industrycited by 1
- 2024CNN-based explanation ensembling for dataset, representation and explanations evaluationcited by 1
- 2025RankSEG-RMA: An Efficient Segmentation Algorithm via Reciprocal Moment Approximationcited by 1
- 2021A new smart-cropping pipeline for prostate segmentation using deep learning networkscited by 0
- 2021Automated risk classification of colon biopsies based on semantic segmentation of histopathology imagescited by 0
- 2021PL-Net: Progressive Learning Network for Medical Image Segmentationcited by 0
- 2022LEFM-Nets: Learnable Explicit Feature Map Deep Networks for Segmentation of Histopathological Images of Frozen Sectionscited by 0
- 2022Complementary consistency semi-supervised learning for 3D left atrial image segmentationcited by 0
- 2023On the dice loss gradient and the ways to mimic itcited by 0
- 2023Local-Global Temporal Fusion Network with an Attention Mechanism for Multiple and Multiclass Arrhythmia Classificationcited by 0
- 2023Microvasculature Segmentation in Human BioMolecular Atlas Program (HuBMAP)cited by 0
- 2023Combining UPerNet and ConvNeXt for Contrails Identification to reduce Global Warmingcited by 0
- 2023Enhancing Transformer-Based Segmentation for Breast Cancer Diagnosis using Auto-Augmentation and Search Optimisation Techniquescited by 0
- 2023Self-Supervised Versus Supervised Training for Segmentation of Organoid Imagescited by 0
- 2024Foundation Model Makes Clustering A Better Initialization For Cold-Start Active Learningcited by 0
- 2024FESS Loss: Feature-Enhanced Spatial Segmentation Loss for Optimizing Medical Image Analysiscited by 0
- 2024Automatic diagnosis of cardiac magnetic resonance images based on semi-supervised learningcited by 0
- 2024μ-Net: A Deep Learning-Based Architecture for μ-CT Segmentationcited by 0
- 2024Automated Body Composition Analysis Using DAFS Express on 2D MRI Slices at L3 Vertebral Levelcited by 0
- 2025Multimodal HIE Lesion Segmentation in Neonates: A Comparative Study of Loss Functionscited by 0
- 2025Modality-Independent Explainable Detection of Inaccurate Organ Segmentations Using Denoising Autoencoderscited by 0
- 2025Prostate Capsule Segmentation from Micro-Ultrasound Images using Adaptive Focal Losscited by 0
- 2025Sample-Centric Multi-Task Learning for Detection and Segmentation of Industrial Surface Defectscited by 0
- 2025Learning to learn skill assessment for fetal ultrasound scanningcited by 0
- 2026Interpretable Probabilistic Medical Image Segmentation via Gaussian Process with Explicit Modelling of Annotation Bias and Variabilitycited by 0
50 most cited of 52 All 52 (JSON)
- 2026On the Relaxation of Conditional Independence Assumption for Image Segmentation30 Sep 2026
- 2026Evaluating the Effects of Inter-Observer and Model Variability on Radiological Peritoneal Cancer Index Assessment28 Aug 2026
- 2026Interpretable Probabilistic Medical Image Segmentation via Gaussian Process with Explicit Modelling of Annotation Bias and Variability22 Jun 2026
- 2025Learning to learn skill assessment for fetal ultrasound scanning30 Dec 2025
- 2025RankSEG-RMA: An Efficient Segmentation Algorithm via Reciprocal Moment Approximation17 Oct 2025
- 2025Sample-Centric Multi-Task Learning for Detection and Segmentation of Industrial Surface Defects15 Oct 2025
- 2025Prostate Capsule Segmentation from Micro-Ultrasound Images using Adaptive Focal Loss19 Sep 2025
- 2025ReCoSeg++:Extended Residual-Guided Cross-Modal Diffusion for Brain Tumor Segmentation1 Aug 2025
- 2025Modality-Independent Explainable Detection of Inaccurate Organ Segmentations Using Denoising Autoencoders16 Apr 2025
- 2025GBT-SAM: A Parameter-Efficient Depth-Aware Model for Generalizable Brain tumour Segmentation on mp-MRI6 Mar 2025
- 2025Multimodal HIE Lesion Segmentation in Neonates: A Comparative Study of Loss Functions13 Feb 2025
- 2024AGSENet: A Robust Road Ponding Detection Method for Proactive Traffic Safety22 Oct 2024
38 more
- 2024Automated Body Composition Analysis Using DAFS Express on 2D MRI Slices at L3 Vertebral Level11 Sep 2024
- 2024Integrating Deep Learning in Cardiology: A Comprehensive Review of Atrial Fibrillation, Left Atrial Scar Segmentation, and the Frontiers of State-of-the-Art Techniques1 Jul 2024
- 2024μ-Net: A Deep Learning-Based Architecture for μ-CT Segmentation24 Jun 2024
- 2024Automatic diagnosis of cardiac magnetic resonance images based on semi-supervised learning23 May 2024
- 2024CNN-based explanation ensembling for dataset, representation and explanations evaluation16 Apr 2024
- 2024FESS Loss: Feature-Enhanced Spatial Segmentation Loss for Optimizing Medical Image Analysis13 Feb 2024
- 2024Foundation Model Makes Clustering A Better Initialization For Cold-Start Active Learning4 Feb 2024
- 2023Self-Supervised Versus Supervised Training for Segmentation of Organoid Images19 Nov 2023
- 2023Enhancing Transformer-Based Segmentation for Breast Cancer Diagnosis using Auto-Augmentation and Search Optimisation Techniques18 Nov 2023
- 2023Combining UPerNet and ConvNeXt for Contrails Identification to reduce Global Warming7 Oct 2023
- 2023Microvasculature Segmentation in Human BioMolecular Atlas Program (HuBMAP)6 Aug 2023
- 2023Local-Global Temporal Fusion Network with an Attention Mechanism for Multiple and Multiclass Arrhythmia Classification3 Aug 2023
- 2023A Review of Benchmarks for Visual Defect Detection in the Manufacturing Industry5 May 2023
- 2023Brain Tumor Segmentation from MRI Images using Deep Learning Techniques29 Apr 2023
- 2023On the dice loss gradient and the ways to mimic it9 Apr 2023
- 2023Noisy Image Segmentation With Soft-Dice3 Apr 2023
- 2023Dice Semimetric Losses: Optimizing the Dice Score with Soft Labels28 Mar 2023
- 2023Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labels11 Feb 2023
- 2022DGNet: Distribution Guided Efficient Learning for Oil Spill Image Segmentation19 Dec 2022
- 2022Theoretical analysis and experimental validation of volume bias of soft Dice optimized segmentation maps in the context of inherent uncertainty8 Nov 2022
- 2022Complementary consistency semi-supervised learning for 3D left atrial image segmentation4 Oct 2022
- 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustness13 Sep 2022
- 2022The Dice loss in the context of missing or empty labels: Introducing Phi and ε19 Jul 2022
- 2022MRF-UNets: Searching UNet with Markov Random Fields13 Jul 2022
- 2022blob loss: instance imbalance aware loss functions for semantic segmentation17 May 2022
- 2022EllSeg-Gen, towards Domain Generalization for head-mounted eyetracking4 May 2022
- 2022LEFM-Nets: Learnable Explicit Feature Map Deep Networks for Segmentation of Histopathological Images of Frozen Sections14 Apr 2022
- 2022ViTBIS: Vision Transformer for Biomedical Image Segmentation15 Jan 2022
- 2021On the relationship between calibrated predictors and unbiased volume estimation23 Dec 2021
- 2021Distribution-aware Margin Calibration for Semantic Segmentation in Images21 Dec 2021
- 2021A new baseline for retinal vessel segmentation: Numerical identification and correction of methodological inconsistencies affecting 100+ papers6 Nov 2021
- 2021Detect-and-Segment: a Deep Learning Approach to Automate Wound Image Segmentation2 Nov 2021
- 2021Calibrating the Dice loss to handle neural network overconfidence for biomedical image segmentation31 Oct 2021
- 2021Deep Learning Analysis of Cardiac MRI in Legacy Datasets: Multi-Ethnic Study of Atherosclerosis28 Oct 2021
- 2021PL-Net: Progressive Learning Network for Medical Image Segmentation27 Oct 2021
- 2021Automated risk classification of colon biopsies based on semantic segmentation of histopathology images16 Sep 2021
- 2021A new smart-cropping pipeline for prostate segmentation using deep learning networks6 Jul 2021
- 2021Do We Really Need Dice? The Hidden Region-Size Biases of Segmentation Losses18 Apr 2021
50 newest of 52 All 52 (JSON)
- 2022blob loss: instance imbalance aware loss functions for semantic segmentationcited by 18
- 2021Calibrating the Dice loss to handle neural network overconfidence for biomedical image segmentationcited by 17
- 2021Do We Really Need Dice? The Hidden Region-Size Biases of Segmentation Lossescited by 12
- 2021Detect-and-Segment: a Deep Learning Approach to Automate Wound Image Segmentationcited by 12
- 2023Jaccard Metric Losses: Optimizing the Jaccard Index with Soft Labelscited by 12
- 2021On the relationship between calibrated predictors and unbiased volume estimationcited by 11
- 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustnesscited by 11
- 2021TATL: Task Agnostic Transfer Learning for Skin Attributes Detectioncited by 8
- 2022EllSeg-Gen, towards Domain Generalization for head-mounted eyetrackingcited by 6
- 2022Theoretical analysis and experimental validation of volume bias of soft Dice optimized segmentation maps in the context of inherent uncertaintycited by 6
- 2022ViTBIS: Vision Transformer for Biomedical Image Segmentationcited by 5
- 2022The Dice loss in the context of missing or empty labels: Introducing Phi and εcited by 5
12 most cited of 51 All 51 (JSON)
- 2026On the Relaxation of Conditional Independence Assumption for Image Segmentation30 Sep 2026
- 2026Evaluating the Effects of Inter-Observer and Model Variability on Radiological Peritoneal Cancer Index Assessment28 Aug 2026
- 2026Interpretable Probabilistic Medical Image Segmentation via Gaussian Process with Explicit Modelling of Annotation Bias and Variability22 Jun 2026
- 2025Learning to learn skill assessment for fetal ultrasound scanning30 Dec 2025
- 2025RankSEG-RMA: An Efficient Segmentation Algorithm via Reciprocal Moment Approximation17 Oct 2025
- 2025Sample-Centric Multi-Task Learning for Detection and Segmentation of Industrial Surface Defects15 Oct 2025
- 2025Prostate Capsule Segmentation from Micro-Ultrasound Images using Adaptive Focal Loss19 Sep 2025
- 2025Modality-Independent Explainable Detection of Inaccurate Organ Segmentations Using Denoising Autoencoders16 Apr 2025
- 2025GBT-SAM: A Parameter-Efficient Depth-Aware Model for Generalizable Brain tumour Segmentation on mp-MRI6 Mar 2025
- 2025Multimodal HIE Lesion Segmentation in Neonates: A Comparative Study of Loss Functions13 Feb 2025
- 2024AGSENet: A Robust Road Ponding Detection Method for Proactive Traffic Safety22 Oct 2024
- 2024Automated Body Composition Analysis Using DAFS Express on 2D MRI Slices at L3 Vertebral Level11 Sep 2024
12 newest of 51 All 51 (JSON)