[Paper Review] 'In-Between' Uncertainty in Bayesian Neural Networks
This paper identifies a critical limitation in mean-field variational inference (MFVI) for Bayesian neural networks: it fails to produce well-calibrated uncertainty estimates in regions between separated data clusters—so-called 'in-between' uncertainty. In contrast, the linearised Laplace approximation provides significantly better uncertainty calibration in such out-of-distribution regions, especially for small networks, while maintaining strong performance on standard benchmarks.
We describe a limitation in the expressiveness of the predictive uncertainty estimate given by mean-field variational inference (MFVI), a popular approximate inference method for Bayesian neural networks. In particular, MFVI fails to give calibrated uncertainty estimates in between separated regions of observations. This can lead to catastrophically overconfident predictions when testing on out-of-distribution data. Avoiding such overconfidence is critical for active learning, Bayesian optimisation and out-of-distribution robustness. We instead find that a classical technique, the linearised Laplace approximation, can handle 'in-between' uncertainty much better for small network architectures.
Motivation & Objective
- To investigate the limitations of mean-field variational inference (MFVI) in producing reliable uncertainty estimates for Bayesian neural networks.
- To evaluate how well different inference methods handle uncertainty in regions between separated data clusters—'in-between' uncertainty.
- To demonstrate that MFVI can be catastrophically overconfident in such regions, undermining its use in active learning and robust decision-making.
- To show that the classical linearised Laplace approximation better captures in-between uncertainty, especially in small network architectures.
- To introduce a modified UCI benchmark that isolates and evaluates performance on in-between uncertainty, distinct from standard generalization tasks.
Proposed method
- Proposes a new evaluation protocol using 'gap splits'—where the test set is drawn from the middle region between two separated data clusters—instead of uniform subsampling.
- Compares MFVI (mean-field and full-covariance variants) with the linearised Laplace approximation (LLA) and stochastic Laplace (SLA) for uncertainty estimation in Bayesian neural networks.
- Uses the Laplace approximation to approximate the posterior as a Gaussian centered at the MAP estimate, with covariance derived from the negative inverse Hessian of the log-posterior.
- Employs the Gauss-Newton approximation to compute the Hessian efficiently using only first-order gradients, ensuring positive semi-definiteness.
- Evaluates methods using held-out log-likelihood as the primary metric, which penalizes both inaccuracy and overconfidence.
- Applies the methods to standard UCI regression datasets, with special focus on energy and naval datasets where MFVI fails catastrophically on gap splits.
Experimental results
Research questions
- RQ1Does mean-field variational inference (MFVI) produce well-calibrated uncertainty estimates in regions between separated clusters of training data?
- RQ2How does the performance of MFVI on 'in-between' uncertainty compare to that of the linearised Laplace approximation?
- RQ3Can the standard UCI benchmark adequately evaluate a model's ability to estimate uncertainty in out-of-distribution regions between clusters?
- RQ4Why does MFVI fail to model uncertainty in these in-between regions, and what structural limitation in the mean-field approximation causes this?
- RQ5Is the linearised Laplace approximation a viable and more robust alternative to MFVI for uncertainty estimation in Bayesian neural networks?
Key findings
- MFVI performs well on standard UCI benchmarks but catastrophically fails on gap splits, showing overconfident predictions in regions between data clusters.
- The linearised Laplace approximation (LLA) significantly outperforms MFVI on gap splits, achieving substantially higher log-likelihood scores—e.g., 6.40±0.06 on naval with 1HL tanh, compared to MFVI's -2.83±0.01.
- On the standard UCI splits, MFVI and LLA perform comparably, indicating that standard benchmarks do not expose MFVI's in-between uncertainty failure.
- The failure of MFVI is not due to poor optimization or architecture, but stems from the mean-field approximation's inability to capture dependencies between parameters necessary for modeling uncertainty in data gaps.
- Full-covariance VI (FCVI) performs better than MFVI on gap splits but still underperforms LLA, suggesting that even flexible variational families struggle with in-between uncertainty.
- The linearised Laplace approximation provides well-calibrated uncertainty estimates in in-between regions, making it a more reliable choice for active learning and out-of-distribution robustness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.