Skip to main content
QUICK REVIEW

[Paper Review] False Negative/Positive Control for SAM on Noisy Medical Images

Xing Yao, Han Liu|arXiv (Cornell University)|Aug 20, 2023
Medical Image Segmentation TechniquesComputer Science5 citations
TL;DR

This paper proposes a test-phase prompt augmentation method that combines Monte Carlo bounding box sampling with aleatoric uncertainty-based false-negative/positive correction (FNPC) to enhance Segment Anything Model (SAM) performance on noisy, low-contrast ultrasound images without fine-tuning. The method improves zero-shot segmentation robustness and generalization across varying prompt quality, achieving state-of-the-art results on kidney and placenta ultrasound datasets, and enables 3D segmentation from a single 2D bounding box via the SS2V framework.

ABSTRACT

The Segment Anything Model (SAM) is a recently developed all-range foundation model for image segmentation. It can use sparse manual prompts such as bounding boxes to generate pixel-level segmentation in natural images but struggles in medical images such as low-contrast, noisy ultrasound images. We propose a refined test-phase prompt augmentation technique designed to improve SAM's performance in medical image segmentation. The method couples multi-box prompt augmentation and an aleatoric uncertainty-based false-negative (FN) and false-positive (FP) correction (FNPC) strategy. We evaluate the method on two ultrasound datasets and show improvement in SAM's performance and robustness to inaccurate prompts, without the necessity for further training or tuning. Moreover, we present the Single-Slice-to-Volume (SS2V) method, enabling 3D pixel-level segmentation using only the bounding box annotation from a single 2D slice. Our results allow efficient use of SAM in even noisy, low-contrast medical images. The source code will be released soon.

Motivation & Objective

  • Address SAM's poor performance on noisy, low-contrast medical ultrasound images where standard prompts lead to false negatives and false positives.
  • Improve zero-shot segmentation robustness to prompt coarseness (e.g., imprecise bounding boxes) without requiring additional training or pixel-level annotations.
  • Develop a method that leverages uncertainty estimation to correct segmentation errors in SAM’s predictions during inference.
  • Extend 2D segmentation to 3D using only a single 2D bounding box annotation via the Single-Slice-to-Volume (SS2V) method.
  • Demonstrate the method’s effectiveness on real-world medical imaging tasks—kidney and placenta ultrasound segmentation—across multiple prompt quality levels.

Proposed method

  • Apply Monte Carlo sampling to generate N+1 bounding boxes around the initial prompt, constrained within a radius R = (1/M) × min(BB edges), to simulate human annotation variability.
  • Use the predictions from multiple sampled bounding boxes to compute an averaged segmentation mask, with uncertainty estimated via aleatoric uncertainty maps from the ensemble predictions.
  • Implement a two-stage thresholding strategy: first, apply a global uncertainty threshold (T_UC) to identify low-confidence regions; then, use separate high/low thresholds (T_FNh, T_FPl, T_FPh, T_FPl) to correct false negatives and false positives in the averaged mask.
  • Integrate the FNPC strategy into the inference pipeline to refine SAM outputs post-prediction, without retraining or fine-tuning.
  • Develop the Single-Slice-to-Volume (SS2V) method: generate synthetic 2D bounding boxes across 3D volumes based on the predicted mask from a single reference slice, enabling full 3D segmentation from one manual annotation.
  • Use the FNPC-corrected mask from the reference slice to guide synthetic BB generation in adjacent slices, maintaining consistency and reducing error propagation.

Experimental results

Research questions

  • RQ1Can multi-box prompt augmentation combined with uncertainty-based correction significantly reduce false negative and false positive regions in SAM’s segmentation of noisy ultrasound images?
  • RQ2How robust is the proposed FNPC method to variations in prompt quality (fine, medium, coarse bounding boxes) compared to standard SAM and simple averaging?
  • RQ3To what extent can a single 2D bounding box annotation enable accurate 3D pixel-level segmentation in volumetric ultrasound data using the SS2V method?
  • RQ4Does the integration of aleatoric uncertainty estimation in the inference phase improve segmentation reliability and performance without additional model training?
  • RQ5Can the proposed method generalize across different medical imaging tasks (e.g., kidney and placenta) and maintain high performance under low-contrast, noisy conditions?

Key findings

  • On kidney ultrasound segmentation, FNPC achieved a Dice score of 0.88 ± 0.04 across all prompt levels (fine, medium, coarse), outperforming SAM (0.87–0.77) and average (0.87–0.70), with minimal performance drop from fine to coarse prompts.
  • For placenta segmentation, FNPC achieved a Dice score of 0.78 ± 0.08, significantly outperforming SAM (0.71 ± 0.24) and average (0.70 ± 0.17), with a 52% reduction in HD (3.49 vs. 3.87) and 54% reduction in ASSD (0.55 vs. 1.21).
  • The SS2V method achieved a Dice score of 0.72 ± 0.17 on placenta 3D segmentation using only one 2D bounding box, closely matching FNPC’s performance (0.78 ± 0.08), demonstrating strong generalization to 3D volumes.
  • The FNPC method showed exceptional robustness: Dice scores remained stable (0.88) across fine, medium, and coarse prompts, while SAM’s Dice dropped from 0.90 to 0.77, indicating high resilience to prompt imprecision.
  • The uncertainty-based correction strategy effectively reduced false positives and false negatives—visualized by green and orange arrows in Figure 3—confirming FNPC’s ability to refine ambiguous predictions.
  • Hyperparameter tuning on central slices yielded optimal thresholds: T_UC = 0.2, M = 4, N = 30, T_FNl = T_FPl = 70, T_FNh = T_FPh = 200 for placenta; T_FNh = T_FPh = 20 for kidney, indicating task-specific sensitivity in threshold selection.

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.