[Paper Review] Medical SAM 2: Segment medical images as video via Segment Anything Model 2
MedSAM-2 adapts SAM 2 to 2D/3D medical image segmentation by treating medical images as videos, enabling one-prompt segmentation and strong generalization across modalities.
Medical image segmentation plays a pivotal role in clinical diagnostics and treatment planning, yet existing models often face challenges in generalization and in handling both 2D and 3D data uniformly. In this paper, we introduce Medical SAM 2 (MedSAM-2), a generalized auto-tracking model for universal 2D and 3D medical image segmentation. The core concept is to leverage the Segment Anything Model 2 (SAM2) pipeline to treat all 2D and 3D medical segmentation tasks as a video object tracking problem. To put it into practice, we propose a novel \emph{self-sorting memory bank} mechanism that dynamically selects informative embeddings based on confidence and dissimilarity, regardless of temporal order. This mechanism not only significantly improves performance in 3D medical image segmentation but also unlocks a \emph{One-Prompt Segmentation} capability for 2D images, allowing segmentation across multiple images from a single prompt without temporal relationships. We evaluated MedSAM-2 on five 2D tasks and nine 3D tasks, including white blood cells, optic cups, retinal vessels, mandibles, coronary arteries, kidney tumors, liver tumors, breast cancer, nasopharynx cancer, vestibular schwannoma, mediastinal lymph nodules, cerebral artery, inferior alveolar nerve, and abdominal organs, comparing it against state-of-the-art (SOTA) models in task-tailored, general and interactive segmentation settings. Our findings demonstrate that MedSAM-2 surpasses a wide range of existing models and updates new SOTA on several benchmarks. The code is released on the project page: https://supermedintel.github.io/Medical-SAM2/.
Motivation & Objective
- Motivate improved generalization in medical image segmentation across 2D and 3D data.
- Leverage SAM-2’s video segmentation capabilities by treating medical images as videos.
- Enable One-prompt Segmentation to reduce clinician prompting effort.
- Develop memory-based mechanisms to maintain segmentation consistency across slices and flows.
- Demonstrate superior performance across diverse medical imaging modalities and benchmarks.
Proposed method
- Adapts SAM-2 to medical imaging by designing two pipelines for 3D and 2D data.
- Treats 3D medical images as videos and uses memory attention with a memory bank to propagate segmentations across slices.
- Introduces a Confidence Memory Bank and a Weighted Pick-up strategy for 2D image flows to enable One-prompt Segmentation.
- Uses a memory encoder to condense past predictions into memory tokens that condition current embeddings at decoding time.
- Incorporates a calibration head to align model confidence with segmentation accuracy.
- Evaluates on 15 benchmarks covering 26 tasks across multiple modalities.
Experimental results
Research questions
- RQ1Can SAM-2 be effectively adapted to 2D and 3D medical image segmentation?
- RQ2Does treating medical images as videos improve 3D segmentation performance and enable robust one-prompt segmentation in 2D image flows?
- RQ3How do memory-based mechanisms (confidence memory bank and weighted pick-up) influence One-prompt Segmentation in non-temporal 2D flows?
- RQ4Does MedSAM-2 generalize across diverse organs, pathologies, and imaging modalities better than prior fully-supervised and interactive methods?
Key findings
- MedSAM-2 achieves state-of-the-art Dice scores on BTCV 3D multi-organ segmentation, exceeding prior fully-supervised methods and interactive models.
- In 2D one-prompt scenarios, MedSAM-2 outperforms multiple few-/one-shot baselines across 10 tasks, including when compared to a strong One-prompt Segmentation model.
- On BTCV, MedSAM-2 reaches a Dice of 0.885 for brain-related structures and achieves an overall Dice of 0.876 with strong per-structure performance.
- MedSAM-2 outperforms SAM, SAM-2, and several interactive models while using far fewer prompts in practice.
- The model demonstrates robust cross-modality generalization, performing well on optic disc/cup, brain tumor, thyroid, and skin lesion segmentation tasks.
- The proposed confidence memory bank and weighted pick-up contribute to stable propagation of segmentation across slices (3D) and across non-temporally related 2D images (One-prompt).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.