Gate to the Vessel: Residual Experts Restore What SAM Overlooks

Xiaomeng Li (The Hong Kong University of Science and Technology) · Xun Gong (Southwest Jiaotong university) · Weili Jiang (Southwest Jiaotong University) · Jinrong Lv (Southwest Jiaotong University) · Chubin Ou (Guangdong Provincial Key Laboratory of Artificial Intelligence in Medical Image Analysis and Application)
complex morphologyconfidence-driven soft routing modulefine-grained structuresfinesam++foundation segmentationindistinct boundarieslightweight residual expertmedical imagingmixture-of-experts strategiesrefinement over retrainingresidual structural errorssegment anythingsparse expert frameworkstructure-awaretopological consistency

Foundation segmentation models like Segment Anything (SAM) exhibit strong generalization on natural images but struggle with localized failures in medical imaging, especially on fine-grained structures such as vessels with complex morphology and indistinct boundaries. To address this, we propose FineSAM++, a structure-aware sparse expert framework designed to refine SAM outputs by introducing a confidence-driven soft Routing Module. This module dynamically identifies structurally uncertain regions and activates a lightweight Residual Expert to model and correct residual structural errors only within these areas, thereby achieving efficient "refinement over retraining." Extensive experiments on five public vascular segmentation datasets demonstrate that FineSAM++ consistently outperforms both SAM-adapted baselines and task-specific models in terms of accuracy, topological consistency. Our results highlight the effectiveness of sparse, structure-driven Mixture-of-Experts (MoE) strategies for enhancing the reliability of foundation vision models in clinical image understanding tasks.