Boundary loss for highly unbalanced segmentation

Hoel Kervadec, Jihene Bouchtiba, Christian Desrosiers, Eric Granger, Jose Dolz +1 more
12/17/2018
926 citations
eess.IVcs.CV

Official code: LIVIAETS/boundary-loss (737 stars, Python, MIT, last commit 2024-03-19). 1 more implementation below.

Abstract

Widely used loss functions for CNN segmentation, e.g., Dice or cross-entropy, are based on integrals over the segmentation regions. Unfortunately, for highly unbalanced segmentations, such regional summations have values that differ by several orders of magnitude across classes, which affects training performance and stability.

Show full abstract

We propose a boundary loss, which takes the form of a distance metric on the space of contours, not regions. This can mitigate the difficulties of highly unbalanced problems because it uses integrals over the interface between regions instead of unbalanced integrals over the regions. Furthermore, a boundary loss complements regional information. Inspired by graph-based optimization techniques for computing active-contour flows, we express a non-symmetric $L_2$ distance on the space of contours as a regional integral, which avoids completely local differential computations involving contour points. This yields a boundary loss expressed with the regional softmax probability outputs of the network, which can be easily combined with standard regional losses and implemented with any existing deep network architecture for N-D segmentation. We report comprehensive evaluations and comparisons on different unbalanced problems, showing that our boundary loss can yield significant increases in performances while improving training stability. Our code is publicly available: https://github.com/LIVIAETS/surface-loss .

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
LIVIAETS/boundary-lossOfficial737PythonMIT2024-03-19
JunMa11/SegWithDistMapCommunity406PythonApache-2.02021-04-30
MIT

Official code for "Boundary loss for highly unbalanced segmentation", runner-up for best paper award at MIDL 2019. Extended version in MedIA, volume 67, January 2021.

73799Python, MakefileDec 17, 20182 years agoMIT
Apache-2.0

How Distance Transform Maps Boost Segmentation CNNs: An Empirical Study

40667PythonDec 15, 20195 years agoApache-2.0

Similar Papers

Cite this paper

@article{kervadec2018boundary,
  title  = {Boundary loss for highly unbalanced segmentation},
  author = {Hoel Kervadec and Jihene Bouchtiba and Christian Desrosiers and Eric Granger and Jose Dolz and Ismail Ben Ayed},
  year   = {2018},
  eprint = {1812.07032},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1812.07032}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1812.07032.svg)](https://codeofpaper.com/paper/1812.07032)

Discussion