Medical SAM3: A Foundation Model for Universal Prompt-Driven Medical Image Segmentation
Chongcong Jiang, Tianxingjian Ding, Chuhan Song, Jiachen Tu, Ziyang Yan, Yihua Shao, Zhenyi Wang, Yuzhang Shang, Tianyu Han, Yu Tian
TL;DR
Medical SAM3 tackles the domain-shift challenge in medical image segmentation by fully fine-tuning a SAM3-based foundation model on a large, diverse corpus of 2D and 3D medical data with text prompts and masks. By unifying inputs to a single 2D representation, applying stratified tuning, and enforcing text-driven semantic alignment alongside a set-prediction objective, the approach removes dependence on privileged spatial prompts and achieves strong generalization across organs, modalities, and dimensionalities. It delivers substantial improvements over vanilla SAM3 on internal held-out tasks and, crucially, demonstrates robust zero-shot performance on external datasets spanning ultrasound, endoscopy, and fundus imaging, including challenging small and low-contrast structures. The work highlights the importance of holistic representation learning for reliable prompt-driven medical segmentation and provides a large, open corpus and codebase to enable broader deployment and evaluation.
Abstract
Promptable segmentation foundation models such as SAM3 have demonstrated strong generalization capabilities through interactive and concept-based prompting. However, their direct applicability to medical image segmentation remains limited by severe domain shifts, the absence of privileged spatial prompts, and the need to reason over complex anatomical and volumetric structures. Here we present Medical SAM3, a foundation model for universal prompt-driven medical image segmentation, obtained by fully fine-tuning SAM3 on large-scale, heterogeneous 2D and 3D medical imaging datasets with paired segmentation masks and text prompts. Through a systematic analysis of vanilla SAM3, we observe that its performance degrades substantially on medical data, with its apparent competitiveness largely relying on strong geometric priors such as ground-truth-derived bounding boxes. These findings motivate full model adaptation beyond prompt engineering alone. By fine-tuning SAM3's model parameters on 33 datasets spanning 10 medical imaging modalities, Medical SAM3 acquires robust domain-specific representations while preserving prompt-driven flexibility. Extensive experiments across organs, imaging modalities, and dimensionalities demonstrate consistent and significant performance gains, particularly in challenging scenarios characterized by semantic ambiguity, complex morphology, and long-range 3D context. Our results establish Medical SAM3 as a universal, text-guided segmentation foundation model for medical imaging and highlight the importance of holistic model adaptation for achieving robust prompt-driven segmentation under severe domain shift. Code and model will be made available at https://github.com/AIM-Research-Lab/Medical-SAM3.
