Skip to main content
QUICK REVIEW

[Paper Review] Self-Ensembling Contrastive Learning for Semi-Supervised Medical Image Segmentation

Jinxi Xiang, Zhuowei Li|arXiv (Cornell University)|May 27, 2021
Domain Adaptation and Few-Shot LearningComputer Science19 references11 citations
TL;DR

This paper proposes Self-Ensembling Contrastive Learning (SECL), a semi-supervised medical image segmentation method that combines image-level supervised loss with feature-level contrastive loss using unlabeled data. By leveraging a student-teacher network with exponential moving average updates and anatomical-aware contrastive sampling, SECL achieves state-of-the-art performance on MRI and CT segmentation benchmarks with limited annotations, significantly improving feature compactness and separability.

ABSTRACT

Deep learning has demonstrated significant improvements in medical image segmentation using a sufficiently large amount of training data with manual labels. Acquiring well-representative labels requires expert knowledge and exhaustive labors. In this paper, we aim to boost the performance of semi-supervised learning for medical image segmentation with limited labels using a self-ensembling contrastive learning technique. To this end, we propose to train an encoder-decoder network at image-level with small amounts of labeled images, and more importantly, we learn latent representations directly at feature-level by imposing contrastive loss on unlabeled images. This method strengthens intra-class compactness and inter-class separability, so as to get a better pixel classifier. Moreover, we devise a student encoder for online learning and an exponential moving average version of it, called teacher encoder, to improve the performance iteratively in a self-ensembling manner. To construct contrastive samples with unlabeled images, two sampling strategies that exploit structure similarity across medical images and utilize pseudo-labels for construction, termed region-aware and anatomical-aware contrastive sampling, are investigated. We conduct extensive experiments on an MRI and a CT segmentation dataset and demonstrate that in a limited label setting, the proposed method achieves state-of-the-art performance. Moreover, the anatomical-aware strategy that prepares contrastive samples on-the-fly using pseudo-labels realizes better contrastive regularization on feature representations.

Motivation & Objective

  • To improve semi-supervised medical image segmentation performance with limited labeled data.
  • To enhance feature-level representation learning by applying contrastive loss on unlabeled images.
  • To address the challenge of constructing meaningful positive and negative samples in medical image segmentation using anatomical and structural priors.
  • To integrate self-ensembling via a student-teacher framework to stabilize and improve representation learning.
  • To validate the effectiveness of region-aware and anatomical-aware contrastive sampling strategies in real-world medical imaging scenarios.

Proposed method

  • Proposes a self-ensembling contrastive learning framework that jointly optimizes image-level supervised loss and feature-level contrastive loss.
  • Employs a student-teacher encoder architecture, where the teacher network uses exponential moving average (EMA) of student weights to stabilize training.
  • Applies contrastive loss on augmented views of unlabeled images to enforce intra-class compactness and inter-class separability in feature space.
  • Introduces two contrastive sampling strategies: region-aware (based on structural similarity) and anatomical-aware (using pseudo-labels for spatial guidance).
  • Uses t-SNE visualization to demonstrate improved clustering of feature representations under the anatomical-aware strategy.
  • Applies ramp-up scheduling for the contrastive loss coefficient λ to gradually increase its influence during training.

Experimental results

Research questions

  • RQ1Can feature-level contrastive learning improve semi-supervised medical image segmentation when combined with image-level supervision?
  • RQ2How does self-ensembling via a student-teacher framework enhance representation learning in low-supervision settings?
  • RQ3Which contrastive sampling strategy—region-aware or anatomical-aware—yields better feature discrimination in medical images?
  • RQ4Does on-the-fly pseudo-label guided sampling lead to more robust and generalizable representations than structure-based sampling?
  • RQ5Can contrastive regularization complement existing consistency-based semi-supervised learning methods to improve segmentation accuracy?

Key findings

  • SECL achieves state-of-the-art performance on both MRI and CT segmentation datasets under limited labeling, with Dice scores of 0.8535 (LV), 0.7708 (RV), and 0.8667 (AO) on the MMWHS-2017 dataset using the anatomical-aware strategy.
  • The anatomical-aware contrastive sampling strategy outperforms region-aware sampling, achieving a 3.5% higher Dice score on the LA structure and 1.5% higher on WHS overall.
  • The self-ensembling mechanism with α=0.9 provides optimal balance: α=0.99 leads to slow adaptation, while α=0 results in unstable training and poor performance.
  • t-SNE visualization confirms that SECL with anatomical-aware sampling produces more compact and well-separated feature clusters across anatomical structures.
  • The contrastive loss significantly improves feature representation quality, as evidenced by better clustering and lower HD (Hausdorff distance) values—SECL (AACS) achieves 3.708 mm HD on LV, outperforming Mean Teacher (6.467 mm).
  • Ablation studies show that feature-level contrastive learning is essential: removing it reduces performance, while the student-teacher mechanism stabilizes training and improves convergence.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.