[Paper Review] Expectation Propagation for Neural Networks with Sparsity-promoting Priors
This paper proposes an expectation propagation (EP) framework for training two-layer neural networks with sparsity-promoting hierarchical priors on weights, enabling efficient approximate Bayesian inference over model parameters, including weight scales and noise variance. The method achieves computational efficiency comparable to ensembles of sparse linear models while supporting flexible priors like Laplace and automatic relevance determination (ARD) Gaussians, with demonstrated superior predictive performance and robustness to overfitting compared to MAP and MCMC baselines.
We propose a novel approach for nonlinear regression using a two-layer neural network (NN) model structure with sparsity-favoring hierarchical priors on the network weights. We present an expectation propagation (EP) approach for approximate integration over the posterior distribution of the weights, the hierarchical scale parameters of the priors, and the residual scale. Using a factorized posterior approximation we derive a computationally efficient algorithm, whose complexity scales similarly to an ensemble of independent sparse linear models. The approach enables flexible definition of weight priors with different sparseness properties such as independent Laplace priors with a common scale parameter or Gaussian automatic relevance determination (ARD) priors with different relevance parameters for all inputs. The approach can be extended beyond standard activation functions and NN model structures to form flexible nonlinear predictors from multiple sparse linear models. The effects of the hierarchical priors and the predictive performance of the algorithm are assessed using both simulated and real-world data. Comparisons are made to two alternative models with ARD priors: a Gaussian process with a NN covariance function and marginal maximum a posteriori estimates of the relevance parameters, and a NN with Markov chain Monte Carlo integration over all the unknown model parameters.
Motivation & Objective
- To address overfitting in neural networks with high-dimensional input features by promoting sparsity in weight parameters through hierarchical priors.
- To develop a computationally efficient Bayesian inference method for nonlinear models with intractable posteriors, avoiding the limitations of Laplace approximation and MCMC.
- To enable flexible modeling of feature relevance using hierarchical priors such as Laplace and ARD Gaussians, with automatic relevance determination for input features.
- To provide a scalable and accurate alternative to MCMC and point-estimate methods for hyperparameter learning in sparse neural networks.
- To extend the applicability of expectation propagation to nonlinear models with complex, non-conjugate likelihoods and hierarchical priors.
Proposed method
- Uses expectation propagation (EP) to approximate the posterior distribution over neural network weights, hierarchical scale parameters, and residual variance, leveraging factorized posterior approximations.
- Applies hierarchical priors—such as Laplace and Gaussian ARD—on network weights to promote sparsity and automatically identify irrelevant input features.
- Employs site-specific tilted distributions and Gaussian approximations to iteratively update posterior site parameters, with normalization terms computed via numerical quadrature and Cholesky decompositions.
- Derives closed-form updates for cavity distributions and uses canonical parameterization to ensure convergence and enable gradient-based hyperparameter optimization.
- Integrates predictive uncertainty by approximating the marginal likelihood using the EP approximation, which supports gradient-based hyperparameter tuning.
- Supports both sequential and parallel EP updates, with computational complexity similar to training an ensemble of sparse linear models.
Experimental results
Research questions
- RQ1Can expectation propagation provide an accurate and efficient alternative to MCMC and Laplace approximation for Bayesian neural networks with sparsity-inducing priors?
- RQ2How does the use of hierarchical priors, such as Laplace and ARD Gaussians, affect model sparsity and predictive performance in nonlinear regression tasks?
- RQ3Does the proposed EP-based method outperform MAP-based ARD and MCMC approaches in terms of predictive accuracy and robustness to overfitting?
- RQ4To what extent can the EP framework be extended to nonlinear models with general activation functions and interaction terms between hidden units?
- RQ5Can the marginal likelihood approximation from EP be effectively used for hyperparameter optimization in the presence of intractable posteriors?
Key findings
- The EP-based method achieves predictive performance comparable to MCMC and superior to MAP-based ARD methods, particularly in high-dimensional settings with irrelevant features.
- The use of hierarchical priors with EP leads to robust feature selection, effectively suppressing irrelevant inputs without overfitting, even when the number of features exceeds the number of observations.
- The algorithm's computational complexity scales similarly to training an ensemble of independent sparse linear models, making it practical for large-scale problems.
- EP provides accurate posterior approximations that outperform the Laplace approximation, especially when the posterior curvature is poorly defined due to non-differentiable priors like the Laplace distribution.
- The marginal likelihood approximation from EP enables effective gradient-based optimization of hyperparameters such as noise variance and input weight scales, improving model calibration.
- Empirical results on simulated and real-world data confirm that the method maintains high predictive accuracy while achieving strong sparsity, with clear identification of relevant features through the posterior distribution of relevance parameters.
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.