Learning from Partially Overlapping Labels: Image Segmentation under Annotation Shift

Gregory Filbrandt, Konstantinos Kamnitsas, David Bernstein, Alexandra Taylor, Ben Glocker

Abstract

Training robust medical imaging models often requires pooling data from multiple sources, but different datasets frequently use inconsistent labeling protocols, leading to "Annotation Shift." This paper introduces a framework combining Adaptive Cross Entropy (ACE) with a Mean Teacher semi-supervised learning approach. This method successfully trains segmentation models on partially overlapping labels, achieving a 3% performance boost over standard supervised baselines by resolving label contradictions in the background class.

The Challenge of Annotation Shift

In medical AI, researchers often combine small, specialized datasets to create larger training pools. However, they frequently encounter Annotation Shift. This occurs when different datasets use inconsistent labeling protocols. For example, Dataset A might label the bladder and bones, while Dataset B only labels the bladder, treating bones as "background."

Figure 2: Illustration of background class inconsistency between fully labeled (DB1) and partially labeled (DB2) datasets. Red areas indicate non-overlapping classes that cause label contradictions.

Treating the background as a fixed class across different datasets is a "trap." If a model is trained naively on both, it receives conflicting signals: "bones are a class" vs. "bones are background." This label contradiction degrades performance on the structures of interest.

Proposed Methodology: ACE and Mean Teacher

The authors propose a two-pronged strategy to handle these contradictions without discarding valuable data.

1. Adaptive Cross Entropy (ACE)

Instead of a standard Cross Entropy loss, which penalizes the model for predicting a class (e.g., "Bone") in a dataset where it isn't labeled, ACE modifies the objective. For datasets with missing labels, the loss function groups the missing classes with the background. It essentially ignores predictions for missing classes during training on that specific dataset, preventing the model from being punished for correct anatomical predictions that aren't in the ground truth.

2. Mean Teacher (MT) Integration

While ACE prevents incorrect learning, it doesn't actively help the model learn from unlabeled regions. To address this, the authors incorporate a semi-supervised Mean Teacher framework. A "Student" model learns from labels via ACE, while a "Teacher" model (a moving average of the student’s weights) enforces a consistency cost. This requires the student to produce similar segmentations to the teacher even under input perturbations, allowing the model to learn the underlying anatomy of unlabeled regions.

Figure 6: Overview of the proposed framework. (a) ACE handles non-overlapping classes by modifying the loss function. (b) The Mean Teacher framework enforces consistency between student and teacher predictions to leverage unlabeled data.

Experimental Setup and Results

The study utilized abdominal CT scans for radiotherapy planning from two sources:

  • DB1 (Internal): 40 scans fully annotated with 6 structures (Bladder, Rectum, Uterus, Bones, and Femoral Heads).
  • DB2 (Public - Synapse): 30 scans partially labeled with only the Bladder, Rectum, and Uterus.

The performance was evaluated using the Dice Similarity Coefficient (DSC):

  • Baseline (Supervised on DB1): 81.1% mean Dice.
  • Naive Pooling (Standard loss on DB1+DB2): 80.9% mean Dice (performance dropped due to contradictions).
  • ACE/MT (Proposed): 84.2% mean Dice, a significant improvement over the baseline and ACE alone (83.1%).

Conclusion

The synergy between Adaptive Cross Entropy and semi-supervised learning effectively addresses the annotation shift problem. While ACE provides the flexibility to ignore missing labels, the Mean Teacher framework provides the regularization needed to produce high-quality segmentations in those same regions by analyzing raw image data. Future work includes testing this approach on other modalities like MRI and scaling to more diverse annotation protocols.

Summary updated

BibTeX
@inproceedings{filbrandt2021learning,
  author = {Gregory Filbrandt and Konstantinos Kamnitsas and David Bernstein and Alexandra Taylor and Ben Glocker},
  title = {{Learning from Partially Overlapping Labels: Image Segmentation under Annotation Shift}},
  booktitle = {DART/FAIR @ MICCAI},
  year = {2021},
  doi = {10.1007/978-3-030-87722-4\_12},
}
Figure