Skip to main content
QUICK REVIEW

[Paper Review] MedSAM-U: Uncertainty-Guided Auto Multi-Prompt Adaptation for Reliable MedSAM

Nan Zhou, Ke Zou|arXiv (Cornell University)|Sep 2, 2024
Fault Detection and Control SystemsEngineering3 citations
TL;DR

This paper proposes MedSAM-U, a novel uncertainty-guided, auto-refining multi-prompt adaptation framework that enhances MedSAM’s reliability and accuracy in medical image segmentation. By integrating a Multi-Prompt Adapter and employing uncertainty estimation to dynamically refine box and point prompts during inference, MedSAM-U achieves average performance gains of 1.7% to 20.5% across five medical imaging modalities, significantly improving robustness under low-quality initial prompts.

ABSTRACT

The Medical Segment Anything Model (MedSAM) has shown remarkable performance in medical image segmentation, drawing significant attention in the field. However, its sensitivity to varying prompt types and locations poses challenges. This paper addresses these challenges by focusing on the development of reliable prompts that enhance MedSAM's accuracy. We introduce MedSAM-U, an uncertainty-guided framework designed to automatically refine multi-prompt inputs for more reliable and precise medical image segmentation. Specifically, we first train a Multi-Prompt Adapter integrated with MedSAM, creating MPA-MedSAM, to adapt to diverse multi-prompt inputs. We then employ uncertainty-guided multi-prompt to effectively estimate the uncertainties associated with the prompts and their initial segmentation results. In particular, a novel uncertainty-guided prompts adaptation technique is then applied automatically to derive reliable prompts and their corresponding segmentation outcomes. We validate MedSAM-U using datasets from multiple modalities to train a universal image segmentation model. Compared to MedSAM, experimental results on five distinct modal datasets demonstrate that the proposed MedSAM-U achieves an average performance improvement of 1.7\% to 20.5\% across uncertainty-guided prompts.

Motivation & Objective

  • To address MedSAM’s sensitivity to prompt type and location, which limits its reliability in clinical applications.
  • To develop an automated, inference-time method for refining multi-prompt inputs without retraining.
  • To leverage pixel-level uncertainty estimation to guide the selection and refinement of reliable prompts.
  • To create a universal, multi-modality segmentation model that maintains high performance across diverse medical imaging tasks.
  • To enable robust, accurate segmentation even when initial prompts are of low quality or imprecise.

Proposed method

  • A Multi-Prompt Adapter (MPA) is trained end-to-end with MedSAM to enable adaptation to diverse multi-prompt inputs, forming MPA-MedSAM.
  • Uncertainty-Guided Multi-Prompt (UGMP) estimates uncertainty in segmentation outputs without additional training parameters, using the model’s internal logits and confidence maps.
  • A novel Uncertainty-Guided Prompt Adaptation (UGPA) mechanism automatically refines initial prompts (box and point) based on uncertainty maps during inference.
  • The framework uses uncertainty scores to prioritize and adjust prompt locations and shapes, focusing on ambiguous or uncertain regions for refinement.
  • The method operates entirely at test time, avoiding retraining while improving segmentation accuracy through iterative prompt refinement.
  • The approach is validated across five medical imaging modalities: dermoscopy, colonoscopy, ultrasound, CT, and MRI, using unified training and testing protocols.
Figure 1: Comparison of Dice Results Under (a) Bboxes with different overlap ratio on SAM and MedSAM Models. (b) 1) Previous methods predict annotation mask in only single step; 2) MedSAM-U, our method, automatically refine prompts with uncertainty-guided multi-prompt adaptation for reliable MedSAM.
Figure 1: Comparison of Dice Results Under (a) Bboxes with different overlap ratio on SAM and MedSAM Models. (b) 1) Previous methods predict annotation mask in only single step; 2) MedSAM-U, our method, automatically refine prompts with uncertainty-guided multi-prompt adaptation for reliable MedSAM.

Experimental results

Research questions

  • RQ1Can uncertainty estimation be effectively used to guide automatic prompt refinement in medical image segmentation?
  • RQ2How does multi-prompt adaptation with uncertainty guidance improve MedSAM’s robustness under low-quality or variable initial prompts?
  • RQ3Does combining box and point prompts enhance segmentation performance when guided by uncertainty, or does it degrade results?
  • RQ4To what extent does the proposed method improve performance across diverse medical imaging modalities?
  • RQ5Can the framework achieve consistent performance gains without retraining, especially when initial prompts are suboptimal?

Key findings

  • MedSAM-U achieves average performance improvements of 1.7% to 20.5% across five medical imaging modalities compared to baseline MedSAM.
  • The highest gains—up to 20.5%—were observed under low-quality initial prompts (e.g., BBox overlap ratio of 0.5), demonstrating strong robustness.
  • Incorporating point prompts alone without refinement degraded performance, but UGPA restored and improved it, showing the necessity of uncertainty-guided adaptation.
  • Refining 3 box prompts with 10 point prompts (UGPA 4) yielded the best results, with a Dice score of 0.923 on the ultrasound modality, outperforming all baselines.
  • The method significantly improved segmentation accuracy on all five modalities, with consistent gains in both IoU and Dice metrics across all settings.
  • The ablation study confirmed that uncertainty-guided refinement outperformed both single-prompt and unguided multi-prompt baselines, especially in challenging cases.
Figure 2: The overall framework of MedSAM-U. The framework is presented through three key illustrations: (a) the training process of MPA-MedSAM, (b) a comprehensive work flow in the inference time, and (c) a simplified diagram that illustrates the user interaction process.
Figure 2: The overall framework of MedSAM-U. The framework is presented through three key illustrations: (a) the training process of MPA-MedSAM, (b) a comprehensive work flow in the inference time, and (c) a simplified diagram that illustrates the user interaction process.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.