PG-SAM: Prior-Guided SAM with Medical for Multi-organ Segmentation
Yiheng Zhong, Zihong Luo, Chengzhi Liu, Feilong Tang, Zelin Peng, Ming Hu, Yingzhen Hu, Jionglong Su, Zongyuan Ge, Imran Razzak
TL;DR
This work tackles SAM's limited accuracy in medical image segmentation due to domain gaps and noisy priors. It introduces PG-SAM, a three-fold approach comprising a Fine-Grained Modality Prior Aligner (FGMPA) that leverages medical LLMs and LoRA-fine-tuned CLIP, a Multi-level Feature Fusion (MLFF) module to integrate global semantics with local details, and an Iterative Mask Optimizer (IMO) for instance-specific mask refinement. The paper also presents a unified, prompt-free pipeline that enriches priors with medical expertise and enforces precise boundary delineation. On the Synapse dataset, PG-SAM achieves state-of-the-art results, delivering superior segmentation accuracy and boundary quality, which has practical implications for reliable multi-organ delineation in clinical workflows.
Abstract
Segment Anything Model (SAM) demonstrates powerful zero-shot capabilities; however, its accuracy and robustness significantly decrease when applied to medical image segmentation. Existing methods address this issue through modality fusion, integrating textual and image information to provide more detailed priors. In this study, we argue that the granularity of text and the domain gap affect the accuracy of the priors. Furthermore, the discrepancy between high-level abstract semantics and pixel-level boundary details in images can introduce noise into the fusion process. To address this, we propose Prior-Guided SAM (PG-SAM), which employs a fine-grained modality prior aligner to leverage specialized medical knowledge for better modality alignment. The core of our method lies in efficiently addressing the domain gap with fine-grained text from a medical LLM. Meanwhile, it also enhances the priors' quality after modality alignment, ensuring more accurate segmentation. In addition, our decoder enhances the model's expressive capabilities through multi-level feature fusion and iterative mask optimizer operations, supporting unprompted learning. We also propose a unified pipeline that effectively supplies high-quality semantic information to SAM. Extensive experiments on the Synapse dataset demonstrate that the proposed PG-SAM achieves state-of-the-art performance. Our code is released at https://github.com/logan-0623/PG-SAM.
