Abstract
SAM-Med2D is a specialized adaptation of Meta’s "Segment Anything Model" (SAM) designed specifically for the complexities of medical imaging. By fine-tuning on a massive, curated dataset of 4.6 million images and 19.7 million masks, the authors created a model that significantly outperforms the original SAM in medical contexts, particularly when using interactive point and bounding box prompts.
Introduction
The original Segment Anything Model (SAM) represented a paradigm shift in computer vision, demonstrating zero-shot segmentation capabilities on natural images. However, its performance degrades significantly when applied to medical imaging modalities like CT, MRI, and ultrasound. This "domain gap" arises because medical images—often grayscale, physics-based representations of internal anatomy—differ fundamentally from the RGB natural images SAM was trained on. SAM-Med2D addresses this by fine-tuning SAM on an unprecedented scale of medical data.
Methodology
SAM-Med2D introduces three key innovations to adapt the foundation model for clinical use:
- Parameter-Efficient Fine-Tuning (Adapters): Instead of retraining the entire image encoder, the authors inserted small, learnable "Adapter" layers into the frozen Transformer blocks. This allows the model to learn medical-specific features without losing its general visual knowledge.
- Comprehensive Prompting: The model is trained to handle points, bounding boxes, and masks simultaneously, providing flexibility for clinical workflows.
- Interactive Training Strategy: To simulate real-world usage, the model was trained iteratively. It receives "correction" points based on previous errors, mimicking how a radiologist might refine a segmentation mask.
Dataset Scale and Diversity
The scale of the SAM-Med2D dataset is a major contribution to the field. The authors curated 4.6 million images and 19.7 million masks across 10 imaging modalities and 31 major organs. This represents a significant increase in data volume compared to previous medical segmentation benchmarks, providing the diversity needed for a robust foundation model.
Key Results
SAM-Med2D demonstrates substantial improvements over the original SAM. On the test set, it achieved a 79.30% Dice score using bounding box prompts, compared to SAM's 61.63%. The most dramatic improvement was seen in single-point prompting, where SAM-Med2D reached a 70.01% Dice score, a 51% absolute increase over the original model's 18.94%. Furthermore, the model showed strong generalization on unseen datasets from the MICCAI 2023 challenges, maintaining an average Dice score of 81.93%.
Conclusion and Future Work
SAM-Med2D successfully brings the power of foundation models to the medical domain. While limitations remain—such as the lack of native 3D support and natural language prompting—the model sets a new state-of-the-art for interactive medical image segmentation. Future work will likely focus on extending these capabilities to 3D volumes and integrating textual clinical context to further assist radiologists in complex diagnostic tasks.
Summary updated