English

CMP: A Composable Meta Prompt for SAM-Based Cross-Domain Few-Shot Segmentation

Computer Vision and Pattern Recognition 2025-07-23 v1

Abstract

Cross-Domain Few-Shot Segmentation (CD-FSS) remains challenging due to limited data and domain shifts. Recent foundation models like the Segment Anything Model (SAM) have shown remarkable zero-shot generalization capability in general segmentation tasks, making it a promising solution for few-shot scenarios. However, adapting SAM to CD-FSS faces two critical challenges: reliance on manual prompt and limited cross-domain ability. Therefore, we propose the Composable Meta-Prompt (CMP) framework that introduces three key modules: (i) the Reference Complement and Transformation (RCT) module for semantic expansion, (ii) the Composable Meta-Prompt Generation (CMPG) module for automated meta-prompt synthesis, and (iii) the Frequency-Aware Interaction (FAI) module for domain discrepancy mitigation. Evaluations across four cross-domain datasets demonstrate CMP's state-of-the-art performance, achieving 71.8\% and 74.5\% mIoU in 1-shot and 5-shot scenarios respectively.

Keywords

Cite

@article{arxiv.2507.16753,
  title  = {CMP: A Composable Meta Prompt for SAM-Based Cross-Domain Few-Shot Segmentation},
  author = {Shuai Chen and Fanman Meng and Chunjin Yang and Haoran Wei and Chenhao Wu and Qingbo Wu and Hongliang Li},
  journal= {arXiv preprint arXiv:2507.16753},
  year   = {2025}
}

Comments

3 figures

R2 v1 2026-07-01T04:13:44.837Z