Ideal: Improved Dense Local Contrastive Learning For Semi-Supervised Medical Image Segmentation

Hritam Basak, Soumitri Chattopadhyay, Rohit Kundu, Sayan Nag, Rammohan Mallipeddi

TL;DR

IDEAL introduces a dense local contrastive learning framework tailored for semi-supervised medical image segmentation. By replacing traditional global pooling with a $1 \times 1$ convolutional projection head and implementing a dual-decoder cross-consistency regularization scheme, it preserves critical spatial details and significantly outperforms state-of-the-art methods in low-data regimes.

What Problem Does This Paper Address?

Supervised deep learning models excel at medical image segmentation, but they are notoriously data-hungry. In the medical domain, acquiring large volumes of labeled data is a major bottleneck because annotations must be performed by highly trained medical professionals.

Self-Supervised Learning (SSL)—specifically contrastive learning frameworks like SimCLR or MoCo—offers a solution by pre-training models on unlabeled data. However, standard contrastive learning is designed to learn global image representations (e.g., deciding if two augmented images represent the same patient scan). This global pooling step discards spatial details, making it sub-optimal for dense, pixel-level downstream tasks like segmentation. The authors introduce IDEAL to bridge this gap by mining local feature representations directly during the pre-training phase.

Methods

The IDEAL framework consists of two primary phases: Improved Local Contrastive Pre-training and Semi-Supervised Fine-tuning.

1. Improved Local Contrastive Learning

Instead of using the traditional Global Average Pooling (GAP) followed by a Multi-Layer Perceptron (MLP) projection head, IDEAL replaces the entire pooling/MLP block with a simple $1 \times 1$ convolution layer. This architectural tweak preserves the spatial dimensions ($D_h \times D_w$) of the feature maps, generating dense feature projections.

Comparison of baseline global contrastive learning vs. the proposed IDEAL dense local contrastive learning.

The contrastive loss function is redefined at the local level: positive pairs are sampled from corresponding spatial locations across different augmented views of the same image, while negative pairs are drawn from different images within the mini-batch.

2. Semi-Supervised Fine-tuning via Cross-Consistency

For the downstream segmentation task, the pre-trained encoder is connected to two structurally distinct decoders:

  • Decoder 1 utilizes trainable Transposed Convolutions (ConvTranspose) for up-scaling.
  • Decoder 2 utilizes simple bilinear interpolation (Up-sampling).
Overview of the IDEAL framework showing pre-training (left) and the dual-decoder fine-tuning pipeline (right).

Instead of using standard Exponential Moving Average (EMA) weight-sharing, both streams are trained concurrently. For unlabeled data, a bidirectional cross-consistency loss is enforced: the thresholded, one-hot pseudo-labels generated by one decoder branch serve as the ground-truth target for the other branch, fostering competitive and robust feature learning.

Datasets

The authors evaluated IDEAL on two widely used cardiac MRI benchmarks:

  • ACDC Dataset: Contains 100 cardiac 3D short-axis MRI volumes with expert annotations for three structures: the left ventricle, right ventricle, and myocardium.
  • MMWHS Dataset: Contains 20 cardiac 3D MRI volumes with expert annotations for seven structures, including the ventricles, atria, myocardium, pulmonary artery, and ascending aorta.

Key Insights and Ideas

  • Spatial Preservation Matters Early: While prior methods restricted local contrastive learning to the decoder fine-tuning stage, IDEAL demonstrates that preserving spatial dimensions during encoder pre-training yields significantly more robust local feature clusters.
  • Architecture-Driven Perturbation: Traditional consistency regularization relies heavily on data augmentations (input perturbations). IDEAL introduces architectural perturbation by using two differently initialized upsampling mechanisms, forcing the network to learn representations that are invariant to the choice of decoder structure.
  • Competitive Learning over Passive Tracking: By allowing both decoder streams to actively backpropagate gradients rather than passively updating one via EMA, the model achieves more confident and accurate boundary predictions.

Key Results

IDEAL was evaluated under severely constrained data settings (using as little as 1.25% of labeled data) and compared against several state-of-the-art semi-supervised methods.

  • ACDC Dataset (Extremely Low Data): With only 1.25% labeled data, IDEAL achieved a Dice Similarity Coefficient (DSC) of 0.738, outperforming the prominent baseline by Chaitanya et al. (0.725).
  • MMWHS Dataset: With 10% labeled data, IDEAL achieved a DSC of 0.626, significantly outperforming Chaitanya et al.'s score of 0.569.
  • Asymptotic Convergence: With 10% labels on ACDC and 40% labels on MMWHS, IDEAL's performance closely approached the fully supervised upper bound (differing by only 0.3% and 1.1%, respectively).
Qualitative segmentation results comparing IDEAL against ground truth (GT) and other state-of-the-art methods.

Limitations and Future Work

While IDEAL demonstrates exceptional performance on cardiac MRI datasets, the authors acknowledge that its efficacy across other imaging modalities (such as CT, ultrasound, or X-ray) remains to be validated. Additionally, the current framework is evaluated within the same domain; the authors note that exploring how this dense local contrastive paradigm translates to cross-modal and cross-domain scenarios, as well as natural image segmentation, is an important direction for future research.

Summary updated

BibTeX
@inproceedings{basak2023ideal,
  author = {Hritam Basak and Soumitri Chattopadhyay and Rohit Kundu and Sayan Nag and Rammohan Mallipeddi},
  title = {{Ideal: Improved Dense Local Contrastive Learning For Semi-Supervised Medical Image Segmentation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  doi = {10.1109/icassp49357.2023.10094869},
}
Figure