Machine learning · 2023

Segment Anything ModelSAM

分割一切模型

A promptable segmentation model released by Meta AI in 2023: given a clicked point or a drawn box, it returns a mask for that object. Trained on 11 million images, it became the starting point for medical foundation models such as MedSAM.

SAM was released in April 2023 by Alexander Kirillov and colleagues at Meta AI and presented at ICCV later that year. It recasts segmentation as a promptable task. A heavy vision transformer encoder turns the image into features once; a light decoder takes a prompt (a point, a box, or a rough mask) and returns a mask in about 50 milliseconds, so a user can click and correct interactively.

Its training set, SA-1B, holds 11 million images and 1.1 billion masks, almost all generated automatically by the model itself in a staged “data engine”. On many unseen natural-image tasks its zero-shot masks were competitive with fully supervised methods.

Medical images are harder. Tumors with fuzzy borders, low-contrast soft tissue, and 3D volumes lie outside its training distribution, and early zero-shot tests gave uneven results. Fine-tuning on medical data produced models such as MedSAM, and the click-to-outline workflow has noticeably cut the cost of annotation.

Sources
  1. Kirillov A, Mintun E, Ravi N, et al. Segment anything. ICCV 2023. arXiv:2304.02643. arxiv.org/abs/2304.02643

Key works · 6

Landmark2023IEEE/CVF ICCV 202319,681 citations

Segment Anything

Alexander Kirillov, Eric Mintun … Laura Gustafson

SAM combined an image encoder, a prompt encoder, and a lightweight decoder to produce masks from prompts such as points, boxes, or masks. A model-assisted collection process produced SA-1B, with 11 million images and more than one billion masks. The authors evaluated segmentation transfer without task-specific training.

SignificanceSAM provided reusable prompt-driven segmentation weights and a dataset for studying how large-scale mask supervision transfers. MedSAM adopted the architecture and investigated whether fine-tuning with domain-specific masks could extend box-prompted segmentation across medical imaging modalities.

Landmark2024Nature Communications4,780 citations

Segment anything in medical images

Jun Ma, Yuting He … Bo Wang

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.

Key2023Medical Image Analysis1,082 citations

Segment anything model for medical image analysis: An experimental study

Maciej A. Mazurowski, Haoyu Dong … Yixin Zhang

The authors evaluated the original SAM on 19 medical imaging datasets, comparing prompt designs across modalities and anatomical targets. Overlap varied substantially by task. Box prompts generally performed better than a single point, and some targets with indistinct borders remained difficult.

SignificanceThe study quantified the limits of transferring a natural-image segmenter directly to medical images and helped separate model performance from prompt selection. The later SAM 2 evaluation reused much of its dataset collection and expanded the comparison to volumetric prompts.

Key2025ICLR 20255,824 citations

SAM 2: Segment Anything in Images and Videos

Nikhila Ravi, Valentin Gabeur … Tengyu Ma

SAM 2 added streaming memory to prompt-driven segmentation so that information about an object could propagate across video frames. The authors used interactions to collect segmentation data, released the datasets and model, and reported fewer prompt interactions for video segmentation than prior approaches.

SignificanceThe memory mechanism made a prompt reusable across sequential images. A subsequent medical imaging study treated neighboring medical slices as an ordered sequence and tested how prompt placement and propagation direction affected the segmentation of three-dimensional organs and lesions.

Notable2025arXiv (Cornell University)301 citations

MedSAM2: Segment Anything in 3D Medical Images and Videos

Jun Ma, Zongxin Yang … Adibvafa Fallahpour

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.

Notable2026IEEE Transactions on Biomedical Engineering57 citations

Segment Anything Model 2: An Application to 2D and 3D Medical Images

Haoyu Dong, Hanxue Gu … Maciej A. Mazurowski

The authors evaluated 80 prompting strategies across 21 medical datasets, treating adjacent slices as video frames for volumetric segmentation. For three-dimensional targets, box prompts generally improved mask overlap over points, and propagating masks in both directions improved performance over one-way propagation. Two-dimensional performance was similar to the original SAM.

SignificanceThe earlier 19-dataset study tested prompts on individual images. The SAM 2 evaluation controlled where a volume was prompted and varied the direction of mask propagation. It gave researchers a way to measure what one annotated slice contributes to segmentation across a volume.