On the Expressiveness of Approximate Inference in Bayesian Neural Networks

Andrew Y. K. Foong, David R. Burt, Yingzhen Li, Richard E. Turner
9/2/2019
stat.MLcs.LG

Official code: cambridge-mlg/expressiveness-approx-bnns (13 stars, MIT, last commit 2021-08-16).

Abstract

While Bayesian neural networks (BNNs) hold the promise of being flexible, well-calibrated statistical models, inference often requires approximations whose consequences are poorly understood. We study the quality of common variational methods in approximating the Bayesian predictive distribution. For single-hidden layer ReLU BNNs, we prove a fundamental limitation in function-space of two of the most commonly used distributions defined in weight-space: mean-field Gaussian and Monte Carlo dropout. We find there are simple cases where neither method can have substantially increased uncertainty in between well-separated regions of low uncertainty. We provide strong empirical evidence that exact inference does not have this pathology, hence it is due to the approximation and not the model. In contrast, for deep networks, we prove a universality result showing that there exist approximate posteriors in the above classes which provide flexible uncertainty estimates. However, we find empirically that pathologies of a similar form as in the single-hidden layer case can persist when performing variational inference in deeper networks. Our results motivate careful consideration of the implications of approximate inference methods in BNNs.

View on arXivView PDF

Code Implementations(1)

MIT

Code for "On the Expressiveness of Approximate Inference in Bayesian Neural Networks"

130Shell, PythonOct 20, 20205 years agoMIT

Similar Papers

Cite this paper

@article{foong2019expressiveness,
  title  = {On the Expressiveness of Approximate Inference in Bayesian Neural Networks},
  author = {Andrew Y. K. Foong and David R. Burt and Yingzhen Li and Richard E. Turner},
  year   = {2019},
  eprint = {1909.00719},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.00719}
}

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

Discussion