Exemplar Learning for Medical Image Segmentation

Qing En, Yuhong Guo

Abstract

Medical image segmentation is a cornerstone of computer-aided diagnosis, yet its reliance on large-scale, expert-annotated datasets presents a significant bottleneck. To address this, we introduce Exemplar Learning (EL), a paradigm where a model is trained using only a single annotated image. We propose the Exemplar Learning-based Synthesis Net (ELSNet), a framework that leverages an Exemplar-guided Synthesis Module (ESM), a Pixel-Prototype based Contrastive Embedding Module (PCEM), and a two-stage pseudo-labeling strategy. Our experiments on the Synapse and ACDC benchmarks demonstrate that ELSNet significantly outperforms existing semi-supervised approaches in data-scarce environments, doubling performance in specific cardiac segmentation tasks.

Introduction

The "labeling conundrum" in medical imaging stems from the requirement for specialized clinical knowledge to produce high-quality pixel-level annotations. While semi-supervised and few-shot learning have attempted to mitigate this, they often still require a non-trivial amount of labeled data. Exemplar Learning (EL) represents an extreme but practical scenario: training a robust segmentation model from exactly one labeled "exemplar" and a larger pool of unlabeled data. This approach is particularly viable in medical imaging, as a single volumetric slice often contains all relevant anatomical structures for a given task.

The ELSNet Framework

ELSNet is designed to maximize the utility of a single labeled instance through three integrated components:

1. Exemplar-guided Synthesis Module (ESM)

To overcome the lack of data diversity, the ESM "multiplies" the available information. It extracts organ regions from the exemplar and overlays them onto various backgrounds—including black canvases and organ-free scans—using a suite of geometric (rotation, scaling) and intensity transformations. This process forces the model to decouple the target organs from their specific anatomical contexts, improving generalization.

2. Pixel-Prototype based Contrastive Embedding Module (PCEM)

The PCEM enhances the model’s discriminative power by applying contrastive representation learning. It computes a "prototype"—an average feature vector—for each organ category. By minimizing the distance between features of the same organ across different synthetic images and maximizing the distance between different organs, the model learns a more robust feature space that is less sensitive to noise.

3. Two-Stage Training Strategy

The training process is divided into two distinct phases to effectively incorporate unlabeled data:

  • Stage 1: An initial segmentation network is trained using the single exemplar and the synthetic data generated by the ESM.
  • Stage 2: The Stage 1 model generates "pseudo-labels" for the unlabeled dataset. The final model is then trained on a combination of the original exemplar, synthetic data, and the pseudo-labeled unlabeled data, allowing the network to learn from the underlying distribution of the broader patient population.

Experimental Evaluation

The framework was evaluated on two prominent medical benchmarks: the Synapse multi-organ CT dataset and the ACDC cardiac MRI dataset. ELSNet was compared against standard architectures (UNet) and state-of-the-art semi-supervised methods (e.g., MLDS).

Key Results

ELSNet demonstrated a substantial performance leap in the one-exemplar setting:

  • ACDC (Cardiac) Dataset: ELSNet achieved a Dice Similarity Coefficient (DSC) of 0.410, more than doubling the performance of the semi-supervised MLDS (0.189) and standard UNet (0.142).
  • Synapse (Abdominal) Dataset: It reached a DSC of 0.315, outperforming the next best method (MLDS at 0.221) by nearly 10 percentage points.
  • Boundary Accuracy: The 95% Hausdorff Distance—a metric for boundary error—showed a significant reduction, indicating that ELSNet produces much cleaner organ contours than its competitors.

Discussion and Insights

A key finding of this research is the importance of intensity diversity over geometric diversity. Ablation studies revealed that varying the brightness and contrast of backgrounds during synthesis was more critical for performance than rotating or scaling the organ crops. This suggests that for medical imaging, the model benefits more from learning to distinguish organ intensities from varying noise levels than from seeing different orientations.

Furthermore, ELSNet mimics the human ability to learn by analogy. Just as a medical student can identify organs in new scans after seeing one labeled example, ELSNet uses prototypes to bridge the gap between the single exemplar and the unlabeled population. Because ELSNet uses real organ crops from a real exemplar, the synthetic images maintain enough biological realism to be highly effective despite the "domain gap" typically found in synthetic data.

Conclusion

ELSNet establishes a new baseline for medical image segmentation in extreme data-starved scenarios. While a gap remains between Exemplar Learning and fully supervised methods—particularly regarding the segmentation of very small organs—this framework provides a viable path forward for rapid model deployment in clinical settings where expert time is at a premium. Future research will focus on improving the realism of synthetic anatomical variations and exploring active learning to further refine model accuracy.

Summary updated

Abstract

Medical image annotation typically requires expert knowledge and hence incurs time-consuming and expensive data annotation costs. To alleviate this burden, we propose a novel learning scenario, Exemplar Learning (EL), to explore automated learning processes for medical image segmentation with a single annotated image example. This innovative learning task is particularly suitable for medical image segmentation, where all categories of organs can be presented in one single image and annotated all at once. To address this challenging EL task, we propose an Exemplar Learning-based Synthesis Net (ELSNet) framework for medical image segmentation that enables innovative exemplar-based data synthesis, pixel-prototype based contrastive embedding learning, and pseudo-label based exploitation of the unlabeled data. Specifically, ELSNet introduces two new modules for image segmentation: an exemplar-guided synthesis module, which enriches and diversifies the training set by synthesizing annotated samples from the given exemplar, and a pixel-prototype based contrastive embedding module, which enhances the discriminative capacity of the base segmentation model via contrastive representation learning. Moreover, we deploy a two-stage process for segmentation model training, which exploits the unlabeled data with predicted pseudo segmentation labels. To evaluate this new learning framework, we conduct extensive experiments on several organ segmentation datasets and present an in-depth analysis. The empirical results show that the proposed exemplar learning framework produces effective segmentation results.
BibTeX
@inproceedings{en2022exemplar,
  author = {Qing En and Yuhong Guo},
  title = {{Exemplar Learning for Medical Image Segmentation}},
  booktitle = {BMVC},
  year = {2022},
  url = {https://openreview.net/forum?id=eamGgFmqbbC},
}
Figure