Sam2Rad: A Segmentation Model for Medical Images with Learnable Prompts

Assefa Seyoum Wahd, Banafshe Felfeliyan, Yuyue Zhou, Shrimanti Ghosh, Adam McArthur +3 more
9/10/2024
cs.CV

No official code found. Best implementation: aswahd/SamRadiology (31 stars, last commit 2024-11-11).

Abstract

Foundation models like the segment anything model require high-quality manual prompts for medical image segmentation, which is time-consuming and requires expertise. SAM and its variants often fail to segment structures in ultrasound (US) images due to domain shift. We propose Sam2Rad, a prompt learning approach to adapt SAM and its variants for US bone segmentation without human prompts. It introduces a prompt predictor network (PPN) with a cross-attention module to predict prompt embeddings from image encoder features. PPN outputs bounding box and mask prompts, and 256-dimensional embeddings for regions of interest. The framework allows optional manual prompting and can be trained end-to-end using parameter-efficient fine-tuning (PEFT). Sam2Rad was tested on 3 musculoskeletal US datasets: wrist (3822 images), rotator cuff (1605 images), and hip (4849 images). It improved performance across all datasets without manual prompts, increasing Dice scores by 2-7% for hip/wrist and up to 33% for shoulder data. Sam2Rad can be trained with as few as 10 labeled images and is compatible with any SAM architecture for automatic segmentation.

View on arXivView PDF

Code Implementations(1)

aswahd/SamRadiologyCommunity100%
311Cuda, PythonSep 16, 20241 years ago

Similar Papers

Cite this paper

@article{wahd2024samrad,
  title  = {Sam2Rad: A Segmentation Model for Medical Images with Learnable Prompts},
  author = {Assefa Seyoum Wahd and Banafshe Felfeliyan and Yuyue Zhou and Shrimanti Ghosh and Adam McArthur and Jiechen Zhang and Jacob L. Jaremko and Abhilash Hareendranathan},
  year   = {2024},
  eprint = {2409.06821},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.06821v1}
}

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/2409.06821.svg)](https://codeofpaper.com/paper/2409.06821)

Discussion