SAM-Aware Graph Prompt Reasoning Network for Cross-Domain Few-Shot Segmentation
Shi-Feng Peng, Guolei Sun, Yong Li, Hongsong Wang, Guo-Sen Xie
Abstract
The primary challenge of cross-domain few-shot segmentation (CD-FSS) is the domain disparity between the training and inference phases, which can exist in either the input data or the target classes. Previous models struggle to learn feature representations that generalize to various unknown domains from limited training domain samples. In contrast, the large-scale visual model SAM, pre-trained on tens of millions of images from various domains and classes, possesses excellent generalizability. In this work, we propose a SAM-aware graph prompt reasoning network (GPRN) that fully leverages SAM to guide CD-FSS feature representation learning and improve prediction accuracy. Specifically, we propose a SAM-aware prompt initialization module (SPI) to transform the masks generated by SAM into visual prompts enriched with high-level semantic information. Since SAM tends to divide an object into many sub-regions, this may lead to visual prompts representing the same semantic object having inconsistent or fragmented features. We further propose a graph prompt reasoning (GPR) module that constructs a graph among visual prompts to reason about their interrelationships and enable each visual prompt to aggregate information from similar prompts, thus achieving global semantic consistency. Subsequently, each visual prompt embeds its semantic information into the corresponding mask region to assist in feature representation learning. To refine the segmentation mask during testing, we also design a nonparameter adaptive point selection module (APS) to select representative point prompts from query predictions and feed them back to SAM to refine inaccurate segmentation results. Experiments on four standard CD-FSS datasets demonstrate that our method establishes new state-of-the-art results. Code: https://github.com/CVL-hub/GPRN .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext d401d1e3-ee44-47cd-b5fe-269c4105e338Cited by top-tier papers4
- Textual and Visual Guided Task Adaptation for Source-Free Cross-Domain Few-Shot SegmentationJianming Liu, Wenlong Qiu, Haitao WeiACM MM 2025 · 2 citations
- Bridging Granularity Gaps: Hierarchical Semantic Learning for Cross-domain Few-shot SegmentationSujun Sun, Haowen Gu, Cheng Xie, Yanxu Ren et al.AAAI 2026
- Cross-Domain Few-Shot Segmentation via Multi-view Progressive AdaptationJiahao Nie, Guanqiao Fu, Wenbin An, Yap-Peng Tan et al.CVPR 2026
- Language Does Matter for Cross-Domain Few-Shot Visual Feature EnhancementFei Zhou, Xiwen Zhang, Qingqing Qiu, Lei Zhang et al.CVPR 2026
Builds on18
- PANet: Few-Shot Image Semantic Segmentation With Prototype AlignmentKaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou et al.ICCV 2019 · 1,404 citations
- Learning to Prompt for Open-Vocabulary Object Detection with Vision-Language ModelYu Du, Fangyun Wei, Zihe Zhang, Miaojing Shi et al.CVPR 2022 · 311 citations
- Zero-Shot Video Object Segmentation via Attentive Graph Neural NetworksWenguan Wang, Xiankai Lu, Jianbing Shen, David J. Crandall et al.ICCV 2019 · 294 citations
- AMP: Adaptive Masked Proxies for Few-Shot SegmentationMennatullah Siam, Boris N. Oreshkin, Martin JägersandICCV 2019 · 211 citations
- Matcher: Segment Anything with One Shot Using All-Purpose Feature MatchingYang Liu, Muzhi Zhu, Hengtao Li, Hao Chen et al.ICLR 2024 · 149 citations
Related papers
- APSeg: Auto-Prompt Network for Cross-Domain Few-Shot Semantic SegmentationWeizhao He, Yang Zhang, Wei Zhuo, Linlin Shen et al.CVPR 2024
- Bridge the Points: Graph-based Few-shot Segment Anything SemanticallyAnqi Zhang, Guangyu Gao, Jianbo Jiao, Chi Harold Liu et al.NeurIPS 2024 · 56 citations
- Adapter Naturally Serves as Decoupler for Cross-Domain Few-Shot Semantic SegmentationJintao Tong, Ran Ma, Yixiong Zou, Guangyao Chen et al.ICML 2025
- MM-Prompt: Multi-modality and Multi-granularity Prompts for Few-Shot SegmentationHang Xiong, Runmin Cong, Jinpeng Chen, Chen Zhang et al.ACM MM 2025
- Prompt-Driven Referring Image Segmentation with Instance ContrastingChao Shang, Zichen Song, Heqian Qiu, Lanxiao Wang et al.CVPR 2024 · 20 citations
