Rethinking Semi-Supervised Medical Image Segmentation: A Variance-Reduction Perspective

Chenyu You, Weicheng Dai, Yifei Min, Fenglin Liu, Xiaoran Zhang, Chen Feng, David A. Clifton, S. Kevin Zhou, Lawrence Hamilton Staib, James S. Duncan · OpenReview

Abstract

Training deep learning models for medical image segmentation is hindered by the high cost of expert-annotated labels. While semi-supervised contrastive learning (CL) offers a solution by leveraging unlabeled data, standard pixel-level CL often suffers from high variance and model collapse due to naive random sampling. We introduce ARCO (strAtifed gRoup COntrastive learning), a framework that applies variance-reduction techniques—specifically stratified group sampling—to CL. ARCO achieves state-of-the-art performance across eight diverse benchmarks, demonstrating significant improvements in accuracy and robustness, particularly in low-label regimes.

The Challenge: Variance and Model Collapse

In medical imaging, standard contrastive learning relies on "naive sampling," where pixels are picked at random to form similar/dissimilar pairs. This approach faces three major hurdles:

  1. High Variance: Random sampling introduces noise, leading to unstable gradients.
  2. Model Collapse: Models may fail to learn diverse features, collapsing representations into a low-dimensional subspace.
  3. Long-Tail Neglect: Rare anatomical structures (tail classes) are frequently missed, leading to poor segmentation of critical but small regions.

The ARCO Framework

ARCO addresses these issues by reframing contrastive learning as a variance-reduction problem. The framework utilizes a two-phase training pipeline designed to stabilize learning and capture anatomical diversity.

The ARCO framework consists of two stages: (a) Relational Semi-supervised Pre-training and (b) Anatomical Contrastive Reconstruction Fine-tuning.

Key Innovations: Stratified Sampling

The core of ARCO lies in its intelligent sampling strategies, which replace naive random selection:

  • Stratified Group (SG) Sampling: The image is divided into equal-sized grids. Pixels are sampled proportionally from these grids based on class distribution, ensuring that semantically related pixels are grouped together more reliably.
  • Stratified-Antithetic Group (SAG) Sampling: This builds on SG by enforcing symmetry constraints during sampling, further minimizing the variance of the gradient estimator.
Stratified Group (SG) sampling reduces variance by partitioning the image into grids and sampling proportionally.

The authors provide theoretical proofs that these techniques are universally superior to naive sampling for reducing variance, resulting in more stable and efficient training.

Evaluation and Results

ARCO was validated on eight benchmarks, including five medical datasets (ACDC, LiTS, MMWHS, LA, and MP-MRI) and three general semantic segmentation datasets (Cityscapes, Pascal VOC 2012, SUN RGB-D).

Performance Gains

ARCO consistently outperformed state-of-the-art semi-supervised methods across various label ratios (1%, 5%, and 10%):

  • Accuracy: On the ACDC cardiac MRI benchmark, ARCO-SG achieved an absolute improvement of up to 11.08% in Dice score over previous methods.
  • Robustness: The model showed significantly better performance on "tail classes"—rare anatomical features that are typically misclassified.
  • Stability: Training trajectories revealed faster convergence and lower variance compared to models using naive sampling.

Conclusion

ARCO demonstrates that the instability in semi-supervised contrastive learning is largely a sampling problem. By integrating stratified group theory, ARCO provides a robust, model-agnostic framework that significantly advances the state of medical image segmentation. This work highlights the importance of quantifying and reducing variance in safety-critical AI tasks.

Summary updated

BibTeX
@inproceedings{you2023rethinking,
  author = {Chenyu You and Weicheng Dai and Yifei Min and Fenglin Liu and Xiaoran Zhang and Chen Feng and David A. Clifton and S. Kevin Zhou and Lawrence Hamilton Staib and James S. Duncan},
  title = {{Rethinking Semi-Supervised Medical Image Segmentation: A Variance-Reduction Perspective}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=g9gjpFOiO4},
}
Figure