NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Anytime, Anywhere, Anyone: Investigating the Feasibility of Segment Anything Model for Crowd-Sourcing Medical Image Annotations

Pranav Kulkarni, Adway Kanhere, Dharmam Savani, Andrew Chan, Devina Chatterjee, Paul Yi, Vishwa Sanjay Parekh

TL;DR

This paper investigates using the powerful Segment Anything Model (SAM) to enable non-experts to crowd-source medical image annotations for training 3D segmentation models. While SAM-generated annotations show high overlap with ground truth, models trained on them perform significantly worse than those trained on expert-annotated data, highlighting SAM's current limitations for 3D medical tasks.

What Problem Does This Paper Address?

Manually annotating medical images for deep learning segmentation is a bottleneck. It's time-consuming, requires specialized expertise (like radiologists), and often leads to models that are highly specialized to a narrow task, limiting their real-world applicability. Existing methods to speed this up, like interactive prompting with sparse annotations (e.g., bounding boxes), still require expert involvement for fine-tuning and validation. The authors aim to bridge this gap by exploring if SAM, a foundation model known for its zero-shot generalization, can empower non-experts to generate useful annotations for training robust 3D medical segmentation models without needing an expert in the loop.

Methods

The core of the study involves a pipeline for crowd-sourcing annotations using SAM.

  1. Data Preparation: Medical imaging volumes (NIfTI format) were converted into 2D PNG slices for easier processing.
  2. Sparse Annotation: Non-expert annotators used the OpenLabeling tool to draw bounding boxes around organs of interest on each slice. Bounding boxes were chosen over points due to better performance with SAM.
  3. Dense Annotation Generation: The Segment Anything Model (SAM), specifically a fine-tuned version called MedSAM (using a ViT-Huge backbone), was used to generate dense segmentation masks from these sparse bounding box prompts. SAM's ability to generate masks from 2D slices was leveraged, and the best of three generated masks was selected based on confidence.
  4. 3D Segmentation Model Training: The generated SAM annotations (and ground truth for comparison) were used to train 3D nnU-Net models, a state-of-the-art architecture for medical image segmentation.
  5. Evaluation: The performance of models trained on SAM-generated annotations (SAM-nnU-Net) was compared against models trained on ground-truth annotations (GT-nnU-Net) using the Dice similarity coefficient (DSC) on a test set. Statistical significance was assessed using Wilcoxon signed-rank tests.

Two experimental settings were explored:

  • Simulated Annotations: Ground-truth annotations were programmatically blurred and used to generate bounding boxes, simulating an "ideal" crowd-sourcing scenario.
  • Crowd-Sourced Annotations: Actual non-expert annotators provided bounding boxes, representing a more realistic scenario.

Datasets

The study utilized publicly available datasets:

  • MSD Liver: 201 CT scans, with annotations for liver and liver tumors. Liver tumor annotations were excluded.
  • MSD Spleen: 61 CT scans, with annotations for the spleen.
  • BTCV (Beyond the Cranial Vault): 50 CT scans, with annotations for 13 abdominal organs. For this study, annotations for aorta, left and right kidneys, liver, and spleen were used.

The BTCV dataset was split into training and testing sets for both simulated and crowd-sourced annotation experiments.

Key Insights and Ideas

  • SAM's 2D Limitation for 3D: The most significant insight is that while SAM excels at generating high-quality 2D masks, its inherent 2D nature struggles to capture the crucial spatial relationships (like depth and slice-to-slice connectivity) required for robust 3D medical segmentation. This leads to a performance drop when training 3D models.
  • Non-Expert Potential with Caveats: SAM does enable non-experts to contribute to the annotation process, significantly reducing the burden. However, the quality of the downstream segmentation model is compromised, suggesting that simply generating masks isn't enough for high-performance 3D tasks.
  • Quality Control is Crucial: The study highlighted that incomplete annotations from non-experts (e.g., missing organs in some volumes) negatively impact model performance. Filtering out such incomplete data led to improved SAM-nnU-Net performance, underscoring the need for robust quality assessment in crowd-sourcing pipelines.
  • MedSAM vs. SAM: The paper compares SAM with MedSAM (a SAM version fine-tuned for medical images). While MedSAM showed slightly better annotation quality in some cases, the overall conclusion about the 3D segmentation performance remained consistent.

Key Results

  • Annotation Quality: SAM-generated annotations showed high overlap with ground truth, with mean Dice scores around 0.86 for simulated liver segmentation and 0.88 for simulated spleen segmentation. For crowd-sourced annotations, mean volume Dice scores were around 0.75 and slice Dice scores around 0.88.
  • Segmentation Model Performance: This is where the discrepancy lies.
  • Simulated Setting: SAM-nnU-Net models performed significantly worse than GT-nnU-Net models on the BTCV test set, with mean volume Dice scores of 0.83 vs. 0.90 for liver segmentation.
  • Crowd-Sourced Setting: * When trained on partially annotated data (n=15), SAM-nnU-Net achieved a mean Dice score of 0.77 ± 0.06 on the BTCV test set, significantly lower than GT-nnU-Net's 0.91 ± 0.05 (p < 0.001).
  • When trained on fully annotated data (n=11), SAM-nnU-Net achieved 0.80 ± 0.05, still significantly lower than GT-nnU-Net's 0.90 ± 0.05 (p < 0.001).
  • Impact of Missing Annotations: Excluding incomplete annotations from the crowd-sourced training set improved SAM-nnU-Net performance from 0.77 to 0.80 (p = 0.008).

Limitations and Future Work

  • 2D Nature of SAM: The primary limitation is SAM's 2D architecture, which fails to capture 3D spatial relationships critical for medical imaging.
  • Small Crowd-Sourced Dataset: The study used a relatively small dataset (n=15) for the crowd-sourcing experiment.
  • Single Organ Assignment: Each annotator was assigned only one organ, potentially leading to less robust annotations due to the absence of consensus.
  • Limited Modalities: Only CT scans were evaluated; other modalities like MRI and PET were not considered.

Future work proposed includes:

  • Expanding the study with larger multi-organ datasets and more annotators.
  • Developing specialized 3D adapters for SAM that can capture spatial relationships.
  • Incorporating robust quality assessment metrics (e.g., inter-rater reliability, uncertainty estimation) to filter out unreliable annotations automatically.
  • Investigating crowd-sourcing for other medical imaging modalities.

Summary updated

BibTeX
@inproceedings{kulkarni2024anytime,
  author = {Pranav Kulkarni and Adway Kanhere and Dharmam Savani and Andrew Chan and Devina Chatterjee and Paul Yi and Vishwa Sanjay Parekh},
  title = {{Anytime, Anywhere, Anyone: Investigating the Feasibility of Segment Anything Model for Crowd-Sourcing Medical Image Annotations}},
  booktitle = {MIDL Short Papers},
  year = {2024},
  url = {https://openreview.net/forum?id=OP2Cf9ypTK},
}
Figure