Introduction
The Segment Anything Model (SAM) has set a new standard for promptable 2D image segmentation. However, its application to medical imaging—which is predominantly volumetric (3D)—is hindered by two significant gaps. First, the domain gap: SAM is trained on natural images, which differ vastly from the nuanced textures of human anatomy. Second, the dimensionality gap: as a 2D model, SAM requires slice-by-slice processing for 3D volumes. This approach ignores inter-slice spatial relationships and necessitates extensive human interaction, requiring prompts for every slice.
Existing attempts to bridge these gaps, such as adding 3D adapters to frozen 2D models, often fail to capture full volumetric context or generalize effectively beyond small, specific datasets. SAM-Med3D addresses these challenges by introducing a fully learnable 3D architecture trained on a massive, diverse medical dataset.
Methods: A Fully 3D Architecture
SAM-Med3D moves away from 2D-to-3D adaptations in favor of a native 3D framework. The model consists of three primary components: a 3D Image Encoder (ViT-based), a 3D Prompt Encoder for handling 3D points and masks, and a 3D Mask Decoder. This design allows the model to process volumetric data holistically rather than as a stack of independent images.
The training process involves two stages. In the first stage (Pre-training), the model learns general anatomical features from a massive dataset of 131,000 masks. The second stage (Fine-tuning) refines the model using 75,000 high-quality masks to enhance precision. A key advantage of this architecture is its interaction efficiency: users can segment an entire volumetric structure using a single 3D point prompt, whereas 2D-based models typically require prompts for every slice.
The SA-Med3D-140K Dataset
To support the training of such a large-scale model, the researchers compiled SA-Med3D-140K, the largest volumetric medical segmentation dataset to date. It encompasses approximately 22,000 3D images and 143,000 masks, covering 245 categories (including organs, bones, and lesions) across 28 modalities, such as CT, Ultrasound, and 26 MRI sequences. This dataset is roughly 20 times larger at the image level than previous benchmarks like TotalSegmentator, providing the diversity necessary for a general-purpose foundation model.
Key Results and Performance
SAM-Med3D demonstrates a significant performance leap over its predecessors. In evaluations across 16 datasets, the model achieved a 60.12% improvement in Dice score compared to the original SAM when using a single point per volume.
Beyond accuracy, the model is highly efficient, operating at only 1% to 26% of the inference time required by 2D SAM adaptations. Qualitatively, SAM-Med3D produces smoother and more anatomically consistent 3D shapes, avoiding the "jagged" artifacts common in slice-by-slice methods. Furthermore, the model exhibits strong zero-shot transfer capabilities, successfully segmenting unseen targets and performing well on modalities like Ultrasound that were not included in the training set.
Conclusion and Future Work
SAM-Med3D represents a major step toward general-purpose 3D medical segmentation. By leveraging a native 3D architecture and a massive dataset, it overcomes the limitations of 2D-based foundation models. However, challenges remain in segmenting very small or irregular lesions and complex brain structures. Future work will focus on improving performance for these complex targets, expanding multi-modal training (particularly for Ultrasound), and increasing robustness to "noisy" or imprecise human prompts.
Summary updated