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

December 29, 2024 ยท Entered Twilight ยท ๐Ÿ› International Conference on Pattern Recognition

๐Ÿ’ค TWILIGHT: Eternal Rest
Repo abandoned since publication

Repo contents: CCA-LSC.py, README.md, data, datasets, generate_label_txt.py, image_segment_sam.py, imblanced_data.py, requirements.txt, sampling.py, setup.py, utils.py

Authors Xiaona Sun, Zhenyu Wu, Zhiqiang Zhan, Yang Ji arXiv ID 2412.20337 Category cs.CV: Computer Vision Citations 1 Venue International Conference on Pattern Recognition Repository https://github.com/ysxcj-hub/CCA-LSC โญ 2 Last Checked 1 month ago
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.
Community shame:
Not yet rated
Community Contributions

Found the code? Know the venue? Think something is wrong? Let us know!

๐Ÿ“œ Similar Papers

In the same crypt โ€” Computer Vision