MedSAM
A promptable segmentation model made by retraining SAM on about 1.57 million medical image–mask pairs (2024). Given a box drawn around an organ or lesion on a CT, MRI, ultrasound, or pathology image, it returns the outline.
MedSAM was posted as a preprint in April 2023 by Jun Ma, Bo Wang, and colleagues at the University of Toronto and published in Nature Communications in January 2024. The team assembled 1,570,263 image–mask pairs from public sources, spanning 10 modalities, including CT, MRI, ultrasound imaging, endoscopy, and pathology, and more than 30 cancer types. On them they fine-tuned SAM's ViT-Base image encoder and its mask decoder.
It accepts only bounding boxes as prompts, because in a medical image a box says far less ambiguously than a single point which structure is wanted. Across 86 internal and 60 external validation tasks it was more accurate and robust than SAM and than specialist models trained for one modality.
The practical payoff is in annotation. In a test on adrenocortical carcinoma CT, two experts outlined 733 tumor slices with MedSAM's help and cut their time by 82.37% and 82.95%. The model still works slice by slice, leaving consistency across 3D volumes to later methods.
- Ma J, He Y, Li F, Han L, You C, Wang B. Segment anything in medical images. Nat Commun. 2024;15:654. doi.org/10.1038/s41467-024-44824-z
Key works · 2
Landmark2024Nature Communications4,780 citations
Segment anything in medical images
MedSAM trained a box-prompted segmenter on 1,570,263 image-mask pairs covering 10 medical imaging modalities. The authors evaluated it on 86 internal and 60 external validation tasks and reported gains in accuracy and robustness compared with the modality-specific models in the study.
SignificanceMedSAM supplied a shared medical benchmark and model for testing box-prompted segmentation across modalities. The later MedSAM2 work extended the interactive setting to volumetric images and cine sequences, where a prompt can be propagated to neighboring slices or frames.
DOI arXiv Full text Jun MaBo Wang MedSAMSegment Anything Modelfoundation modelimage segmentationexternal validation
Notable2025arXiv (Cornell University)301 citations
MedSAM2: Segment Anything in 3D Medical Images and Videos
MedSAM2 fine-tuned SAM 2 on volumetric medical images with masks and on medical video frames. A prompt supplied on a slice or frame could be propagated through the sequence. The preprint compared segmentation across organs and lesions and measured annotation effort in CT, liver MRI, and echocardiography.
SignificanceThe study supplied weights for testing an interactive workflow that couples prompt propagation with human correction in volumes and videos. Subsequent research in MRI-guided radiotherapy evaluated foundation-model-based tracking and labeling in that more specific imaging workflow.
DOI arXiv Jun MaBo Wang MedSAMSegment Anything Modelimage segmentationfoundation model