Learning Calibrated Uncertainties for Domain Shift: A Distributionally Robust Learning Approach
Abstract
We propose a framework for learning calibrated uncertainties under domain shifts, considering the case where the source (training) distribution differs from the target (test) distribution. We detect such domain shifts through the use of a differentiable density ratio estimator and train it together with the task network, composing an adjusted softmax predictive form that concerns the domain shift. In particular, the density ratio estimator yields a density ratio that reflects the closeness of a target (test) sample to the source (training) distribution. We employ it to adjust the uncertainty of prediction in the task network. This idea of using the density ratio is based on the distributionally robust learning (DRL) framework, which accounts for the domain shift through adversarial risk minimization. We demonstrate that our proposed method generates calibrated uncertainties that benefit many downstream tasks, such as unsupervised domain adaptation (UDA) and semi-supervised learning (SSL). On these tasks, methods like self-training and FixMatch use uncertainties to select confident pseudo-labels for re-training. Our experiments show that the introduction of DRL leads to significant improvements in cross-domain performance. We also demonstrate that the estimated density ratios show an agreement with the human selection frequencies, suggesting a positive correlation with a proxy of human perceived uncertainties.
Cite
Text
Wang et al. "Learning Calibrated Uncertainties for Domain Shift: A Distributionally Robust Learning Approach." International Joint Conference on Artificial Intelligence, 2023. doi:10.24963/IJCAI.2023/162Markdown
[Wang et al. "Learning Calibrated Uncertainties for Domain Shift: A Distributionally Robust Learning Approach." International Joint Conference on Artificial Intelligence, 2023.](https://mlanthology.org/ijcai/2023/wang2023ijcai-learning-a/) doi:10.24963/IJCAI.2023/162BibTeX
@inproceedings{wang2023ijcai-learning-a,
title = {{Learning Calibrated Uncertainties for Domain Shift: A Distributionally Robust Learning Approach}},
author = {Wang, Haoxuan and Yu, Zhiding and Yue, Yisong and Anandkumar, Animashree and Liu, Anqi and Yan, Junchi},
booktitle = {International Joint Conference on Artificial Intelligence},
year = {2023},
pages = {1460-1469},
doi = {10.24963/IJCAI.2023/162},
url = {https://mlanthology.org/ijcai/2023/wang2023ijcai-learning-a/}
}