PG-SAM: Prior-Guided SAM with Medical for Multi-organ Segmentation

Yiheng Zhong, Zihong Luo, Chengzhi Liu, Feilong Tang, Zelin Peng +5 more
3/23/2025
cs.CVcs.AI

Official code: logan-0623/PG-SAM (22 stars, last commit 2025-03-26).

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.

View on arXivView PDF

Code Implementations(1)

logan-0623/PG-SAMOfficial100%

Efficient Semantic Fine-grained Prior Generation and Refinement Decoder Based on SAM for Improved Multi-organ Segmentation

222PythonFeb 22, 20251 years ago

Similar Papers

Cite this paper

@article{zhong2025pgsam,
  title  = {PG-SAM: Prior-Guided SAM with Medical for Multi-organ Segmentation},
  author = {Yiheng Zhong and Zihong Luo and Chengzhi Liu and Feilong Tang and Zelin Peng and Ming Hu and Yingzhen Hu and Jionglong Su and Zongyuan Ge and Imran Razzak},
  year   = {2025},
  eprint = {2503.18227},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.18227v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.18227.svg)](https://codeofpaper.com/paper/2503.18227)

Discussion