Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-Aware Contrastive Distillation

Chenyu You, Weicheng Dai, Yifei Min, Lawrence H. Staib, James S. Duncan

TL;DR

This paper introduces ACTION, a novel semi-supervised learning framework for medical image segmentation that tackles the challenges of imbalanced class distributions and the scarcity of labeled data. By incorporating anatomical awareness into contrastive learning and employing a unique distillation strategy, ACTION significantly improves segmentation accuracy, especially for rare structures.

What Problem Does This Paper Address?

Medical image segmentation is crucial for diagnosis and treatment planning, but it's hampered by the high cost and expertise required for manual annotation. Semi-supervised learning (SSL) offers a solution by leveraging large amounts of unlabeled data alongside limited labeled data. However, existing SSL methods often struggle with two key issues in medical imaging:

  1. Class Imbalance: Medical datasets frequently exhibit severe imbalances, where some classes (e.g., rare tumors or specific anatomical structures) are vastly underrepresented compared to others. This imbalance can lead to models that perform poorly on minority classes, producing blurry boundaries and incorrect segmentations.
  2. Suboptimal Contrastive Learning: While contrastive learning has shown promise in SSL, standard approaches often treat all negative samples equally. This can be inefficient, especially when dealing with complex anatomical structures where subtle differences matter. Furthermore, the assumption of balanced class distributions in contrastive learning doesn't hold for real-world medical data.

This paper aims to bridge this gap by developing an SSL method that is robust to class imbalance and leverages anatomical information more effectively within a contrastive learning framework.

Methods

The proposed framework, ACTION (Anatomical-aware ConTrastive dIstillatiON), builds upon the BYOL pipeline and introduces several key innovations:

  • Anatomical-Aware Contrastive Distillation: Instead of simple binary supervision between positive and negative pairs, ACTION uses a "soft labeling" approach. It distills knowledge from a teacher model to a student model by encouraging similarity between anatomical features. This is achieved by:
  • Relaxed Contrastive Learning: Softly labeling negative samples rather than treating them as strictly negative. This allows for a more nuanced learning process.
  • AnCo Loss (Anatomical Contrast Loss): A novel contrastive loss designed at the anatomical level. It samples pixel-level representations and pulls them closer to the mean feature of their class (positive keys) while pushing them away from features of other classes (negative keys). This helps create more discriminative representations.
  • Active Sampling for Hard Pixels: To further improve performance on imbalanced data, ACTION actively samples "hard negative pixels." These are pixels that are semantically similar to the query but belong to a different class, forcing the model to learn finer distinctions. This is done by:
  • Global and Local Contrast: Contrasting query image features with other random image features at both global and local levels, rather than just using different augmentations of the same image.
  • Dynamic Graph for Class Relationships: Building a graph to measure pairwise class relationships and dynamically updating it to better allocate samples and focus on challenging distinctions.
  • Iterative Distillation Stages: The framework employs a three-stage training process:
  • Global Contrastive Distillation Pre-training: Learns global-level features from unlabeled data.
  • Local Contrastive Distillation Pre-training: Learns local-level features using both labeled and unlabeled data.
  • Anatomical Contrast Fine-Tuning: Leverages the AnCo loss and active sampling for fine-grained anatomical feature learning.

Datasets

The paper evaluates ACTION on two benchmark medical image segmentation datasets:

  • ACDC (Automated Cardiac Diagnosis Challenge) 2017: Contains cardiac MRI scans with annotations for left ventricle (LV), myocardium (Myo), and right ventricle (RV).
  • LiTS (Liver Tumor Segmentation Challenge) 2017: Features contrast-enhanced 3D abdominal CT volumes with annotations for liver and tumor.

The experiments are conducted under various semi-supervised settings, specifically using a small number of labeled cases (e.g., 3 or 7 for ACDC, 5% or 10% for LiTS).

Key Insights and Ideas

  • "Not all negative samples are equally negative": This core insight drives the relaxed contrastive learning approach. By not treating all non-target pixels as strictly negative, the model can learn more nuanced representations, especially in the presence of class imbalance.
  • Anatomical context is key for imbalance: The AnCo loss, by focusing on anatomical similarities and differences at the pixel level, provides a powerful mechanism to discriminate between classes, even when some are rare. This is a significant departure from methods that rely solely on global image-level contrast.
  • Active sampling of hard negatives is crucial: Simply using random negative samples isn't enough. Strategically selecting challenging negative pixels forces the model to learn more robust decision boundaries, directly addressing the difficulties posed by imbalanced data.
  • Distillation benefits from anatomical awareness: Transferring knowledge from a teacher to a student model is more effective when the distillation process is guided by anatomical relationships, leading to better generalization.

Key Results

ACTION demonstrates significant improvements over state-of-the-art semi-supervised methods on both ACDC and LiTS datasets.

  • ACDC Dataset: With only 3 labeled cases, ACTION achieved an average Dice score of 87.5%, a substantial improvement over previous methods that topped out around 73.6%. Even with 7 labeled cases, ACTION reached 89.7% Dice, matching or exceeding supervised baselines. Qualitative results (Figure 3) show consistently sharper and more accurate object boundaries.
  • LiTS Dataset: ACTION also outperformed existing methods on LiTS, achieving competitive results with significantly fewer labeled samples. Qualitative results (Figure 4) highlight ACTION's ability to produce sharp and accurate boundaries.
  • Ablation Studies: The paper's ablation studies confirm the importance of each component: incorporating random sampled images, local contrastive distillation, and anatomical contrast fine-tuning all contribute to the overall performance gains.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while ACTION significantly improves performance, it's still challenging to perfectly handle extreme class imbalance.
  • The computational cost, while addressed through active sampling, can still be a factor for very large datasets.
  • Future Work:
    • The authors plan to explore more advanced contrastive learning approaches to further enhance performance on unlabeled and imbalanced medical data.
  • Investigating the application of ACTION to other medical imaging tasks and modalities is a natural next step.

Summary updated

BibTeX
@inproceedings{you2022bootstrapping,
  author = {Chenyu You and Weicheng Dai and Yifei Min and Lawrence H. Staib and James S. Duncan},
  title = {{Bootstrapping Semi-supervised Medical Image Segmentation with Anatomical-Aware Contrastive Distillation}},
  booktitle = {IPMI},
  year = {2022},
}
Figure