mlsanityData to 7 Oct 2026

Domain Prompt Learning for Efficiently Adapting CLIP to Unseen Domains

arXiv 2111.12853 ↗First posted 25 Nov 2021cs.CVcited by 39

Not on the map. Why?

Abstract (arXiv)

Domain generalization (DG) is a difficult transfer learning problem aiming to learn a generalizable model for unseen domains. Recent foundation models (FMs) are robust to many distribution shifts and, therefore, should substantially improve the performance of DG. In this work, we study generic ways to adopt CLIP, a Visual-Language Foundation Model, for DG problems in image classification. While ERM greatly improves the accuracy with bigger backbones and training datasets using standard DG benchmarks, fine-tuning FMs is not practical in many real-world situations. We propose Domain Prompt Learning (DPL) as a novel approach for domain inference in the form of conditional prompt generation. DPL achieved a significant accuracy improvement with only training a lightweight prompt generator (a three-layer MLP), whose parameter is of equivalent scale to the classification projector in the previous DG literature. Combining dplshort~with CLIP provides surprising performance, raising the accuracy of zero-shot CLIP from 73.7% to 79.3% on several standard datasets, namely PACS, VLCS, OfficeHome, and TerraIncognita. We hope the simplicity and success of our approach lead to broader adoption and analysis of foundation models in the domain generalization field. Our code is available at https://github.com/shogi880/DPLCLIP.

Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). Builds on 34 of its 61 references that are in the map. First posted on arXiv 25 Nov 2021.

Builds on

34 of 61 references.

References · 34

  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. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  5. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  8. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  9. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  10. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
  11. 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,906
  12. 2019Invariant Risk Minimizationcited by 1,832
22 more
  1. 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
  2. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  3. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  4. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
  5. 2020In Search of Lost Domain Generalizationcited by 1,042
  6. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,021
  7. 2017Deeper, Broader and Artier Domain Generalizationcited by 983
  8. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 844
  9. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  10. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
  11. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
  12. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  13. 2018Recognition in Terra Incognitacited by 655
  14. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
  15. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 431
  16. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
  17. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  18. 2018Generalizing Across Domains via Cross-Gradient Trainingcited by 268
  19. 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
  20. 2019Regularized Learning for Domain Adaptation under Label Shiftscited by 118
  21. 2020Feature Alignment and Restoration for Domain Generalization and Adaptationcited by 30
  22. 2021Rethinking Domain Generalization Baselinescited by 26

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 10; 2024: 13; 2025: 10; 2026: 4.

39 papers.

Sort:

By area:

  1. 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
  2. 2024Improved Zero-Shot Classification by Adapting VLMs with Text Descriptionscited by 52
  3. 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidancecited by 40
  4. 2024Domain-Agnostic Mutual Prompting for Unsupervised Domain Adaptationcited by 32
  5. 2023Enhancing CLIP with CLIP: Exploring Pseudolabeling for Limited-Label Prompt Tuningcited by 30
  6. 2022Context-Aware Robust Fine-Tuningcited by 27
  7. 2024Any-Shift Prompting for Generalization over Distributionscited by 24
  8. 2024Soft Prompt Generation for Domain Generalizationcited by 24
  9. 2024Adapting to Distribution Shift by Visual Domain Prompt Generationcited by 23
  10. 2025Advances in Multimodal Adaptation and Generalization: From Traditional Approaches to Foundation Modelscited by 23
  11. 2025CLIP-Powered Domain Generalization and Domain Adaptation: A Comprehensive Surveycited by 15
  12. 2025Learning to Adapt Frozen CLIP for Few-Shot Test-Time Domain Adaptationcited by 14
27 more
  1. 2024LanDA: Language-Guided Multi-Source Domain Adaptationcited by 13
  2. 2022Video Unsupervised Domain Adaptation with Deep Learning: A Comprehensive Surveycited by 12
  3. 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
  4. 2023Exploring the Transfer Learning Capabilities of CLIP in Domain Generalization for Diabetic Retinopathycited by 9
  5. 2025Prompt Disentanglement via Language Guidance and Representation Alignment for Domain Generalizationcited by 8
  6. 2023Enhanced Meta Label Correction for Coping with Label Corruptioncited by 6
  7. 2023BDC-Adapter: Brownian Distance Covariance for Better Vision-Language Reasoningcited by 6
  8. 2025Generalizing vision-language models to novel domains: A comprehensive surveycited by 6
  9. 2023Towards Unified and Effective Domain Generalizationcited by 5
  10. 2024Tell, Don't Show!: Language Guidance Eases Transfer Across Domains in Images and Videoscited by 4
  11. 2025Exploiting Domain Properties in Language-Driven Domain Generalization for Semantic Segmentationcited by 4
  12. 2023TDG: Text-guided Domain Generalizationcited by 3
  13. 2024Learning Invariant Causal Mechanism from Vision-Language Modelscited by 3
  14. 2024VLLaVO: Mitigating Visual Gap through LLMscited by 2
  15. 2024Transitive Vision-Language Prompt Learning for Domain Generalizationcited by 2
  16. 2025Generate, Transduct, Adapt: Iterative Transduction with VLMscited by 2
  17. 2025Federated Domain Generalization with Domain-specific Soft Prompts Generationcited by 2
  18. 2024Enhancing Vision-Language Models Generalization via Diversity-Driven Novel Feature Synthesiscited by 1
  19. 2024LARE: Latent Augmentation using Regional Embedding with Vision-Language Modelcited by 1
  20. 2024Attention Head Purification: A New Perspective to Harness CLIP for Domain Generalizationcited by 1
  21. 2023Choosing Wisely and Learning Deeply: Selective Cross-Modality Distillation via CLIP for Domain Generalizationcited by 0
  22. 2025TAIL: Text-Audio Incremental Learningcited by 0
  23. 2025Dual-Path Stable Soft Prompt Generation for Domain Generalizationcited by 0
  24. 2026SemAlign: Language Guided Semi-supervised Domain Generalizationcited by 0
  25. 2026Domain Generalization via Text-Anchored Information Bottleneckcited by 0
  26. 2026PatchGen: Learning Soft Intra-Image Predictive Subsets for Visual Generalizationcited by 0
  27. 2026Hierarchical Prompt Injector for Domain Generalization Segmentationcited by 0