SAIF: A Stability-Aware Inference Framework for Medical Image Segmentation with Segment Anything Model

Ke Wu, Shiqi Chen, Yiheng Zhong, Hengxian Liu, Yingxue Su +3 more
3/13/2026
cs.CV

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Segment Anything Model (SAM) enable scalable medical image segmentation but suffer from inference-time instability when deployed as a frozen backbone. In practice, bounding-box prompts often contain localization errors, and fixed threshold binarization introduces additional decision uncertainty. These factors jointly cause high prediction variance, especially near object boundaries, degrading reliability. We propose the Stability-Aware Inference Framework (SAIF), a training-free and plug-and-play inference framework that improves robustness by explicitly modeling prompt and threshold uncertainty. SAIF constructs a joint uncertainty space via structured box perturbations and threshold variations, evaluates each hypothesis using decision stability and boundary consistency, and introduces a stability-consistency score to filter unstable candidates and perform stability-weighted fusion in probability space. Experiments on Synapse, CVC-ClinicDB, Kvasir-SEG, and CVC-300 demonstrate that SAIF consistently improves segmentation accuracy and robustness, achieving state-of-the-art performance without retraining or architectural modification. Our anonymous code is released at https://anonymous.4open.science/r/SAIF.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wu2026saif,
  title  = {SAIF: A Stability-Aware Inference Framework for Medical Image Segmentation with Segment Anything Model},
  author = {Ke Wu and Shiqi Chen and Yiheng Zhong and Hengxian Liu and Yingxue Su and Yifang Wang and Junhao Jin and Guangyu Ren},
  year   = {2026},
  eprint = {2603.13533},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.13533v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.13533.svg)](https://codeofpaper.com/paper/2603.13533)

Discussion