arXiv · 2612.01435
Dense-Prompt-Guided Adaptation of the Segment Anything Model for Fully Automatic Multiple Sclerosis Lesion Segmentation
Abstract
Multiple sclerosis (MS) lesion segmentation in magnetic resonance imaging (MRI) is challenging due to the small size, irregular shape, and low contrast of lesions. Although the Segment Anything Model (SAM) has strong generalization ability in natural image segmentation, its direct use in medical imaging is limited by manual prompt dependence and the domain gap between natural and medical images. We propose a fully automatic dense-prompt-guided framework that adapts SAM to multimodal MRI without full fine-tuning. Fluid-attenuated inversion recovery (FLAIR), T1-weighted, and T2-weighted images are processed by the SAM image encoder and a parallel HarDNet-85-based dense-prompt branch with a lightweight Small Decoder, whose output is fused with the SAM image embedding for automatic mask prediction. Lightweight adapters are incorporated into the image encoder and mask decoder, while a query-conditioned HyPAdapter dynamically generates projection weights from decoder query tokens. A two-stage training strategy progressively activates encoder-side adaptation while keeping the original encoder parameters frozen. On the MSSEG 2016 test set, the proposed framework achieved a mean Dice similarity coefficient (DSC) of 71.49% and a mean intersection over union (mIoU) of 62.12% over lesion-containing slices. Adding the query-conditioned HyPAdapter increased mean DSC by 9.87 percentage points compared with the configuration using dense guidance and standard adapters.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Shideh Maleki, Mohammad Reza Mohammadi, Mohsen Soryani. 2026-12-01. Dense-Prompt-Guided Adaptation of the Segment Anything Model for Fully Automatic Multiple Sclerosis Lesion Segmentation. https://searcharxiv.org/abs/2612.01435
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.