Optimizing prompt strategies for SAM: advancing lesion segmentation across diverse medical imaging modalities

<i>Object.</i>To evaluate various segment anything model (SAM) prompt strategies across four lesion datasets and to subsequently develop a reinforcement learning (RL) agent to optimize SAM prompt placement.<i>Approach.</i>This retrospective study included patients with four independent ovarian, lung, renal, and breast tumor datasets. Manual segmentation and SAM-assisted segmentation were performed for all lesions. An RL model was developed to predict and select SAM points to maximize segmentation performance. Statistical analysis of segmentation was conducted using pairwise t-tests.<i>Main results.</i>Results show that increasing the number of prompt points significantly improves segmentation accuracy, with Dice coefficients rising from 0.272 for a single point to 0.806 for five or more points in ovarian tumors. The prompt location also influenced performance, with surface and union-based prompts outperforming center-based prompts, achieving mean Dice coefficients of 0.604 and 0.724 for ovarian and breast tumors, respectively. The RL agent achieved a peak Dice coefficient of 0.595 for ovarian tumors, outperforming random and alternative RL strategies. Additionally, it significantly reduced segmentation time, achieving a nearly ten-fold improvement compared to manual methods using SAM.<i>Significance.</i>While increased SAM prompts and non-centered prompts generally improved segmentation accuracy, each pathology and modality has specific optimal thresholds and placement strategies. Our RL agent achieved superior performance compared to other agents while achieving a significant reduction in segmentation time.

Authors

Institutions

Publication Details

Journal
Physics in Medicine and Biology
Published
2025-08-15
DOI
https://doi.org/10.1088/1361-6560/adfc20
Citations
2
Primary Topic
Radiomics and Machine Learning in Medical Imaging
Type
article
Field-Weighted Citation Impact
2.72
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing prompt strategies for SAM: advancing lesion segmentation across diverse medical imaging modalities

Aaron Maxwell, Wen-Chi Hsu, Zhusi Zhong, Scott Collins et al.
2 citations
Physics in Medicine and Biology
Radiomics and Machine Learning in Medical Imaging
2.72
article

Optimizing prompt strategies for SAM: advancing lesion segmentation across diverse medical imaging modalities

Aaron Maxwell, Wen-Chi Hsu, Zhusi Zhong, Scott Collins, Zhicheng Jiao, Zishu Zhang, Victoria Shi, Yuli Wang, Harrison X. Bai, S.H. Yao, Yuwei Dai, Jing Wu
article en
2 citations

Abstract

<i>Object.</i>To evaluate various segment anything model (SAM) prompt strategies across four lesion datasets and to subsequently develop a reinforcement learning (RL) agent to optimize SAM prompt placement.<i>Approach.</i>This retrospective study included patients with four independent ovarian, lung, renal, and breast tumor datasets. Manual segmentation and SAM-assisted segmentation were performed for all lesions. An RL model was developed to predict and select SAM points to maximize segmentation performance. Statistical analysis of segmentation was conducted using pairwise t-tests.<i>Main results.</i>Results show that increasing the number of prompt points significantly improves segmentation accuracy, with Dice coefficients rising from 0.272 for a single point to 0.806 for five or more points in ovarian tumors. The prompt location also influenced performance, with surface and union-based prompts outperforming center-based prompts, achieving mean Dice coefficients of 0.604 and 0.724 for ovarian and breast tumors, respectively. The RL agent achieved a peak Dice coefficient of 0.595 for ovarian tumors, outperforming random and alternative RL strategies. Additionally, it significantly reduced segmentation time, achieving a nearly ten-fold improvement compared to manual methods using SAM.<i>Significance.</i>While increased SAM prompts and non-centered prompts generally improved segmentation accuracy, each pathology and modality has specific optimal thresholds and placement strategies. Our RL agent achieved superior performance compared to other agents while achieving a significant reduction in segmentation time.

Physics in Medicine and BiologyVol. 70(17)
Central South University (CN), Johns Hopkins University (US), University of California, Santa Cruz (US), Brown University (US), Johns Hopkins Medicine (US), Chang Gung Memorial Hospital (TW), Johns Hopkins Hospital (US), Second Xiangya Hospital of Central South University (CN)
Openalex Percentile: Top 9%
Radiomics and Machine Learning in Medical Imaging
2.72
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.