Quantifying Uncertainty in the Presence of Distribution Shifts
Yuli Slavutsky, David M. Blei
TL;DR
Neural networks often provide unreliable uncertainty under covariate distribution shifts. The authors introduce VIDS, a Bayesian framework that uses a covariate-conditioned adaptive prior and amortized variational inference to produce posterior predictive uncertainty that responds to shift proximity; they also generate synthetic environments via bootstrap to simulate potential shifts. The approach jointly learns an amortized posterior and trains across multiple environments, improving calibration and robustness across synthetic and real data for classification and regression. This work advances trustworthy uncertainty quantification in settings where test-time covariate shifts are common and potentially harmful.
Abstract
Neural networks make accurate predictions but often fail to provide reliable uncertainty estimates, especially under covariate distribution shifts between training and testing. To address this problem, we propose a Bayesian framework for uncertainty estimation that explicitly accounts for covariate shifts. While conventional approaches rely on fixed priors, the key idea of our method is an adaptive prior, conditioned on both training and new covariates. This prior naturally increases uncertainty for inputs that lie far from the training distribution in regions where predictive performance is likely to degrade. To efficiently approximate the resulting posterior predictive distribution, we employ amortized variational inference. Finally, we construct synthetic environments by drawing small bootstrap samples from the training data, simulating a range of plausible covariate shift using only the original dataset. We evaluate our method on both synthetic and real-world data. It yields substantially improved uncertainty estimates under distribution shifts.
