Domain and Task-Focused Example Selection for Data-Efficient Contrastive Medical Image Segmentation

Tyler Ward, Aaron Moseley, Abdullah-Al-Zubaer Imran
5/25/2025
cs.CV
contrastive-ssl

Official code: tbwa233/PolyCL (6 stars, Python, last commit 2025-10-09).

Abstract

Segmentation is one of the most important tasks in the medical imaging pipeline as it influences a number of image-based decisions. To be effective, fully supervised segmentation approaches require large amounts of manually annotated training data.

Show full abstract

However, the pixel-level annotation process is expensive, time-consuming, and error-prone, hindering progress and making it challenging to perform effective segmentations. Therefore, models must learn efficiently from limited labeled data. Self-supervised learning (SSL), particularly contrastive learning via pre-training on unlabeled data and fine-tuning on limited annotations, can facilitate such limited labeled image segmentation. To this end, we propose a novel self-supervised contrastive learning framework for medical image segmentation, leveraging inherent relationships of different images, dubbed PolyCL. Without requiring any pixel-level annotations or unreasonable data augmentations, our PolyCL learns and transfers context-aware discriminant features useful for segmentation from an innovative surrogate, in a task-related manner. Additionally, we integrate the Segment Anything Model (SAM) into our framework in two novel ways: as a post-processing refinement module that improves the accuracy of predicted masks using bounding box prompts derived from coarse outputs, and as a propagation mechanism via SAM 2 that generates volumetric segmentations from a single annotated 2D slice. Experimental evaluations on three public computed tomography (CT) datasets demonstrate that PolyCL outperforms fully-supervised and self-supervised baselines in both low-data and cross-domain scenarios. Our code is available at https://github.com/tbwa233/PolyCL.

View on arXivView PDF

Code Implementations(1)

tbwa233/PolyCLOfficial100%

PolyCL: Context-Aware Contrastive Learning for Image Segmentation

61Python, Jupyter NotebookDec 9, 20241 years ago

Similar Papers

Cite this paper

@article{ward2025domain,
  title  = {Domain and Task-Focused Example Selection for Data-Efficient Contrastive Medical Image Segmentation},
  author = {Tyler Ward and Aaron Moseley and Abdullah-Al-Zubaer Imran},
  year   = {2025},
  eprint = {2505.19208},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.19208v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.19208.svg)](https://codeofpaper.com/paper/2505.19208)

Discussion