Intractable likelihoods, unbiased estimators and sign problem

July 1, 2013
By

(This article was originally published at Statisfaction » Statistics, and syndicated at StatsBlogs.)

Computing a Taylor expansion with random truncation can be done Swiftly.

Computing a Taylor expansion with random truncation can be done Swiftly.

Hey all,

We’re at the Big Data era blablabla, but the advanced computational methods usually don’t scale well enough to match the increasing sizes of datasets. For instance, even in a simple case of i.i.d. data y_1, y_2, \ldots y_n and an associated likelihood function \mathcal{L}(\theta; y_1, y_2, \ldots, y_n), the cost of evaluating the likelihood function at any parameter \theta is typically growing at least linearly with n. If you then plug that likelihood into an optimization technique to find the Maximum Likelihood Estimate, or into a sampling technique such as Metropolis-Hastings to sample from the posterior distribution, the computational cost grows accordingly for a fixed number of iterations. However you can get unbiased estimates of the log-likelihood by drawing m < n points i_1, \ldots, i_m uniformly in the index set \{1, \ldots, n\} and by computing (n/m) \log \mathcal{L}(\theta; y_{i_1}, \ldots, y_{i_m}). This way you sub-sample from the whole dataset, and you can choose m according to your computational budget. However is it possible to perform inference with these estimates instead of the complete log-likelihood?

An approach to this problem is provided in a particularly remarkable paper that studies a Metropolis-Hastings algorithm using unbiased estimates of the target density instead of the target density itself, and shows that the result is *correct* in the sense that you get a Markov chain converging towards the exact target distribution. The problem is that it is not so trivial to get unbiased likelihood estimates. In the i.i.d case mentioned above, you get unbiased estimates of the log-likelihood, but of course the unbiased property is lost if you simply take the exponential of your estimates. Abstracting from the statistical context, suppose you have a random variable X with expectation \mu. Then \exp(X) doesn’t have expectation \exp(\mu), but is it still possible to construct an unbiased estimate of \exp(\mu) by doing something else? More generally, for any function f and not only for the exponential?

This very relevant article appeared recently on arXiv: Playing Russian Roulette with Intractable Likelihoods by Mark Girolami, Anne-Marie Lyne, Heiko Strathmann, Daniel Simpson, Yves Atchade, see also Xian’s comments on it. The motivation of the paper is slightly different than the one described above but the techniques are similar. Let me summarize the main ideas used in that paper. First develop the function f into a Taylor series:

f(\mu) = \sum_{i=0}^\infty a_i \mu^i

and take an infinite triangular array (X_{i,j})_{1\leq i \leq \infty, 1\leq j \leq i} of independent copies of X. Then the random variable

a_0 + \sum_{i=1}^\infty a_i \left(\prod_{j=1}^i X_{i,j}\right)

has expectation f(\mu). Of course it is not practical because the series is infinite, so the second idea is about making the series finite. As my new colleague Alex Thiery remarked, if you want to compute an infinite series

\sum_{i=0}^\infty u_i

you can always draw an integer-valued random variable N and compute

\sum_{i=0}^N \frac{u_i}{\mathbb{P}(N \geq i)}

since

\mathbb{E}\left[ \sum_{i=0}^N \frac{u_i}{\mathbb{P}(N \geq i)}\right] = \mathbb{E}\left[ \sum_{i=0}^\infty \frac{u_i}{\mathbb{P}(N \geq i)} 1_{N \geq i} \right] = \sum_{i=0}^\infty \frac{u_i}{\mathbb{P}(N \geq i)}\mathbb{E} [1_{N \geq i}] =\sum_{i=0}^\infty u_i

Combining the Taylor expansion and the random truncation, you can get unbiased estimate of f(\mu) for any function f, given the ability to sample independent copies of a random variable X with expectation \mu. The mentioned paper deals with more specific functions f and different truncation schemes, but essentially it’s the same deal. So is that it? Problem solved?

One big remaining issue with this scheme is that you do not control the sign of the resulting estimates; so that if you are estimating a positive quantity such as a likelihood in the i.i.d. case mentioned above, applying the expansion/truncation scheme does not guarantee that your estimates are going to take almost-surely non-negative values. In the Russian Roulette paper it is not a big issue but it could potentially be one. So let me conclude with this problem which is still open to the best of my knowledge.

Suppose you have a real-valued random variable X with expectation \mu and a function f:\mathbb{R}\to (0,\infty). You know how to sample any finite number of independent copies of X. Can you construct an almost-surely non-negative random variable Y such that \mathbb{E}[Y] = f(\mu)?

Spoiler alert: the answer is no in general… more about this soon!




Please comment on the article here: Statisfaction » Statistics

Tags:

Subscribe

Email:

  Subscribe