LGSYFeb 21, 2023

Improved uncertainty quantification for neural networks with Bayesian last layer

arXiv:2302.10975v323 citationsh-index: 24
Originality Incremental advance
AI Analysis

This work addresses uncertainty quantification for safety-critical applications, offering an incremental improvement over existing Bayesian neural network approximations.

The authors tackled the problem of efficient uncertainty quantification in neural networks by reformulating the log-marginal likelihood for Bayesian last layer models, enabling backpropagation-based training and improving uncertainty estimates for extrapolation points. Their method achieved the highest log-predictive density on test data compared to Bayesian linear regression and variational Bayesian neural networks.

Uncertainty quantification is an important task in machine learning - a task in which standardneural networks (NNs) have traditionally not excelled. This can be a limitation for safety-critical applications, where uncertainty-aware methods like Gaussian processes or Bayesian linear regression are often preferred. Bayesian neural networks are an approach to address this limitation. They assume probability distributions for all parameters and yield distributed predictions. However, training and inference are typically intractable and approximations must be employed. A promising approximation is NNs with Bayesian last layer (BLL). They assume distributed weights only in the linear output layer and yield a normally distributed prediction. To approximate the intractable Bayesian neural network, point estimates of the distributed weights in all but the last layer should be obtained by maximizing the marginal likelihood. This has previously been challenging, as the marginal likelihood is expensive to evaluate in this setting. We present a reformulation of the log-marginal likelihood of a NN with BLL which allows for efficient training using backpropagation. Furthermore, we address the challenge of uncertainty quantification for extrapolation points. We provide a metric to quantify the degree of extrapolation and derive a method to improve the uncertainty quantification for these points. Our methods are derived for the multivariate case and demonstrated in a simulation study. In comparison to Bayesian linear regression with fixed features, and a Bayesian neural network trained with variational inference, our proposed method achieves the highest log-predictive density on test data.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes