A Constrained Bayesian Approach to Out-of-Distribution Prediction

Abstract

Consider the problem of out-of-distribution prediction given data from multiple environments. While a sufficiently diverse collection of training environments will facilitate the identification of an invariant predictor, with an optimal generalization performance, many applications only provide us with a limited number of environments. It is thus necessary to consider adapting to distribution shift using a handful of labeled test samples. We propose a constrained Bayesian approach for this task, which restricts to models with a worst-group training loss above a prespecified threshold. Our method avoids a pathology of the standard Bayesian posterior, which occurs when spurious correlations improve in-distribution prediction. We also show that on certain high-dimensional linear problems, constrained modeling improves the sample efficiency of adaptation. Synthetic and real-world experiments demonstrate the robust performance of our approach.

Cite

Text

Wang et al. "A Constrained Bayesian Approach to Out-of-Distribution Prediction." Uncertainty in Artificial Intelligence, 2023.

Markdown

[Wang et al. "A Constrained Bayesian Approach to Out-of-Distribution Prediction." Uncertainty in Artificial Intelligence, 2023.](https://mlanthology.org/uai/2023/wang2023uai-constrained/)

BibTeX

@inproceedings{wang2023uai-constrained,
  title     = {{A Constrained Bayesian Approach to Out-of-Distribution Prediction}},
  author    = {Wang, Ziyu and Yuan, Binjie and Lu, Jiaxun and Ding, Bowen and Shao, Yunfeng and Wu, Qibin and Zhu, Jun},
  booktitle = {Uncertainty in Artificial Intelligence},
  year      = {2023},
  pages     = {2248-2258},
  volume    = {216},
  url       = {https://mlanthology.org/uai/2023/wang2023uai-constrained/}
}