Adapting to Distribution Shift by Visual Domain Prompt Generation
Zhixiang Chi, Li Gu, Tao Zhong, Huan Liu, Yuanhao Yu, Konstantinos N. Plataniotis, Yang Wang
Abstract
In this paper, we aim to adapt a model at test-time using a few unlabeled data to address distribution shifts. To tackle the challenges of extracting domain knowledge from a limited amount of data, it is crucial to utilize correlated information from pre-trained backbones and source domains. Previous studies fail to utilize recent foundation models with strong out-of-distribution generalization. Additionally, domain-centric designs are not flavored in their works. Furthermore, they employ the process of modelling source domains and the process of learning to adapt independently into disjoint training stages. In this work, we propose an approach on top of the pre-computed features of the foundation model. Specifically, we build a knowledge bank to learn the transferable knowledge from source domains. Conditioned on few-shot target data, we introduce a domain prompt generator to condense the knowledge bank into a domain-specific prompt. The domain prompt then directs the visual features towards a particular domain via a guidance module. Moreover, we propose a domain-aware contrastive loss and employ meta-learning to facilitate domain knowledge extraction. Extensive experiments are conducted to validate the domain knowledge extraction. The proposed method outperforms previous work on 5 large-scale benchmarks including WILDS and DomainNet.
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 e9155b47-8d6b-4729-a7d9-afe83fd11cb2Cited by top-tier papers12
- Widget2Code: From Visual Widgets to UI Code via Multimodal LLMsHouston H. Zhang, Tao Zhang, Baoze Lin, Yuanqi Xue et al.CVPR 2026 · 9 citations
- ASMIL: Attention-Stabilized Multiple Instance Learning for Whole-Slide ImagingLinfeng Ye, Shayan Mohajer Hamidi, Zhixiang Chi, Guang Li et al.ICLR 2026 · 9 citations
- Grasp2Grasp: Vision-Based Dexterous Grasp Translation via Schrödinger BridgesTao Zhong, Jonah Buchanan, Christine Allen-BlanchetteNeurIPS 2025 · 4 citations
- TALON: Test-time Adaptive Learning for On-the-Fly Category DiscoveryYanan Wu, Yuhan Yan, Tailai Chen, Zhixiang Chi et al.CVPR 2026 · 3 citations
- Plug-in Feedback Self-Adaptive Attention in CLIP for Training-Free Open-Vocabulary SegmentationZhixiang Chi, Yanan Wu, Li Gu, Huan Liu et al.ICCV 2025 · 3 citations
Builds on41
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- High-Resolution Image Synthesis with Latent Diffusion ModelsRobin Rombach, Andreas Blattmann, Dominik Lorenz, Patrick Esser et al.CVPR 2022 · 13,123 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
- Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen et al.ICLR 2021 · 1,731 citations
Related papers
- Learning to Adapt Frozen CLIP for Few-Shot Test-Time Domain AdaptationZhixiang Chi, Li Gu, Huan Liu, Ziqiang Wang et al.ICLR 2025
- ConFeSS: A Framework for Single Source Cross-Domain Few-Shot LearningDebasmit Das, Sungrack Yun, Fatih PorikliICLR 2022 · 57 citations
- Task-Adaptive Prompted Transformer for Cross-Domain Few-Shot LearningJiamin Wu, Xin Liu, Xiaotian Yin, Tianzhu Zhang et al.AAAI 2024 · 14 citations
- Remember the Difference: Cross-Domain Few-Shot Semantic Segmentation via Meta-Memory TransferWenjian Wang, Lijuan Duan, Yuxi Wang, Qing En et al.CVPR 2022 · 32 citations
- Data-Centric Meta-Learning for Robust Few-Shot GeneralizationJongmin Lim, Soobin CHA, Jaehun Park, Inho Oh et al.CVPR 2026
