mlsanityData to 7 Oct 2026

Do We Really Need Dice? The Hidden Region-Size Biases of Segmentation Losses

arXiv 2104.08717 ↗First posted 18 Apr 2021cs.CVcited by 12

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,604
  5. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  7. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  8. 2018Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentationcited by 3,210
  9. 2016Pyramid Scene Parsing Networkcited by 2,472
  10. 2016V-Net: Fully Convolutional Neural Networks for Volumetric Medical Image Segmentationcited by 2,284
  11. 2015SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentationcited by 1,483
  12. 2017A Survey on Deep Learning in Medical Image Analysiscited by 1,182
21 more
  1. 2018Panoptic Segmentationcited by 796
  2. 2017Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentationscited by 614
  3. 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
  4. 2019Segmentation Transformer: Object-Contextual Representations for Semantic Segmentationcited by 573
  5. 2020PraNet: Parallel Reverse Attention Network for Polyp Segmentationcited by 460
  6. 2020clDice -- A Novel Topology-Preserving Loss Function for Tubular Structure Segmentationcited by 286
  7. 2017Tversky loss function for image segmentation using 3D fully convolutional deep networkscited by 228
  8. 2018Boundary loss for highly unbalanced segmentationcited by 187
  9. 2020Hierarchical Multi-Scale Attention for Semantic Segmentationcited by 183
  10. 2020DoubleU-Net: A Deep Convolutional Neural Network for Medical Image Segmentationcited by 125
  11. 2018Combo Loss: Handling Input and Output Imbalance in Multi-Organ Segmentationcited by 76
  12. 2018Deep learning to achieve clinically applicable segmentation of head and neck anatomy for radiotherapycited by 76
  13. 2020Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Indexcited by 52
  14. 20183D Segmentation with Exponential Logarithmic Loss for Highly Unbalanced Object Sizescited by 42
  15. 2019Learn to Segment Retinal Lesions and Beyondcited by 33
  16. 2019Cardiac Segmentation from LGE MRI Using Deep Neural Network Incorporating Shape and Spatial Priorscited by 27
  17. 2017The Devil is in the Decoder: Classification, Regression and GANscited by 22
  18. 2016Bridging Category-level and Instance-level Semantic Image Segmentationcited by 21
  19. 20163D fully convolutional networks for subcortical segmentation in MRI: A large-scale studycited by 19
  20. 2013An Information-Theoretic Analysis of Hard and Soft Assignment Methods for Clusteringcited by 17
  21. 2020The Little W-Net That Could: State-of-the-Art Retinal Vessel Segmentation with Minimalistic Modelscited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 1; 2023: 1; 2024: 4; 2025: 4; 2026: 2.

12 papers.