mlsanityData to 7 Oct 2026

Any-Shift Prompting for Generalization over Distributions

arXiv 2402.10099 ↗First posted 15 Feb 2024cs.CVcited by 24

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  4. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  5. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  6. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  7. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  8. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  9. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  10. 2013Describing Textures in the Wildcited by 2,110
  11. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  12. 2019Invariant Risk Minimizationcited by 1,832
38 more
  1. 2013Fine-Grained Visual Classification of Aircraftcited by 1,701
  2. 2017EuroSAT: A Novel Dataset and Deep Learning Benchmark for Land Use and Land Cover Classificationcited by 1,488
  3. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,427
  4. 2019Natural Adversarial Examplescited by 1,401
  5. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  6. 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,323
  7. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  8. 2020In Search of Lost Domain Generalizationcited by 1,042
  9. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
  10. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  11. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  12. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
  13. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  14. 2021Domain Generalization: A Surveycited by 760
  15. 2022MaPLe: Multi-modal Prompt Learningcited by 685
  16. 2018Deep Visual Domain Adaptation: A Surveycited by 634
  17. 2013Domain Generalization via Invariant Feature Representationcited by 622
  18. 2017Zero-Shot Learning -- A Comprehensive Evaluation of the Good, the Bad and the Uglycited by 536
  19. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
  20. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
  21. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  22. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
  23. 2022Test-Time Prompt Tuning for Zero-Shot Generalization in Vision-Language Modelscited by 379
  24. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
  25. 2022Prompt-aligned Gradient for Prompt Tuningcited by 339
  26. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  27. 2023Visual-Language Prompt Tuning with Knowledge-guided Context Optimizationcited by 307
  28. 2022Exploring Visual Prompts for Adapting Large-Scale Modelscited by 271
  29. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  30. 2020BREEDS: Benchmarks for Subpopulation Shiftcited by 155
  31. 2020Domain Adaptation with Conditional Distribution Matching and Generalized Label Shiftcited by 124
  32. 2019Regularized Learning for Domain Adaptation under Label Shiftscited by 118
  33. 2021Open Domain Generalization with Domain-Augmented Meta-Learningcited by 115
  34. 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
  35. 2023Waffling around for Performance: Visual Classification with Random Words and Broad Conceptscited by 100
  36. 2023Align Your Prompts: Test-Time Prompting with Distribution Alignment for Zero-Shot Generalizationcited by 100
  37. 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
  38. 2022Deep Unsupervised Domain Adaptation: A Review of Recent Advances and Perspectivescited by 98

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 13; 2026: 6.

24 papers.

Sort:

By area:

  1. 2025Parameter-Efficient Fine-Tuning for Foundation Modelscited by 43
  2. 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
  3. 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
  4. 2024IPO: Interpretable Prompt Optimization for Vision-Language Modelscited by 13
  5. 2024Robust Fast Adaptation from Adversarially Explicit Task Distribution Generationcited by 12
  6. 2024Multi-Modal Adapter for Vision-Language Modelscited by 8
  7. 2025LoRA-TTT: Low-Rank Test-Time Training for Vision-Language Modelscited by 7
  8. 2025Confidence-calibrated covariate shift correction for few-shot classification in Vision-Language Modelscited by 6
  9. 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 6
  10. 2025Negation-Aware Test-Time Adaptation for Vision-Language Modelscited by 4
  11. 2025Generalizable Multispectral Land Cover Classification via Frequency-Aware Mixture of Low-Rank Token Expertscited by 3
  12. 2025VaMP: Variational Multi-Modal Prompt Learning for Vision-Language Modelscited by 3
12 more
  1. 2024Test-time Contrastive Concepts for Open-world Semantic Segmentation with Vision-Language Modelscited by 2
  2. 2024Prompt Diffusion Robustifies Any-Modality Prompt Learningcited by 2
  3. 2026Dual-Modality Anchor-Guided Filtering for Test-time Prompt Tuningcited by 2
  4. 2025Beyond Graph Model: Reliable VLM Fine-Tuning via Random Graph Adaptercited by 1
  5. 2025Beyond the Seen: Bounded Distribution Estimation for Open-Vocabulary Learningcited by 1
  6. 2025Delta Energy: Optimizing Energy Change During Vision-Language Alignment Improves both OOD Detection and OOD Generalizationcited by 1
  7. 2026Semantic Robustness Certification for Vision-Language Modelscited by 1
  8. 2026Continual Test-Time Adaptation in Computer Vision: Methods, Benchmarks, and Future Directionscited by 1
  9. 2025Hierarchical Adaptive networks with Task vectors for Test-Time Adaptationcited by 0
  10. 2026The Mean is the Mirage: Entropy-Adaptive Model Merging under Heterogeneous Domain Shifts in Medical Imagingcited by 0
  11. 2026LLMSurgeon: Diagnosing Data Mixture of Large Language Modelscited by 0
  12. 2026Instance-Adaptive Prompts as Context for Time-Series Foundation Modelscited by 0