Contrastive Conditional Alignment based on Label Shift Calibration for Imbalanced Domain Adaptation

Xiaona Sun, Zhenyu Wu, Zhiqiang Zhan, Yang Ji
12/29/2024
cs.CV

Official code: ysxcj-hub/CCA-LSC (2 stars, last commit 2024-06-27).

Abstract

Many existing unsupervised domain adaptation (UDA) methods primarily focus on covariate shift, limiting their effectiveness in imbalanced domain adaptation (IDA) where both covariate shift and label shift coexist. Recent IDA methods have achieved promising results based on self-training using target pseudo labels. However, under the IDA scenarios, the classifier learned in the source domain will exhibit different decision bias from the target domain. It will potentially make target pseudo labels unreliable, and will further lead to error accumulation with incorrect class alignment. Thus, we propose contrastive conditional alignment based on label shift calibration (CCA-LSC) for IDA, to address both covariate shift and label shift. Initially, our contrastive conditional alignment resolve covariate shift to learn representations with domain invariance and class discriminability, which include domain adversarial learning, sample-weighted moving average centroid alignment and discriminative feature alignment. Subsequently, we estimate the probability distribution of the target domain, and calibrate target sample classification predictions based on label shift metrics to encourage labeling pseudo-labels more consistently with the distribution of real target data. Extensive experiments are conducted and demonstrate that our method outperforms existing UDA and IDA methods on benchmarks with both label shift and covariate shift. Our code is available at https://github.com/ysxcj-hub/CCA-LSC.

View on arXivView PDF

Code Implementations(1)

ysxcj-hub/CCA-LSCOfficial100%
21Roff, PythonJun 27, 20242 years ago

Similar Papers

Cite this paper

@article{sun2024contrastive,
  title  = {Contrastive Conditional Alignment based on Label Shift Calibration for Imbalanced Domain Adaptation},
  author = {Xiaona Sun and Zhenyu Wu and Zhiqiang Zhan and Yang Ji},
  year   = {2024},
  eprint = {2412.20337},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20337v1}
}

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/2412.20337.svg)](https://codeofpaper.com/paper/2412.20337)

Discussion