Gaussian Expectation Propagation
Multivariate Normal Distribution in the Exponential Family
Remember from a previous blog post that a pdf
Following the work of Barthelmé, Chopin, and Cottet (2015) we can relabel the expression above as follows
Target Distribution
We assume the target distribution is intractable, but can be factorized into a product of
is a posterior distribution. is a prior distribution. are likelihood terms, which are intractable.
From here onwards we assume that the prior distribution
Note: The parameters
are not the components of , they are different parameters.
Global Approximation
The global approximation is defined as
Note: The parameters
are not the components of , they are different parameters.
Cavity Distribution
The cavity distribution at the
Tilted Distribution
The tilted distribution, also called pseudo-posterior, is found by multiplying the cavity distribution by the
In general, computing moments of this distribution will be intractable, however we how that calculating moments of this distribution will be easier than calculating moments of the entire target distribution.
Gaussian Expectation Propagation Updates
Initialization
- Choose natural parameters for the prior distribution
and . - For every site
choose the parameters and . - Compute the natural parameters of the global approximation
Updates
- At the
site subtract the natural parameters from the global ones, to obtain the natural parameters of the cavity distribution - Sample from the tilted distribution using an MCMC sampler to obtain
samples from - Perform moment-matching by computing the mean and the variance-coviariance matrix from the samples, and assign those values to the mean and the variance-covariance matrix of the newly-found global gaussian approximation.
Notice that every site has found (possibly) different new mean and variance-covariance parameters. We denote by the new mean parameter for the multivariate normal global approximation, found at site . - Next, at every site
, convert the global mean and variance-covariance parameters into natural parameters - At site
find the new natural parameters for the approximating factor by taking the difference between the new global natural parameters and the natural parameters of the old cavity distribution. - From each site, send
and to the posterior server and update global approximation