The Dice loss in the context of missing or empty labels: Introducing and
arXiv:2207.09521 · doi:10.1007/978-3-031-16443-9_51
Abstract
Albeit the Dice loss is one of the dominant loss functions in medical image segmentation, most research omits a closer look at its derivative, i.e. the real motor of the optimization when using gradient descent. In this paper, we highlight the peculiar action of the Dice loss in the presence of missing or empty labels. First, we formulate a theoretical basis that gives a general description of the Dice loss and its derivative. It turns out that the choice of the reduction dimensions and the smoothing term is non-trivial and greatly influences its behavior. We find and propose heuristic combinations of and that work in a segmentation setting with either missing or empty labels. Second, we empirically validate these findings in a binary and multiclass segmentation setting using two publicly available datasets. We confirm that the choice of and is indeed pivotal. With chosen such that the reductions happen over a single batch (and class) element and with a negligible , the Dice loss deals with missing labels naturally and performs similarly compared to recent adaptations specific for missing labels. With chosen such that the reductions happen over multiple batch elements or with a heuristic value for , the Dice loss handles empty labels correctly. We believe that this work highlights some essential perspectives and hope that it encourages researchers to better describe their exact implementation of the Dice loss in future work.
8 pages, 3 figures, 1 table, International Conference on Medical Image Computing and Computer Assisted Intervention (MICCAI) 2022
References in corpus (3)
- Generalised Dice overlap as a deep learning loss function for highly unbalanced segmentations
- Optimization for Medical Image Segmentation: Theory and Practice when evaluating with Dice Score or Jaccard Index
- Theoretical analysis and experimental validation of volume bias of soft Dice optimized segmentation maps in the context of inherent uncertainty