Connect, Not Collapse: Explaining Contrastive Learning for Unsupervised Domain Adaptation
Kendrick Shen, Robbie M. Jones, Ananya Kumar, Sang Michael Xie, Jeff Z. HaoChen, Tengyu Ma, Percy Liang
Abstract
We consider unsupervised domain adaptation (UDA), where labeled data from a source domain (e.g., photographs) and unlabeled data from a target domain (e.g., sketches) are used to learn a classifier for the target domain. Conventional UDA methods (e.g., domain adversarial training) learn domain-invariant features to improve generalization to the target domain. In this paper, we show that contrastive pre-training, which learns features on unlabeled source and target data and then fine-tunes on labeled source data, is competitive with strong UDA methods. However, we find that contrastive pre-training does not learn domain-invariant features, diverging from conventional UDA intuitions. We show theoretically that contrastive pre-training can learn features that vary subtantially across domains but still generalize to the target domain, by disentangling domain and class information. Our results suggest that domain invariance is not necessary for UDA. We empirically validate our theory on benchmark vision datasets.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
49 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites A Simple Framework for Contrastive Learning of Visual Representations
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations
- Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations cites Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Emerging Properties in Self-Supervised Vision Transformers cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Emerging Properties in Self-Supervised Vision Transformers cites A Simple Framework for Contrastive Learning of Visual Representations
- Emerging Properties in Self-Supervised Vision Transformers cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Unsupervised Learning of Visual Features by Contrasting Cluster Assignments cites A Simple Framework for Contrastive Learning of Visual Representations
- Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations cites A Simple Framework for Contrastive Learning of Visual Representations
- Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related Subpopulations cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Learning Transferable Visual Models From Natural Language Supervision cites A Simple Framework for Contrastive Learning of Visual Representations
- Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss cites A Simple Framework for Contrastive Learning of Visual Representations
- Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss cites Barlow Twins: Self-Supervised Learning via Redundancy Reduction
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites Unsupervised Learning of Visual Features by Contrasting Cluster Assignments
- Barlow Twins: Self-Supervised Learning via Redundancy Reduction cites A Simple Framework for Contrastive Learning of Visual Representations
Cited by top-tier papers49
- Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 citations
- Data Selection for Language Models via Importance ResamplingSang Michael Xie, Shibani Santurkar, Tengyu Ma, Percy LiangNeurIPS 2023 · 383 citations
- Using Mixup as a Regularizer Can Surprisingly Improve Accuracy & Out-of-Distribution RobustnessFrancesco Pinto, Harry Yang, Ser Nam Lim, Philip H. S. Torr et al.NeurIPS 2022 · 74 citations
- Empowering Collaborative Filtering with Principled Adversarial Contrastive LossAn Zhang, Leheng Sheng, Zhibo Cai, Xiang Wang et al.NeurIPS 2023 · 56 citations
- Beyond Separability: Analyzing the Linear Transferability of Contrastive Representations to Related SubpopulationsJeff Z. HaoChen, Colin Wei, Ananya Kumar, Tengyu MaNeurIPS 2022 · 52 citations
Builds on19
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
- Unsupervised Learning of Visual Features by Contrasting Cluster AssignmentsMathilde Caron, Ishan Misra, Julien Mairal, Priya Goyal et al.NeurIPS 2020 · 5,249 citations
- Barlow Twins: Self-Supervised Learning via Redundancy ReductionJure Zbontar, Li Jing, Ishan Misra, Yann LeCun et al.ICML 2021 · 2,942 citations
Related papers
- CLDA: Contrastive Learning for Semi-Supervised Domain AdaptationAnkit SinghNeurIPS 2021 · 153 citations
- Promoting Semantic Connectivity: Dual Nearest Neighbors Contrastive Learning for Unsupervised Domain GeneralizationYuchen Liu, Yaoming Wang, Yabo Chen, Wenrui Dai et al.CVPR 2023
- Unsupervised Domain Generalization by Learning a Bridge Across DomainsSivan Harary, Eli Schwartz, Assaf Arbelle, Peter W. J. Staar et al.CVPR 2022 · 33 citations
- Category Contrast for Unsupervised Domain Adaptation in Visual TasksJiaxing Huang, Dayan Guan, Aoran Xiao, Shijian Lu et al.CVPR 2022 · 143 citations
- Source Data-free Unsupervised Domain Adaptation for Semantic SegmentationMucong Ye, Jing Zhang, Jinpeng Ouyang, Ding YuanACM MM 2021 · 41 citations
