Abstract
Segment anything model (SAM) has emerged as the leading approach for zero-shot learning in segmentation tasks, offering the advantage of avoiding pixel-wise annotations. It is particularly appealing in medical image segmentation, where the annotation process is laborious and expertise-demanding. However, the direct application of SAM often yields inferior results compared to conventional fully supervised segmentation networks. An alternative approach is to use SAM as the initial stage to generate pseudo labels for further network training. However, the performance is limited by the quality of pseudo labels. In this paper, we propose a novel label correction framework to push the boundary of SAM-based segmentation. Our model utilizes a label quality evaluation module to distinguish between noisy labels and clean labels. This enables the correction of the noisy labels using an uncertainty-based self-correction module, thereby enriching the clean training set. Finally, we retrain the segmentation network with updated labels to optimize its weights for future predictions. One key advantage of our model is its ability to train deep networks using SAM-generated pseudo labels without relying on a set of expert-level annotations while attaining good segmentation performance. We demonstrate the effectiveness of our proposed model on three public datasets, indicating its ability to improve segmentation accuracy and outperform baseline methods in label correction.
Introduction
The Segment Anything Model (SAM) has revolutionized computer vision with its zero-shot segmentation capabilities. However, in the medical domain, SAM often falls short. Medical images frequently suffer from low signal-to-noise ratios, blurry boundaries, and require specialized expertise to interpret—nuances that a general-purpose model like SAM can miss.
Researchers often try to bridge this gap by using SAM to generate "pseudo-labels" (initial guesses) to train specialized medical networks. The bottleneck here is the "garbage in, garbage out" principle: if SAM’s initial labels are noisy or incorrect, the resulting trained model will be limited by those errors. Traditionally, fixing this required a subset of expensive, expert-annotated "clean" labels. This paper tackles the challenge of pushing SAM's boundaries without needing any human-made labels for supervision.
Methodology
The authors propose a three-stage pipeline, termed SAM-MLC (Multi-level Label Correction), designed to filter, fix, and finalize segmentation labels without expert intervention.
1. Label Quality Evaluation & Reweighting
The system first identifies which SAM-generated labels are likely "noisy" versus "clean." It uses a multi-level strategy:
- Image-level: It discards entire images that have excessively high loss, assuming SAM failed completely on those frames.
- Pixel-level: Within an image, it assigns lower weights to pixels with high Cross-Entropy loss, preventing the network from over-learning from likely errors.
2. Uncertainty-based Self-Correction
Using Monte Carlo (MC) Dropout, the model performs multiple forward passes to generate a confidence map. If the model is highly confident in its own prediction but that prediction disagrees with the original SAM pseudo-label, the framework "corrects" the label. This ensures updates only occur when the model is "sure" it knows better than the initial SAM prompt.
3. Retraining
Finally, the segmentation network is retrained from scratch using this enriched, high-quality dataset of corrected labels to optimize its weights for final deployment.
Datasets
The framework was evaluated on three distinct public datasets: JSRT (chest X-rays for lung segmentation), Lung CT (3D volumes from the OSIC pulmonary fibrosis dataset), and BUSI (Breast Ultrasound Images), which are notoriously difficult due to low signal-to-noise ratios.
Results and Discussion
The SAM-MLC framework consistently outperformed direct SAM applications and other state-of-the-art label correction baselines. On the JSRT dataset, the framework increased the True Positive (TP) rate of labels by 3.79%. On Lung CT data, the model achieved a Dice score of 94.67%, remarkably close to the 95.93% "upper limit" achieved by training on expert-annotated labels.
Key Insights
- Image-level Reweighting: Unlike standard methods focusing only on pixel-level noise, this paper argues that medical SAM failures often occur on a per-image basis. Addressing this prevents model divergence.
- Zero-Shot to Supervised Performance: A model trained on corrected pseudo-labels can approach the performance of a model trained on expert labels, effectively removing the human-annotation bottleneck.
Limitations
Performance on ultrasound (BUSI) was lower than on CT or X-ray due to low signal-to-noise ratios and blurry boundaries. Additionally, the use of MC Dropout and multi-stage retraining adds computational overhead compared to single training runs. Future work will explore more intricate anatomical structures, such as branching airway trees.
Summary updated