SMAP-MedSAM: Similarity-Memory-Guided Automatic Prompting and Uncertainty Refinement for Skin Lesion Segmentation

Background: Accurate skin lesion segmentation remains challenging because dermoscopic images exhibit substantial variations in lesion scale, contrast, mor phology, and boundary clarity, while promptable foundation models such as MedSAM remain sensitive to prompt quality. Methods: This study proposes SMAP-MedSAM, a fully automatic framework integrating similarity-memory retrieval, memory-guided prompting, uncertainty aware prompt refinement, and lightweight MedSAM adaptation. Lesion semantic memory and boundary morphology memory provide complementary priors for foreground localization and contour delineation, respectively, while uncertainty feedback generates corrective prompts for ambiguous initial predictions. Results: Experiments on ISIC 2018 show that SMAP-MedSAM achieves a Thresholded Jaccard of 0.452, Jaccard of 0.579, Dice of 0.686, and HD95 of 48.600. Compared with Sim-MPNet, TJ and Dice improve by 0.031 and 0.027, respectively, while HD95 decreases by 5.300. The Low-IoU Rate is reduced to 0.320, and the model retains 92.4% of its clean-image Dice performance under controlled image perturbations. Conclusions: These results suggest that similarity-guided automatic prompting and uncertainty feedback can improve the robustness and reliability of MedSAM based dermoscopic lesion segmentation while limiting task-specific parameter adaptation.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-30
DOI
https://doi.org/10.21203/rs.3.rs-11350877/v1
Primary Topic
Cutaneous Melanoma Detection and Management
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

SMAP-MedSAM: Similarity-Memory-Guided Automatic Prompting and Uncertainty Refinement for Skin Lesion Segmentation

Dan Ma, Yuyang Su
Research Square
Cutaneous Melanoma Detection and Management
preprint

SMAP-MedSAM: Similarity-Memory-Guided Automatic Prompting and Uncertainty Refinement for Skin Lesion Segmentation

Dan Ma, Yuyang Su
preprint en

Abstract

Background: Accurate skin lesion segmentation remains challenging because dermoscopic images exhibit substantial variations in lesion scale, contrast, mor phology, and boundary clarity, while promptable foundation models such as MedSAM remain sensitive to prompt quality. Methods: This study proposes SMAP-MedSAM, a fully automatic framework integrating similarity-memory retrieval, memory-guided prompting, uncertainty aware prompt refinement, and lightweight MedSAM adaptation. Lesion semantic memory and boundary morphology memory provide complementary priors for foreground localization and contour delineation, respectively, while uncertainty feedback generates corrective prompts for ambiguous initial predictions. Results: Experiments on ISIC 2018 show that SMAP-MedSAM achieves a Thresholded Jaccard of 0.452, Jaccard of 0.579, Dice of 0.686, and HD95 of 48.600. Compared with Sim-MPNet, TJ and Dice improve by 0.031 and 0.027, respectively, while HD95 decreases by 5.300. The Low-IoU Rate is reduced to 0.320, and the model retains 92.4% of its clean-image Dice performance under controlled image perturbations. Conclusions: These results suggest that similarity-guided automatic prompting and uncertainty feedback can improve the robustness and reliability of MedSAM based dermoscopic lesion segmentation while limiting task-specific parameter adaptation.

Research Square
Xinjiang University (CN)
Cutaneous Melanoma Detection and Management
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.

Laika access coming soon