[Paper Review] Fixing Variational Bayes: Deterministic Variational Inference for Bayesian Neural Networks
This paper proposes a robust, deterministic variational inference method for Bayesian neural networks by eliminating gradient variance through a novel moment approximation and automating prior variance selection via a hierarchical prior and Empirical Bayes procedure. The resulting method achieves strong predictive performance in heteroscedastic regression with minimal hyperparameter tuning.
Bayesian neural networks (BNNs) hold great promise as a flexible and principled solution to deal with uncertainty when learning from finite data. Among approaches to realize probabilistic inference in deep neural networks, variational Bayes (VB) is theoretically grounded, generally applicable, and computationally efficient. With wide recognition of potential advantages, why is it that variational Bayes has seen very limited practical use for BNNs in real applications? We argue that variational inference in neural networks is fragile: successful implementations require careful initialization and tuning of prior variances, as well as controlling the variance of Monte Carlo gradient estimates. We provide two innovations that aim to turn VB into a robust inference tool for Bayesian neural networks: first, we introduce a novel deterministic method to approximate moments in neural networks, eliminating gradient variance; second, we introduce a hierarchical prior for parameters and a novel Empirical Bayes procedure for automatically selecting prior variances. Combining these two innovations, the resulting method is highly efficient and robust. On the application of heteroscedastic regression we demonstrate good predictive performance over alternative approaches.
Motivation & Objective
- To address the fragility of variational Bayes in Bayesian neural networks due to sensitivity to initialization and prior variance tuning.
- To eliminate gradient variance in stochastic gradient estimation during variational inference.
- To automate prior variance selection using a hierarchical prior and Empirical Bayes procedure.
- To develop a practical, efficient, and robust inference framework for Bayesian neural networks suitable for real-world applications.
Proposed method
- Introduces a deterministic method to approximate posterior moments in neural networks, removing the need for Monte Carlo sampling and thus eliminating gradient variance.
- Employs a hierarchical prior structure over network weights to enable automatic calibration of prior variances via Empirical Bayes.
- Uses an empirical Bayes procedure to learn optimal prior variances from data, reducing reliance on manual tuning.
- Combines the deterministic moment approximation with hierarchical priors to produce a stable and efficient variational inference algorithm.
- Applies the method to Bayesian neural networks for regression tasks, particularly heteroscedastic regression.
Experimental results
Research questions
- RQ1Can variational inference in Bayesian neural networks be made robust to initialization and prior variance choices?
- RQ2Can gradient variance in stochastic gradient estimation be eliminated without sacrificing flexibility?
- RQ3Can prior variances be automatically selected from data using a principled hierarchical prior structure?
- RQ4Does the proposed method achieve competitive predictive performance in real-world regression tasks?
Key findings
- The proposed method achieves strong predictive performance on heteroscedastic regression tasks, outperforming alternative approaches.
- The method is robust to initialization and prior variance settings, eliminating the need for extensive hyperparameter tuning.
- Gradient variance is effectively eliminated through deterministic moment approximation, improving training stability.
- The Empirical Bayes procedure for prior variance selection leads to consistent and reliable performance across different datasets.
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.