Category Contrast for Unsupervised Domain Adaptation in Visual Tasks

Jiaxing Huang, Dayan Guan, Aoran Xiao, Shijian Lu, Ling Shao
6/5/2021
cs.CV
contrastive-ssl

Official code: jxhuang0508/CaCo (25 stars, Python, MIT, last commit 2022-06-05).

Abstract

Instance contrast for unsupervised representation learning has achieved great success in recent years. In this work, we explore the idea of instance contrastive learning in unsupervised domain adaptation (UDA) and propose a novel Category Contrast technique (CaCo) that introduces semantic priors on top of instance discrimination for visual UDA tasks.

Show full abstract

By considering instance contrastive learning as a dictionary look-up operation, we construct a semantics-aware dictionary with samples from both source and target domains where each target sample is assigned a (pseudo) category label based on the category priors of source samples. This allows category contrastive learning (between target queries and the category-level dictionary) for category-discriminative yet domain-invariant feature representations: samples of the same category (from either source or target domain) are pulled closer while those of different categories are pushed apart simultaneously. Extensive UDA experiments in multiple visual tasks (e.g., segmentation, classification and detection) show that CaCo achieves superior performance as compared with state-of-the-art methods. The experiments also demonstrate that CaCo is complementary to existing UDA methods and generalizable to other learning setups such as unsupervised model adaptation, open-/partial-set adaptation etc.

View on arXivView PDF

Code Implementations(1)

jxhuang0508/CaCoOfficial100%
MIT

Code for <Category Contrast for Unsupervised Domain Adaptation in Visual Tasks> in CVPR 2022

253Python, ShellMar 17, 20224 years agoMIT

Similar Papers

Cite this paper

@article{huang2021category,
  title  = {Category Contrast for Unsupervised Domain Adaptation in Visual Tasks},
  author = {Jiaxing Huang and Dayan Guan and Aoran Xiao and Shijian Lu and Ling Shao},
  year   = {2021},
  eprint = {2106.02885},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.02885}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.02885.svg)](https://codeofpaper.com/paper/2106.02885)

Discussion