VesSAM: Efficient Multi-Prompting for Segmenting Complex Vessel

Suzhong Fu, Rui Sun, Xuan Ding, Jingqi Dong, Yiming Yang, Yao Zhu, Min Chang Jordan Ren, Delin Deng, Angelica Aviles-Rivero, Shuguang Cui, Zhen Li

TL;DR

VesSAM is a parameter-efficient fine-tuning (PEFT) framework that adapts the Segment Anything Model (SAM) for complex 2D vascular segmentation. By integrating a local texture-aware convolutional adapter with a multi-prompt encoder that captures anatomical topology, it significantly outperforms existing medical SAM variants and surpasses fully fine-tuned models.

What Problem Does This Paper Address?

Accurate segmentation of vascular structures is critical for clinical tasks like disease diagnosis and surgical planning. However, blood vessels pose unique challenges: they are thin, elongated, highly branched, and often exhibit low contrast against their background.

While foundation models like the Segment Anything Model (SAM) have revolutionized general image segmentation, they struggle with vessels. Standard prompting strategies—such as a single bounding box or random point sampling—fail to provide enough spatial constraint or introduce bias when dealing with irregular, non-convex vascular networks. Furthermore, SAM relies heavily on Vision Transformer (ViT) backbones. While ViTs excel at capturing long-range dependencies, their patch-based tokenization often discards the local texture continuity necessary to trace narrow, winding vessel paths.

Fig. 1: Motivating examples showing the limitations of con- ventional prompt strategies in vessel segmentation.

Methods

To overcome these limitations, the authors introduce VesSAM, which enhances SAM through three core components:

  1. Image Encoder with Convolutional Adapter: To inject local structural awareness into the ViT backbone, the authors add a lightweight adapter. It uses depth-wise separable convolutions for efficient channel attention and a downsampling-upsampling sequence for spatial attention, capturing fine vessel details without massive parameter overhead.
  2. Multi-Prompt Encoder: Instead of generic boxes, VesSAM leverages anatomically grounded prompts automatically extracted from vessel masks:
  3. Sparse points (bifurcation points and segment midpoints) to resolve topological ambiguity.
  4. Dense maps (skeletons and masks) to preserve global continuity.
  5. Topological graphs constructed from the sparse points and processed via graph convolutions to explicitly model vessel connectivity. These features are fused hierarchically using a two-stage cross-attention mechanism.

  6. Lightweight Mask Decoder: This module blends the global image tokens from the ViT encoder with the topology-enhanced prompt features using a transformer-based attention module to output clean, artifact-free segmentation masks.

The authors also developed an automated pipeline to generate these structured multi-prompt annotations from existing masks, making training scalable.

Fig. 2: Overview of the proposed VesSAM framework.

Datasets

The authors curated a comprehensive multi-modality vessel benchmark by aggregating eight datasets across five imaging modalities:

  • Aorta: Pelvic-iliac artery angiograms
  • XCAD: Coronary angiograms
  • Retinal Datasets: ARIA, DRIVE, HRF, and IOSTAR
  • PSVFM: Placental vessel images
  • LSCI: Laser speckle contrast imaging

Key Insights and Ideas

  • Bridging Global and Local Context: While solid organs benefit purely from global patch-wise attention, vascular networks span multiple disconnected or narrow regions. Combining ViTs with a convolutional adapter ensures the model tracks both global topology and local texture continuity.
  • Graph-Based Reasoning for Geometry: Treating vessel bifurcations and midpoints as nodes in a graph allows the model to reason about the relational structure of the network, preventing the disconnected "jagged" artifacts common in other SAM-based approaches.
  • Anatomy-Driven Prompting: Moving away from loose bounding boxes toward structural templates (like skeletons) provides the strict geometric guidance that foundation models need for complex medical segmentation.

Key Results

VesSAM was evaluated under both In-Distribution (ID) and Out-of-Distribution (OoD) settings against state-of-the-art PEFT methods (SAM-Med2D, SAMed, MedSAM) and fully fine-tuned models (nnUNet, TransUNet).

  • In-Distribution Performance: VesSAM achieved an average Dice score of 88.41% and an IoU of 79.89%. It outperformed the leading PEFT baseline (SAMed) by over 10% in Dice and 13% in IoU, and even surpassed the fully fine-tuned nnUNet by 3% in Dice score.
  • Out-of-Distribution Generalization: In leave-one-modality-out cross-domain testing, VesSAM achieved an average OoD Dice score of 61.40% and an IoU of 48.11%, outperforming all baselines (beating SAMed by 9.56% Dice and 9.78% IoU), demonstrating strong resilience to domain shifts.
Visualization of segmentation results from different methods.

Limitations and Future Work

Not discussed in the paper.

Summary updated

Abstract

Accurate vessel segmentation is critical for clinical applications such as disease diagnosis and surgical planning, yet remains challenging due to thin, branching structures and low texture contrast. While foundation models like the Segment Anything Model (SAM) have shown promise in generic segmentation, they perform sub-optimally on vascular structures. In this work, we present VesSAM, a powerful and efficient framework tailored for 2D vessel segmentation. VesSAM integrates (1) a convolutional adapter to enhance local texture features, (2) a multi-prompt encoder that fuses anatomical prompts, including skeletons, bifurcation points, and segment midpoints, via hierarchical cross-attention, and (3) a lightweight mask decoder to reduce jagged artifacts. We also introduce an automated pipeline to generate structured multi-prompt annotations, and curate a diverse benchmark dataset spanning 8 datasets across 5 imaging modalities. Experimental results demonstrate that VesSAM consistently outperforms state-of-the-art PEFT-based SAM variants by over 10% Dice and 13% IoU, and achieves competitive performance compared to fully fine-tuned methods, with significantly fewer parameters. VesSAM also generalizes well to out-of-distribution (OoD) settings, outperforming all baselines in average OoD Dice and IoU.
BibTeX
@misc{fu2025vessam,
  author = {Suzhong Fu and Rui Sun and Xuan Ding and Jingqi Dong and Yiming Yang and Yao Zhu and Min Chang Jordan Ren and Delin Deng and Angelica Aviles-Rivero and Shuguang Cui and Zhen Li},
  title = {{VesSAM: Efficient Multi-Prompting for Segmenting Complex Vessel}},
  year = {2025},
  eprint = {2511.00981},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.00981},
}
Figure