[Paper Review] Model Selection in Bayesian Neural Networks via Horseshoe Priors
This paper proposes using horseshoe priors over node pre-activations in Bayesian neural networks to enable automatic, continuous model selection by pruning inactive neurons. The method achieves compact, high-performing networks without sacrificing predictive accuracy, even when over-parameterized, by leveraging the horseshoe prior's heavy-tailed and spike-like properties to induce unit-level sparsity through shared scale parameters.
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. In this work, we apply a horseshoe prior over node pre-activations of a Bayesian neural network, which effectively turns off nodes that do not help explain the data. We demonstrate that our prior prevents the BNN from under-fitting even when the number of nodes required is grossly over-estimated. Moreover, this model selection over the number of nodes doesn't come at the expense of predictive or computational performance; in fact, we learn smaller networks with comparable predictive performance to current approaches.
Motivation & Objective
- To address the open problem of model selection in Bayesian neural networks, particularly choosing the number of hidden units.
- To develop a computationally efficient and statistically effective method for pruning redundant neurons without compromising predictive performance.
- To enable continuous, differentiable model selection that avoids the discrete, combinatorial complexity of spike-and-slab priors.
- To demonstrate that horseshoe priors on node-level weight scales can induce strong sparsity while maintaining or improving predictive accuracy.
- To provide a scalable alternative to manual hyperparameter search for network width in Bayesian neural networks.
Proposed method
- Apply a horseshoe prior over the variance of weights incident to each node, using a shared global scale parameter $\upsilon_l$ across units in a layer.
- Use a non-centered parameterization of the horseshoe prior to improve variational inference stability and reduce local optima.
- Model each node's weight vector $w_{kl}$ as conditionally normal with scale $\tau_{kl} \cdot \upsilon_l$, where $\tau_{kl}$ and $\upsilon_l$ follow half-Cauchy distributions.
- Leverage the heavy-tailed nature of the horseshoe prior to allow large weights to escape shrinkage while driving small weights toward zero, effectively turning off inactive nodes.
- Use a fully factorized variational inference approximation to scale the method to larger networks, maintaining differentiability and compatibility with modern deep learning frameworks.
- Implement a continuous relaxation of discrete model selection, avoiding the intractability of spike-and-slab models while achieving similar sparsity.
Experimental results
Research questions
- RQ1Can horseshoe priors on node pre-activations effectively perform automatic model selection in Bayesian neural networks?
- RQ2Does the use of shared scale parameters across nodes in a layer enable effective unit-level sparsity without sacrificing predictive performance?
- RQ3Can the horseshoe prior prevent underfitting even when the network is grossly over-parameterized?
- RQ4How does the performance of the horseshoe-based BNN compare to state-of-the-art variational inference methods like VMG in terms of predictive accuracy and uncertainty calibration?
- RQ5Is the non-centered parameterization of the horseshoe prior necessary for robust inference in this setting?
Key findings
- The horseshoe prior enables effective automatic model selection by pruning redundant neurons through continuous, differentiable regularization, without requiring discrete model averaging.
- Even when initialized with a large number of nodes, the HS-BNN avoids underfitting and learns compact, high-performing architectures.
- On UCI regression datasets, HS-BNN achieves competitive or superior predictive performance compared to VMG, with comparable or better RMSE and log-likelihood scores.
- On the Naval and Kin8nm datasets, HS-BNN significantly outperforms VMG in predictive log-likelihood, achieving 5.52 and 1.12 respectively, compared to 2.46 and 1.10 for VMG.
- Visualizations show that HS-BNN learns more interpretable filters, with stronger sparsity and filters that correspond to meaningful patterns like digits or edges, unlike less sparse alternatives.
- The method maintains computational efficiency and scalability, demonstrating that continuous priors can achieve sparsity comparable to discrete spike-and-slab models without their computational burden.
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.