Improving predictions of Bayesian neural nets via local linearization

Alexander Immer, Maciej Korzepa, Matthias Bauer*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingBook chapterResearchpeer-review

155 Downloads (Orbit)

Abstract

The generalized Gauss-Newton (GGN) approximation is often used to make practical Bayesian deep learning approaches scalable by replacing a second order derivative with a product of first order derivatives. In this paper we argue that the GGN approximation should be understood as a local linearization of the underlying Bayesian neural network (BNN), which turns the BNN into a generalized linear model (GLM). Because we use this linearized model for posterior inference, we should also predict using this modified model instead of the original one. We refer to this modified predictive as "GLM predictive" and show that it effectively resolves common underfitting problems of the Laplace approximation. It extends previous results in this vein to general likelihoods and has an equivalent Gaussian process formulation, which enables alternative inference schemes for BNNs in function space. We demonstrate the effectiveness of our approach on several standard classification datasets and on out-of-distribution detection. We provide an implementation at https://github.com/AlexImmer/BNN-predictions.
Original languageEnglish
Title of host publicationProceedings of the 24th International Conference on Artificial Intelligence and Statistics
Number of pages11
Publication date2021
Publication statusPublished - 2021
Event24th International Conference on Artificial Intelligence and Statistics - Virtual Conference
Duration: 13 Apr 202115 Apr 2021
https://aistats.org/aistats2021/

Conference

Conference24th International Conference on Artificial Intelligence and Statistics
LocationVirtual Conference
Period13/04/202115/04/2021
Internet address
SeriesProceedings of Machine Learning Research
Volume130
ISSN2640-3498

Fingerprint

Dive into the research topics of 'Improving predictions of Bayesian neural nets via local linearization'. Together they form a unique fingerprint.

Cite this