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.
Methods
To overcome these limitations, the authors introduce VesSAM, which enhances SAM through three core components:
- 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.
- Multi-Prompt Encoder: Instead of generic boxes, VesSAM leverages anatomically grounded prompts automatically extracted from vessel masks:
- Sparse points (bifurcation points and segment midpoints) to resolve topological ambiguity.
- Dense maps (skeletons and masks) to preserve global continuity.
-
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.
-
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.
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.
Limitations and Future Work
Not discussed in the paper.
Summary updated