Quantifying Uncertainty in the Presence of Distribution Shifts

Y. Slavutsky, David M. Blei
6/1/2025
bayesian

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{slavutsky2025quantifying,
  title  = {Quantifying Uncertainty in the Presence of Distribution Shifts},
  author = {Y. Slavutsky and David M. Blei},
  year   = {2025},
  eprint = {2506.18283},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2506.18283},
  url    = {https://doi.org/10.48550/arXiv.2506.18283},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.18283.svg)](https://codeofpaper.com/paper/2506.18283)

Discussion