Learning to Segment from Noisy Annotations: A Spatial Correction Approach

Jiachen Yao, Yikai Zhang, Songzhu Zheng, Mayank Goswami, Prateek Prasanna, Chao Chen

Overview

Most methods for handling "noisy" training data assume errors are random and independent. However, in image segmentation, errors are usually systematic—akin to a human annotator using a brush that's slightly too thick. This paper introduces a novel Markov model to simulate realistic, spatially correlated errors and proposes Spatial Correction (SC), an iterative algorithm that uses a tiny amount of clean data to "un-bias" noisy training labels, significantly improving model accuracy.

The Challenge of Spatial Noise

Deep learning models are notoriously good at memorizing their training data, including mistakes. In medical imaging, obtaining perfect "ground truth" segmentations is incredibly difficult, requiring expert radiologists and hours of meticulous work. Consequently, many datasets rely on noisy annotations from trainees or automated tools.

Comparison of noise types in segmentation. (a) Ground truth, (b) Independent noise, (c) Spatial noise.

The core challenge is that existing noise-robust techniques were designed for image classification (e.g., a picture of a cat labeled as a dog). These methods assume noise is independent and identically distributed (i.i.d.). However, segmentation noise is spatial: if one pixel is mislabeled, its neighbors likely are too. Furthermore, this noise is often biased—an annotator might consistently over-segment a tumor boundary. Standard models trained on this data don't just learn the organ; they learn the annotator's specific bias.

Proposed Method: Spatial Correction

The authors tackle this problem with a two-pronged approach:

  1. A Realistic Noise Model: They propose a Markov process that simulates a human annotator. Instead of flipping random pixels, the model "marches" along a boundary, deciding at each step whether to expand or shrink the mask. This creates continuous, realistic distortions of the true boundary.
  2. Spatial Correction (SC): To fix the noise, the authors represent the segmentation masks using Signed Distance Functions (SDF). In SDF space, a systematic bias (like over-segmentation) looks like a simple mathematical shift.
The Spatial Correction pipeline iteratively refines noisy masks during model training.

The SC algorithm operates through bias estimation and iterative refinement. It uses a very small "clean" validation set to calculate the average shift (bias) between the noisy labels and the truth. The model is trained on noisy data, its predictions are compared against the estimated bias, and the training labels are "corrected" in the logit space (the raw values before they become probabilities). The model is then retrained on these improved labels.

Key Insights

  • The Power of SDF: By moving from pixel-space to distance-space, complex boundary errors become linear problems. This mathematical shift makes label correction highly tractable.
  • You Only Need One Image: One of the most surprising findings is the efficiency of the bias estimation. The paper provides a theoretical guarantee that even a tiny validation set—empirically as small as a single clean image—is enough to estimate the bias and trigger the correction process.
  • Logit-Space Correction: Instead of just flipping a pixel from "background" to "foreground," the method adjusts the underlying confidence (logits). This allows the model to be more flexible, correcting areas where it is uncertain while respecting areas where the image features are very clear.

Experimental Results

The researchers evaluated their method on a mix of synthetic and real-world noisy data, including medical datasets (JSRT, ISIC 2017, BraTS 2020) and real-world noisy datasets (LIDC-IDRI, Cityscapes).

The Spatial Correction (SC) method consistently outperformed state-of-the-art noise-robust methods (like GCE, SCE, and ELR), especially when the noise was biased:

  • JSRT (Lung X-rays): SC achieved a 91.62% DICE score, while standard robust methods hovered around 79.43%.
  • BraTS 2020 (Brain Tumors): In 3D segmentation, SC reached 77.78%, outperforming the next best baseline by over 7%.
  • Real-World (LIDC-IDRI): On actual human-annotated noise, SC improved the DICE score to 53.72% from a baseline of ~49%.
  • Robustness: While other methods saw their performance degrade as the noise level increased, SC remained remarkably stable, demonstrating that it truly understands the underlying bias rather than just filtering out random errors.

Limitations and Future Work

While highly effective, the method does have limitations. Primarily, it still requires some clean data. In ultra-rare medical cases, even one perfect annotation might be hard to find. Additionally, the Markov model and SC primarily focus on boundary distortions; it is less optimized for noise that involves entirely missing objects or "phantom" objects far from the true boundary.

Future directions suggested by the authors include exploring ways to estimate bias without any clean data at all, perhaps by leveraging multi-annotator consensus or unsupervised domain adaptation techniques.

Summary updated

BibTeX
@inproceedings{yao2023learning,
  author = {Jiachen Yao and Yikai Zhang and Songzhu Zheng and Mayank Goswami and Prateek Prasanna and Chao Chen},
  title = {{Learning to Segment from Noisy Annotations: A Spatial Correction Approach}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=Qc_OopMEBnC},
}
Figure