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
- Dan Ma (ORCID: https://orcid.org/0000-0002-0554-6913)
- Yuyang Su
Institutions
- Xinjiang University (CN)
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