[Paper Review] Structured Variational Learning of Bayesian Neural Networks with Horseshoe Priors
This paper proposes structured variational inference with regularized horseshoe priors for Bayesian neural networks, enabling automatic model compression by pruning redundant nodes while maintaining predictive performance. The method achieves state-of-the-art shrinkage and generalization, especially in low-data regimes such as reinforcement learning, through hierarchical priors and posterior structure-aware approximations.
Bayesian Neural Networks (BNNs) have recently received increasing attention for their ability to provide well-calibrated posterior uncertainties. However, model selection---even choosing the number of nodes---remains an open question. Recent work has proposed the use of a horseshoe prior over node pre-activations of a Bayesian neural network, which effectively turns off nodes that do not help explain the data. In this work, we propose several modeling and inference advances that consistently improve the compactness of the model learned while maintaining predictive performance, especially in smaller-sample settings including reinforcement learning.
Motivation & Objective
- To address the challenge of Bayesian neural network (BNN) model selection, particularly choosing the optimal number of hidden units.
- To improve generalization and predictive performance in small-sample settings, including reinforcement learning, where overfitting and high uncertainty are common.
- To develop a computationally efficient method for automatic network compression by identifying and removing irrelevant nodes.
- To overcome limitations of existing variational inference approaches in BNNs by preserving critical posterior dependencies.
Proposed method
- Introduces a regularized horseshoe prior over node pre-activations, with layer-shared global shrinkage and unit-specific local scales to enable automatic sparsity.
- Uses a non-centered parameterization of the horseshoe prior to improve optimization stability and avoid poor local optima.
- Employs a structured variational approximation that preserves dependencies between weights and hyperparameters, improving posterior approximation quality.
- Applies a novel thresholding rule for pruning nodes without requiring point summaries of the posterior, enabling direct model compression.
- Uses inverse-gamma hyperpriors to reparameterize the half-Cauchy distribution, enhancing numerical stability and convergence.
- Combines the structured variational inference with a reparameterization trick to enable end-to-end training via stochastic gradient descent.
Experimental results
Research questions
- RQ1Can regularized horseshoe priors enable automatic, data-driven model selection in Bayesian neural networks by identifying and removing redundant nodes?
- RQ2How does structured variational inference with horseshoe priors compare to standard variational methods like matrix Gaussian approximations in terms of predictive performance and model compactness?
- RQ3Does the proposed method improve generalization in low-data regimes, such as in model-based reinforcement learning with limited rollouts?
- RQ4Can the proposed thresholding rule for node pruning outperform existing methods that rely on point estimates of posterior means?
- RQ5How does the combination of hierarchical priors and structured approximations affect posterior uncertainty calibration and predictive variance?
Key findings
- The structured regularized horseshoe BNN (reg-HS) achieves competitive or better predictive performance than the matrix Gaussian variational method (VMG) across multiple UCI regression datasets.
- The reg-HS model achieves significant model compression by pruning up to 90% of nodes without sacrificing predictive accuracy, demonstrating effective automatic architecture selection.
- In low-data regimes (10% of training data), reg-HS outperforms VMG in predictive performance, particularly in reducing overfitting and uncertainty variance.
- In reinforcement learning tasks, the reg-HS BNN leads to higher average rewards (e.g., 995.4 vs. 975.4 in 2D map) and lower test RMSE, showing improved policy learning from limited data.
- The proposed thresholding rule successfully identifies and removes inactive nodes without requiring posterior point estimates, enabling direct and efficient pruning.
- Fine-tuning the pruned model had minimal impact on performance, indicating that the structured variational approximation already yields a robust, compressed model.
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.