CVAILGJul 19, 2022

The Dice loss in the context of missing or empty labels: Introducing $Φ$ and $ε$

arXiv:2207.09521v29 citationsh-index: 59
Originality Incremental advance
AI Analysis

This work addresses a subtle but important issue for researchers and practitioners in medical image segmentation, offering incremental improvements by clarifying and optimizing existing loss function parameters.

The paper tackles the problem of the Dice loss behaving unpredictably with missing or empty labels in medical image segmentation, finding that specific choices of reduction dimensions (Φ) and smoothing term (ε) enable it to handle these cases effectively, performing similarly to recent adaptations for missing labels and correctly managing empty labels.

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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes