[Paper Review] Input Augmentation with SAM: Boosting Medical Image Segmentation with Segmentation Foundation Model
SAMAug augments medical image inputs with SAM-derived segmentation and boundary priors to improve downstream segmentation models, showing gains across polyp, cell, and gland segmentation tasks without retraining SAM.
The Segment Anything Model (SAM) is a recently developed large model for general-purpose segmentation for computer vision tasks. SAM was trained using 11 million images with over 1 billion masks and can produce segmentation results for a wide range of objects in natural scene images. SAM can be viewed as a general perception model for segmentation (partitioning images into semantically meaningful regions). Thus, how to utilize such a large foundation model for medical image segmentation is an emerging research target. This paper shows that although SAM does not immediately give high-quality segmentation for medical image data, its generated masks, features, and stability scores are useful for building and training better medical image segmentation models. In particular, we demonstrate how to use SAM to augment image input for commonly-used medical image segmentation models (e.g., U-Net). Experiments on three segmentation tasks show the effectiveness of our proposed SAMAug method. The code is available at \url{https://github.com/yizhezhang2000/SAMAug}.
Motivation & Objective
- Motivate how SAM, as a segmentation foundation model, can provide useful priors for medical image segmentation tasks.
- Propose SAMAug, a simple input augmentation method that fuses SAM outputs with raw medical images.
- Demonstrate effectiveness of SAMAug with CNN and Transformer segmentation models across three medical imaging tasks.
- Provide deployment considerations and potential extensions for SAMAug in clinical settings.
Proposed method
- Compute segmentation prior and boundary prior maps from SAM using grid prompts.
- Create SAMAug by adding prior maps as additional channels to the input image.
- Train standard medical segmentation models on the augmented dataset using a simple loss; optionally combine losses from raw and augmented inputs.
- During inference, optionally ensemble outputs from raw and SAM-augmented inputs or select the more certain prediction via entropy-based criterion.

Experimental results
Research questions
- RQ1Can SAM-derived prior and boundary maps improve downstream medical segmentation models when used as input augmentation?
- RQ2Do SAMAug improvements generalize across polyp, cell, and gland segmentation benchmarks?
- RQ3What deployment strategies (ensembling vs. selection by certainty) best leverage SAMAug during inference?
Key findings
- SAMAug improves segmentation performance for multiple architectures on polyp datasets, notably on CVC-ClinicDB and CVC-ColonDB.
- On MoNuSeg, SAMAug boosts AJI and F-score for Swin-UNet, U-Net, P-Net, and Attention U-Net with quantified gains.
- On GlaS gland segmentation, U-Net with SAMAug shows higher F-score and Object Dice than without SAMAug.
- Across datasets, SAMAug provides semantically meaningful priors that help downstream models surpass baseline CNN/Transformer segmentation performance.
- Inference-time strategies (ensemble or entropy-based selection) can leverage both raw and augmented inputs for better robustness.
![Figure 2: Visual examples of a raw input image, its segmentation prior map by SAM, boundary prior map by SAM, and SAM-augmented image input (illustrated in Fig. 1 ). The image sample is from the MonuSeg dataset [ 12 ] .](https://ar5iv.labs.arxiv.org/html/2304.11332/assets/samaug_vis_samples.png)
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.