mlsanityData to 7 Oct 2026

When and How Does CLIP Enable Domain and Compositional Generalization?

arXiv 2502.09507 ↗First posted 13 Feb 2025cs.LG cs.CVcited by 9

On the map: Multimodal LLMs / vision-language models → Prompt learning and adaptation of CLIP

Abstract (arXiv)

The remarkable generalization performance of contrastive vision-language models like CLIP is often attributed to the diversity of their training distributions. However, key questions remain unanswered: Can CLIP generalize to an entirely unseen domain when trained on a diverse mixture of domains (domain generalization)? Can it generalize to unseen classes within partially seen domains (compositional generalization)? What factors affect such generalization? To answer these questions, we trained CLIP models on systematically constructed training distributions with controlled domain diversity and object class exposure. Our experiments show that domain diversity is essential for both domain and compositional generalization, yet compositional generalization can be surprisingly weaker than domain generalization when the training distribution contains a suboptimal subset of the test domain. Through data-centric and mechanistic analyses, we find that successful generalization requires the learning of sufficiently shared representations in intermediate layers and circuits.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Prompt learning and adaptation of CLIP, one of 16 directions in Multimodal LLMs / vision-language models. Builds on 52 of its 70 references that are in the map. First posted on arXiv 13 Feb 2025.

Builds on

52 of 70 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024A Sober Look at the Robustness of CLIPs to Spurious Features18 Mar
  2. 2023Leveraging Vision-Language Models for Improving Domain Generalization in Image Classification12 Oct
  3. 2023A Sentence Speaks a Thousand Images: Domain Generalization through Distilling CLIP with Language Guidance21 Sep

Other references · 49

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  8. 2021Scaling Up Visual and Vision-Language Representation Learning With Noisy Text Supervisioncited by 3,848
  9. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  10. 2023Sigmoid Loss for Language Image Pre-Trainingcited by 3,048
  11. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  12. 2019Invariant Risk Minimizationcited by 1,832
37 more
  1. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  2. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
  3. 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
  4. 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
  5. 2021Conceptual 12M: Pushing Web-Scale Image-Text Pre-Training To Recognize Long-Tail Visual Conceptscited by 1,209
  6. 2022Reproducible scaling laws for contrastive language-image learningcited by 1,163
  7. 2020In Search of Lost Domain Generalizationcited by 1,042
  8. 2019Learning Robust Global Representations by Penalizing Local Predictive Powercited by 1,010
  9. 2013Domain Generalization via Invariant Feature Representationcited by 622
  10. 2015Causal inference using invariant prediction: identification and confidence intervalscited by 533
  11. 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
  12. 2024Sparse Feature Circuits: Discovering and Editing Interpretable Causal Graphs in Language Modelscited by 412
  13. 2013Direct and Indirect Effectscited by 276
  14. 2019Compositionality decomposed: how do neural networks generalise?cited by 264
  15. 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 241
  16. 2021Partial success in closing the gap between human and machine visioncited by 185
  17. 2024Have Faith in Faithfulness: Going Beyond Circuit Overlap When Finding Model Mechanismscited by 144
  18. 2022Data Determines Distributional Robustness in Contrastive Language Image Pre-training (CLIP)cited by 137
  19. 2022Quality Not Quantity: On the Interaction between Dataset Design and Robustness of CLIPcited by 97
  20. 2023Compositional Abilities Emerge Multiplicatively: Exploring Diffusion Models on a Synthetic Taskcited by 91
  21. 2024Discover-then-Name: Task-Agnostic Concept Bottlenecks via Automated Concept Discoverycited by 91
  22. 2024Robust agents learn causal world modelscited by 81
  23. 2020A causal view of compositional zero-shot recognitioncited by 78
  24. 2024No "Zero-Shot" Without Exponential Data: Pretraining Concept Frequency Determines Multimodal Model Performancecited by 75
  25. 2019Summit: Scaling Deep Learning Interpretability by Visualizing Activation and Attribution Summarizationscited by 72
  26. 2023Compositional Generalization from First Principlescited by 62
  27. 2021Visual Representation Learning Does Not Generalize Strongly Within the Same Domaincited by 60
  28. 2021Out of Distribution Generalization in Machine Learningcited by 59
  29. 2024NNsight and NDIF: Democratizing Access to Open-Weight Foundation Model Internalscited by 43
  30. 2022Compositional Generalization in Unsupervised Compositional Representation Learning: A Study on Disentanglement and Emergent Languagecited by 42
  31. 2023Provable Compositional Generalization for Object-Centric Learningcited by 41
  32. 2023Does CLIP's Generalization Performance Mainly Stem from High Train-Test Similarity?cited by 35
  33. 2024In Search of Forgotten Domain Generalizationcited by 21
  34. 2021Towards Understanding Adversarial Robustness of Optical Flow Networkscited by 15
  35. 2024What Makes CLIP More Robust to Long-Tailed Pre-Training Data? A Controlled Study for Transferable Insightscited by 13
  36. 2024Deciphering the Role of Representation Disentanglement: Investigating Compositional Generalization in CLIP Modelscited by 13
  37. 2022Overcoming Shortcut Learning in a Target Domain by Generalizing Basic Visual Factors from a Source Domaincited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 8.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Language Plays a Pivotal Role in the Object-Attribute Compositional Generalization of CLIP
  2. 2024Unknown Prompt, the only Lacuna: Unveiling CLIP's Potential for Open Domain Generalization
  3. 2023SYNC-CLIP: Synthetic Data Make CLIP Generalize Better in Data-Limited Scenarios
  4. 2023Strong but simple: A Baseline for Domain Generalized Dense Perception by CLIP-based Transfer Learning
  5. 2024Rethinking Domain Adaptation and Generalization in the Era of CLIP
  6. 2025The Finer the Better: Towards Granular-aware Open-set Domain Generalization
  7. 2023Choosing Wisely and Learning Deeply: Selective Cross-Modality Distillation via CLIP for Domain Generalization
  8. 2026Sparse CLIP: Co-Optimizing Interpretability and Performance in Contrastive Learning