Natural Posterior Network: Deep Bayesian Uncertainty for Exponential Family Distributions

Bertrand Charpentier, Oliver Borchert, Daniel Zügner, Simon Geisler, Stephan Günnemann
5/10/2021
cs.LGstat.ML
bayesian

Official code: borchero/natural-posterior-network (86 stars, Python, MIT, PyTorch, last commit 2023-04-05).

Abstract

Uncertainty awareness is crucial to develop reliable machine learning models. In this work, we propose the Natural Posterior Network (NatPN) for fast and high-quality uncertainty estimation for any task where the target distribution belongs to the exponential family.

Show full abstract

Thus, NatPN finds application for both classification and general regression settings. Unlike many previous approaches, NatPN does not require out-of-distribution (OOD) data at training time. Instead, it leverages Normalizing Flows to fit a single density on a learned low-dimensional and task-dependent latent space. For any input sample, NatPN uses the predicted likelihood to perform a Bayesian update over the target distribution. Theoretically, NatPN assigns high uncertainty far away from training data. Empirically, our extensive experiments on calibration and OOD detection show that NatPN delivers highly competitive performance for classification, regression and count prediction tasks.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Official Implementation of "Natural Posterior Network: Deep Bayesian Predictive Uncertainty for Exponential Family Distributions" (ICLR, 2022)

8617Python, ShellJan 24, 20223 years agoMIT
bayesian-deep-learningdeep-learningmachine-learningpytorchuncertainty-estimation

Similar Papers

Cite this paper

@article{charpentier2021natural,
  title  = {Natural Posterior Network: Deep Bayesian Uncertainty for Exponential Family Distributions},
  author = {Bertrand Charpentier and Oliver Borchert and Daniel Zügner and Simon Geisler and Stephan Günnemann},
  year   = {2021},
  eprint = {2105.04471},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.04471}
}

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/2105.04471.svg)](https://codeofpaper.com/paper/2105.04471)

Discussion