[Paper Review] On the Expressiveness of Approximate Inference in Bayesian Neural Networks
The paper analyzes mean-field variational inference and Monte Carlo dropout in Bayesian neural networks, showing fundamental limitations in single-hidden-layer nets and partial universality in deeper nets, with empirical pathologies persisting in practice.
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.
Motivation & Objective
- Assess how well common weight-space approximations (MFVI and MCDO) capture the Bayesian predictive distribution in BNNs.
- Characterize function-space limitations of MFVI and MCDO in single-hidden-layer networks.
- Establish universality results for mean and variance functions in deeper networks under these approximations.
- Provide empirical evidence of pathologies in approximate inference and contrast with exact inference (HMC/GP).
Proposed method
- Theoretically analyze the variance of the BNN output in function space under MFVI and MCDO for 1HL ReLU networks (Theorems 1 and 2).
- Prove a universal approximation result for mean and variance functions in 2HL or deeper networks using MFVI and MCDO (Theorem 3).
- Compare predictions to exact inference via infinite-width GP and HMC as references.
- Empirically verify in-between uncertainty pathologies and overconfidence in shallow nets (Figure 3, Figure 5).
- Conduct an active learning case study on Naval regression to assess practical impact of uncertainty pathologies.
Experimental results
Research questions
- RQ1Can mean-field Gaussian and MC dropout approximations faithfully represent the exact posterior predictive uncertainty in single-hidden-layer BNNs?
- RQ2Do deeper networks alleviate or eliminate the in-between uncertainty pathologies observed with shallow approximations?
- RQ3Do universal approximation results for mean/variance functions translate into practically good predictive posteriors when optimizing the ELBO?
- RQ4What is the impact of approximate inference pathologies on active learning performance compared to exact inference (GP/HMC)?
Key findings
- In 1HL ReLU BNNs, MFVI and MCDO cannot represent increased uncertainty between well-separated regions, unlike the exact posterior.
- There is a universal approximation possibility for mean and variance functions in deeper networks with these approximations, but ELBO optimization may still fail to realize this in practice.
- Empirical evidence shows MFVI and MCDO are overconfident between data clusters and underperform relative to exact inference (GP/HMC) in low-dimensional regression.
- Active learning with approximate BNNs can significantly underperform compared to the GP, failing to sample from interior clusters.
- Depth helps: 2HL+ can approximate mean/variance functions; however, pathologies similar to the shallow case can persist under VI in deeper nets.
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.