Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Natural Posterior Network: Deep Bayesian Uncertainty for Exponential Family Distributions

About

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. 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.

Bertrand Charpentier, Oliver Borchert, Daniel Z\"ugner, Simon Geisler, Stephan G\"unnemann• 2021

Related benchmarks

TaskDatasetResultRank
OOD DetectionCIFAR-10 (IND) SVHN (OOD)
AUROC0.67
91
OOD DetectionCIFAR-100 IND SVHN OOD
AUROC (%)64.7
74
OOD DetectionCIFAR10 ID FMNIST OOD
AUROC0.606
54
OOD DetectionCIFAR-10 OOD (test)
AUROC69.7
36
Selective ClassificationCIFAR-100 (test)
AUC0.822
32
OOD DetectionCIFAR100 ID TImageNet OOD
AUROC0.496
31
OOD DetectionTinyImageNet (In-distribution) / CIFAR10 (OOD)
AUPR59.2
24
Selective ClassificationCIFAR-10 (test)
AUC0.864
21
OOD DetectionCIFAR-10 IND ImageNet R OOD
AUROC54.6
20
OOD DetectionCIFAR-10 vs SVHN (test)--
19
Showing 10 of 18 rows

Other info

Follow for update