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 * Corresponding author 1 Code is available at https://github.com/zhyx12/EIDCo Class Relationship Enhanced Features Sample feature Classifier weight Class 1 Class 2
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 12d675d4-82fa-4efd-87ab-7c89b880f5f9Cited 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
- Prototypical Cross-Domain Self-Supervised Learning for Few-Shot Unsupervised Domain AdaptationXiangyu Yue, Zangwei Zheng, Shanghang Zhang, Yang Gao et al.CVPR 2021
- Category Contrast for Unsupervised Domain Adaptation in Visual TasksJiaxing Huang, Dayan Guan, Aoran Xiao, Shijian Lu et al.CVPR 2022 · 143 citations
- Exploring High-quality Target Domain Information for Unsupervised Domain Adaptive Semantic SegmentationJunjie Li, Zilei Wang, Yuan Gao, Xiaoming HuACM MM 2022 · 23 citations
- Instance Level Affinity-Based Transfer for Unsupervised Domain AdaptationAstuti Sharma, Tarun Kalluri, Manmohan ChandrakerCVPR 2021
