Bayesian Uncertainty Matching for Unsupervised Domain Adaptation

Bayesian Uncertainty Matching for Unsupervised Domain Adaptation

Jun Wen, Nenggan Zheng, Junsong Yuan, Zhefeng Gong, Changyou Chen

Proceedings of the Twenty-Eighth International Joint Conference on Artificial Intelligence
Main track. Pages 3849-3855. https://doi.org/10.24963/ijcai.2019/534

Domain adaptation is an important technique to alleviate performance degradation caused by domain shift, e.g., when training and test data come from different domains. Most existing deep adaptation methods focus on reducing domain shift by matching marginal feature distributions through deep transformations on the input features, due to the unavailability of target domain labels. We show that domain shift may still exist via label distribution shift at the classifier, thus deteriorating model performances. To alleviate this issue, we propose an approximate joint distribution matching scheme by exploiting prediction uncertainty. Specifically, we use a Bayesian neural network to quantify prediction uncertainty of a classifier. By imposing distribution matching on both features and labels (via uncertainty), label distribution mismatching in source and target data is effectively alleviated, encouraging the classifier to produce consistent predictions across domains. We also propose a few techniques to improve our method by adaptively reweighting domain adaptation loss to achieve nontrivial distribution matching and stable training. Comparisons with state of the art unsupervised domain adaptation methods on three popular benchmark datasets demonstrate the superiority of our approach, especially on the effectiveness of alleviating negative transfer.
Keywords:
Machine Learning: Transfer, Adaptation, Multi-task Learning
Uncertainty in AI: Bayesian Networks
Machine Learning: Adversarial Machine Learning