SynPo: Boosting Training-Free Few-Shot Medical Segmentation via High-Quality Negative Prompts

Yufei Liu, Haoke Xiao, Jiaxing Chai, Yongcun Zhang, Rong Wang, Zijie Meng, Zhiming Luo

Abstract

The advent of Large Vision Models (LVMs) offers new opportunities for few-shot medical image segmentation. However, existing training-free methods based on LVMs fail to effectively utilize negative prompts, leading to poor performance on low-contrast medical images. To address this issue, we propose SynPo, a training-free few-shot method based on LVMs (e.g., SAM), with the core insight: improving the quality of negative prompts. To select point prompts in a more reliable confidence map, we design a novel Confidence Map Synergy Module by combining the strengths of DINOv2 and SAM. Based on the confidence map, we select the top-k pixels as the positive points set and choose the negative points set using a Gaussian distribution, followed by independent K-means clustering for both sets. Then, these selected points are leveraged as high-quality prompts for SAM to get the segmentation results. Extensive experiments demonstrate that SynPo achieves performance comparable to state-of-the-art training-based few-shot methods.

Introduction

Few-shot medical image segmentation is a critical challenge in clinical AI due to the high cost and scarcity of expert-annotated data. While Large Vision Models (LVMs) like the Segment Anything Model (SAM) have shown remarkable zero-shot capabilities in general domains, they often struggle with medical images characterized by low contrast and complex anatomical structures.

Existing training-free approaches typically employ a "support" image (an annotated example) to identify similar pixels in a "query" image. However, these methods often fail to utilize negative prompts effectively. Most current strategies select negative points from the background—areas with the lowest similarity to the target. In medical scans, the background is often easily distinguishable, making such prompts redundant. This frequently results in "over-segmentation," where the model leaks into neighboring tissues that share visual similarities with the target organ.

Methodology

SynPo addresses these limitations through three primary components designed to optimize prompt quality without requiring additional training.

Confidence Map Synergy Module (CMSM)

Rather than relying on a single feature extractor, SynPo integrates the strengths of two distinct models. It utilizes DINOv2 for its rich high-level semantic features and SAM-ViT for its superior absolute spatial localization. By fusing these features via a Hadamard product and weighted sums, the system generates a significantly more reliable "confidence map" of the target organ's location.

Point Selection Module (PSM)

The core innovation of SynPo lies in its strategic point selection. Instead of picking negative points from the distant background, SynPo employs a Gaussian distribution to select negative points that are proximal to the target region but distinct from it. This provides SAM with high-quality "boundary" constraints. Independent K-means clustering is then applied to both positive and negative point sets to ensure they are well-distributed across the relevant regions.

The detailed architecture of SynPo's Confidence Map Synergy and Point Selection modules.

Noise-aware Refine Module (NRM)

To polish the initial segmentation, this module applies morphological operations (erosion and dilation) followed by a secondary pass through SAM. This process filters out small noise clusters and produces a fine-grained final mask.

Experimental Results

The researchers evaluated SynPo on two widely used abdominal imaging benchmarks: Synapse-CT (30 3D abdominal CT scans) and CHAOS-MRI (20 3D T2-SPIR MRI scans), focusing on the spleen, liver, left kidney, and right kidney.

Quantitative Performance

SynPo demonstrated a significant performance leap over existing training-free benchmarks:

  • Synapse-CT: Achieved a mean Dice score of 79.91, substantially outperforming ProtoSAM (73.45) and PerSAM (62.34).
  • CHAOS-MRI: Achieved a mean Dice score of 81.15, again significantly exceeding ProtoSAM (77.83).

Qualitative Analysis

Visual results confirm that SynPo is superior at respecting organ boundaries and preventing "leaking" into adjacent tissues, a common failure mode for other methods.

Qualitative comparison showing SynPo's superior boundary adherence compared to other training-free methods.

Discussion and Conclusion

SynPo demonstrates that negative prompts are most effective when placed within the anatomical region but outside the target organ. Placing them in the distant background provides negligible guidance. By synergizing DINOv2 and SAM-ViT features, SynPo mitigates hallucinations and misidentifications.

While SynPo achieves state-of-the-art results for training-free methods, it does introduce some computational overhead due to the use of two large encoders. Additionally, the heuristic point selection strategy relies on specific hyper-parameters that may require tuning for different imaging modalities. Future work could involve automating this selection process through a lightweight prompt-generator sub-network. Overall, SynPo proves that intelligent prompting of existing foundation models can match the performance of specialized, training-intensive models in the medical domain.

Summary updated

BibTeX
@inproceedings{liu2025synpo,
  author = {Yufei Liu and Haoke Xiao and Jiaxing Chai and Yongcun Zhang and Rong Wang and Zijie Meng and Zhiming Luo},
  title = {{SynPo: Boosting Training-Free Few-Shot Medical Segmentation via High-Quality Negative Prompts}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-04971-1\_56},
}
Figure