Towards Effective Instance Discrimination Contrastive Loss for Unsupervised Domain Adaptation
Yixin Zhang, Zilei Wang, Junjie Li, Jiafan Zhuang, Zihan Lin
Abstract
Domain adaptation (DA) aims to transfer knowledge from a label-rich source domain to a related but labelscarce target domain. Recently, increasing research has focused on exploring data structure of the target domain. In light of the recent success of Instance Discrimination Contrastive (IDCo) loss in self-supervised learning, we try directly applying it to domain adaptation tasks. However, the improvement is very limited, which motivates us to rethink its underlying limitations for domain adaptation tasks. An intuitive limitation is that a pair of samples belonging to the same class could be treated as negatives. Here we argue that using low-confidence samples to construct positive and negative pairs can alleviate this issue and is more suitable for IDCo loss. Another limitation is that IDCo loss cannot capture enough semantic information. We address this by introducing domain-invariant and accurate semantic information from classifier weights and input data. Specifically, we propose a class relationship enhanced features. It uses probability weighted class prototpyes as the input features of IDCo loss, which can implicitly transfer the domaininvariant class relationship. We further propose a targetdominated cross-domain mixup that can incorporate accurate semantic information from the source domain. We evaluate the proposed method in unsupervised DA and other DA settings, and extensive experimental results reveal that our method can make IDCo loss more effective and achieve state-of-the-art performance. 1 1 Code is available at https://github.com/zhyx12/EIDCo Class Relationship Enhanced Features Sample feature Classifier weight Class 1 Class 2
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Semi-supervised Knowledge Transfer Across Multi-omic Single-cell Data cites FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidence
- Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation cites A Simple Framework for Contrastive Learning of Visual Representations
- Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation cites Moment Matching for Multi-Source Domain Adaptation
- Target Semantics Clustering via Text Representations for Robust Universal Domain Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Target Semantics Clustering via Text Representations for Robust Universal Domain Adaptation cites Moment Matching for Multi-Source Domain Adaptation
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites A Simple Framework for Contrastive Learning of Visual Representations
- Learning CNN on ViT: A Hybrid Model to Explicitly Class-Specific Boundaries for Domain Adaptation cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Learning CNN on ViT: A Hybrid Model to Explicitly Class-Specific Boundaries for Domain Adaptation cites RandAugment: Practical Automated Data Augmentation with a Reduced Search Space
- Learning CNN on ViT: A Hybrid Model to Explicitly Class-Specific Boundaries for Domain Adaptation cites Moment Matching for Multi-Source Domain Adaptation
- Progressive Distribution Bridging: Unsupervised Adaptation for Large-Scale Pre-Trained Models via Adaptive Auxiliary Data cites Split to Merge: Unifying Separated Modalities for Unsupervised Domain Adaptation
- Progressive Distribution Bridging: Unsupervised Adaptation for Large-Scale Pre-Trained Models via Adaptive Auxiliary Data cites Target Semantics Clustering via Text Representations for Robust Universal Domain Adaptation
- Progressive Distribution Bridging: Unsupervised Adaptation for Large-Scale Pre-Trained Models via Adaptive Auxiliary Data cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Progressive Distribution Bridging: Unsupervised Adaptation for Large-Scale Pre-Trained Models via Adaptive Auxiliary Data cites Moment Matching for Multi-Source Domain Adaptation
Cited by top-tier papers6
- Learning CNN on ViT: A Hybrid Model to Explicitly Class-Specific Boundaries for Domain AdaptationBa Hung Ngo, Nhat-Tuong Do-Tran, Tuan-Ngoc Nguyen, Hae-Gon Jeon et al.CVPR 2024 · 28 citations
- Semi-supervised Knowledge Transfer Across Multi-omic Single-cell DataFan Zhang, Tianyu Liu, Zihao Chen, Xiaojiang Peng et al.NeurIPS 2024 · 7 citations
- Target Semantics Clustering via Text Representations for Robust Universal Domain AdaptationWeinan He, Zilei Wang, Yixin ZhangAAAI 2025 · 6 citations
- Progressive Distribution Bridging: Unsupervised Adaptation for Large-Scale Pre-Trained Models via Adaptive Auxiliary DataWeinan He, Yixin Zhang, Zilei WangICCV 2025 · 1 citation
- Split to Merge: Unifying Separated Modalities for Unsupervised Domain AdaptationXinyao Li, Yuke Li, Zhekai Du, Fengling Li et al.CVPR 2024
Builds on54
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- FixMatch: Simplifying Semi-Supervised Learning with Consistency and ConfidenceKihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang et al.NeurIPS 2020 · 5,129 citations
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang et al.ICCV 2019 · 2,239 citations
Related papers
- Class Relationship Embedded Learning for Source-Free Unsupervised Domain AdaptationYixin Zhang, Zilei Wang, Weinan HeCVPR 2023
- Category Contrast for Unsupervised Domain Adaptation in Visual TasksJiaxing Huang, Dayan Guan, Aoran Xiao, Shijian Lu et al.CVPR 2022 · 143 citations
- Prototypical Cross-Domain Self-Supervised Learning for Few-Shot Unsupervised Domain AdaptationXiangyu Yue, Zangwei Zheng, Shanghang Zhang, Yang Gao et al.CVPR 2021
- Exploring High-quality Target Domain Information for Unsupervised Domain Adaptive Semantic SegmentationJunjie Li, Zilei Wang, Yuan Gao, Xiaoming HuACM MM 2022 · 23 citations
- 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
