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

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wu, Ke, Chen, Shiqi, Zhong, Yiheng, Liu, Hengxian, Su, Yingxue, Wang, Yifang, Jin, Junhao, Ren, Guangyu
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918387807944704
author Wu, Ke
Chen, Shiqi
Zhong, Yiheng
Liu, Hengxian
Su, Yingxue
Wang, Yifang
Jin, Junhao
Ren, Guangyu
author_facet Wu, Ke
Chen, Shiqi
Zhong, Yiheng
Liu, Hengxian
Su, Yingxue
Wang, Yifang
Jin, Junhao
Ren, Guangyu
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2603_13533
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SAIF: A Stability-Aware Inference Framework for Medical Image Segmentation with Segment Anything Model
Wu, Ke
Chen, Shiqi
Zhong, Yiheng
Liu, Hengxian
Su, Yingxue
Wang, Yifang
Jin, Junhao
Ren, Guangyu
Computer Vision and Pattern Recognition
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.
title SAIF: A Stability-Aware Inference Framework for Medical Image Segmentation with Segment Anything Model
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2603.13533