I discovered a most unusual algorithm for finding the posterior mean in a recent arXival called “*Temperature as a third dimension in column-density mapping of dusty astrophysical structures associated with star formation*” by Marsh et al. The target of inference is a latent *pixelized* and *discretized* image representation assumed to be the realisation of a point process on the pixel grid, which is observed through some convolution matrix in the presence of Gaussian noise. The space of the discrete state image, not , is considered prohibitively large to tackle with a posterior sampler, and being discrete it is not possible to apply a gradient-based mode finding algorithm. Instead, the authors look towards the continuous family of likelihood-tempered posterior means, (my notational edits), and take advantage of the particular structure of their likelihood function to formulate **a hierarchy of integro-differential equation for evolving from the prior mean to the posterior mean **truncated to** **. It is then a straight-forwards numerical recipe to construct a numerical solution for !

At first I thought, “Isn’t this just some weird version of thermodynamic integration?”, but then I quickly realised it isn’t because at no step is any sampling required. I then thought, “Isn’t this assuming posterior Normality?”, but it turns out the answer here (as we’ll see later) is again, “No, but it does require a Normal likelihood and Normal noise”. I then had a look at the previous Marsh and/or Richardson papers building this methodology in the acoustic imaging and remote sensing literature to see who cites it and perhaps thereby determine a common name for the algorithm, but alas it seems if anyone else is using this technique they’re referencing some other source material. *Hence my first question for readers is whether you know of anything similar that I could read about?*

Thanks to Ken Marsh who supplied me with a copy of Richardson & Marsh 1987 in which an early version of the algorithm is developed in detail I can now properly explain how the nature of the approximation in the integro-differential equation method. The observational model is supposed as follows: , with being a -dimensional vector with binary elements representing the on/off state of a given pixel in the latent image, an -dimensional convolution matrix describing the response of the observational system, being an -dimensional vector of zero-mean Gaussian noise with covariance matrix, , and an observed -dimensional image vector. The prior for will penalise the total number of ‘on’ pixels, , whilst remaining agnostic as to their arrangement, i.e., with (an independent Bernoulli weighting) and a hyper-parameter determining the ‘dilution’ of expected under the prior.

The first thing you’ll notice is that this is a bit of an odd model: a discrete (here binary) latent image subject to a real-valued convolution matrix and real-valued Gaussian noise. However, if you can put that weirdness aside for now then the IDE algorithm can be derived by first noting that differentiation of the posterior in yields , which is already an IDE but in the posterior rather than the posterior mean. To get an algorithm targeting the posterior mean the authors construct a hierarchy of IDEs by multiplying both sides of the above equation first by , then , then etc. and so on, and finally summing each side over all . For instance, the first member becomes , which is otherwise self-contained except for the ‘two point correlation function term’, , which is the target of the second member of the hierarchy.

Exact solution would of course require following each member of the hierarchy up to infinity, so the authors truncate the series after the second member by an assumption which I first thought was equivalent to posterior Normality but is in fact equivalent to supposing that the third-order copula is unity, i.e., ! In this case the authors then suggest solving the two-level hierarchy of IDEs by numerical integration from a point equivalent to and stopping at an such that which adds a level of empirical Bayes to the algorithm.

* In conclusion, although this approach is currently developed only for a very particular hierarchical model one does wonder what novel techniques might be gained from attempting to extend it to other Bayesian inference problems featuring high dimensional, discrete latent variables.* ??? To be continued, I suppose …