Abstract
Colorectal cancer remains a leading cause of cancer-related mortality, yet it is highly preventable through early detection of polyps during colonoscopy. While Computer-Aided Diagnosis (CAD) systems offer potential support, they often struggle with the low-contrast and visually complex environment of the colon. This paper introduces Polyp-SAM, an adaptation of Meta’s "Segment Anything Model" (SAM) for specialized medical diagnostics. By fine-tuning SAM on multi-center colonoscopy data, the researchers demonstrate that massive foundation models can be effectively "re-wired" for high-precision medical tasks, achieving state-of-the-art performance across multiple benchmarks.
Introduction
Traditional medical imaging architectures, such as U-Net, typically require training from scratch or limited transfer learning on domain-specific data. The emergence of foundation models like SAM, trained on millions of diverse natural images, raises a critical question: can a model trained on general objects (e.g., cars, trees) be adapted to the intricate textures of human tissue? Polyp-SAM addresses this by leveraging SAM’s inherent understanding of object boundaries and applying it to the detection of colorectal polyps.
Methodology
The researchers explored two primary transfer learning strategies to adapt SAM for polyp segmentation:
- Finetuning only the Mask Decoder: The heavy-duty image and prompt encoders remain frozen, while only the final output stage is trained.
- Full Stack Finetuning: The image encoder, prompt encoder, and mask decoder are trained simultaneously to optimize the entire pipeline for medical imagery.
The model utilizes bounding boxes as prompts, extracted from ground-truth data during training to guide the segmentation. Two backbone versions were evaluated: ViT-B (Base) and ViT-L (Large), optimized using Dice Loss and the AdamW optimizer.
Datasets and Experimental Setup
To ensure clinical generalizability, the study utilized five major public benchmark datasets representing diverse clinical environments:
- Kvasir-SEG (Norway)
- CVC-ClinicDB (Spain)
- CVC-ColonDB
- ETIS-Larib
- CVC-300
A multi-center approach was adopted, training on a combination of Kvasir and ClinicDB while testing on the remaining unseen datasets to evaluate the model's robustness to different camera styles and patient populations.
Results and Discussion
Polyp-SAM demonstrated exceptional performance, setting new state-of-the-art (SOTA) records on several benchmarks. Notably, it achieved a Dice Similarity Coefficient (DSC) of 89.4% on CVC-ColonDB, 92.4% on CVC-300, and 90.3% on ETIS. Across all five datasets, the DSC remained consistently above 88%.
Key Insights
- Foundation Advantage: SAM’s pre-trained encoders capture essential visual features that transfer remarkably well to medical tissues, even without full retraining.
- Efficiency vs. Scale: Interestingly, the smaller ViT-B model often outperformed the larger ViT-L, suggesting that more compact models may be less prone to overfitting during medical transfer learning.
- Generalizability: In cross-dataset evaluations, Polyp-SAM-B achieved a 90.6% Dice score on the held-out ColonDB, significantly outperforming traditional models like U-Net (50.4%) and specialized models like Polyp-PVT (80.8%).
Limitations and Future Work
While Polyp-SAM represents a significant leap forward, several challenges remain for clinical deployment. The model currently struggles with images containing multiple, small, or scattered polyps. Furthermore, its reliance on bounding box prompts necessitates a human-in-the-loop or a secondary AI for prompt generation. Future research will focus on developing fully autonomous, prompt-free versions and incorporating temporal data to handle live video feeds from colonoscopies.
Summary updated