Lune

CVPR2023Top-tier venue

Promoting Semantic Connectivity: Dual Nearest Neighbors Contrastive Learning for Unsupervised Domain Generalization

Yuchen Liu, Yaoming Wang, Yabo Chen, Wenrui Dai, Chenglin Li, Junni Zou, Hongkai Xiong

Abstract

Domain Generalization (DG) has achieved great success in generalizing knowledge from source domains to unseen target domains. However, current DG methods rely heavily on labeled source data, which are usually costly and unavailable. Since unlabeled data are far more accessible, we study a more practical unsupervised domain generalization (UDG) problem. Learning invariant visual representation from different views, i.e., contrastive learning, promises well semantic features for in-domain unsupervised learning. However, it fails in cross-domain scenarios. In this paper, we first delve into the failure of vanilla contrastive learning and point out that semantic connectivity is the key to UDG. Specifically, suppressing the intra-domain connectivity and encouraging the intra-class connectivity help to learn the domain-invariant semantic information. Then, we propose a novel unsupervised domain generalization approach, namely Dual Nearest Neighbors contrastive learning with strong Augmentation (DN 2 A). Our DN 2 A leverages strong augmentations to suppress the intra-domain connectivity and proposes a novel dual nearest neighbors search strategy to find trustworthy cross domain neighbors along with indomain neighbors to encourage the intra-class connectivity. Experimental results demonstrate that our DN 2 A outperforms the state-of-the-art by a large margin, e.g., 12.01% and 13.11% accuracy gain with only 1% labels for linear evaluation on PACS and DomainNet, respectively.

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.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain Generalization cites A Simple Framework for Contrastive Learning of Visual Representations
  • DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain Generalization cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
  • DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain Generalization cites Big Self-Supervised Models are Strong Semi-Supervised Learners
  • DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain Generalization cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain Generalization cites Moment Matching for Multi-Source Domain Adaptation
  • GeCC: Generalized Contrastive Clustering with Domain Shifts Modeling cites A Simple Framework for Contrastive Learning of Visual Representations
  • GeCC: Generalized Contrastive Clustering with Domain Shifts Modeling cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Semantic Feature Learning for Universal Unsupervised Cross-Domain Retrieval cites A Simple Framework for Contrastive Learning of Visual Representations
  • Semantic Feature Learning for Universal Unsupervised Cross-Domain Retrieval cites Moment Matching for Multi-Source Domain Adaptation
  • Towards Unsupervised Domain Generalization for Face Anti-Spoofing cites A Simple Framework for Contrastive Learning of Visual Representations
  • Towards Unsupervised Domain Generalization for Face Anti-Spoofing cites Big Self-Supervised Models are Strong Semi-Supervised Learners
  • Towards Unsupervised Domain Generalization for Face Anti-Spoofing cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Big Self-Supervised Models are Strong Semi-Supervised Learners cites A Simple Framework for Contrastive Learning of Visual Representations
  • Big Self-Supervised Models are Strong Semi-Supervised Learners cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites Big Self-Supervised Models are Strong Semi-Supervised Learners
  • Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning cites A Simple Framework for Contrastive Learning of Visual Representations
  • Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization cites A Simple Framework for Contrastive Learning of Visual Representations
  • Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization cites Bootstrap Your Own Latent - A New Approach to Self-Supervised Learning
  • Connecting Domains and Contrasting Samples: A Ladder for Domain Generalization cites Moment Matching for Multi-Source Domain Adaptation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Towards Unsupervised Domain Generalization for Face Anti-SpoofingYuchen Liu, Yabo Chen, Mengran Gou, Chun-Ting Huang et al.ICCV 2023 · 41 citations
  2. DomCLP: Domain-wise Contrastive Learning with Prototype Mixup for Unsupervised Domain GeneralizationJin-Seop Lee, Noo-Ri Kim, Jee-Hyong LeeAAAI 2025 · 2 citations
  3. GeCC: Generalized Contrastive Clustering with Domain Shifts ModelingYujie Chen, Wenhui Wu, Le Ou-Yang, Ran Wang et al.AAAI 2025 · 2 citations
  4. Semantic Feature Learning for Universal Unsupervised Cross-Domain RetrievalLixu Wang, Xinyu Du, Qi ZhuNeurIPS 2024 · 2 citations
  5. Connecting Domains and Contrasting Samples: A Ladder for Domain GeneralizationTianxin Wei, Yifan Chen, Xinrui He, Wenxuan Bao et al.KDD 2025 · 2 citations

Builds on17

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. Bootstrap Your Own Latent - A New Approach to Self-Supervised LearningJean-Bastien Grill, Florian Strub, Florent Altché, Corentin Tallec et al.NeurIPS 2020 · 9,171 citations
  3. RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
  4. Big Self-Supervised Models are Strong Semi-Supervised LearnersTing Chen, Simon Kornblith, Kevin Swersky, Mohammad Norouzi et al.NeurIPS 2020 · 2,611 citations
  5. Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations

Related papers

  1. Unsupervised Feature Representation Learning for Domain-generalized Cross-domain Image RetrievalConghui Hu, Can Zhang, Gim Hee LeeICCV 2023 · 12 citations
  2. Cycle-consistent Masked AutoEncoder for Unsupervised Domain GeneralizationHaiyang Yang, Xiaotong Li, Shixiang Tang, Feng Zhu et al.ICLR 2023
  3. Interpolation Normalization for Contrast Domain GeneralizationMengzhu Wang, Junyang Chen, Huan Wang, Huisi Wu et al.ACM MM 2023 · 5 citations
  4. Connect, Not Collapse: Explaining Contrastive Learning for Unsupervised Domain AdaptationKendrick Shen, Robbie M. Jones, Ananya Kumar, Sang Michael Xie et al.ICML 2022 · 102 citations
  5. CLDA: Contrastive Learning for Semi-Supervised Domain AdaptationAnkit SinghNeurIPS 2021 · 153 citations
Dusk over the sea between two cliffs drawn in fine vertical lines