Density Uncertainty Layers for Reliable Uncertainty Estimation

Yookoon Park, David M. Blei
6/21/2023
cs.LGstat.ML

Official code: yookoon/density_uncertainty_layers (3 stars, last commit 2024-02-28).

Abstract

Assessing the predictive uncertainty of deep neural networks is crucial for safety-related applications of deep learning. Although Bayesian deep learning offers a principled framework for estimating model uncertainty, the common approaches that approximate the parameter posterior often fail to deliver reliable estimates of predictive uncertainty. In this paper, we propose a novel criterion for reliable predictive uncertainty: a model's predictive variance should be grounded in the empirical density of the input. That is, the model should produce higher uncertainty for inputs that are improbable in the training data and lower uncertainty for inputs that are more probable. To operationalize this criterion, we develop the density uncertainty layer, a stochastic neural network architecture that satisfies the density uncertain criterion by design. We study density uncertainty layers on the UCI and CIFAR-10/100 uncertainty benchmarks. Compared to existing approaches, density uncertainty layers provide more reliable uncertainty estimates and robust out-of-distribution detection performance.

View on arXivView PDF

Code Implementations(1)

30PythonFeb 28, 20242 years ago

Similar Papers

Cite this paper

@article{park2023density,
  title  = {Density Uncertainty Layers for Reliable Uncertainty Estimation},
  author = {Yookoon Park and David M. Blei},
  year   = {2023},
  eprint = {2306.12497},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.12497v2}
}

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

Discussion