Abstract
Pseudo-marginal Markov chain Monte Carlo methods for sampling from intractable distributions have gained recent interest and have been theoretically studied in considerable depth. Their main appeal is that they are exact, in the sense that they target marginally the correct invariant distribution. However, the pseudo-marginal Markov chain can exhibit poor mixing and slow convergence towards its target. As an alternative, a subtly different Markov chain can be simulated, where better mixing is possible but the exactness property is sacrificed. This is the noisy algorithm, initially conceptualised as Monte Carlo within Metropolis, which has also been studied but to a lesser extent. The present article provides a further characterisation of the noisy algorithm, with a focus on fundamental stability properties like positive recurrence and geometric ergodicity. Sufficient conditions for inheriting geometric ergodicity from a standard Metropolis–Hastings chain are given, as well as convergence of the invariant distribution towards the true target distribution.
Electronic supplementary material
The online version of this article (doi:10.1007/s11222-015-9604-3) contains supplementary material, which is available to authorized users.
Keywords: Markov chain Monte Carlo, Pseudo-marginal Monte Carlo , Monte Carlo within Metropolis, Intractable likelihoods, Geometric ergodicity
Introduction
Intractable target densities and the pseudo-marginal algorithm
Suppose our aim is to simulate from an intractable probability distribution for some random variable X, which takes values in a measurable space . In addition, let have a density with respect to some reference measure , e.g. the counting or the Lebesgue measure. By intractable we mean that an analytical expression for the density is not available and so implementation of a Markov chain Monte Carlo (MCMC) method targeting is not straightforward.
One possible solution to this problem is to target a different distribution on the extended space , which admits as marginal distribution. The pseudo-marginal algorithm (Beaumont 2003; Andrieu and Roberts 2009) falls into this category since it is a Metropolis–Hastings (MH) algorithm targeting a distribution , associated to the random vector (X, W) defined on the product space where . It is given by
1 |
where is a family of probability distributions on satisfying for each
2 |
Throughout this article, we restrict our attention to the case where for each , is -a.s. strictly positive, for reasons that will become clear.
The random variables are commonly referred as the weights. Formalising this algorithm using (1) and (2) was introduced by Andrieu and Vihola (2015), and “exactness” follows immediately: admits as a marginal. Given a proposal kernel , the respective proposal of the pseudo-marginal is given by
and, consequently, the acceptance probability can be expressed as
3 |
The pseudo-marginal algorithm defines a time-homogeneous Markov chain, with transition kernel on the measurable space . A single draw from is presented in Algorithm 1.
Due to its exactness and straightforward implementation in many settings, the pseudo-marginal has gained recent interest and has been theoretically studied in some depth, see e.g. Andrieu and Roberts (2009), Andrieu and Vihola (2014, 2015), Doucet et al. (2015), Girolami et al. (2013), Maire et al. (2014) and Sherlock et al. (2015). These studies typically compare the pseudo-marginal Markov chain with a “marginal” Markov chain, arising in the case where all the weights are almost surely equal to 1, and (3) is then the standard Metropolis–Hastings acceptance probability associated with the target density and the proposal q.
Examples of pseudo-marginal algorithms
A common source of intractability for occurs when a latent variable Z on is used to model observed data, as in hidden Markov models (HMMs) or mixture models. Although the density cannot be computed, it can be approximated via importance sampling, using an appropriate auxiliary distribution, say . Here, appropriate means , where denotes the conditional distribution of Z given . Therefore, for this setting, the weights are given by
which motivates the following generic form when using averages of unbiased estimators
4 |
It is clear that (4) describes only a special case of (2). Nevertheless, we will pay special attention to the former throughout the article. For similar settings to (4) see Andrieu and Roberts (2009).
Since (2) is more general, it allows to be any random variable with expectation 1. Sequential Monte Carlo (SMC) methods involve the simulation of a system of some number of particles, and provide unbiased estimates of likelihoods associated with HMMs (see Del Moral 2004, Proposition 7.4.1 or Pitt et al. 2012) irrespective of the size of the particle system. Consider the model given by Fig. 1. The random variables form a time-homogeneous Markov chain with transition that depends on a set of parameters . The observed random variables are conditionally independent given the unobserved and are distributed according to , which also may depend on . The likelihood function for is given by
where denotes expectation w.r.t. the -dependent law of , and we assume for simplicity that the initial value is known. If we denote by the unbiased SMC estimator of based on N particles, we can then define
and (2) is satisfied but (4) is not. The resulting pseudo-marginal algorithm is developed and discussed in detail in Andrieu et al. (2010), where it and related algorithms are referred to as particle MCMC methods.
The noisy algorithm
Although the pseudo-marginal has the desirable property of exactness, it can suffer from “sticky” behaviour, exhibiting poor mixing and slow convergence towards the target distribution (Andrieu and Roberts 2009; Lee and Łatuszyński 2014). The cause for this is well-known to be related with the value of the ratio between and at a particular iteration. Heuristically, when the value of the current weight (w in (3)) is large, proposed moves can have a low probability of acceptance. As a consequence, the resulting chain can get “stuck” and may not move after a considerable number of iterations.
In order to overcome this issue, a subtly different algorithm is performed in some practical problems (see, e.g., McKinley et al. 2014). The basic idea is to refresh, independently from the past, the value of the current weight at every iteration. The ratio of the weights between and still plays an important role in this alternative algorithm, but here refreshing at every iteration can improve mixing and the rate of convergence.
This alternative algorithm is commonly known as Monte Carlo within Metropolis (MCWM), as in O’Neill et al. (2000), Beaumont (2003) or Andrieu and Roberts (2009), since typically the weights are Monte Carlo estimates as in (4). From this point onwards it will be referred as the noisy MH algorithm or simply the noisy algorithm to emphasize that our main assumption is (2). Due to independence from previous iterations while sampling and , the noisy algorithm also defines a time-homogeneous Markov chain with transition kernel , but on the measurable space . A single draw from is presented in Algorithm 2, and it is clear that we restrict our attention to strictly positive weights because the algorithm is not well-defined when both and are equal to 0.
Even though these algorithms differ only slightly, the related chains have very different properties. In Algorithm 2, the value w is generated at every iteration whereas in Algorithm 1, it is treated as an input. As a consequence, Algorithm 1 produces a chain on contrasting with a chain from Algorithm 2 taking values on . However, the noisy chain is not invariant under and it is not reversible in general. Moreover, it may not even have an invariant distribution as shown by some examples in Sect. 2.
From O’Neill et al. (2000) and Fernández-Villaverde and Rubio-Ramírez (2007), it is evident that the implementation of the noisy algorithm goes back even before the appearance of the pseudo-marginal, the latter initially conceptualised as Grouped Independence Metropolis–Hastings (GIMH) in Beaumont (2003). Theoretical properties, however, of the noisy algorithm have mainly been studied in tandem with the pseudo-marginal by Beaumont (2003), Andrieu and Roberts (2009) and more recently by Alquier et al. (2014).
The noisy chain generated by Algorithm 2 can be seen as a perturbed version of an idealised Markov chain where the weights are all equal to one. Perturbed Markov chains have been investigated in , e.g., Roberts et al. (1998), Breyer et al. (2001), Shardlow and Stuart (2000), Mitrophanov (2005), Ferré et al. (2013). More recently Pillai and Smith (2014) and Rudolf and Schweizer (2015) study such chains using the notion of Wasserstein distance. We focus on total variation distance, a particular case of the Wasserstein distance. The relationship between our work and these latter papers is pointed out in subsequent remarks.
Objectives of the article
The objectives of this article can be illustrated using a simple example. Let denote a univariate Gaussian distribution with mean and variance and be a standard normal distribution. Let the weights be as in (4) with
where denotes a log-normal distribution of parameters and . In addition, let the proposal q be random walk given by . For this example, Fig. 2 shows the estimated densities using the noisy chain for different values of N. It appears that the noisy chain has an invariant distribution, and as N increases it seems to approach the desired target . Our objectives here are to answer the following types of questions about the noisy algorithm in general:
Does an invariant distribution exist, at least for N large enough?
Does the noisy Markov chain behave like the marginal chain for sufficiently large N?
Does the invariant distribution, if it exists, converge to as N increases?
We will see that the answer to the first two questions is negative in general. However, all three questions can be answered positively when the marginal chain is geometrically ergodic and the distributions of the weights satisfy additional assumptions.
Marginal chains and geometric ergodicity
In order to formalise our analysis, let P denote the Markov transition kernel of a standard MH chain on , targeting with proposal q. We will refer to this chain and this algorithm using the term marginal (as in Andrieu and Roberts 2009; Andrieu and Vihola 2015), which is the idealised version for which the noisy chain and corresponding algorithm are simple approximations. Therefore
where is the MH acceptance probability and is the rejection probability, given by
5 |
Similarly, for the transition kernel of the noisy chain, moves are proposed according to q but are accepted using (as in (3)) instead of , once values for and are sampled. In order to distinguish the acceptance probabilities between the noisy and the pseudo-marginal processes, despite being the same after sampling values for the weights, define
6 |
Here is the expectation of a randomised acceptance probability, which permits defining the transition kernel of the noisy chain by
where is the noisy rejection probability given by
7 |
As briefly noted before, the noisy kernel is just a perturbed version of P involving a ratio of weights in the noisy acceptance probability . When such weights are identically one, i.e. , the noisy chain reduces to the marginal chain, whereas the pseudo-marginal becomes the marginal chain with an extra component always equal to 1.
So far, the terms slow convergence and “sticky” behaviour have been used in a relative vague sense. A powerful characterisation of the behaviour of a Markov chain is provided by geometric ergodicity, defined below. Geometrically ergodic Markov chains have a limiting invariant probability distribution, which they converge towards geometrically fast in total variation (Meyn and Tweedie 2009). For any Markov kernel , let be the n-step transition kernel, which is given by
Definition 1.1
(Geometric ergodicity) A -irreducible and aperiodic Markov chain on a measurable space , with transition kernel P and invariant distribution , is geometrically ergodic if there exists a finite function and constants , such that
8 |
Here, denotes the total variation norm given by
where is any signed measure.
Geometric ergodicity does not necessarily provide fast convergence in an absolute sense. For instance, consider cases where , or R, from Definition 1.1 are extremely close to one, or very large respectively. Then the decay of the total variation distance, though geometric, is not particularly fast (see Roberts and Rosenthal 2004 for some examples).
Nevertheless, geometric ergodicity is a useful tool when analysing non-reversible Markov chains as will become apparent in the noisy chain case. Moreover, in practice one is often interested in estimating for some function , which is done by using ergodic averages of the form
In this case, geometric ergodicity is a desirable property since it can guarantee the existence of a central limit theorem (CLT) for , see Chan and Geyer (1994) and Roberts and Rosenthal (1997, 2004) for a more general review. Also, its importance is related with the construction of consistent estimators of the corresponding asymptotic variance in the CLT, as in Flegal and Jones (2010).
As noted in Andrieu and Roberts (2009), if the weights are not essentially bounded then the pseudo-marginal chain cannot be geometrically ergodic; in such cases the “stickiness” may be more evident. In addition, under mild assumptions (in particular, that has a left spectral gap), from Andrieu and Vihola (2015, Proposition 10) and Lee and Łatuszyński (2014), a sufficient but not necessary condition ensuring the pseudo-marginal inherits geometric ergodicity from the marginal, is that the weights are uniformly bounded. This certainly imposes a tight restriction in many practical problems.
The analyses in Andrieu and Roberts (2009) and Alquier et al. (2014) mainly study the noisy algorithm in the case where the marginal Markov chain is uniformly ergodic, i.e. when it satisfies (8) with . However, there are many Metropolis–Hastings Markov chains for statistical estimation that cannot be uniformly ergodic, e.g. random walk Metropolis chains when is not compactly supported. Our focus is therefore on inheritance of geometric ergodicity by the noisy chain, complementing existing results for the pseudo-marginal chain.
Outline of the paper
In Sect. 2, some simple examples are presented for which the noisy chain is positive recurrent, so it has an invariant probability distribution. This is perhaps the weakest stability property that one would expect a Monte Carlo Markov chain to have. However, other fairly surprising examples are presented for which the noisy Markov chain is transient even though the marginal and pseudo-marginal chains are geometrically ergodic. Section 3 is dedicated to inheritance of geometric ergodicity from the marginal chain, where two different sets of sufficient conditions are given and are further analysed in the context of arithmetic averages given by (4). Once geometric ergodicity is attained, it guarantees the existence of an invariant distribution for the noisy chain. Under the same sets of conditions, we show in Sect. 4 that and can be made arbitrarily close in total variation as N increases. Moreover, explicit rates of convergence are possible to obtain in principle, when the weights arise from an arithmetic average setting as in (4).
Motivating examples
Homogeneous weights with a random walk proposal
Assume a log-concave target distribution on the positive integers, whose density with respect to the counting measure is given by
where is a convex function. In addition, let the proposal distribution be a symmetric random walk on the integers, i.e.
9 |
From Mengersen and Tweedie (1996), it can be seen that the marginal chain is geometrically ergodic.
Now, assume the distribution of the weights is homogeneous with respect to the state space, meaning
10 |
In addition, assume -a.s., then for
For this particular class of weights and using the fact that h is convex, the noisy chain is geometrically ergodic, implying the existence of an invariant probability distribution.
Proposition 2.1
Consider a log-concave target density on the positive integers and a proposal density as in (9). In addition, let the distribution of the weights be homogeneous as in (10). Then, the chain generated by the noisy kernel is geometrically ergodic.
It is worth noting that the distribution of the weights, though homogeneous with respect to the state space, can be taken arbitrarily, as long as the weights are positive. Homogeneity ensures that the distribution of the ratio of such weights is not concentrated near 0, due to its symmetry around one, i.e. for
In contrast, when the support of the distribution is unbounded, the corresponding pseudo-marginal chain cannot be geometrically ergodic.
Particle MCMC
More complex examples arise when using particle MCMC methods, for which noisy versions can also be performed. They may prove to be useful in some inference problems. Consider again the hidden Markov model given by Fig. 1. As before, set and let
Therefore, once a prior distribution for is specified, say, the aim is to conduct Bayesian inference on the posterior distribution
In this particular setting, the posterior distribution is tractable. This will allows us to compare the results obtained from the exact and noisy versions, both relying on the SMC estimator of the likelihood. Using a uniform prior for the parameters and a random walk proposal, Fig. 3 shows the run and autocorrelation function (acf) for the autoregressive parameter a of the marginal chain. Similarly, Fig. 4 shows the corresponding run and acf for both the pseudo-marginal and the noisy chain when . Plots for the other parameters and different values of N can be found in Online Appendix 2. It is noticeable how the pseudo-marginal gets “stuck”, resulting in a lower acceptance than the marginal and noisy chains. In addition, the acf of the noisy chain seems to decay faster than that of the pseudo-marginal chain.
Finally, Figs. 5 and 6 show the estimated posterior densities for the parameters when and , respectively. There, the trade-off between the pseudo-marginal and the noisy algorithm is noticeable. For lower values of N, the pseudo-marginal will require more iterations due to the slow mixing, whereas the noisy converges faster towards an unknown noisy invariant distribution. By increasing N, the mixing in the pseudo-marginal improves and the noisy invariant approaches the true posterior. Plots for other values of N can also be found in Online Appendix 2.
Transient noisy chain with homogeneous weights
In contrast with example in Sect. 2.1, this one shows that the noisy algorithm can produce a transient chain even in simple settings. Let be a geometric distribution on the positive integers, whose density with respect to the counting measure is given by
11 |
In addition, assume the proposal distribution is a simple random walk on the integers, i.e.
12 |
where . Under these assumptions, the marginal chain is geometrically ergodic, see Proposition 5.1 in Appendix 1.
Consider and as in Sect. 2.1, let the distribution of weights be homogeneous and given by
13 |
where Ber(s) denotes a Bernoulli random variable of parameter There exists a relationship between s, b and that guarantees the expectation of the weights is identically one. The following proposition, proven in Appendix 1 by taking , shows that the resulting noisy chain can be transient for certain values of b, and .
Proposition 2.2
Consider a geometric target density as in (11) and a proposal density as in (12). In addition, let the weights when be given by (13). Then, for some b, and the chain generated by the noisy kernel is transient.
In contrast, since the weights are uniformly bounded by b, the pseudo-marginal chain inherits geometric ergodicity for any , b and . The left plot in Fig. 7 shows an example. We will discuss the behaviour of this example as N increases in Sect. 3.4 .
Transient noisy chain with non-homogeneous weights
One could argue that the transient behaviour of the previous example is related to the large value of in the proposal distribution. However, as shown here, for any value of one can construct weights satisfying (2) for which the noisy chain is transient. With the same assumptions as in the example in Sect. 2.3, except that now the distribution of weights is not homogeneous but given by
14 |
the noisy chain will be transient for b large enough. The proof can be found in Appendix 1.
Proposition 2.3
Consider a geometric target density as in (11) and a proposal density as in (12). In addition, let the weights when be given by (14). Then, for any there exists some such that the chain generated by the noisy kernel is transient.
The reason for this becomes apparent when looking at the behaviour of the ratios of weights. Even though as , the non-monotonic behaviour of the sequence implies
and
Hence, the ratio of the weights can become arbitrarily large or arbitrarily close to zero with a non-negligible probability. This allows the algorithm to accept moves to the right more often, if m is large enough. Once again, the pseudo-marginal chain inherits the geometrically ergodic property from the marginal. See the central and right plots of Fig. 7 for two examples using different proposals. Again, we will come back to this example in Sect. 3.4, where we look at the behaviour of the associated noisy chain as N increases.
Inheritance of ergodic properties
The inheritance of various ergodic properties of the marginal chain by pseudo-marginal Markov chains has been established using techniques that are powerful but suitable only for reversible Markov chains (see, e.g. Andrieu and Vihola 2015). Since the noisy Markov chains treated here can be non-reversible, a suitable tool for establishing geometric ergodicity is the use of Foster–Lyapunov functions, via geometric drift towards a small set.
Definition 3.1
(Small set) Let P be the transition kernel of a Markov chain . A subset is small if there exists a positive integer , and a probability measure on such that the following minorisation condition holds
15 |
The following theorem, which is immediate from combining Roberts and Rosenthal (1997, Proposition 2.1) and Meyn and Tweedie (2009, Theorem 15.0.1), establishes the equivalence between geometric ergodicity and a geometric drift condition. For any kernel , let
Theorem 3.1
Suppose that is a -irreducible and aperiodic Markov chain with transition kernel P and invariant distribution . Then, the following statements are equivalent:
-
(i)There exists a small set C, constants and , and a function finite for some satisfying the geometric drift condition
16 -
(ii)
The chain is -a.e. geometrically ergodic, meaning that for -a.e. it satisfies (8) for some (which can be taken as in (i)) and constants , .
From this point onwards, it is assumed that the marginal and noisy chains are -irreducible and aperiodic. In addition, for many of the following results, it is required that
- (P1)
The marginal chain is geometrically ergodic, implying its kernel P satisfies the geometric drift condition in (16) for some constants and , some function and a small set .
Conditions involving a negative moment
From the examples of the previous section, it is clear that the weights play a fundamental role in the behaviour of the noisy chain. The following theorem states that the noisy chain will inherit geometric ergodicity from the marginal under some conditions on the weights involving a strengthened version of the Law of Large Numbers and convergence of negative moments.
- (W1)
- For any , the weights satisfy
- (W2)
- The weights satisfy
Theorem 3.2
Assume (P1), (W1) and (W2). Then, there exists such that for all , the noisy chain with transition kernel is geometrically ergodic.
The above result is obtained by controlling the dissimilarity of the marginal and noisy kernels. This is done by looking at the corresponding rejection and acceptance probabilities. The proofs of the following lemmas appear in Appendix 1.
Lemma 3.1
For any
Lemma 3.2
Let and be the rejection probabilities as defined in (5) and (7) respectively. Then, for any
Lemma 3.3
Let and be the acceptance probabilities as defined in (5) and (6) respectively. Then,
Notice that (W1) and (W2) allow control on the bounds in the above lemmas. While Lemma 3.2 provides a bound for the difference of the rejection probabilities, Lemma 3.3 gives one for the ratio of the acceptance probabilities. The proof of Theorem 3.2 is now presented.
Proof of Theorem 3.2
Since the marginal chain P is geometrically ergodic, it satisfies the geometric drift condition in (16) for some , , some function and a small set . Now, using the above lemmas
By (W1) and (W2), for any , there exists such that
whenever , implying
Taking and , the noisy chain also satisfies a geometric drift condition for the same function V and small set C, completing the proof.
Remark 3.1
In fact, (W1) and (W2) together guarantee for any
which is the crucial assumption in Pillai and Smith (2014, Lemma 3.6) for obtaining a similar drift condition.
Conditions on the proposal distribution
In this subsection a different bound for the acceptance probabilities is provided, which allows dropping assumption (W2) but imposes a different one on the proposal q instead.
- (P1) holds and for the same drift function V in (P1) there exists such that the proposal kernel q satisfies
Theorem 3.3
Assume (P1*) and (W1). Then, there exists such that for all , the noisy chain with transition kernel is geometrically ergodic.
In order to prove Theorem 3.3 the following lemma is required. Its proof can be found in Appendix 1. In contrast with Lemma 3.3, this lemma provides a bound for the additive difference of the noisy and marginal acceptance probabilities.
Lemma 3.4
Let and be the acceptance probabilities as defined in (5) and (6), respectively. Then, for any
Proof of Theorem 3.3
By (W1), there exists such that
whenever . This implies
and using (P1*)
Taking and , the noisy chain also satisfies a geometric drift condition for the same function V and small set C, completing the proof.
Remark 3.2
By itself, (W1) implies for any
but it needs to be paired with (P1*) to obtain the desired result. These assumptions are comparable to those in Pillai and Smith (2014, Lemma 3.6), taking f constant therein. Additionally, (W1) and (P1*) imply the required conditions on and in Rudolf and Schweizer (2015, Corollary 31), where a similar result is proved in terms of V-uniform ergodicity.
In general, assumption (P1*) may be difficult to verify as one must identify a particular function V, but it is easily satisfied when restricting to log-Lipschitz targets and when using a random walk proposal of the form
17 |
where denotes the usual Euclidean distance. To see this the following assumption is required, which is a particular case of (P1) and is satisfied under some extra technical conditions (see, e.g., Roberts and Tweedie 1996).
- . The target is log-Lipschitz, meaning that for some
(P1) holds taking the drift function , for any . The proposal q is a random walk as in (17) satisfying
for some .
See Appendix 1 for a proof of the following proposition.
Proposition 3.1
Assume and (W1). Then, (P1*) holds.
Conditions for arithmetic averages
In the particular setting where the weights are given by (4), sufficient conditions on these can be obtained to ensure geometric ergodicity is inherited by the noisy chain. For the simple case where the weights are homogeneous with respect to the state space (W1) is automatically satisfied. In order to attain (W2), the existence of a negative moment for a single weight is required. See Appendix 1 for a proof of the following result.
Proposition 3.2
Assume weights as in (4). If then
18 |
For homogeneous weights, (18) implies (W2). When the weights are not homogeneous, stronger conditions are needed for (W1) and (W2) to be satisfied. An appropriate first assumption is that the weights are uniformly integrable.
- (W3)
- The weights satisfy
The second condition imposes an additional assumption on the distribution of the weights near 0.
- (W4)
- There exists and constants , such that for the weights satisfy
These new conditions ensure (W1) and (W2) are satisfied.
Proposition 3.3
For weights as in (4),
-
(i)
(W3) implies (W1);
-
(ii)
(W1) and (W4) imply (W2).
The following corollary is obtained as an immediate consequence of the above proposition, Theorems 3.2 and 3.3.
Corollary 3.1
Let the weights be as in (4). Assume (W3) and either
-
(i)
(P1) and (W4);
-
(ii)
(P1*).
Then, there exists such that for all , the noisy chain with transition kernel is geometrically ergodic.
The proof of Proposition 3.3 follows the statement of Lemma 3.5, whose proof can be found in Appendix 1. This lemma allows us to characterise the distribution of near 0 assuming (W4) and also provides conditions for the existence and convergence of negative moments.
Lemma 3.5
Let and .
-
(i)Suppose Z is a positive random variable, and assume that for
Then, -
(ii)Suppose is a collection of positive and independent random variables, and assume that for each and
Then, for - (iii)
-
(iv)Assume (W1) and let be a function that is continuous at 1 and bounded on the interval . Then
Proof of Proposition 3.3
Part (i) is a consequence of Chandra (1989, Theorem 1). Assuming (W3), it implies
By Markov’s inequality
and the result follows.
To prove (ii), assume (W4) and by part (ii) of Lemma 3.5, for
Take and define , then using part (i) of Lemma 3.5 if
Hence, by Hölder’s inequality
and applying part (iii) of Lemma 3.5, for
Therefore,
Since and by (W1)
implying
19 |
Now, for fixed the function is bounded and continuous on , implying by part (iv) of Lemma 3.5
20 |
and by the triangle inequality
the result follows.
Remarks on results
Equipped with these results, we return to the examples in Sects. 2.3 and 2.4. Even though the noisy chain can be transient in these examples, the behaviour is quite different when considering weights that are arithmetic averages of the form in (4). Since in both examples the weights are uniformly bounded by the constant b, they immediately satisfy (W1). Additionally, by Proposition 3.2, condition (W2) is satisfied for the example in Sect. 2.3. This is not the case for example in Sect. 2.4, but condition (P1*) is satisfied by taking . Therefore, applying Theorems 3.2 and 3.3 to examples in Sects. 2.3 and 2.4 respectively, as N increases the corresponding chains will go from being transient to geometrically ergodic.
Despite conditions (W1) and (W2) guaranteeing the inheritance of geometric ergodicity for the noisy chain, they are not necessary. Consider a modification of the example in Sect. 2.3, where the weights are given by
Again, there exists a relationship between the variables , and for ensuring the expectation of the weights is equal to one. Let denote a binomial distribution of parameters and . Then, in the arithmetic average context, becomes
21 |
For particular choices of the sequences and , the resulting noisy chain can be geometrically ergodic for all , even though neither (W1) nor (W2) hold.
Proposition 3.4
Consider a geometric target density as in (11) and a proposal density as in (12). In addition, let the weights be as in (21) with , as and
Then, the chain generated by the noisy kernel is geometrically ergodic for any .
Finally, in many of the previous examples, increasing the value of N seems to improve the ergodic properties of the noisy chain. However, the geometric ergodicity property is not always inherited, no matter how large N is taken. The following proposition shows an example rather similar to Proposition 3.4, but in which the ratio does not converge as .
Proposition 3.5
Consider a geometric target density as in (11) and a proposal density as in (12). In addition, let the weights be as in (21) with and
Then, the chain generated by the noisy kernel is transient for any .
Convergence of the noisy invariant distribution
So far the only concern has been whether the noisy chain inherits the geometric ergodicity property from the marginal chain. As an immediate consequence, geometric ergodicity guarantees the existence of an invariant probability distribution for , provided N is large enough. In addition, using the same conditions from Sect. 3, we can characterise and in some cases quantify the convergence in total variation of towards the desired target , as .
Convergence in total variation
The following definition, taken from Roberts et al. (1998), characterises a class of kernels satisfying a geometric drift condition as in (16) for the same V, C, and b.
Definition 4.1
(Simultaneous geometric ergodicity) A class of Markov chain kernels is simultaneously geometrically ergodic if there exists a class of probability measures , a measurable set , a real valued measurable function , a positive integer and positive constants , , b such that for each :
-
(i)
C is small for , with for all ;
-
(ii)
the chain satisfies the geometric drift condition in (16) with drift function V, small set C and constants and b.
Provided N is large, the noisy kernels together with the marginal P will be simultaneous geometrically ergodic. This will allow the use of coupling arguments for ensuring and get arbitrarily close in total variation. The main additional assumption is
- (P2)
- For some , some probability measure on and some subset , the marginal acceptance probability and the proposal kernel q satisfy
Remark 4.1
(P2) ensures the marginal chain satisfies the minorisation condition in (15), purely attained by the sub-kernel . This occurs under fairly mild assumptions (see, e.g., Roberts and Tweedie 1996, Theorem 2.2).
Theorem 4.1
Assume (P1), (P2), (W1) and (W2). Alternatively, assume (P1*), (P2) and (W1). Then,
-
(i)
there exists such that the class of kernels is simultaneously geometrically ergodic;
-
(ii)
for all , ;
-
(iii)
Part (iii) of the above theorem is mainly a consequence of Roberts et al. (1998, Theorem 9) when parts (i) and (ii) hold. Indeed, by the triangle inequality,
22 |
Provided , the first two terms in (22) can be made arbitrarily small by increasing n. In addition, due to the simultaneous geometrically ergodic property, the first term in (22) is uniformly controlled regardless the value of N. Finally, using an inductive argument, part (ii) implies that for all and all
Proof of Theorem 4.1
From the proofs of Theorems 3.2 and 3.3, there exists such that the class of kernels satisfies condition (ii) in Definition 4.1 for the same function V, small set C and constants . Respecting (i), for any
Then, by Lemma 3.1
By (W1), there exists such that for
giving
Due to (P2),
Finally, take implying (i).
To prove (ii) apply Lemma 3.2 and Lemma 3.4 to get
23 |
Finally, taking and by (W1)
The result follows since and can be taken arbitrarily small.
For (iii), see Theorem 9 in Roberts et al. (1998) for a detailed proof.
Remark 4.2
A Wasserstein distance variant of part (iii) in Theorem 4.1 has been proved in Rudolf and Schweizer (2015, Corollary 28), in which control of the difference between and is still required and can be obtained using (W1).
Rate of convergence
Let denote the noisy chain and the marginal chain, which move according to the kernels and P, respectively and define . Using notions of maximal coupling for random variables defined on a Polish space (see Lindvall 2002 and Thorisson 2013), there exists a probability measure such that
Let , define a coupling in the following way
- If , with probability c draw and set . Otherwise, draw independently and , where
If , draw independently and .
Since
and noting
an induction argument can be applied to obtain
Therefore, using the coupling inequality, the third term in (22) can be bounded by
24 |
On the other hand, using the simultaneous geometric ergodicity of the kernels and provided N is large enough, the noisy and marginal kernels will each satisfy a geometric drift condition as in (16) with a common drift function , small set C and constants . Therefore, by Theorem 3.1, there exist , and such that
25 |
Explicit values for R and are in principle possible, as done in Rosenthal (1995) and Meyn and Tweedie (1994). For simplicity assume , then combining (24) and (25) in (22), for all
26 |
So, if an analytic expression in terms of N is available for the second term on the right hand side of (26), it will be possible to obtain an explicit rate of convergence for and .
Theorem 4.2
Assume (P1), (P2), (W1) and (W2). Alternatively, assume (P1*), (P2) and (W1). In addition, suppose
where and . Then, there exists and such that for all ,
27 |
Proof
Let and . Pick r large enough, such that
then the convex function where
is minimised at
Restricting the domain of f to the positive integers and due to convexity, it is then minimised at either
In any case
Finally take N large enough such that
and from (26)
obtaining the result.
Remark 4.3
A general result bounding the total variation between the law of a Markov chain and a perturbed version is presented in Rudolf and Schweizer (2015, Theorem 21). This is done using the connection between the V-norm distance and the Wasserstein distance introduced in Hairer and Mattingly (2011). With such a result, and considering the same assumptions in Theorem 4.2, one could in principle obtain an explicit value for D in (27).
Moreover, when the weights are expressed in terms of arithmetic averages as in (4), an explicit expression for r(N) can be obtained whenever there exists a uniformly bounded moment. This is a slightly stronger assumption than (W3).
- (W5)
- There exists , such that the weights satisfy
Proposition 4.1
Assume (P1), (P2), (W4) and (W5). Alternatively, assume (P1*), (P2) and (W5). Then, there exists and such that for all ,
If in addition (W5) holds for all , then for any there will exist and such that for all ,
Discussion
In this article, fundamental stability properties of the noisy algorithm have been explored. The noisy Markov kernels considered are perturbed Metropolis–Hastings kernels defined by a collection of state-dependent distributions for non-negative weights all with expectation 1. The general results do not assume a specific form for these weights, which can be simple arithmetic averages or more complex random variables. The former may arise when unbiased importance sampling estimates of a target density are used, while the latter may arise when such densities are estimated unbiasedly using a particle filter.
Two different sets of sufficient conditions were provided under which the noisy chain inherits geometric ergodicity from the marginal chain. The first pair of conditions, (W1) and (W2), involve a stronger version of the Law of Large Numbers for the weights and uniform convergence of the first negative moment, respectively. For the second set, (W1) is still required but (W2) can be replaced with (P1*), which imposes a condition on the proposal distribution. These conditions also imply simultaneous geometric ergodicity of a sequence of noisy Markov kernels together with the marginal Markov kernel, which then ensures that the noisy invariant converges to in total variation as N increases. Moreover, an explicit bound for the rate of convergence between and is possible whenever an explicit bound (that is uniform in x) is available for the convergence between and .
When weights are arithmetic averages as in (4), specific conditions were given for inheriting geometric ergodicity from the corresponding marginal chain. The uniform integrability condition in (W3) ensures that (W1) is satisfied, whereas (W4) is essential for satisfying (W2). Regarding the noisy invariant distribution , (W5), which is slightly stronger than (W3), leads to an explicit bound on the rate of convergence of this distribution to .
The noisy algorithm remains undefined when the weights have positive probability of being zero. If both weights were zero one could accept the move, reject the move or keep sampling new weights until one of them is not zero. Each of these lead to different behaviour.
As seen in the examples of Sect. 3.4, the behaviour of the ratio of the weights (at least in the tails of the target) plays an important role in the ergodic properties of the noisy chain. In this context, it seems plausible to obtain geometric noisy chains, even when the marginal is not, if the ratio of the weights decays sufficiently fast to zero in the tails. Another interesting possibility, that may lead to future research, is to relax the condition on the expectation of the weights to be identically one.
Electronic supplementary material
Below is the link to the electronic supplementary material.
Acknowledgments
All authors would like to thank the EPSRC-funded Centre for Research in Statistical methodology (EP/D002060/1). The first author was also supported by Consejo Nacional de Ciencia y Tecnología. The third author’s research was also supported by the EPSRC Programme Grant i-like (EP/K014463/1).
Appendix 1: Proofs
On state-dependent random walks
The following proposition for state-dependent Markov chains on the positive integers will be useful for addressing some proofs. See Norris (1999) for a proof of parts (i) and (ii), for part (iii) see Callaert and Keilson (1973), which is proved within the birth-death process context.
Proposition 5.1
Suppose we have a random walk on with transition kernel P. Define for
with and for all . The resulting chain is:
-
(i)recurrent if and only if
-
(ii)positive recurrent if and only if
-
(iii)geometrically ergodic if
Remark 5.1
Notice that (iii) is not an if and only if statement and that it implies (ii). Additionally, if the chain is not state-dependent, (ii) implies (iii).
Section 2
Proof of Proposition 2.1
Since h is convex
implying
Define , and since it is true that
28 |
hence
29 |
If , it is clear that the limit in (29) diverges, consequently the noisy chain is geometrically ergodic according to Proposition 5.1. If , the noisy chain will be geometrically ergodic if
which can be translated to
or equivalently to
30 |
Now consider two cases, first if then it is clear that
which satisfies (30). Finally, if then
implying from (28)
and leading to (30).
Proof of Proposition 2.2
For simplicity the subscript N is dropped. In this case,
and the condition implies
31 |
Let and set
32 |
this implies and
Therefore, for ,
Consequently, and
From Proposition 5.1, if
then the noisy chain will be transient. For this to happen, it is enough to pick and s such that
33 |
and if then
Hence, for and setting , as in (33) and b as in (32), the resulting noisy chain is transient.
Proof of Proposition 2.3
For simplicity the subscript N is dropped. In this case,
and the condition implies
Then, for m large enough
Define
Since as ,
and
Therefore, for any there exists , such that whenever
implying
Hence, for and some
Let , then a sufficient condition for the series to converge, implying a transient chain according to Proposition 5.1, is . This is the case for , since
Hence, the resulting noisy chain is transient if , for any .
Section 3
Proof of Lemma 3.1
For any
Proof of Lemma 3.2
Using the inequality
and applying Markov’s inequality with ,
Finally, using Lemma 3.1
Proof of Lemma 3.3
For the first claim apply Jensen’s inequality and the fact that
hence
Proof of Lemma 3.4
Using the inequality
Notice that
then applying Lemma 3.1 taking .
Proof of Proposition 3.1
Taking , where ,
Finally, using the transformation ,
which implies (P1*).
Proof of Proposition 3.2
By properties of the arithmetic and harmonic means
which implies, by Jensen’s inequality,
Then, using Fatou’s lemma and the law of large numbers
hence
34 |
Finally, since
the expression in (34) becomes
Proof of Lemma 3.5
The proof of (i) is motivated by Piegorsch and Casella (1985, Theorem 2.1) and Khuri and Casella (2002, Theorem 3), however the existence of a density function is not assumed here. Since is positive,
For part (ii), since the random variables are positive, then for any
Therefore, for
Part (iii) can be seen as a consequence of and being convex ordered and being a convex function for and , (see, e.g., Andrieu and Vihola 2014). We provide a self-contained proof by defining for
and we have
and since the arithmetic mean is greater than or equal to the geometric mean
This implies for
where Hölder’s inequality has been used and the fact that the random variables are identically distributed according to .
For part (iv), let and due to continuity at , for any there exists a such that
Therefore, for fixed and by (W1)
obtaining the result since can be picked arbitrarily small.
Proof of Proposition 3.4
First notice that if then . To see this, define
then for fixed , there exists such that for
Then, for
and because , it is clear that as . Therefore, and since can be taken arbitrarily small, it is true that .
Now, for weights as in (21) and using a simple random walk proposal, the noisy acceptance probability can be expressed as
35 |
and
36 |
Since , then as ; therefore, any term in (35) and (36), for which , tends to zero as . Hence,
and
implying,
37 |
If , (37) tends to , whereas if
In any case, this implies
and since
the noisy chain is geometrically ergodic according to Proposition Proposition 5.1.
Proof of Proposition 3.5
Noting that
expressions in (35) and (36) become
and
Therefore,
implying there exists such that for
and
Then, for fixed there exists such that whenever
and
Let
then for
Take small enough, such that , hence
Similarly, it can be proved that
thus
implying the noisy chain is transient according to Proposition 5.1.
Section 4
Proof of Proposition 4.1
From (23) and taking ,
Using Markov’s inequality
Now, let
then the convex function where
is minimised at
Then,
Applying Theorem 4.2 by taking
and noting , the result is obtained.
For the second claim, for a given take and apply the first part.
Footnotes
An erratum to this article is available at http://dx.doi.org/10.1007/s11222-017-9755-5.
References
- Alquier, P., Friel, N., Everitt, R., Boland, A.: Noisy Monte Carlo: convergence of Markov chains with approximate transition kernels. Stat. Comput., 1–19 (2014). doi:10.1007/s11222-014-9521-x
- Andrieu, C., Roberts, G.O.: The pseudo-marginal approach for efficient Monte Carlo computations. Ann. Stati. 37(2), 697–725 (2009). http://www.jstor.org/stable/30243645
- Andrieu, C., Vihola, M.: Establishing some order amongst exact approximations of MCMCs (2014). arXiv preprint. arXiv:14046909
- Andrieu C, Vihola M. Convergence properties of pseudo-marginal Markov chain Monte Carlo algorithms. Ann. Appl. Probab. 2015;25(2):1030–1077. doi: 10.1214/14-AAP1022. [DOI] [Google Scholar]
- Andrieu, C., Doucet, A., Holenstein, R.: Particle Markov chain Monte Carlo methods. J. R. Stat. Soc. Ser. B (Stat. Methodol.) 72(3), 269–342 (2010). http://www.jstor.org/stable/40802151
- Beaumont, M.A.: Estimation of population growth or decline in genetically monitored populations. Genetics 164(3), 1139–1160 (2003). http://www.genetics.org/content/164/3/1139.abstract. http://www.genetics.org/content/164/3/1139.full.pdf+html [DOI] [PMC free article] [PubMed]
- Breyer, L., Roberts, G.O., Rosenthal, J.S.: A note on geometric ergodicity and floating-point roundoff error. Stat. Probab. Lett. 53(2), 123–127 (2001). doi:10.1016/S0167-7152(01)00054-2. http://www.sciencedirect.com/science/article/pii/S0167715201000542
- Callaert, H., Keilson, J.: On exponential ergodicity and spectral structure for birth-death processes, II. Stoch. Process. Appl. 1(3), 217–235 (1973). doi:10.1016/0304-4149(73)90001-X. http://www.sciencedirect.com/science/article/pii/030441497390001X
- Chan, K.S., Geyer, C.J.: Discussion: Markov chains for exploring posterior distributions. Ann. Stat. 22(4), 1747–1758 (1994). http://www.jstor.org/stable/2242481
- Chandra, T.K.: Uniform Integrability in the Cesàro sense and the weak law of large numbers. Sankhyā Ser. A (1961–2002) 51(3), 309–317 (1989). http://www.jstor.org/stable/25050754
- Del Moral, P.: Feynman–Kac formulae: genealogical and interacting particle systems with applications. In: Probability and Its Applications. Springer, New York (2004). http://books.google.co.uk/books?id=8LypfuG8ZLYC
- Doucet, A., Pitt, M.K., Deligiannidis, G., Kohn, R.: Efficient implementation of Markov chain Monte Carlo when using an unbiased likelihood estimator. Biometrika (2015). doi:10.1093/biomet/asu075. http://biomet.oxfordjournals.org/content/early/2015/03/07/biomet.asu075.abstract, http://biomet.oxfordjournals.org/content/early/2015/03/07/biomet.asu075.full.pdf+html
- Fernández-Villaverde, J., Rubio-Ramírez, J.F.: Estimating macroeconomic models: a likelihood approach. Rev. Econ. Stud. 74(4), 1059–1087 (2007). doi:10.1111/j.1467-937X.2007.00437.x. http://restud.oxfordjournals.org/content/74/4/1059.abstract, http://restud.oxfordjournals.org/content/74/4/1059.full.pdf+html
- Ferré D, Hervé L, Ledoux J. Regular perturbation of V-geometrically ergodic Markov chains. J. Appl. Probab. 2013;50(1):184–194. doi: 10.1017/S002190020001319X. [DOI] [Google Scholar]
- Flegal, J.M., Jones, G.L.: Batch means and spectral variance estimators in Markov chain Monte Carlo. Ann. Stat. 38(2), 1034–1070 (2010). http://www.jstor.org/stable/25662268
- Girolami, M., Lyne, A.M., Strathmann, H., Simpson, D., Atchade, Y.: Playing Russian roulette with intractable likelihoods (2013). arXiv preprint. arXiv:13064032
- Hairer, M., Mattingly, J.C.: Yet another look at Harris’ ergodic theorem for Markov chains. In: Seminar on Stochastic Analysis, Random Fields and Applications VI, Springer, Basel, pp. 109–117 (2011)
- Khuri, A., Casella, G.: The existence of the first negative moment revisited. Am. Stat. 56(1), 44–47 (2002). http://www.jstor.org/stable/3087326
- Lee, A., Łatuszyński, K.: Variance bounding and geometric ergodicity of Markov chain Monte Carlo kernels for approximate Bayesian computation. Biometrika (2014). doi:10.1093/biomet/asu027. http://biomet.oxfordjournals.org/content/early/2014/08/05/biomet.asu027.abstract, http://biomet.oxfordjournals.org/content/early/2014/08/05/biomet.asu027.full.pdf+html
- Lindvall, T.: Lectures on the Coupling Method. Dover Books on Mathematics Series. Dover Publications, Incorporated (2002). http://books.google.co.uk/books?id=GUwyU1ypd1wC
- Maire F, Douc R, Olsson J. Comparison of asymptotic variances of inhomogeneous Markov chains with application to Markov chain Monte Carlo methods. Ann. Stat. 2014;42(4):1483–1510. doi: 10.1214/14-AOS1209. [DOI] [Google Scholar]
- McKinley, T.J., Ross, J.V., Deardon, R., Cook, A.R.: Simulation-based Bayesian inference for epidemic models. Comput. Stat. Data Anal. 71(0), 434 – 447 (2014). doi:10.1016/j.csda.2012.12.012. http://www.sciencedirect.com/science/article/pii/S016794731200446X
- Mengersen, K.L., Tweedie, R.L.: Rates of convergence of the Hastings and Metropolis algorithms. Ann. Stat. 24(1), 101–121 (1996). http://www.jstor.org/stable/2242610
- Meyn, S.P., Tweedie, R.L.: Computable bounds for geometric convergence rates of Markov chains. Ann. Appl. Probab. 4(4), 981–1011 (1994). http://www.jstor.org/stable/2245077
- Meyn S, Tweedie RL. Markov Chains and Stochastic Stability. 2. New York: Cambridge University Press; 2009. [Google Scholar]
- Mitrophanov AY. Sensitivity and convergence of uniformly ergodic Markov chains. J. Appl. Probab. 2005;42(4):1003–1014. doi: 10.1017/S0021900200001066. [DOI] [Google Scholar]
- Norris, J.: Markov Chains. No. 2008 in Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press (1999). https://books.google.co.uk/books?id=qM65VRmOJZAC
- O’Neill, P.D., Balding, D.J., Becker, N.G., Eerola, M., Mollison, D.: Analyses of infectious disease data from household outbreaks by Markov chain Monte Carlo methods. J. R. Stat. Soc. Ser. C (Appl. Stat.) 49(4), 517–542 (2000). http://www.jstor.org/stable/2680786
- Piegorsch, W.W., Casella, G.: The existence of the first negative moment. Am. Stat. 39(1), 60–62 (1985). http://www.jstor.org/stable/2683910
- Pillai, N.S., Smith, A.: Ergodicity of approximate MCMC chains with applications to large data sets (2014). arXiv preprint arXiv:14050182
- Pitt, M.K., dos Santos Silva, R., Giordani, P., Kohn, R.: On some properties of Markov chain Monte Carlo simulation methods based on the particle filter. J. Econom. 171(2), 134–151 (2012). doi:10.1016/j.jeconom.2012.06.004. http://www.sciencedirect.com/science/article/pii/S0304407612001510
- Roberts, G., Rosenthal, J.: Geometric ergodicity and hybrid Markov chains. Electron. Commun. Probab. 2(2), 13–25 (1997). doi:10.1214/ECP.v2-981. http://ecp.ejpecp.org/article/view/981
- Roberts GO, Rosenthal JS. General state space Markov chains and MCMC algorithms. Probab. Surv. 2004;1:20–71. doi: 10.1214/154957804100000024. [DOI] [Google Scholar]
- Roberts, G.O., Tweedie, R.L.: Geometric convergence and central limit theorems for multidimensional Hastings and Metropolis algorithms. Biometrika 83(1), 95–110 (1996). http://www.jstor.org/stable/2337435
- Roberts, G.O., Rosenthal, J.S., Schwartz, P.O.: Convergence properties of perturbed Markov chains. J. Appl. Probab. 35(1), 1–11 (1998). http://www.jstor.org/stable/3215541
- Rosenthal, J.S.: Minorization conditions and convergence rates for Markov chain Monte Carlo. J. Am. Stat. Assoc. 90(430), 558–566 (1995). http://www.jstor.org/stable/2291067
- Rudolf, D., Schweizer, N.: Perturbation theory for Markov chains via Wasserstein distance (2015). arXiv preprint. arXiv:150304123
- Shardlow T, Stuart AM. A perturbation theory for ergodic Markov chains and application to numerical approximations. SIAM J. Numer. Anal. 2000;37(4):1120–1137. doi: 10.1137/S0036142998337235. [DOI] [Google Scholar]
- Sherlock C, Thiery AH, Roberts GO, Rosenthal JS. On the efficiency of pseudo-marginal random walk Metropolis algorithms. Ann. Stat. 2015;43(1):238–275. doi: 10.1214/14-AOS1278. [DOI] [Google Scholar]
- Thorisson, H.: Coupling, stationarity, and regeneration. In: Probability and Its Applications. Springer, New York (2013). http://books.google.co.uk/books?id=187hnQEACAAJ
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.