Robust Domain Adaptation: Representations, Weights and Inductive Bias (Extended Abstract)

Victor Bouvier, Philippe Very, Clément Chastagnol, Myriam Tami, Céline HudelotIJCAI 2021

Introduction

Unsupervised Domain Adaptation (UDA) aims to leverage labeled data from a source domain to train a model for an unlabeled target domain. While many UDA methods assume "Covariate Shift"—where input distributions differ but the relationship between inputs and labels remains constant—they often struggle when the label distributions themselves shift. This "Label Shift" can lead to a fundamental trade-off: forcing feature invariance across domains can inadvertently destroy the model's ability to classify correctly if the underlying label proportions are mismatched.

Theoretical Framework: Uncoupling Invariance and Transferability

The authors propose a new generalization bound that improves upon the classic Ben-David bound by uncoupling two distinct sources of error:

  1. Invariance Error ($INV$): The discrepancy between feature distributions across domains.
  2. Transferability Error ($TSF$): The degree to which features aligned across domains actually share the same labels.

This theoretical insight suggests that simply aligning features is insufficient. To maintain performance under label shift, one must also ensure that the alignment preserves label consistency.

The RUDA Algorithm

To address these challenges, the authors introduce Robust Unsupervised Domain Adaptation (RUDA). RUDA employs a bi-level optimization strategy:

  • Sample Weighting: The algorithm learns weights ($w$) to rebalance source samples, making the source label distribution more closely resemble the target. This reduces the burden on the feature extractor to achieve invariance.
  • Inductive Bias: Since target labels are unavailable, RUDA utilizes a "weak inductive bias"—using the model's own predictions as a proxy—to estimate and minimize the transferability error.
  • Optimization: The inner loop optimizes sample weights to minimize invariance error, while the outer loop optimizes feature representations to minimize transferability error.

Experimental Evaluation

RUDA was evaluated on two standard benchmarks modified to simulate severe label shift:

  • Digits (MNIST $\to$ USPS): Source data was restricted to contain only 5% to 20% of certain digit classes.
  • Office-31: Specific classes in the source domain were oversampled to create a distribution mismatch with the target.

Key Results

The empirical results demonstrate that RUDA is significantly more robust to label shift than standard methods like DANN and CDAN.

Comparison of RUDA against baseline methods on Office-31 and Digits datasets under label shift.

As shown in the results, RUDA consistently outperforms baselines. Notably, on the Digits dataset, RUDA achieves an accuracy of 86.5%, outperforming CDAN by over 13 percentage points. This confirms that by uncoupling distribution alignment from feature learning and incorporating sample weighting, RUDA maintains high accuracy even when label distributions are heavily skewed.

Conclusion

RUDA provides a theoretically grounded and empirically validated approach to robust domain adaptation. By separating the tasks of distribution alignment (via weighting) and label consistency (via representation learning), it overcomes the limitations of traditional UDA methods in the presence of label shift. Future work may explore the integration of stronger inductive biases to further enhance performance in more complex, real-world scenarios.

Summary updated

BibTeX
@inproceedings{bouvier2021robust,
  author = {Victor Bouvier and Philippe Very and Clément Chastagnol and Myriam Tami and Céline Hudelot},
  title = {{Robust Domain Adaptation: Representations, Weights and Inductive Bias (Extended Abstract)}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.24963/ijcai.2021/644},
}
Figure