Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentation

Junde Wu, Wei Ji, Yuanpei Liu, Huazhu Fu, Min Xu +2 more
4/25/2023
1,130 citations
cs.CV

No official code found. Best implementation: ImprintLab/Medical-SAM-Adapter (1,322 stars, Python, GPL-3.0, last commit 2025-09-08).

Abstract

The Segment Anything Model (SAM) has recently gained popularity in the field of image segmentation due to its impressive capabilities in various segmentation tasks and its prompt-based interface. However, recent studies and individual experiments have shown that SAM underperforms in medical image segmentation, since the lack of the medical specific knowledge.

Show full abstract

This raises the question of how to enhance SAM's segmentation capability for medical images. In this paper, instead of fine-tuning the SAM model, we propose the Medical SAM Adapter (Med-SA), which incorporates domain-specific medical knowledge into the segmentation model using a light yet effective adaptation technique. In Med-SA, we propose Space-Depth Transpose (SD-Trans) to adapt 2D SAM to 3D medical images and Hyper-Prompting Adapter (HyP-Adpt) to achieve prompt-conditioned adaptation. We conduct comprehensive evaluation experiments on 17 medical image segmentation tasks across various image modalities. Med-SA outperforms several state-of-the-art (SOTA) medical image segmentation methods, while updating only 2\% of the parameters. Our code is released at https://github.com/KidsWithTokens/Medical-SAM-Adapter.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

A lightweight adapter bridges SAM with medical imaging [MedIA]

1,322129Python, Jupyter NotebookApr 25, 20231 years agoGPL-3.0
adapterdeep-learningmedical-imagingsegment-anything-modelsegmentagtion

Similar Papers

Cite this paper

@article{wu2023medical,
  title  = {Medical SAM Adapter: Adapting Segment Anything Model for Medical Image Segmentation},
  author = {Junde Wu and Wei Ji and Yuanpei Liu and Huazhu Fu and Min Xu and Yanwu Xu and Yueming Jin},
  year   = {2023},
  eprint = {2304.12620},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.12620v7}
}

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/2304.12620.svg)](https://codeofpaper.com/paper/2304.12620)

Discussion