Boosting SAM for Cross-Domain Few-Shot Segmentation via Conditional Point Sparsification

Jiahao Nie, Yun Xing, Wenbin An, Qingsong Zhao, Jiawei Shao +4 more
2/5/2026
cs.CV

No confident code implementation found for this paper.

Abstract

Motivated by the success of the Segment Anything Model (SAM) in promptable segmentation, recent studies leverage SAM to develop training-free solutions for few-shot segmentation, which aims to predict object masks in the target image based on a few reference exemplars. These SAM-based methods typically rely on point matching between reference and target images and use the matched dense points as prompts for mask prediction.

Show full abstract

However, we observe that dense points perform poorly in Cross-Domain Few-Shot Segmentation (CD-FSS), where target images are from medical or satellite domains. We attribute this issue to large domain shifts that disrupt the point-image interactions learned by SAM, and find that point density plays a crucial role under such conditions. To address this challenge, we propose Conditional Point Sparsification (CPS), a training-free approach that adaptively guides SAM interactions for cross-domain images based on reference exemplars. Leveraging ground-truth masks, the reference images provide reliable guidance for adaptively sparsifying dense matched points, enabling more accurate segmentation results. Extensive experiments demonstrate that CPS outperforms existing training-free SAM-based methods across diverse CD-FSS datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{nie2026boosting,
  title  = {Boosting SAM for Cross-Domain Few-Shot Segmentation via Conditional Point Sparsification},
  author = {Jiahao Nie and Yun Xing and Wenbin An and Qingsong Zhao and Jiawei Shao and Yap-Peng Tan and Alex C. Kot and Shijian Lu and Xuelong Li},
  year   = {2026},
  eprint = {2602.05218},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.05218v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.05218.svg)](https://codeofpaper.com/paper/2602.05218)

Discussion