Skip to main content
QUICK REVIEW

[Paper Review] Distance Map Loss Penalty Term for Semantic Segmentation

Francesco Calivá, Claudia Iriondo|arXiv (Cornell University)|Aug 10, 2019
Medical Imaging and AnalysisEngineering9 references25 citations
TL;DR

This paper proposes a distance map-based loss penalty term to improve semantic segmentation of bone structures in 3D MRI, enhancing boundary accuracy by weighting errors near object edges. The method significantly improves boundary Dice scores (28.83% vs. 26.73% for Dice loss) and maintains high global Dice performance, outperforming focal loss and other state-of-the-art losses in preserving anatomical shape.

ABSTRACT

Convolutional neural networks for semantic segmentation suffer from low performance at object boundaries. In medical imaging, accurate representation of tissue surfaces and volumes is important for tracking of disease biomarkers such as tissue morphology and shape features. In this work, we propose a novel distance map derived loss penalty term for semantic segmentation. We propose to use distance maps, derived from ground truth masks, to create a penalty term, guiding the network's focus towards hard-to-segment boundary regions. We investigate the effects of this penalizing factor against cross-entropy, Dice, and focal loss, among others, evaluating performance on a 3D MRI bone segmentation task from the publicly available Osteoarthritis Initiative dataset. We observe a significant improvement in the quality of segmentation, with better shape preservation at bone boundaries and areas affected by partial volume. We ultimately aim to use our loss penalty term to improve the extraction of shape biomarkers and derive metrics to quantitatively evaluate the preservation of shape.

Motivation & Objective

  • To address the persistent challenge of poor segmentation performance at object boundaries in 3D medical image segmentation.
  • To improve the accuracy of tissue surface and volume representation in MRI for biomarker tracking, especially in osteoarthritis.
  • To develop a loss function that explicitly penalizes errors near anatomical boundaries using distance maps derived from ground truth.
  • To evaluate the method on a 3D MRI dataset with complex boundary regions affected by partial volume effects.
  • To demonstrate that shape-aware loss functions lead to superior segmentation quality and better preservation of morphological features.

Proposed method

  • Distance maps are generated from ground truth segmentation masks using a distance transform, then inverted so that voxels near boundaries are assigned higher weights.
  • Inner distance maps are computed separately for each bone (femur, tibia, patella) to account for size differences and then combined.
  • A penalized multi-class cross-entropy loss is formulated as $\mathscr{L} = \frac{1}{N}\sum_{i=1}^{N}(1+\Phi)\odot\sum_{j=1}^{K}-y_j\log\hat{y}_j$, where $\Phi$ is the distance map and $\odot$ denotes Hadamard product.
  • The addition of 1 to $\Phi$ prevents vanishing gradients during backpropagation.
  • The method is integrated into a V-Net architecture trained with Adam optimizer and data augmentation via random in-plane rotations.
  • Segmentation results are post-processed using 3D morphological closing and extraction of the three largest connected components.

Experimental results

Research questions

  • RQ1Can a distance map-derived loss penalty improve segmentation accuracy at object boundaries in 3D MRI?
  • RQ2How does the proposed loss compare to standard losses like cross-entropy, Dice, focal loss, and confident prediction penalizing loss in boundary detection?
  • RQ3Does the method preserve anatomical shape and reduce errors in regions with partial volume effects?
  • RQ4Can the loss penalty be effectively applied in a multi-class, 3D context with highly variable structure sizes?
  • RQ5Does the shape-aware loss lead to improved metrics for shape biomarker extraction?

Key findings

  • The proposed loss achieved a boundary Dice score (B-DSC) of 28.83% ± 4.45%, significantly outperforming Dice loss (26.73% ± 5.40%) and other baselines.
  • Global Dice score (G-DSC) was 96.42% ± 0.80%, showing strong overall segmentation performance, outperforming Dice loss (96.34% ± 1.21%) and focal loss (95.00% ± 1.00%).
  • The method demonstrated superior performance in regions with partial volume effects, such as the intercondylar notch and tibial condyles.
  • The distance map penalty effectively guided the network to focus on hard-to-segment boundary regions, reducing edge errors.
  • The approach is robust to class imbalance and can be readily applied to highly imbalanced datasets.
  • The method maintains high performance without requiring fine-tuning, unlike prior approaches that use distance maps in a two-stage training strategy.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.