Bayesian model reduction
From Wikipedia, the free encyclopedia
Bayesian model reduction is a method for computing the evidence and posterior over the parameters of Bayesian models that differ in their priors.[1][2] A full model is fitted to data using standard approaches. Hypotheses are then tested by defining one or more 'reduced' models with alternative (and usually more restrictive) priors, which usually – in the limit – switch off certain parameters. The evidence and parameters of the reduced models can then be computed from the evidence and estimated (posterior) parameters of the full model using Bayesian model reduction. If the priors and posteriors are normally distributed, then there is an analytic solution which can be computed rapidly. This has multiple scientific and engineering applications: these include scoring the evidence for large numbers of models very quickly and facilitating the estimation of hierarchical models (Parametric Empirical Bayes).
Consider some model with parameters and a prior probability density on those parameters . The posterior belief about after seeing the data is given by Bayes rule:
| 1 |
The second line of Equation 1 is the model evidence, which is the probability of observing the data given the model. In practice, the posterior cannot usually be computed analytically due to the difficulty in computing the integral over the parameters. Therefore, the posteriors are estimated using approaches such as MCMC sampling or variational Bayes. A reduced model can then be defined with an alternative set of priors :
| 2 |
The objective of Bayesian model reduction is to compute the posterior and evidence of the reduced model from the posterior and evidence of the full model. Combining Equation 1 and Equation 2 and re-arranging, the reduced posterior can be expressed as the product of the full posterior, the ratio of priors and the ratio of evidences:
| 3 |
The evidence for the reduced model is obtained by integrating over the parameters of each side of the equation:
| 4 |
And by re-arrangement:
| 5 |
Gaussian priors and posteriors
Under Gaussian prior and posterior densities, as are used in the context of variational Bayes, Bayesian model reduction has a simple analytical solution.[1] First define normal densities for the priors and posteriors:
| 6 |
where the tilde symbol (~) indicates quantities relating to the reduced model and subscript zero – such as – indicates parameters of the priors. For convenience we also define precision matrices, which are the inverse of each covariance matrix:
| 7 |
The free energy of the full model is an approximation (lower bound) on the log model evidence: that is optimised explicitly in variational Bayes (or can be recovered from sampling approximations). The reduced model's free energy and parameters are then given by the expressions:
| 8 |
Example

Consider a model with a parameter and Gaussian prior , which is the Normal distribution with mean zero and standard deviation 0.5 (illustrated in the Figure, left). This prior says that without any data, the parameter is expected to have value zero, but we are willing to entertain positive or negative values (with a 99% confidence interval [−1.16,1.16]). The model with this prior is fitted to the data, to provide an estimate of the parameter and the model evidence .
To assess whether the parameter contributed to the model evidence, i.e. whether we learnt anything about this parameter, an alternative 'reduced' model is specified in which the parameter has a prior with a much smaller variance: e.g. . This is illustrated in the Figure (right). This prior effectively 'switches off' the parameter, saying that we are almost certain that it has value zero. The parameter and evidence for this reduced model are rapidly computed from the full model using Bayesian model reduction.
The hypothesis that the parameter contributed to the model is then tested by comparing the full and reduced models via the Bayes factor, which is the ratio of model evidences:
The larger this ratio, the greater the evidence for the full model, which included the parameter as a free parameter. Conversely, the stronger the evidence for the reduced model, the more confident we can be that the parameter did not contribute. Note this method is not specific to comparing 'switched on' or 'switched off' parameters, and any intermediate setting of the priors could also be evaluated.