On out-of-distribution detection with Bayesian neural networks
Francesco D'Angelo, Christian Henning

TL;DR
This paper critically examines the effectiveness of Bayesian neural networks for out-of-distribution detection, revealing fundamental limitations in their predictive uncertainties and suggesting that naive use may be ineffective.
Contribution
The paper demonstrates that common Bayesian neural network priors do not reliably reflect data distribution for OOD detection and highlights the need for more suitable prior design or alternative approaches.
Findings
Bayesian neural networks often produce unreliable OOD uncertainties.
Infinite-width BNNs with standard kernels do not improve OOD detection.
Trade-offs exist between generalization and OOD detection in BNNs.
Abstract
The question whether inputs are valid for the problem a neural network is trying to solve has sparked interest in out-of-distribution (OOD) detection. It is widely assumed that Bayesian neural networks (BNNs) are well suited for this task, as the endowed epistemic uncertainty should lead to disagreement in predictions on outliers. In this paper, we question this assumption and show that proper Bayesian inference with function space priors induced by neural networks does not necessarily lead to good OOD detection. To circumvent the use of approximate inference, we start by studying the infinite-width case, where Bayesian inference can be exact due to the correspondence with Gaussian processes. Strikingly, the kernels derived from common architectural choices lead to function space priors which induce predictive uncertainties that do not reflect the underlying input data distribution and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdversarial Robustness in Machine Learning · Advanced Statistical Methods and Models · Fault Detection and Control Systems
