MCP-MedSAM: A Powerful Lightweight Medical Segment Anything Model Trained with a Single GPU in Just One Day
Open Access
- 1 May 2025
- journal article
- Published by Machine Learning for Biomedical Imaging in Machine Learning for Biomedical Imaging
- Vol. 3 (May 2025) , 135-151
Abstract
Medical image segmentation involves partitioning medical images into meaningful regions, with a focus on identifying anatomical structures and lesions. It has broad applications in healthcare, and deep learning methods have enabled significant advancements in automating this process. Recently, the introduction of the Segmentation Anything Model (SAM), the first foundation model for segmentation task, has prompted researchers to adapt it for the medical domain to improve performance across various tasks. However, SAM’s large model size and high GPU requirements hinder its scalability and development in the medical domain. To address these challenges, research has increasingly focused on lightweight adaptations of SAM to reduce its parameter count, enabling training with limited GPU resources while maintaining competitive segmentation performance. In this work, we propose MCP-MedSAM, a powerful and lightweight medical SAM model designed to be trainable on a single A100 GPU with 40GB of memory within one day while delivering superior segmentation performance. Recognizing the significant internal differences between modalities and the need for direct segmentation target information within bounding boxes, we introduce two kinds of prompts: the modality prompt and the content prompt. After passing through the prompt encoder, their embedding representations can further improve the segmentation performance by incorporating more relevant information without adding significant training overhead. Additionally, we adopt an effective modality-based data sampling strategy to address data imbalance between modalities, ensuring more balanced performance across all modalities. Our method was trained and evaluated using a large-scale challenge dataset, compared to top-ranking methods on the challenge leaderboard, MCP-MedSAM achieved superior performance while requiring only one day of training on a single GPU. The code is publicly available at https://github.com/dong845/MCP-MedSAMKeywords
All Related Versions
This publication has 13 references indexed in Scilit:
- Medical SAM adapter: Adapting segment anything model for medical image segmentationMedical Image Analysis, 2025
- MedficientSAM: A Robust Medical Segmentation Model with Optimized Inference Pipeline for Limited Clinical Settings2025
- A Light-Weight Universal Medical Segmentation Network for Laptops Based on Knowledge Distillation2025
- Rep-MedSAM: Towards Real-Time and Universal Medical Image Segmentation2025
- TransUNet: Rethinking the U-Net architecture design for medical image segmentation through the lens of transformersMedical Image Analysis, 2024
- Large-scale dose evaluation of deep learning organ contours in head-and-neck radiotherapy by leveraging existing plansPhysics and Imaging in Radiation Oncology, 2024
- CSAP-UNet: Convolution and self-attention paralleling network for medical image segmentation with edge enhancementComputers in Biology and Medicine, 2024
- CSCA U-Net: A channel and space compound attention CNN for medical image segmentationArtificial Intelligence in Medicine, 2024
- HTC-Net: A hybrid CNN-transformer framework for medical image segmentationBiomedical Signal Processing and Control, 2023
- nnU-Net: a self-configuring method for deep learning-based biomedical image segmentationNature Methods, 2020