[Paper Review] Spatially Varying Label Smoothing: Capturing Uncertainty from Expert Annotations
This paper proposes Spatially Varying Label Smoothing (SVLS), a method that extracts boundary uncertainty from expert annotations to improve model calibration in medical image segmentation. By generating soft labels that preserve high confidence in non-ambiguous regions while smoothing at uncertain boundaries, SVLS enhances both segmentation accuracy and uncertainty quantification without additional annotations or model changes.
The task of image segmentation is inherently noisy due to ambiguities regarding the exact location of boundaries between anatomical structures. We argue that this information can be extracted from the expert annotations at no extra cost, and when integrated into state-of-the-art neural networks, it can lead to improved calibration between soft probabilistic predictions and the underlying uncertainty. We built upon label smoothing (LS) where a network is trained on 'blurred' versions of the ground truth labels which has been shown to be effective for calibrating output predictions. However, LS is not taking the local structure into account and results in overly smoothed predictions with low confidence even for non-ambiguous regions. Here, we propose Spatially Varying Label Smoothing (SVLS), a soft labeling technique that captures the structural uncertainty in semantic segmentation. SVLS also naturally lends itself to incorporate inter-rater uncertainty when multiple labelmaps are available. The proposed approach is extensively validated on four clinical segmentation tasks with different imaging modalities, number of classes and single and multi-rater expert annotations. The results demonstrate that SVLS, despite its simplicity, obtains superior boundary prediction with improved uncertainty and model calibration.
Motivation & Objective
- Address poor model calibration and overconfidence in deep learning-based medical image segmentation.
- Capture spatially structured uncertainty from expert annotations, particularly at anatomical boundaries where labeling is ambiguous.
- Improve model calibration and uncertainty estimation without requiring additional annotations or architectural changes.
- Leverage inter-rater variability from multiple expert annotations to enhance robustness and reliability of segmentation models.
- Provide a simple, plug-in solution that integrates seamlessly into existing training pipelines for semantic segmentation.
Proposed method
- Generate soft labels using a spatially varying smoothing kernel based on the spatial consistency of multiple expert annotations.
- Apply replicate padding to compute local uncertainty by counting label agreement in a local neighborhood around each pixel.
- Define SVLS target probabilities as a weighted average of one-hot labels, where smoothing is higher at boundaries with low inter-rater agreement.
- Use the formula: $ p_{\text{svls}}(c|i) = \frac{1}{K} \sum_{k=1}^{K} \mathbb{I}(y_k(i) = c) + \alpha \cdot \left(1 - \frac{1}{K} \sum_{k=1}^{K} \mathbb{I}(y_k(i) = c) \right) $, where $ \alpha $ controls smoothing and is spatially adaptive.
- Train standard deep neural networks (e.g., U-Net) with cross-entropy loss using SVLS targets instead of one-hot or uniform label smoothing.
- Extend the method to multi-rater settings (mSVLS) by aggregating multiple expert labels using spatially adaptive smoothing.
Experimental results
Research questions
- RQ1Can spatially varying label smoothing improve model calibration in semantic segmentation by capturing boundary-level uncertainty from expert annotations?
- RQ2How does SVLS compare to standard label smoothing and one-hot encoding in terms of segmentation accuracy and uncertainty quantification?
- RQ3To what extent can SVLS leverage inter-rater variability in expert annotations to improve model robustness and calibration?
- RQ4Does SVLS preserve high confidence in non-ambiguous regions while reducing overconfidence at uncertain boundaries?
- RQ5Can SVLS be effectively combined with other uncertainty estimation techniques in deep learning models for medical image segmentation?
Key findings
- SVLS significantly improves model calibration, reducing Expected Calibration Error (ECE) by up to 40% compared to standard label smoothing and one-hot encoding.
- On the LIDC-IDRI lung nodule dataset, mSVLS achieved a Dice Score (DSC) of 0.688 ± 0.181, outperforming mOH (0.680 ± 0.183) and one-hot (0.674 ± 0.185) baselines.
- In brain tumor segmentation, SVLS reduced ECE from 0.141 to 0.0892 (Set 1), demonstrating superior calibration across all evaluation sets.
- The reliability diagrams show that mSVLS produces prediction confidence distributions much closer to the ideal diagonal line than one-hot or mOH.
- Qualitative results confirm that mSVLS generates reasonable uncertainty maps with high confidence inside structures and increased uncertainty at boundaries.
- SVLS maintains high performance across diverse clinical tasks, including MRI and CT scans, with both binary and multi-class segmentation.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.