Do We Really Need Dice? The Hidden Region-Size Biases of Segmentation Losses
Not on the map. Why?
Abstract (arXiv)
Most segmentation losses are arguably variants of the Cross-Entropy (CE) or Dice losses. On the surface, these two categories of losses seem unrelated, and there is no clear consensus as to which category is a better choice, with varying performances for each across different benchmarks and applications. Furthermore, it is widely argued within the medical-imaging community that Dice and CE are complementary, which has motivated the use of compound CE-Dice losses. In this work, we provide a theoretical analysis, which shows that CE and Dice share a much deeper connection than previously thought. First, we show that, from a constrained-optimization perspective, they both decompose into two components, i.e., a similar ground-truth matching term, which pushes the predicted foreground regions towards the ground-truth, and a region-size penalty term imposing different biases on the size of the predicted regions. Then, we provide bound relationships and an information-theoretic analysis, which uncover hidden region-size biases: Dice has an intrinsic bias towards specific extremely imbalanced solutions, whereas CE implicitly encourages the ground-truth region proportions. Our theoretical results explain the wide experimental evidence in the medical-imaging literature, whereby Dice losses bring improvements for imbalanced segmentation. Based on our theoretical analysis, we propose a principled and simple solution, which enables to control explicitly the region-size bias. The proposed method integrates CE with explicit terms based on L1 or the KL divergence, which encourage segmenting region proportions to match target class proportions, thereby mitigating class imbalance but without losing generality. Comprehensive experiments and ablation studies over different losses and applications validate our theoretical analysis, as well as the effectiveness of explicit and simple region-size terms.
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 33 of its 54 references that are in the map. First posted on arXiv 18 Apr 2021.
Builds on
33 of 54 references.
References · 33
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
- 2016Pyramid Scene Parsing Networkcited by 2,472
- 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
- 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
- 2017A Survey on Deep Learning in Medical Image Analysiscited by 1,182
21 more
- 2018Panoptic Segmentationcited by 796
- 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
- 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
- 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
- 2020PraNet: Parallel Reverse Attention Network for Polyp Segmentationcited by 460
- 2020clDice -- A Novel Topology-Preserving Loss Function for Tubular Structure Segmentationcited by 286
- 2017Tversky loss function for image segmentation using 3D fully convolutional deep networkscited by 228
- 2018Boundary loss for highly unbalanced segmentationcited by 187
- 2020Hierarchical Multi-Scale Attention for Semantic Segmentationcited by 183
- 2020DoubleU-Net: A Deep Convolutional Neural Network for Medical Image Segmentationcited by 125
- 2018Combo Loss: Handling Input and Output Imbalance in Multi-Organ Segmentationcited by 76
- 2018Deep learning to achieve clinically applicable segmentation of head and neck anatomy for radiotherapycited by 76
- 2020Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Indexcited by 52
- 20183D Segmentation with Exponential Logarithmic Loss for Highly Unbalanced Object Sizescited by 42
- 2019Learn to Segment Retinal Lesions and Beyondcited by 33
- 2019Cardiac Segmentation from LGE MRI Using Deep Neural Network Incorporating Shape and Spatial Priorscited by 27
- 2017The Devil is in the Decoder: Classification, Regression and GANscited by 22
- 2016Bridging Category-level and Instance-level Semantic Image Segmentationcited by 21
- 20163D fully convolutional networks for subcortical segmentation in MRI: A large-scale studycited by 19
- 2013An Information-Theoretic Analysis of Hard and Soft Assignment Methods for Clusteringcited by 17
- 2020The Little W-Net That Could: State-of-the-Art Retinal Vessel Segmentation with Minimalistic Modelscited by 10
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 4; 2025: 4; 2026: 2.
12 papers.
- 2023A Generalized Surface Loss for Reducing the Hausdorff Distance in Medical Imaging Segmentationcited by 13
- 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustnesscited by 11
- 2025Merging Context Clustering with Visual State Space Models for Medical Image Segmentationcited by 3
- 2026Towards Fairness under Label Bias in Image Segmentation: Impact, Measurement and Mitigationcited by 2
- 2024CT evaluation of 2D and 3D holistic deep learning methods for the volumetric segmentation of airway lesionscited by 1
- 2024A Multimodal Feature Distillation with Mamba-Transformer Network for Brain Tumor Segmentation with Incomplete Modalitiescited by 1
- 2025Adaptive Voxel-Weighted Loss Using L1 Norms in Deep Neural Networks for Detection and Segmentation of Prostate Cancer Lesions in PET/CT Imagescited by 1
- 2024Pioneering Precision in Lumbar Spine MRI Segmentation with Advanced Deep Learning and Data Enhancementcited by 0
- 2024Cross-Task Pretraining for Cross-Organ Cross-Scanner Adenocarcinoma Segmentationcited by 0
- 2025ContextLoss: Context Information for Topology-Preserving Segmentationcited by 0
- 2025JParc: Joint cortical surface parcellation with registrationcited by 0
- 2026Towards Investigating Residual Hearing Loss: Quantification of Fibrosis in a Novel Cochlear OCT Datasetcited by 0
- 2026Towards Investigating Residual Hearing Loss: Quantification of Fibrosis in a Novel Cochlear OCT Dataset21 Aug 2026
- 2026Towards Fairness under Label Bias in Image Segmentation: Impact, Measurement and Mitigation7 May 2026
- 2025JParc: Joint cortical surface parcellation with registration27 Dec 2025
- 2025ContextLoss: Context Information for Topology-Preserving Segmentation10 Jun 2025
- 2025Adaptive Voxel-Weighted Loss Using L1 Norms in Deep Neural Networks for Detection and Segmentation of Prostate Cancer Lesions in PET/CT Images4 Feb 2025
- 2025Merging Context Clustering with Visual State Space Models for Medical Image Segmentation3 Jan 2025
- 2024Cross-Task Pretraining for Cross-Organ Cross-Scanner Adenocarcinoma Segmentation20 Sep 2024
- 2024Pioneering Precision in Lumbar Spine MRI Segmentation with Advanced Deep Learning and Data Enhancement9 Sep 2024
- 2024A Multimodal Feature Distillation with Mamba-Transformer Network for Brain Tumor Segmentation with Incomplete Modalities22 Apr 2024
- 2024CT evaluation of 2D and 3D holistic deep learning methods for the volumetric segmentation of airway lesions12 Mar 2024
- 2023A Generalized Surface Loss for Reducing the Hausdorff Distance in Medical Imaging Segmentation8 Feb 2023
- 2022On the Optimal Combination of Cross-Entropy and Soft Dice Losses for Lesion Segmentation with Out-of-Distribution Robustness13 Sep 2022