Intervene or Trust CLIP? Competence-Gated Adaptation for Source-Free Cross-Domain Few-Shot Learning
Haoyue Liu, Chenhao Zhu, Yu Huo, Haoran Shou, Shuguang Cui, Xiaoying Tang
Abstract
Source-free cross-domain few-shot learning (SF-CDFSL) adapts a pre-trained vision-language model such as CLIP to a distant target domain from a handful of labeled images, without access to source data. Recent methods improve the fine-tuning of CLIP with token-level interventions and apply them in the same way to every target domain. In this paper, we find that whether an intervention helps depends on how well frozen CLIP already recognizes the target domain: in 5-way 1-shot tasks, intervening improves accuracy by 0.72 points where frozen CLIP misclassifies most support images, but lowers it by 1.31 points where frozen CLIP already classifies them well, and the support set of a single episode suffices to tell the two cases apart; a bias-variance analysis explains both. Based on this finding, we propose Competence-Gated Adaptation (CoGA), which measures frozen CLIP's accuracy and margin on the labeled support set and decides, before training, whether to intervene on the visual tokens or to trust CLIP by fusing the adapted prediction with the frozen one. CoGA adds no trainable parameters and uses no query labels. On the four BSCD-FSL target domains, CoGA achieves the best average accuracy, 59.56% (1-shot) and 68.96% (5-shot), outperforms ATHA and TIR by at least 2.82 and 1.39 points on the same episodes, and consistently improves three further backbones, three parameter-efficient fine-tuning frameworks and five further target domains.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
Related papers
CROMPT: Adapting CLIP via Cross-Modal Prompting for Robust Zero-Shot Generalization under Adverse Weather
Shared title terminologycs.CVAniruddh Sikdar, Arya Kishor, Snehashis Dhibar et al.
Gradient-Free Few-Shot Adaptation of Vision Models via Agentic Coding
Shared title terminologycs.CVKhayrul Islam
SCRA-CLIP: Spherical-Contextual Representation Adaptation for Zero-Shot Anomaly Detection
Shared title terminologycs.CVPeng Chen, Chao Huang, Wenqiang Wang et al.
Inherited Adapter Experts for Replay-Free Domain-Incremental Learning
Shared title terminologycs.CVGyutae Oh, Hyunmin Kong, Jitae Shin
STAGE: Structured Test-Time Adaptation with Global Entropic Soft-coupling for Cross-Subject Brain-to-Image Retrieval
Shared title terminologycs.CVYihang Zou, Ruixi Liang, Chunmei Qing et al.
CFANet: Learning Conflict-Free Weather Adapters for All-Weather Image Restoration
Shared title terminologycs.CVMinglong Xue, Wenchao Yan, Guoan Guan et al.