Any-Shift Prompting for Generalization over Distributions
Not on the map. Why?
Abstract (arXiv)
Image-language models with prompt learning have shown remarkable advances in numerous downstream vision tasks. Nevertheless, conventional prompt learning methods overfit their training distribution and lose the generalization ability on test distributions. To improve generalization across various distribution shifts, we propose any-shift prompting: a general probabilistic inference framework that considers the relationship between training and test distributions during prompt learning. We explicitly connect training and test distributions in the latent space by constructing training and test prompts in a hierarchical architecture. Within this framework, the test prompt exploits the distribution relationships to guide the generalization of the CLIP image-language model from training to any test distribution. To effectively encode the distribution information and their relationships, we further introduce a transformer inference network with a pseudo-shift training mechanism. The network generates the tailored test prompt with both training and test information in a feedforward pass, avoiding extra training costs at test time. Extensive experiments on twenty-three datasets demonstrate the effectiveness of any-shift prompting on the generalization over various distribution shifts.
Key facts. Cited by 24 papers in the map (data through 7 Oct 2026). Builds on 63 of its 89 references that are in the map. First posted on arXiv 15 Feb 2024.
Builds on
63 of 89 references.
References · 63
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2021Learning to Prompt for Vision-Language Modelscited by 2,269
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2013Describing Textures in the Wildcited by 2,110
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
- 2019Invariant Risk Minimizationcited by 1,832
38 more
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
- 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
- 2019Natural Adversarial Examplescited by 1,401
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,323
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2021Domain Generalization: A Surveycited by 760
- 2022MaPLe: Multi-modal Prompt Learningcited by 685
- 2018Deep Visual Domain Adaptation: A Surveycited by 634
- 2013Domain Generalization via Invariant Feature Representationcited by 622
- 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 536
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
- 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
- 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 379
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
- 2022Prompt-aligned Gradient for Prompt Tuningcited by 339
- 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
- 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 307
- 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
- 2020Domain Adaptation with Conditional Distribution Matching and Generalized Label Shiftcited by 124
- 2019Regularized Learning for Domain Adaptation under Label Shiftscited by 118
- 2021Open Domain Generalization with Domain-Augmented Meta-Learningcited by 115
- 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
- 2023Waffling around for Performance: Visual Classification with Random Words and Broad Conceptscited by 100
- 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalizationcited by 100
- 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
- 2022Deep Unsupervised Domain Adaptation: A Review of Recent Advances and Perspectivescited by 98
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2024: 5; 2025: 13; 2026: 6.
24 papers.
Sort:
By area:
- 2025Parameter-Efficient Fine-Tuning for Foundation Modelscited by 43
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
- 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
- 2024IPO: Interpretable Prompt Optimization for Vision-Language Modelscited by 13
- 2024Robust Fast Adaptation from Adversarially Explicit Task Distribution Generationcited by 12
- 2024Multi-Modal Adapter for Vision-Language Modelscited by 8
- 2025LoRA-TTT: Low-Rank Test-Time Training for Vision-Language Modelscited by 7
- 2025Confidence-calibrated covariate shift correction for few-shot classification in Vision-Language Modelscited by 6
- 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 6
- 2025Negation-Aware Test-Time Adaptation for Vision-Language Modelscited by 4
- 2025Generalizable Multispectral Land Cover Classification via Frequency-Aware Mixture of Low-Rank Token Expertscited by 3
- 2025VaMP: Variational Multi-Modal Prompt Learning for Vision-Language Modelscited by 3
12 more
- 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Modelscited by 2
- 2024Prompt Diffusion Robustifies Any-Modality Prompt Learningcited by 2
- 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuningcited by 2
- 2025Beyond Graph Model: Reliable VLM Fine-Tuning via Random Graph Adaptercited by 1
- 2025Beyond the Seen: Bounded Distribution Estimation for Open-Vocabulary Learningcited by 1
- 2025Delta Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalizationcited by 1
- 2026Semantic Robustness Certification for Vision-Language Modelscited by 1
- 2026Continual Test-Time Adaptation in Computer Vision: Methods, Benchmarks, and Future Directionscited by 1
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptationcited by 0
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imagingcited by 0
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Modelscited by 0
- 2026Instance-Adaptive Prompts as Context for Time-Series Foundation Modelscited by 0
- 2026Instance-Adaptive Prompts as Context for Time-Series Foundation Models28 Sep 2026
- 2026Continual Test-Time Adaptation in Computer Vision: Methods, Benchmarks, and Future Directions9 Jul 2026
- 2026Semantic Robustness Certification for Vision-Language Models17 Jun 2026
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Models28 May 2026
- 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuning14 Apr 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2025VaMP: Variational Multi-Modal Prompt Learning for Vision-Language Models27 Nov 2025
- 2025Delta Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization13 Oct 2025
- 2025Beyond the Seen: Bounded Distribution Estimation for Open-Vocabulary Learning6 Oct 2025
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation11 Aug 2025
- 2025Negation-Aware Test-Time Adaptation for Vision-Language Models25 Jul 2025
- 2025Beyond Graph Model: Reliable VLM Fine-Tuning via Random Graph Adapter14 Jul 2025
12 more
- 2025Generalizing vision-language models to novel domains: A comprehensive survey23 Jun 2025
- 2025Generalizable Multispectral Land Cover Classification via Frequency-Aware Mixture of Low-Rank Token Experts20 May 2025
- 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Survey19 Apr 2025
- 2025Confidence-calibrated covariate shift correction for few-shot classification in Vision-Language Models11 Feb 2025
- 2025LoRA-TTT: Low-Rank Test-Time Training for Vision-Language Models4 Feb 2025
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Models30 Jan 2025
- 2025Parameter-Efficient Fine-Tuning for Foundation Models23 Jan 2025
- 2024Prompt Diffusion Robustifies Any-Modality Prompt Learning26 Oct 2024
- 2024IPO: Interpretable Prompt Optimization for Vision-Language Models20 Oct 2024
- 2024Multi-Modal Adapter for Vision-Language Models3 Sep 2024
- 2024Robust Fast Adaptation from Adversarially Explicit Task Distribution Generation28 Jul 2024
- 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Models6 Jul 2024
- 2024IPO: Interpretable Prompt Optimization for Vision-Language Modelscited by 13
- 2024Multi-Modal Adapter for Vision-Language Modelscited by 8
- 2025LoRA-TTT: Low-Rank Test-Time Training for Vision-Language Modelscited by 7
- 2025Confidence-calibrated covariate shift correction for few-shot classification in Vision-Language Modelscited by 6
- 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 6
- 2025Negation-Aware Test-Time Adaptation for Vision-Language Modelscited by 4
- 2025VaMP: Variational Multi-Modal Prompt Learning for Vision-Language Modelscited by 3
- 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Modelscited by 2
- 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuningcited by 2
- 2025Beyond Graph Model: Reliable VLM Fine-Tuning via Random Graph Adaptercited by 1
- 2025Delta Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalizationcited by 1
- 2026Semantic Robustness Certification for Vision-Language Modelscited by 1
- 2026Semantic Robustness Certification for Vision-Language Models17 Jun 2026
- 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuning14 Apr 2026
- 2025VaMP: Variational Multi-Modal Prompt Learning for Vision-Language Models27 Nov 2025
- 2025Delta Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalization13 Oct 2025
- 2025Negation-Aware Test-Time Adaptation for Vision-Language Models25 Jul 2025
- 2025Beyond Graph Model: Reliable VLM Fine-Tuning via Random Graph Adapter14 Jul 2025
- 2025Generalizing vision-language models to novel domains: A comprehensive survey23 Jun 2025
- 2025Confidence-calibrated covariate shift correction for few-shot classification in Vision-Language Models11 Feb 2025
- 2025LoRA-TTT: Low-Rank Test-Time Training for Vision-Language Models4 Feb 2025
- 2024IPO: Interpretable Prompt Optimization for Vision-Language Models20 Oct 2024
- 2024Multi-Modal Adapter for Vision-Language Models3 Sep 2024
- 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Models6 Jul 2024
- 2024Prompt Diffusion Robustifies Any-Modality Prompt Learning26 Oct 2024
- 2025Parameter-Efficient Fine-Tuning for Foundation Modelscited by 43
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
- 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
- 2024Robust Fast Adaptation from Adversarially Explicit Task Distribution Generationcited by 12
- 2025Beyond the Seen: Bounded Distribution Estimation for Open-Vocabulary Learningcited by 1
- 2026Continual Test-Time Adaptation in Computer Vision: Methods, Benchmarks, and Future Directionscited by 1
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptationcited by 0
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imagingcited by 0
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Modelscited by 0
- 2026Instance-Adaptive Prompts as Context for Time-Series Foundation Modelscited by 0
- 2026Instance-Adaptive Prompts as Context for Time-Series Foundation Models28 Sep 2026
- 2026Continual Test-Time Adaptation in Computer Vision: Methods, Benchmarks, and Future Directions9 Jul 2026
- 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Models28 May 2026
- 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imaging24 Feb 2026
- 2025Beyond the Seen: Bounded Distribution Estimation for Open-Vocabulary Learning6 Oct 2025
- 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptation11 Aug 2025
- 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Survey19 Apr 2025
- 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Models30 Jan 2025
- 2025Parameter-Efficient Fine-Tuning for Foundation Models23 Jan 2025
- 2024Robust Fast Adaptation from Adversarially Explicit Task Distribution Generation28 Jul 2024