[Paper Review] Efficient Variational Inference for Sparse Deep Learning with Theoretical Guarantee
This paper proposes a computationally efficient variational Bayes method for sparse deep neural networks using spike-and-slab priors with continuous relaxation of the Bernoulli distribution. It establishes theoretical posterior consistency with optimal convergence rates and demonstrates strong performance in uncertainty quantification and consistent variable selection across multi-layer networks and real-world datasets.
Sparse deep learning aims to address the challenge of huge storage consumption by deep neural networks, and to recover the sparse structure of target functions. Although tremendous empirical successes have been achieved, most sparse deep learning algorithms are lacking of theoretical support. On the other hand, another line of works have proposed theoretical frameworks that are computationally infeasible. In this paper, we train sparse deep neural networks with a fully Bayesian treatment under spike-and-slab priors, and develop a set of computationally efficient variational inferences via continuous relaxation of Bernoulli distribution. The variational posterior contraction rate is provided, which justifies the consistency of the proposed variational Bayes method. Notably, our empirical results demonstrate that this variational procedure provides uncertainty quantification in terms of Bayesian predictive distribution and is also capable to accomplish consistent variable selection by training a sparse multi-layer neural network.
Motivation & Objective
- To address the lack of theoretical support in existing sparse deep learning methods, particularly in variational inference frameworks.
- To develop a computationally efficient Bayesian inference method that maintains sparsity while ensuring theoretical consistency.
- To enable uncertainty quantification through Bayesian predictive distributions in sparse deep neural networks.
- To achieve consistent variable selection in multi-layer networks by leveraging spike-and-slab priors with proper hyperparameter calibration.
- To bridge the gap between theoretical sparse deep learning and practical, scalable inference by combining computational efficiency with statistical consistency.
Proposed method
- Imposes spike-and-slab priors on all weights and biases in a deep neural network, where the spike component enforces zero weights and the slab component allows non-zero values.
- Uses continuous relaxation of the Bernoulli distribution to enable differentiable optimization in variational inference, avoiding discrete sampling.
- Applies variational inference to approximate the true posterior over sparse network structures, transforming Bayesian inference into an optimization problem.
- Derives the variational posterior contraction rate to theoretically justify the consistency of the method under proper hyperparameter settings.
- Employs a reparameterization trick and stochastic gradient descent (e.g., Adam) to optimize the variational objective efficiently.
- Calibrates the prior probability of edge activation to balance estimation error, variational error, and approximation error, achieving optimal convergence rates.
Experimental results
Research questions
- RQ1Can a fully Bayesian approach to sparse deep learning achieve both computational efficiency and theoretical consistency?
- RQ2Does continuous relaxation of the Bernoulli distribution in variational inference preserve the sparsity structure of the true posterior?
- RQ3Can the proposed method achieve consistent variable selection in deep networks with multiple hidden layers?
- RQ4How does the variational posterior contraction rate behave under different hyperparameter choices, and does it achieve optimal rates?
- RQ5Can the method provide reliable uncertainty quantification through Bayesian predictive distributions on out-of-distribution inputs?
Key findings
- The proposed method achieves the best test RMSE across all UCI regression datasets, including Kin8nm (0.08 ± 0.00), Naval (0.00 ± 0.00), and Power Plant (4.01 ± 0.18), while maintaining high sparsity (e.g., 82.9% for Naval).
- On the MNIST dataset, the method demonstrates superior uncertainty quantification: for ambiguous overlaid images, it produces probabilistic outputs reflecting uncertainty, unlike the deterministic predictions of frequentist baselines.
- For the Fashion-MNIST dataset, the method maintains higher test accuracy than the full Bayesian baseline (VBNN) beyond 80 epochs, while the full BNN suffers from overfitting.
- The method achieves consistent support recovery in multi-layer networks, outperforming single-layer methods in variable selection tasks.
- The posterior sparsity is well-controlled and interpretable, with reported values of 64.5% for Kin8nm, 82.9% for Naval, and 20.8% for Year (90 features), indicating effective structure recovery.
- Theoretical analysis confirms that the variational posterior contraction rate achieves the optimal balance among estimation, variational, and approximation errors under proper hyperparameter tuning.
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.