Bayesian model reduction is a method for computing the
evidence
Evidence for a proposition is what supports this proposition. It is usually understood as an indication that the supported proposition is true. What role evidence plays and how it is conceived varies from field to field.
In epistemology, evidenc ...
and
posterior over the parameters of
Bayesian models that differ in their
priors. 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).
Theory
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
In probability theory and statistics, Bayes' theorem (alternatively Bayes' law or Bayes' rule), named after Thomas Bayes, describes the probability of an event, based on prior knowledge of conditions that might be related to the event. For examp ...
:
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
:
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:
The evidence for the reduced model is obtained by integrating over the parameters of each side of the equation:
And by re-arrangement:
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. First define normal densities for the priors and posteriors:
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:
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:
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.
Applications
Neuroimaging
Bayesian model reduction was initially developed for use in neuroimaging analysis, in the context of modelling brain connectivity, as part of the
dynamic causal modelling
Dynamic causal modeling (DCM) is a framework for specifying models, fitting them to data and comparing their evidence using Bayes factor, Bayesian model comparison. It uses nonlinear State space, state-space models in continuous time, specified us ...
framework (where it was originally referred to as post-hoc Bayesian model selection). Dynamic causal models (DCMs) are differential equation models of brain dynamics. The experimenter specifies multiple competing models which differ in their priors – e.g. in the choice of parameters which are fixed at their prior expectation of zero. Having fitted a single 'full' model with all parameters of interest informed by the data, Bayesian model reduction enables the evidence and parameters for competing models to be rapidly computed, in order to test hypotheses. These models can be specified manually by the experimenter, or searched over automatically, in order to 'prune' any redundant parameters which do not contribute to the evidence.
Bayesian model reduction was subsequently generalised and applied to other forms of Bayesian models, for example
parametric empirical Bayes (PEB) models of group effects. Here, it is used to compute the evidence and parameters for any given level of a hierarchical model under constraints (empirical priors) imposed by the level above.
Neurobiology
Bayesian model reduction has been used to explain functions of the brain. By analogy to its use in eliminating redundant parameters from models of experimental data, it has been proposed that the brain eliminates redundant parameters of internal models of the world while offline (e.g. during sleep).
Software implementations
Bayesian model reduction is implemented in the
Statistical Parametric Mapping
Statistical parametric mapping (SPM) is a statistical technique for examining differences in brain activity recorded during functional neuroimaging experiments. It was created by Karl Friston. It may alternatively refer to software created by the ...
toolbox, in the
Matlab functio
spm_log_evidence_reduce.m.
References
{{reflist , refs=
[{{Cite journal, last1=Friston, first1=Karl, last2=Penny, first2=Will, date=June 2011, title=Post hoc Bayesian model selection, journal=NeuroImage, volume=56, issue=4, pages=2089–2099, doi=10.1016/j.neuroimage.2011.03.062, issn=1053-8119, pmc=3112494, pmid=21459150]
[{{Cite journal, last1=Friston, first1=Karl J., last2=Litvak, first2=Vladimir, last3=Oswal, first3=Ashwini, last4=Razi, first4=Adeel, last5=Stephan, first5=Klaas E., last6=van Wijk, first6=Bernadette C.M., last7=Ziegler, first7=Gabriel, last8=Zeidman, first8=Peter, date=March 2016, title=Bayesian model reduction and empirical Bayes for group (DCM) studies, journal=NeuroImage, volume=128, pages=413–431, doi=10.1016/j.neuroimage.2015.11.015, issn=1053-8119, pmc=4767224, pmid=26569570]
[{{Cite journal, last1=Rosa, first1=M.J., last2=Friston, first2=K., last3=Penny, first3=W., date=June 2012, title=Post-hoc selection of dynamic causal models, journal=Journal of Neuroscience Methods, volume=208, issue=1, pages=66–78, doi=10.1016/j.jneumeth.2012.04.013, issn=0165-0270, pmc=3401996, pmid=22561579]
[{{Cite journal, last1=Friston, first1=K.J., last2=Harrison, first2=L., last3=Penny, first3=W., date=August 2003, title=Dynamic causal modelling, journal=NeuroImage, volume=19, issue=4, pages=1273–1302, doi=10.1016/s1053-8119(03)00202-7, pmid=12948688, s2cid=2176588, issn=1053-8119]
[{{Cite journal, last1=Friston, first1=Karl J., last2=Lin, first2=Marco, last3=Frith, first3=Christopher D., last4=Pezzulo, first4=Giovanni, last5=Hobson, first5=J. Allan, last6=Ondobaka, first6=Sasha, date=October 2017, title=Active Inference, Curiosity and Insight, journal=Neural Computation, language=en, volume=29, issue=10, pages=2633–2683, doi=10.1162/neco_a_00999, pmid=28777724, s2cid=13354308, issn=0899-7667, url=https://discovery.ucl.ac.uk/id/eprint/1570070/1/Friston_Active%20Inference%20Curiosity%20and%20Insight.pdf]
[{{Cite journal, last1=Tononi, first1=Giulio, last2=Cirelli, first2=Chiara, date=February 2006, title=Sleep function and synaptic homeostasis, journal=Sleep Medicine Reviews, volume=10, issue=1, pages=49–62, doi=10.1016/j.smrv.2005.05.002, pmid=16376591, issn=1087-0792]
Bayesian statistics
Statistical methods