[Paper Review] Class-imbalanced Domain Adaptation: An Empirical Odyssey
This paper introduces Class-imbalanced Domain Adaptation (CDA), a realistic setting where both feature and label distributions shift between domains. It proposes COAL, a co-alignment model that jointly aligns conditional feature distributions and label distributions, significantly outperforming existing methods on a new benchmark of 22 cross-domain tasks, with accuracy gains up to 5.2% over strong baselines.
Unsupervised domain adaptation is a promising way to generalize deep models to novel domains. However, the current literature assumes that the label distribution is domain-invariant and only aligns the feature distributions or vice versa. In this work, we explore the more realistic task of Class-imbalanced Domain Adaptation: How to align feature distributions across domains while the label distributions of the two domains are also different? Taking a practical step towards this problem, we constructed the first benchmark with 22 cross-domain tasks from 6real-image datasets. We conducted comprehensive experiments on 10 recent domain adaptation methods and find most of them are very fragile in the face of coexisting feature and label distribution shift. Towards a better solution, we further proposed a feature and label distribution CO-ALignment (COAL) model with a novel combination of existing ideas. COAL is empirically shown to outperform the most recent domain adaptation methods on our benchmarks. We believe the provided benchmarks, empirical analysis results, and the COAL baseline could stimulate and facilitate future research towards this important problem.
Motivation & Objective
- To address the practical limitation of current unsupervised domain adaptation (UDA) methods, which assume identical label distributions across domains, despite real-world label shifts being common.
- To demonstrate that existing UDA methods are fragile under co-occurring feature and label distribution shifts, often leading to negative transfer.
- To establish the first comprehensive benchmark for CDA with 22 cross-domain tasks across 6 real-image datasets.
- To propose and validate a novel COAL framework that co-aligns conditional feature distributions and label distributions for robust adaptation.
- To provide empirical evidence and a strong baseline to stimulate future research on robust, real-world applicable domain adaptation.
Proposed method
- Proposes a new domain adaptation setting, CDA, where both feature distribution shift (p(x) ≠ q(x)) and label distribution shift (p(y) ≠ q(y)) coexist, with p(x|y) ≠ q(x|y).
- Introduces a dual-objective training framework: (1) self-training with prototype-based conditional feature alignment (L_ST) to align features within each class, and (2) label distribution alignment (L_H) via entropy minimization and cross-entropy loss.
- Employs a balanced source sampler to mitigate bias from imbalanced source data, improving generalization under label shift.
- Uses a ResNet-50 backbone with adversarial domain alignment for feature representation learning, combined with a classifier head trained on both source and pseudo-labeled target data.
- Applies linear interpolation between balanced and imbalanced label settings to simulate varying degrees of label shift in ablation studies.
- Employs t-SNE visualization to qualitatively evaluate feature alignment quality across domains, showing COAL achieves better category-wise clustering.
Experimental results
Research questions
- RQ1How do existing state-of-the-art domain adaptation methods perform under co-occurring feature and label distribution shifts?
- RQ2What is the impact of varying degrees of label shift on the performance of current UDA methods?
- RQ3Can joint alignment of conditional feature distributions and label distributions improve robustness in class-imbalanced domain adaptation?
- RQ4How critical are the individual components of the proposed COAL framework for performance in CDA?
- RQ5To what extent can a balanced source sampler mitigate performance degradation under label shift?
Key findings
- On the proposed CDA benchmark, most existing UDA methods, including DAN, DANN, and MCD, suffer significant performance drops under label shift, with accuracy reductions exceeding 10% in some cases.
- The MCD method’s accuracy drops from 91.45% to 77.18% when label shift increases from 0% to 100%, demonstrating high sensitivity to label distribution shifts.
- COAL achieves an average accuracy of 77.44% across 8 tasks, outperforming the best baseline (MCD at 74.46%) by 3.0% on average.
- Ablation studies show that removing either the conditional feature alignment (L_ST) or label distribution alignment (L_H) objectives reduces COAL’s accuracy by 2.6% and 2.9%, respectively.
- COAL maintains stable performance across varying degrees of label shift, with accuracy ranging from 88.12% to 93.42% on the USPS→MNIST task, unlike baselines that degrade sharply.
- t-SNE visualizations confirm that COAL achieves better category-wise alignment of source and target features than existing methods, avoiding incorrect cross-class alignment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.