Generative Posterior Networks for Approximately Bayesian Epistemic Uncertainty Estimation
Melrose Roderick, Felix Berkenkamp, Fatemeh Sheikholeslami, Zico Kolter
TL;DR
Generative Posterior Networks (GPNs) address epistemic uncertainty under distributional shift by learning a generative model of the posterior over outputs. Building on Randomized MAP sampling (RMS), GPNs train a network to map anchor samples from a prior over outputs to MAP estimates, effectively sampling from the posterior without retraining multiple networks. The authors prove consistency under Gaussian approximations and demonstrate improved OOD detection, tighter uncertainty quantification, and superior scalability compared to ensembles and kernel-based methods across regression and classification tasks. Leveraging unlabeled data, GPNs offer a practical, efficient Bayesian-like posterior estimator with broad applicability to safety-critical systems. The approach provides a principled framework for uncertainty-aware decisions in high-dimensional settings where labeled data are scarce.
Abstract
In many real-world problems, there is a limited set of training data, but an abundance of unlabeled data. We propose a new method, Generative Posterior Networks (GPNs), that uses unlabeled data to estimate epistemic uncertainty in high-dimensional problems. A GPN is a generative model that, given a prior distribution over functions, approximates the posterior distribution directly by regularizing the network towards samples from the prior. We prove theoretically that our method indeed approximates the Bayesian posterior and show empirically that it improves epistemic uncertainty estimation and scalability over competing methods.
