Domain Generalization in-the-Wild: Disentangling Classification from Domain-Aware Representations
Not on the map. Why?
Abstract (arXiv)
Evaluating domain generalization (DG) for foundational models like CLIP is challenging, as web-scale pretraining data potentially covers many existing benchmarks. Consequently, current DG evaluation may neither be sufficiently challenging nor adequately test genuinely unseen data scenarios. To better assess the performance of CLIP on DG in-the-wild, a scenario where CLIP encounters challenging unseen data, we consider two approaches: (1) evaluating on 33 diverse datasets with quantified out-of-distribution (OOD) scores after fine-tuning CLIP on ImageNet, and (2) using unlearning to make CLIP `forget' some domains as an approximation. We observe that CLIP's performance deteriorates significantly on more OOD datasets. To address this, we present CLIP-DCA (Disentangling Classification from enhanced domain Aware representations). Our approach is motivated by the observation that while standard domain invariance losses aim to make representations domain-invariant, this can be harmful to foundation models by forcing the discarding of domain-aware representations beneficial for generalization. We instead hypothesize that enhancing domain awareness is a prerequisite for effective domain-invariant classification in foundation models. CLIP-DCA identifies and enhances domain awareness within CLIP's encoders using a separate domain head and synthetically generated diverse domain data. Simultaneously, it encourages domain-invariant classification through disentanglement from the domain features. CLIP-DCA shows significant improvements within this challenging evaluation compared to existing methods, particularly on datasets that are more OOD.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 47 of its 58 references that are in the map. First posted on arXiv 29 Aug 2025.
Builds on
47 of 58 references.
References · 47
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2023Visual Instruction Tuningcited by 7,869
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
- 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2021Learning to Prompt for Vision-Language Modelscited by 2,281
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
- 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2019Natural Adversarial Examplescited by 1,408
35 more
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
- 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,057
- 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
- 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
- 2017Deeper, Broader and Artier Domain Generalizationcited by 986
- 2021Robust fine-tuning of zero-shot modelscited by 797
- 2021Domain Generalization: A Surveycited by 764
- 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 735
- 2018Recognition in Terra Incognitacited by 658
- 2013Domain Generalization via Invariant Feature Representationcited by 623
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 362
- 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
- 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 267
- 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
- 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 150
- 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
- 2024Why are Visually-Grounded Language Models Bad at Image Classification?cited by 102
- 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
- 2023PromptStyler: Prompt-driven Style Generation for Source-free Domain Generalizationcited by 59
- 2023Enhancing CLIP with GPT-4: Harnessing Visual Descriptions as Promptscited by 50
- 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
- 2024Learning to Prompt with Text Only Supervision for Vision-Language Modelscited by 38
- 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
- 2024Transductive Zero-Shot and Few-Shot CLIPcited by 32
- 2024GalLoP: Learning Global and Local Prompts for Vision-Language Modelscited by 29
- 2024Soft Prompt Generation for Domain Generalizationcited by 24
- 2024Adapting to Distribution Shift by Visual Domain Prompt Generationcited by 23
- 2024In Search of Forgotten Domain Generalizationcited by 21
- 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
- 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidancecited by 14
- 2023Neural Priming for Sample-Efficient Adaptationcited by 12
- 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapterscited by 11
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Rethinking Domain Adaptation and Generalization in the Era of CLIP
- 2024Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalization
- 2025When and How Does CLIP Enable Domain and Compositional Generalization?
- 2024CLIP the Divergence: Language-guided Unsupervised Domain Adaptation
- 2024DomainVerse: A Benchmark Towards Real-World Distribution Shifts For Tuning-Free Adaptive Domain Generalization
- 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidance
- 2023AD-CLIP: Adapting Domains in Prompt Space Using CLIP
- 2026SHED: Style-Homogenized Embedding Alignment for Domain Generalization