mlsanityData to 14 Oct 2026

Domain Generalization in-the-Wild: Disentangling Classification from Domain-Aware Representations

arXiv 2508.21769 ↗First posted 29 Aug 2025cs.CV cs.LGcited by 0

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

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  3. 2023Visual Instruction Tuningcited by 7,869
  4. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  5. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,864
  6. 2015Domain-Adversarial Training of Neural Networkscited by 3,044
  7. 2021Learning to Prompt for Vision-Language Modelscited by 2,281
  8. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  9. 2021Barlow Twins: Self-Supervised Learning via Redundancy Reductioncited by 1,838
  10. 2019Do ImageNet Classifiers Generalize to ImageNet?cited by 1,515
  11. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  12. 2019Natural Adversarial Examplescited by 1,408
35 more
  1. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  2. 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,188
  3. 2021VICReg: Variance-Invariance-Covariance Regularization for Self-Supervised Learningcited by 1,057
  4. 2021CLIP-Adapter: Better Vision-Language Models with Feature Adapterscited by 1,026
  5. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,013
  6. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  7. 2021Robust fine-tuning of zero-shot modelscited by 797
  8. 2021Domain Generalization: A Surveycited by 764
  9. 2024Eyes Wide Shut? Exploring the Visual Shortcomings of Multimodal LLMscited by 735
  10. 2018Recognition in Terra Incognitacited by 658
  11. 2013Domain Generalization via Invariant Feature Representationcited by 623
  12. 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
  13. 2022Tip-Adapter: Training-free Adaption of CLIP for Few-shot Classificationcited by 362
  14. 2021Exploring the Limits of Out-of-Distribution Detectioncited by 283
  15. 2022What does a platypus look like? Generating customized prompts for zero-shot image classificationcited by 267
  16. 2020Deep Domain-Adversarial Image Generation for Domain Generalisationcited by 231
  17. 2022Finetune like you pretrain: Improved finetuning of zero-shot vision modelscited by 150
  18. 2022Domain Generalization by Mutual-Information Regularization with Pre-trained Modelscited by 133
  19. 2024Why are Visually-Grounded Language Models Bad at Image Classification?cited by 102
  20. 2023CLIPood: Generalizing CLIP to Out-of-Distributionscited by 96
  21. 2023PromptStyler: Prompt-driven Style Generation for Source-free Domain Generalizationcited by 59
  22. 2023Enhancing CLIP with GPT-4: Harnessing Visual Descriptions as Promptscited by 50
  23. 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classificationcited by 41
  24. 2024Learning to Prompt with Text Only Supervision for Vision-Language Modelscited by 38
  25. 2023Towards Calibrated Robust Fine-Tuning of Vision-Language Modelscited by 35
  26. 2024Transductive Zero-Shot and Few-Shot CLIPcited by 32
  27. 2024GalLoP: Learning Global and Local Prompts for Vision-Language Modelscited by 29
  28. 2024Soft Prompt Generation for Domain Generalizationcited by 24
  29. 2024Adapting to Distribution Shift by Visual Domain Prompt Generationcited by 23
  30. 2024In Search of Forgotten Domain Generalizationcited by 21
  31. 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
  32. 2024Lipsum-FT: Robust Fine-Tuning of Zero-Shot Models Using Random Text Guidancecited by 14
  33. 2023Neural Priming for Sample-Efficient Adaptationcited by 12
  34. 2023Domain Generalization Using Large Pretrained Models with Mixture-of-Adapterscited by 11
  35. 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

  1. 2024Rethinking Domain Adaptation and Generalization in the Era of CLIP
  2. 2024Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalization
  3. 2025When and How Does CLIP Enable Domain and Compositional Generalization?
  4. 2024CLIP the Divergence: Language-guided Unsupervised Domain Adaptation
  5. 2024DomainVerse: A Benchmark Towards Real-World Distribution Shifts For Tuning-Free Adaptive Domain Generalization
  6. 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidance
  7. 2023AD-CLIP: Adapting Domains in Prompt Space Using CLIP
  8. 2026SHED: Style-Homogenized Embedding Alignment for Domain Generalization