Uniform Ergodicity of the Iterated Conditional SMC and Geometric Ergodicity of Particle Gibbs samplers
Christophe Andrieu, Anthony Lee, Matti Vihola
Introduction
Particle Markov chain Monte Carlo (P-MCMC) methods are a set of recently proposed sampling techniques particularly well suited to the Bayesian estimation of static parameters in general state-space models , although their scope extends beyond this class of models. At an abstract level, once the likelihood function and prior are defined, inference for this class of models relies on a probability distribution \pi\big{(}{\rm d}\theta\times{\rm d}x\big{)}, defined on some measurable space , where is generally a low dimensional static parameter, the static parameter, while , the hidden state of the system, is a large vector with a non-trivial dependence structure. Here, denotes the -algebra related to the corresponding space. In practice the complexity of such probability distributions requires the use of sampling techniques to effectively carry out inference. When is known sequential Monte Carlo methods (SMC), or particle filters, are particularly suitable to carry out inference about by approximately sampling from the conditional distribution \pi_{\theta}\big{(}{\rm d}x\big{)}. These algorithms rely on interacting particle systems and their performance and accuracy can be improved by increasing the number of such particles. P-MCMC realises the synthesis between SMC methods and classical Markov chain Monte Carlo (MCMC) methods, that is it allows the construction of Markov transition probabilities leaving \pi\big{(}{\rm d}\theta\times{\rm d}x\big{)} at least marginally invariant and from which it is possible to sample realisations with attractive efficiency properties.
The particle marginal Metropolis–Hastings (PMMH) method is one such algorithm, which takes advantage of the availability of unbiased estimators of the likelihood function to provide an exact approximation of an idealized algorithm which computes the likelihood function exactly. The algorithm simply consists of replacing the true value of the likelihood function required to implement the standard Metropolis–Hastings (MH) algorithm with estimators, but is nevertheless guaranteed to be correct in that it leaves the required distribution of interest marginally invariant. In PMMH, the estimator of the likelihood is a byproduct of a sequential Monte Carlo (SMC) algorithm, whose accuracy can be improved by increasing .
In contrast, the particle Gibbs (PGibbs) sampler involves approximating a Gibbs sampler which consists of constructing a Markov chain , by repeatedly sampling from \pi_{\theta}\big{(}{\rm d}x\big{)} and \pi_{x}\big{(}{\rm d}\theta\big{)} in turn. In practice sampling from \pi_{\theta}\big{(}{\rm d}x\big{)} may be particularly difficult and the conditional SMC (cSMC) update is a Markov transition probability which leaves \pi_{\theta}\big{(}{\rm d}x\big{)} invariant, therefore allowing the implementation of a Metropolis-within-Gibbs algorithm, that is a Markov transition probability leaving \pi\big{(}{\rm d}\theta\times{\rm d}x\big{)} invariant. The cSMC relies for its construction, as suggested by its name, on an SMC-like procedure and it is expected that as increases approaches \pi_{\theta}\big{(}{\rm d}x\big{)}.
While PMMH methods have been studied in a series of papers , a theoretical study of the PGibbs is still missing. Indeed it has been shown that as increases, performance of the PMMH approaches that of the exact MH algorithm but the question of the approximation of the Gibbs sampler by a PGibbs has not been addressed to date. We note however that a study of one of its components, the cSMC update, has recently been undertaken in , in which a coupling argument is central to their analysis. We refer to the Markov chain obtained by iterating the cSMC algorithm for a fixed target distribution as iterated i-cSMC here in order to distinguish it from that of the PGibbs. The present manuscript addresses questions concerning the i-cSMC similar to those of , but our results differ in many respects and complement their findings in several directions. At a technical level our approach seems to be more straightforward in the scenario considered, relies on weaker assumptions for uniform convergence which we prove are necessary and sufficient and lead to quantitative bounds on performance measures in terms of the number of particles involved. We additionally transfer sufficient conditions for uniform ergodicity of the i-cSMC Markov chain into sufficient conditions for geometric ergodicity of the associated PGibbs Markov chain, the main motivation behind our work. This allows us in particular to show that under some conditions PGibbs is asymptotically as efficient as the Gibbs sampler as the number of particles increases.
Contemporary to the first version of the present manuscript , have also provided essentially the same sufficient conditions for the uniform convergence of the i-cSMC Markov chain (Theorem 1, Section 3) using a different proof technique. Here we have further established that the aforementioned conditions are also necessary for uniform convergence in general, but also geometric ergodicity in many realistic scenarios (Section 6). Similarly to us also provide quantitative bounds and associated scaling properties of the i-cSMC, albeit for a different set of specialised conditions (a detailed comparison of the assumptions is provided after Theorem 5 at the end of Section 3). We have also very recently become aware of the contribution to the analysis of the properties of the cSMC, established using the formalism of , but their practical implications are unclear. Similarly to , do not attempt to address the practically important question of how uniform ergodicity of the i-cSMC can be translated into geometric ergodicity of the PGibbs sampler, an issue we address in Section 7. In Section 8 we contrast the results obtained in this paper concerning the i-cSMC and PGibbs algorithm with known results concerned with other particle MCMC methods and draw final conclusions.
Similarly to SMC methods, the cSMC and associated algorithms are complex mathematical objects which require the introduction of sometimes overwhelming notation which may obscure the main ideas. In the next section we attempt to remedy this by presenting our results in a simplified scenario, which captures our main ideas, before moving on to the general scenario.
Statement of our results in a simplified scenario
We first explain our results on a particularly simple instance of the i-cSMC algorithm. This should provide the reader with the essence of the results proved later on in the general scenario, while its simple structure will allow us to outline the main idea behind our proof in the general set-up (in Section 4).
with and the convention . Our first results are concerned with properties of the homogeneous Markov chain with transition probability , in terms of and . We refer to the resulting algorithm as iterated SIR (i-SIR).
We briefly introduce notions that allow us to make quantitative statements about the Markov chains under study. We use classical Hilbert space techniques for the analysis of reversible Markov chains. Letting \mu\bigl{(}\cdot\bigr{)} be a probability distribution defined on some measurable space \bigl{(}\mathsf{E},\mathcal{B}\bigl{(}\mathsf{E}\bigr{)}\bigr{)}, we define the function space
We denote \nu\Pi^{k}f:=\nu\bigl{(}\Pi^{k}f\bigr{)} and refer to as either a probability measure or its corresponding operator on . For f\in L^{2}\bigl{(}\mathsf{E},\mu\bigr{)}, we define the variance of under as and the “asymptotic variance” of M^{-1}\sum_{i=1}^{M}f\big{(}\xi_{i}\big{)} for stationary realizations associated to the homogeneous Markov chain with transition as
Some of our results involve norms of signed measures. As in, e.g., , for any signed measure on \bigl{(}\mathsf{E},\mathcal{B}\bigl{(}\mathsf{E}\bigr{)}\bigr{)} we let
denote the total variation distance and for ,
is reversible with respect to and positive, that is the i-SIR Markov chain has non-negative stationary autocorrelations.
If , and , the i-SIR Markov chain is uniformly ergodic with for any ,
If , then for any ,
If then the i-SIR Markov chain cannot be geometrically ergodic for any finite .
The second and third points provide quantitative bounds on standard measures of performance for MCMC algorithms, where the second provides a bound on the uniform (or equivalently uniformly geometric) rate of convergence of the Markov chain. Interest in algorithms such as i-SIR is motivated empirically from observed behaviour in line with the above bounds, as performance improves as increases, and part of our purpose here is to confirm and quantify theoretically such empirical successes. Moreover, this improvement can often be obtained with little extra computational effort, since on a parallel architecture one can sample from and evaluate in parallel, a characteristic of SMC algorithms more generally .
While i-SIR can be used alone to sample from fairly general distributions, it can also be used as a constituent element of more elaborate MCMC schemes. Assume now that we wish to sample from a distribution defined on some measurable space \left(\Theta\times\mathsf{X},\mathcal{B}(\Theta)\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)}\right), often defined for some via (note the different nature of as compared to earlier)
where is a collection of non-negative potential functions and a collection of probability measures which define for each the conditional distributions \pi_{\theta}\bigl{(}{\rm d}x\bigr{)}:=M_{\theta}\bigl{(}{\rm d}x\bigr{)}G_{\theta}(x)/\gamma_{\theta} with
The interpretation in a statistical context is that is the prior distribution for some parameter of interest, whilst is the likelihood function associated with some observed data and corresponds to the so-called latent variable(s). The form of is often derived from the data being explained by the latent variable whose a priori distribution conditional upon is and the likelihood function given the data and is . Assume here that we are able to sample from , the conditional distribution of given . For any one can define the i-SIR kernel for any (x,S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)} via
with , so that the invariant distribution associated with is , the conditional distribution of given . One can sample from with the following Markov transition, defined for any \bigl{(}\theta_{0},x,S\bigr{)}\in\Theta\times\mathsf{X}\times\big{(}\mathcal{B}(\Theta)\times\mathcal{B}(\mathsf{X})\big{)} via
which can be viewed as an exact approximation of the Gibbs sampler defined via
Assume the Markov chain is such that there exists such that for any and
If , and , then for any and
For any and , the asymptotic variance satisfies
For any f\in L^{2}\bigl{(}\Theta,\pi\bigr{)} and , the asymptotic variance satisfies
In the sequel, we prove similar results in the more general (and complex) scenario where is defined by a general cSMC algorithm with multinomial resampling, but the key ideas and results are similar (Section 3). The results concerning the general form of the PGibbs sampler, from which its convergence in the sense of points 1–3 above follows, can be found in Section 7.
The i-cSMC and its properties
and can define for any the probability distribution (which will be the target distribution of interest)
Note in particular that with the convention above, for any and , M_{0,l}\bigl{(}z_{0},{\rm d}z_{1:l}\bigr{)}:=M_{1}({\rm d}z_{1})\times M_{1,l}\bigl{(}z_{1},{\rm d}z_{2:l}\bigr{)}.
where we keep to emphasize that we are sampling from that mixture. For the last iteration we only require one index and point out that whereas for , we have following
For any \mathbf{i}:=\bigl{(}i_{1},i_{2},\ldots,i_{T}\bigr{)}\in[N]^{T}, z_{1:T}\in\bigl{(}\mathsf{Z}^{N}\bigr{)}^{T}, a_{1:T}:=(a_{1},\ldots,a_{T})\in\bigl{(}[N]^{N}\bigr{)}^{T-1}\times[N] and S\in\mathcal{B}\bigl{(}\mathsf{X}\bigr{)} define
Then the transition kernel of the iterated conditional SMC (i-cSMC), in the multinomial sampling scenario, is given for any and by
that is, conditional upon we consider the probability distribution of those trajectories generated by the cSMC which form a lineage compatible with the lineages defined by the random variables . Our main results concerning the i-cSMC algorithm are the following (our results concerning the particle Gibbs sampler are provided in Section 7). We will denote by the corresponding marginal distribution of (see (8) for a precise definition).
For the i-cSMC algorithm with kernel
is reversible with respect to and defines a positive operator,
if for all then there exists such that
for any (x,S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)},
for any probability distribution on \bigl{(}\mathsf{X},\mathcal{B}(\mathsf{X})\bigr{)} and
for any f\in L^{2}\bigl{(}\mathsf{X},\pi\bigr{)}
From Lemma 24, statement (d) holds under a more abstract assumption, but we have chosen this explicit simplified statement for clarity at this point. In fact we suspect that (d) holds under the assumption for some only, that is essential boundedness is a necessary condition for geometric ergodicity; see Conjecture 26.
and \bar{M}_{p,p+1}\bigl{(}z,\cdot\bigr{)}=M_{p+1}\bigl{(}z,\cdot\bigr{)} and for we have the recursive definition, for any ,
The first condition is rather abstract, and can be viewed as a condition on the -functions investigated in in the context of stability properties of standard SMC algorithms.
One can however show that (A3) is implied by the following stronger assumption (see Lemma 18).
There exists a constant such that for any and any and ,
The potential functions satisfy, for some ,
Similar results for the PGibbs sampler are provided in Section 7.
The proofs of the various results are the subject of the following sections. More specifically, statement
follows from Lemma 10 (the latter property was established in and the former noted/proved in ),
all parts follow from Corollary 14 and [2, Proposition 33], which gathers generic results on invariant Markov chains satisfying (b)(b)(i),
follows from Proposition 22 and Lemma 24; Remark 25.
Follows from Proposition 15, Corollary 16 and Lemma 18. ∎
As pointed out in the introduction, soon after completing this work we have become aware of , where a subset of our results have also been independently discovered. This motivates the following comparison. Result (b)(b)(i) of Theorem 1 is identical to Theorem 1 of , but relies on a different proof. Results (b)(b)(ii)–(b)(iv) rely on standard arguments, although (b)(iv) does not seem to be well known and establishes informative quantitative bounds. The study of the necessity of our conditions to imply uniform or geometric ergodicity is not addressed in . The result of Theorem 5 corresponds to Proposition 5 of . The conditions under which Theorem 5 holds are rather stringent for some applications, in particular in the state-space model scenario. As discussed by in that scenario (A4) will essentially only hold in the case where is compact. The condition (A3) is weaker and more natural in our analysis, but is not currently easy to verify in applications except through (A4).
In an attempt to relax (A4), the authors of investigate another set of specialised assumptions guaranteeing that the result of Theorem 5 holds even in some non-compact scenarios provided the number of particles grows at a rate for any , a result in line with what is obtained with the stronger assumption (A4), for which is permissible. This requires the specification of a “moment assumption” which aims at controlling the variations of the various quantities involved under the law of the observation process . Their approach, however, does not seem to allow one to consider the scaling properties of the PGibbs sampler (i.e. not just the i-cSMC); see their Theorem 6 and Remark 7. More importantly we note that their results require the law of the data to coincide with that of the specified model for some which, although suggestive of what may happen in practice, is always an idealization. This delicate work is the main focus of the remainder of their investigation while here, in addition to establishing the necessity of some of the conditions, we have focused on the transference of the results obtained for the i-cSMC to the PGibbs sampler (Section 7) with the aim of showing that the PGibbs has performance inferior to that of the Gibbs sampler, but arbitrarily close if we increase .
Establishing the uniform minorization condition
Before proceeding we turn to the i-SIR which is particularly simple to analyze. The reason for detailing the short analysis of this simple scenario is to provide the reader with an overview of the developments which are to follow – the remainder of the paper essentially replicates the key steps of the argument below, albeit in the more complex SMC framework. Notice that in this scenario since . We let for any and assume that . Then for (x,S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)} we can rewrite
This is a uniform minorization condition which immediately implies uniform geometric convergence (see the outline of our results in Section 1), but in the present situation the result is even stronger in that, in particular, it provides us with quantitative bounds on the dependence of the performance of the algorithm on . Indeed it is a standard result that the minorization constant
provides the upper bound on the (geometric) rate of convergence of the algorithm, which here vanishes at an asymptotic rate as increases. As we shall see the fact that the minorization measure is the invariant distribution leads to a direct lower bound on associated Dirichlet forms associated to which in turn provide quantitative bounds on the spectral gap and the associated asymptotic variance. In the remainder of the section we generalize the representation of in terms of the c2SMC algorithm and “the estimator of the normalizing constant” which suggests applying Jensen’s inequality as above. This requires us to consider estimates of the resulting expectation in Section 5.
In order to proceed further it is required to define the c2SMC process, which is essentially similar to the cSMC process but where conditioning is now upon two trajectories . The definition is therefore similar, but for reasons which will become clearer below the second fixed trajectory is set to have a lineage of the general form . We will use below the convention that \delta_{a,b}\bigl{(}{\rm d}z^{1}\times{\rm d}z^{k}\bigr{)} reduces to whenever . The definition of this process is similar to that of the cSMC algorithm and the distributions involved are defined for and as follows
and for (with the convention )
For and ,
As we shall see the concentration properties of the “estimator of the normalizing constant” plays a central role for any z_{1:T}\in\bigl{(}\mathsf{Z}^{N}\bigr{)}^{T}
We first obtain a uniform minorization condition for the cSMC transition probability. This simple result establishes the expectation of \hat{\gamma}_{T}^{N}\bigl{(}Z_{1:T}\bigr{)} with respect to a c2SMC algorithm as a key quantity of interest, and motivates the non-asymptotic analysis and bounds of Section 5.
For any (x,S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)} and we have
Using (7), we only keep the trajectories for which there is no coalescence with the first trajectory, i.e., we exclude terms such that for some and obtain
then for any (x,S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)}, and from Proposition 8 all the properties of [2, Proposition 33] apply to the i-cSMC with .
Before proceeding to novel analysis, for completeness we gather two known properties of the i-cSMC (in the general set-up) in the following lemma which will be exploited throughout the remainder of the paper. Both results are immediate upon noticing that the i-cSMC is a two stage Gibbs sampler on an artificial joint distribution (see (14) in [2, Appendix B], which is a generalization of (1)). The results have also been shown in detail in . A proof is included in [2, Appendix B] for completeness.
, viewed as an operator on L^{2}\bigl{(}\mathsf{X},\pi\bigr{)}, is self-adjoint and positive.
Quantitative bounds for the doubly conditional i-cSMC expectation
Let and . Then,
While the expectation of interest here has been hitherto uninvestigated, the form of Proposition 11 is reminiscent of non-asymptotic results in , in which second moments of \hat{\gamma}_{T}^{N}\bigl{(}Z_{1:T}\bigr{)} are analyzed with respect to the law of a standard SMC algorithm.
We now turn to estimates of the expectation above, starting with very minimal assumptions which allow us to establish the minorization condition required to apply [2, Proposition 33] and deduce most of our results, without the need for assumptions on the dynamic of the system—the number of particles is however required to grow exponentially in order to maintain a set level of performance. We show subsequently that with stronger assumptions on it is possible to show that should grow linearly with to ensure that a set level of performance is maintained.
Assume that for all , , then for any
Propositions 8 and 13 together imply that for any ,
and .
It should be clear that despite Corollary 14, the term typically grows exponentially fast with whenever the potentials are not constant functions. Therefore, Proposition 13 suggests that the number of particles should grow exponentially with in general. However, stronger assumptions on the system under consideration will allow us to maintain a given lower bound on by increasing only linearly with . We first state our main result using the abstract condition (A3) and then show that classical strong mixing conditions (A4) imply (A3).
First notice that for any
and therefore for any and with the notation defined earlier,
and we conclude by an application of the binomial theorem.∎
Propositions 8 and 13 together imply that for any ,
Now, let for some . Then .
Propositions 8 and 15 together imply that
Since for some , and for all ,
The combination of the upper bound of in Theorem 1 with Corollary 16 suggests a rough rule of thumb to select for the i-cSMC Markov kernel. In particular, there is generally a tradeoff between iterating a less computationally intensive Markov kernel more times and iterating a more computationally intensive expensive fewer times. This suggests that one should minimize the function . While an analytic expression for is not available we can minimize its upper bound
with respect to . Assuming that we are in the scenario where and therefore one then finds the unique minimum
(where is the principal branch of the Lambert W function) or correspondingly
Hence, under (A3) it is only required for to scale linearly with in order to maintain a non-vanishing ergodicity rate. Following, e.g., we make the following assumptions on and the potentials which combined define an -step “strong mixing” condition which automatically implies (A3). The following result relies on classical arguments [9, 7, Lemma 4.3]
Necessity of the boundedness assumption and a conjecture
Proposition 13 showed that the i-cSMC kernel is uniformly ergodic if the potentials are bounded. We study here the opposite case, where at least one of the potentials is unbounded. We discover that then the algorithm cannot be uniformly ergodic (Proposition 19), and in many cases the algorithm cannot be geometrically ergodic (Proposition 22 and Lemma 24; Remark 25). We believe that the latter holds in general (Conjecture 26), but a proof has remained elusive. This dichotomy of algorithms which are uniformly ergodic and sub-geometrically ergodic would be in perfect analogy with the behaviour of the independent Metropolis–Hastings [20, Theorem 2.1].
We will denote hereafter the marginal densities of by
where and we use the shorthand .
In this section, we will assume that is a fixed set such that for all , and . Further, contains all possible starting points of the algorithm, that is, we assume that the state space of the i-cSMC is . In the discrete case, the minimal consists of the points of positive -measure, and in the continuous case where admits a density, the set can be taken as the set where the density is positive.
Further, we will assume that is not concentrated on a single point. We can do this without loss of generality, because if were concentrated on single points of the state space, the algorithm would be deterministic until and we could consider the i-cSMC for .
If the i-cSMC kernel is uniformly ergodic, then there exist and such that
Denote the level set . Lemma 20 shows that there exists such that for
We may estimate for any and all such that ,
We conclude that for such that ,
This proves the claim, as was arbitrary.∎
,
P_{N}(x,\mathsf{Z}^{t-1}\times L_{t}(\underline{G})\times\mathsf{Z}^{T-t})\leq(N-1)^{2}\underline{G}/G_{t}(x_{t})\quad\text{wheneverG_{t}(x_{t})\geq\underline{G}}.
In both cases, we consider the case ; the special case can be treated similarly. In order to facilitate the theoretical analysis, we introduce a non-standard implementation of the cSMC which relies on the remark that at any time instant a given particle can only have a maximum number of children. Hence when implementing the cSMC it is always possible to draw children first and then decide who is carried forward according to the standard selection mechanism. It is in fact possible to push this idea further and, given a fixed , to sample the following -ary tree of random variables first
and then prune the tree using the selection mechanism of the cSMC algorithm with fixed path . As a result, each in the cSMC is associated with some . The construction above permits the bound
where corresponds to the sum of potentials associated with those whose ancestral lineage does not contain the value . It therefore follows that
because is increasing. Now, is a finite non-negative random variable independent of . We may define
which satisfies by the monotone convergence theorem.
For the second inequality, we can show similarly that for
To establish that cannot be even geometrically ergodic whenever - for some in many settings, we use Proposition 21. This allows for the developments of Proposition 22 and Lemma 24, leading to the desired result under assumptions satisfied in many applications; see Remark 25.
Suppose is an ergodic Markov kernel on a state space \big{(}\mathsf{X},\mathcal{B}(\mathsf{X})\big{)} with invariant distribution . Suppose that for any there exists a set such that and . Then is not geometrically ergodic.
The result follows directly by following the proof of [26, Theorem 3.1], or by a conductance argument [16, Theorem 1].∎
Then cannot be geometrically ergodic.
Because of Proposition 21 it suffices to establish that
because by construction. We emphasize that are independent of . Now (10) follows directly from (9) because for ,
For any there exists such that and for
Because of exchangeability, for any and ,
Denote B=\big{\{}\frac{\sum_{k=2}^{N}G_{t}(Z_{t}^{k})}{G_{t}(x_{t})}\geq(N-1)\epsilon\big{\}}, then for also
We may bound for any ,
Letting completes the proof.∎
Assume that there exists such that -, and if , suppose also that for any and ,
Then, the assumption of Lemma 23 and consequently (9) holds for .
An immediate implication of Propositions 22 and 13 and Lemma 24 is that if is equivalent to a Lebesgue or counting measure on then is geometrically ergodic for any if and only if - for all . This covers many applications in statistics, where often the potentials are strictly positive and for any , the Markov kernel is equivalent to a Lebesgue or counting measure on .
Proposition 22 does not characterize all situations in which fails to be geometrically ergodic. Indeed, in the following example (9) does not hold, and still fails to be geometrically ergodic.
Our findings above suggest that the essential boundedness of the potentials could in fact be a necessary condition for geometric ergodicity. We have considered also various other examples, and it seems that in any specific scenario it is easy to identify “sticky” sets and conclude by Lemma 21. However, we have yet to identify such sets in general, and so have resorted to stating the following.
The particle Gibbs sampler
In numerous situations of practical interest one is interested in sampling from a probability distribution \pi\bigl{(}{\rm d}\theta\times{\rm d}x\bigr{)} defined on some measurable space \bigl{(}\Theta\times\mathsf{X},\mathcal{B}(\Theta)\times\mathsf{\mathcal{B}(X)}\bigr{)} for which direct sampling is difficult, but sampling from the associated conditional probability distributions and for any turns out to be easier. In fact when sampling exactly from these conditionals is possible one can define the two stage Gibbs sampler which alternately samples from these conditional distributions. More precisely, let us define, for any and ,
This can be interpreted as a Markov transition probability, and is precisely the Markov kernel underpinning the standard two stage Gibbs sampler. The corresponding Markov chain on leaves invariant and is ergodic under fairly general and natural conditions. In fact it can be shown that and are themselves Markov chains leaving the marginals \pi\bigl{(}{\rm d}x\bigr{)} and invariant respectively. For reasons which will appear clearer below, we define for any (x_{0},S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)} the Markov transition probability \Gamma_{x}\bigl{(}x_{0},S\bigr{)}:=\Gamma\bigl{(}x_{0},\Theta\times S\bigr{)} corresponding to the Markov chain (we point out that the index in this notation is a name, not a variable). In some situations, however, while sampling from the conditional distribution \pi_{x}\bigl{(}{\rm d}\theta\bigr{)} may be routine, sampling from may be difficult and this step is instead replaced by a Markov transition probability leaving invariant for any . The resulting algorithm, whose transition kernel is given below, is often referred to as “Metropolis-within-Gibbs” in the common situation where is a Metropolis–Hastings transition kernel—we will however use this name in order to refer to the general scenario. In the particular situation where is a cSMC transition kernel the resulting algorithm is known as the particle Gibbs (PGibbs) sampler . We note that in the general scenario, for any (\theta_{0},x,S)\in\Theta\times\mathsf{X}\times\big{(}\mathcal{B}(\Theta)\times\mathsf{\mathcal{B}(X)}\big{)}
Similarly to above one can show that defines a Markov chain, with transition kernel, for (x_{0},S)\in\mathsf{X}\times\mathcal{B}\bigl{(}\mathsf{X}\bigr{)}, which is \pi\bigl{(}{\rm d}x\bigr{)}-reversible, and positive as soon as defines a positive operator for any . Indeed since for any f,g\in L^{2}\bigl{(}\mathsf{X},\pi\bigr{)},
Let be a probability distribution defined on \bigl{(}\Theta\times\mathsf{X},\mathcal{B}(\Theta)\times\mathcal{B}(\mathsf{X)}\bigr{)} and let be a family of Markov transition probabilities such that for any the Markov kernel is reversible with respect to , and let and be as in (11) and (12). Define
Then, for any we have the following inequalities,
where the latter inequality holds for
there exist such that for all and all (x,B)\in\mathsf{X}\times\mathcal{B}\big{(}\mathsf{X}\big{)}, the minorisation inequality \Pi_{\theta}\big{(}x,B\big{)}\geq\epsilon\pi_{\theta}\big{(}B\big{)} holds, then for any
for all , is a positive operator then for any
We prove the first point. Without loss of generality we consider any f\in L_{0}^{2}\bigl{(}\mathsf{X},\pi\bigr{)} and notice that
Now using that and letting for any , we obtain
where we have used that for any g\in L_{0}^{2}\bigl{(}\mathsf{X},\pi\bigr{)}, \mathcal{E}_{\Pi_{\theta}}\bigl{(}g\bigr{)}\leq 2{\rm var}_{\pi_{\theta}}\left(g\right) and that the set A:=\bigl{\{}\theta\in\Theta:{\rm var}_{\pi_{\theta}}(\bar{f}_{\theta})=\infty\bigr{\}} satisfies \pi\bigl{(}A\times\mathsf{X}\bigr{)}=0. The latter result follows from and the variance decomposition identity: . We deduce (a) from the last inequality. Points (b) and (c) then follow from [2, Lemma 34].
We next turn into (d). As above, we find that
it may be easier in practice to use the lower bound \underline{\varrho}:=\inf_{\theta\in\Theta}{\rm Gap}\bigl{(}\Pi_{\theta}\bigr{)}\leq\varrho which leads to {\rm Gap}\bigl{(}\Phi_{x}\bigr{)}\geq\underline{\varrho}\times{\rm Gap}\left(\Gamma_{x}\right) and {\rm var}\bigl{(}f,\Phi_{x}\bigr{)}\leq(\underline{\varrho}^{-1}-1){\rm var}_{\pi}(f)+{\rm\underline{\varrho}^{-1}}{\rm var}\left(f,\Gamma_{x}\right) when ,
one could suggest iterating sufficiently many times, say times, in order to ensure that satisfies the uniform in properties of the type suggested above. This would require however a computable quantitative bound on the spectral gap of ,
the lower bound in (c) is motivated by the fact that may be a family with non-positive elements, which may introduce negative correlations. On the contrary in the situation where is a collection of positive operators (e.g. cSMC kernels) then (b) implies that is geometrically ergodic as soon as is geometrically ergodic and (and of course is always positive) and (d)(ii) that is always inferior to in terms of asymptotic variance. In the context of the PGibbs sampler the latter result parallels what is known for pseudo-marginal algorithms ,
we note that from [25, Theorem 1; Proposition 1] is geometrically ergodic as soon as is geometrically ergodic.
Now we show how these results can be transferred to the chain.
Let the notation be as in Theorem 27. Then,
for any f\in L^{2}\bigl{(}\Theta,\pi\bigr{)}, letting for any \bar{f}(x):=\pi_{x}\bigl{(}f\bigr{)}\in L^{2}\bigl{(}\mathsf{X},\pi\bigr{)}, we have for any
if defined in 13, then for f\in L^{2}\bigl{(}\Theta,\pi\bigr{)}
if for all , is a positive operator, then for f\in L^{2}\bigl{(}\Theta,\pi\bigr{)} .
We remark that without loss of generality we can let throughout. First note that for f\in L_{0}^{2}\bigl{(}\Theta,\pi\bigr{)} and any \bigl{(}\theta,x_{0}\bigr{)}\in\Theta\times\mathsf{X}
and for g\in L^{2}\bigl{(}\mathsf{X},\pi\bigr{)} and any , . The first result is straightforward upon remarking that for
For the second and third point, using the remarks above, for f\in L_{0}^{2}\bigl{(}\Theta,\pi\bigr{)} and
Now , which is the variance decomposition identity and by noting that \pi\bigl{(}\bar{f}\bigr{)}=0 lets us deduce that f\in L_{0}^{2}\bigl{(}\Theta,\pi\bigr{)} implies that \bar{f}\in L_{0}^{2}\bigl{(}\mathsf{X},\pi\bigr{)}. Now,
We conclude by noting that for f\in L^{2}\bigl{(}\mathsf{X},\pi\bigr{)} then {\rm var}_{\pi}\bigl{(}f\bigr{)}=\|f-\pi(f)\|_{\pi}^{2} and {\rm var}_{\pi}\bigl{(}\bar{f}\bigr{)}=\|\bar{f}-\pi(f)\|_{\pi}^{2}=\|\overline{f-\pi(f)}\|_{\pi}^{2}. We will also use the equality above for and , since again the latter corresponds to a particular instance of the above. We can now use the bound from Theorem 27, which leads, for f\in L_{0}^{2}\bigl{(}\Theta,\pi\bigr{)}, to
We conclude as above. The final statement follows from {\rm var}\bigl{(}\bar{f},\Phi_{x}\bigr{)}\geq{\rm var}\bigl{(}\bar{f},\Gamma_{x}\bigr{)} (see Theorem 27) and the equality established above for and and and .∎
Consider the PGibbs sampler with particles with kernel defined as in (12) such that for any , is the i-cSMC kernel as defined in Section 3 for the families and of kernels and potentials on \mathsf{Z}\times\mathcal{B}\bigl{(}\mathsf{Z}\bigr{)} and respectively. For any we let be the corresponding normalizing constant as defined below (3). Then, the results of Theorems 27 and 29 hold as follows:
then as defined in Corollary 14,
or we have the uniform mixing condition, for some ,
then as defined in Corollary 16.
In particular, in both cases convergences to one as , implying that the spectral gaps and the asymptotic variances associated with the PGibbs sampler converge to those of the related Gibbs sampler.
It is worth noting that terms related to appear in all these bounds. So, for example in the first part it is not sufficient that our potentials are essentially bounded, but it is sufficient if, for all , is bounded.
Discussion
The developments above go some way in characterizing the behaviour of i-cSMC and associated PGibbs Markov chains, and raise a number of possible future directions for research. We have already embarked upon investigating some potentially practical uses of the minorization conditions and spectral properties for these chains. Of particular interest in practice is how to choose in the i-cSMC algorithm so as to balance the trade off between mixing properties of and the total number of iterations that can be performed with limited computational resources. Remark 17, for example, can be used to find approximately good values of in this spirit, but can only serve as a heuristic. In particular, while Proposition 8 may provide a fairly accurate bound in the large regime, it is unclear how much is lost in applying Jensen’s inequality, and consequently how accurate estimates such as those in Remark 17 can be. It is possible that results such as those in may provide a way to exploit additional structure often found in statistical applications.
The results for the i-cSMC and PGibbs Markov chains developed here can be compared and contrasted with similar results for the Particle Independent Metropolis–Hastings (PIMH) and PMMH Markov chains . We summarize here the detailed comparison provided in [2, Appendix F]. Like i-cSMC, PIMH is an exact approximation of an independent sampler but PMMH is an exact approximation of an idealized Metropolis–Hastings kernel, rather than a Gibbs sampler. Just as i-cSMC can be viewed as a constituent element of PGibbs, PIMH can be viewed as playing the same role within PMMH. Central to the analysis of PIMH is the essential supremum of the normalizing constant estimate \hat{\gamma}_{T}^{N}\bigl{(}Z_{1:T}\bigr{)} introduced in Section 4 with respect to the law of a standard SMC algorithm and indeed the PIMH Markov chain is (uniformly) geometrically ergodic if and only if this supremum is finite as a consequence of the characterisation of independent Metropolis–Hastings chains in . However, it can also be seen that the rate of convergence of PIMH will typically not improve as increases, in contrast with the convergence for the i-cSMC (see Propositions 13 and 15).
For PMMH, show that if the essential supremum of the relative normalizing constant estimate \hat{\gamma}_{\theta,T}^{N}\bigl{(}Z_{1:T}\bigr{)}/\gamma_{\theta,T} is moreover bounded essentially uniformly in then the existence of a spectral gap of the idealized Metropolis–Hastings Markov kernel it approximates is inherited by PMMH. However, the rate of convergence of the PMMH Markov chain when this occurs does not improve in general as increases, in contrast to our results for PGibbs Markov chains. In this context, weak convergence in of the asymptotic variance of estimates of to the corresponding asymptotic variance of the Metropolis–Hasting kernel is nevertheless provided by [5, Proposition 19] for all but this can be contrasted with quantitative bounds obtained in Theorem 29.
The one step uniform minorization condition in Corollary 9, where the minorization measure is the invariant distribution of the Markov chain, suggests that it may be possible to apply coupling from the past techniques (see, e.g., ) in order to produce samples from exactly this distribution. It is, however, not clear how to implement such an algorithm in general, although provides a perfect simulation algorithm motivated by Theorem 1. Finally, our analysis has focused mainly on the case where the essential boundedness condition holds. However, a refined analysis may permit characterization of the i-cSMC and hence the PGibbs Markov chains even in the absence of this condition, with parallels to .
CA’s research was supported by EPSRC EP/K009575/1 Bayesian Inference for Big Data with Stochastic Gradient Markov Chain Monte Carlo and EP/K014463/1 Intractable Likelihood: New Challenges from Modern Applications (ILike). MV was supported by Academy of Finland grant 250575.
Supplementary material
The proof of Lemma 7 is a simple consequence of Lemma 32 (b). We introduce the set of indices , which will allow us to define the lineages coalescing with at some point in the past, and (with the convention that ) the time at which coalescence occurs.
For any , and ,
for any and such that
and for , any , such that and
for and we have
We note that the above is well defined for from the definition of in Section 3 and associated remark, and the convention that should be ignored in this case.
In order to alleviate notation we omit and and set G_{t}^{k}:=G_{t}\bigl{(}z_{t}^{k}\bigr{)}. For the first point we note the independence on of
and conclude from (4). Similarly we note the independence on of
and we conclude with (5). For the second point, let , a_{1:T}\in\bigl{(}[N]^{N}\bigr{)}^{T-1}\times[N] such that for , and then, with an obvious convention when (i.e. does not exist and should be ignored), we have
Appendix B Proof of Lemma 10
We can define the artificial joint distribution
It is straightforward to check that the conditional distribution of given can be written
Appendix C Supplementary material for Section 4
In the next proposition we gather general properties for generic reversible Markov chains satisfying a uniform minorization condition for which the minorization probability is precisely the invariant distribution of the Markov chain. We suspect these results to be widely known, but could not find a relevant reference. Let and L_{0}^{2}\bigl{(}\mathsf{E},\mu\bigr{)}:=\bigl{\{}f\in L^{2}(\mathsf{E},\mu):\mu\bigl{(}f\bigr{)}=0\bigr{\}} both endowed with the inner product defined for any as , which yields the associated norm . For any we define the Dirichlet forms
where is the identity operator. The right and left spectral gaps of a generic reversible Markov transition kernel have the following variational representation
The condition and implies geometric ergodicity of the Markov chain. It turns out that convergence is in fact uniformly geometric in the following scenario.
Let be a probability distribution on some measurable space \bigl{(}\mathsf{E},\mathcal{B}\bigl{(}\mathsf{E}\bigr{)}\bigr{)} and let \Pi:\mathsf{E}\times\mathcal{B}\bigl{(}\mathsf{E}\bigr{)}\rightarrow be a Markov transition kernel reversible with respect to . Assume that there exists such that for any (x,A)\in\mathsf{E}\times\mathcal{B}\bigl{(}\mathsf{E}\bigr{)},
the Dirichlet forms satisfy for any f\in L^{2}\bigl{(}\mathsf{E},\mu\bigr{)}
for any probability distribution we have
and for any f\in L^{2}\bigl{(}\mathsf{E},\mu\bigr{)}
and if is a positive operator then naturally {\rm var}\bigl{(}f,\Pi\bigr{)}\geq{\rm var}_{\mu}\bigl{(}f\bigr{)}.
First, from the minorization condition one can write , where is invariant. Now for f\in L_{0}^{2}\big{(}\mathsf{E},\mu\big{)}
and therefore with the Dirichlet form of the (reversible) “independent samples” Markov chain we deduce
which implies (a). The bounds on the spectral gaps (b) follow immediately and the results in points (c) and (d) are now a consequence of the resulting property of the spectrum and e.g. [27, Proposition 3.12, p. 44] and [14, Proposition 1.5]. Result (e) is due to Doeblin , while the two bounds on the asymptotic variance are direct consequences of Lemma 34 and coincide in this case with the “Kipnis–Varadhan” upper bound . ∎
Let be reversible with respect to and assume that there exists such that for any f\in L_{0}^{2}\bigl{(}\mathsf{E},\mu\bigr{)}
The first result is straightforward. For the second result, first notice that
and since {\rm var}\bigl{(}f,\Pi\bigr{)}=2\bigl{[}\sup_{g\in L_{0}^{2}\bigl{(}\mathsf{E},\mu\bigr{)}}2\bigl{\langle}f,g\bigr{\rangle}_{\mu}-\mathcal{E}_{\Pi}(g)\bigr{]}-\|f\|_{\mu}^{2} we conclude that
Appendix D Supplementary material for Section 5
The proof of Proposition 11 relies on the following technical lemma, and is given after this intermediate result.
for any , any such that
and and are as in Proposition 11.
The property in (a) is immediate from the linearity of the expectation and the definition of the process. We now prove property (b) by induction on . In order to alleviate notation we let G_{p,q}^{i}:=G_{p,q}\bigl{(}Z_{p}^{i}\bigr{)} when found inside an expectation and G_{p,q}^{i}:=G_{p,q}\bigl{(}z_{p}^{i}\bigr{)} otherwise, G_{p,q}^{1+2}:=G_{p,q}\bigl{(}x_{p}\bigr{)}+G_{p,q}\bigl{(}y_{p}\bigr{)} and . The case follows from (a) with by observing that \mathcal{I}_{1,1}=\bigl{\{}T+1\bigr{\}}, C_{1,1}\bigl{(}\mathbf{i},x,y\bigr{)}=1 and that G_{T-1,T+1}^{r}=Q_{T-1,T}\bigl{(}G_{T}\bigr{)}\bigl{(}z_{T-1}^{r}\bigr{)} :
Now we assume the property true for some and establish it for . We have
and we deal with the two terms separately. Observe that only depends on and , then by application of the first result of the lemma we obtain
and, noting that depends on only
where we have again applied the first result of the lemma. Consequently we can group the terms as follows
Now we first focus on the first term on on the RHS on the first line (with the sum now written in extension in order to help and we note that we do not use the double indexing in order to keep notation simple),
where we have used the following changes of variables: for followed by . Note that we can extend the sum in order to include the term , since we cannot have . We examine the second term on the RHS of the first line of (15)
and we notice that we can extend the sum in order to include the term because , which implies that . Consequently we deduce that
We now turn to the second line of (15) and examine the two terms within the brackets and use similar ideas. First we have
We start with the second result of Lemma 35 for and we proceed as in the beginning of the proof of that lemma, using similar notation and arguments. Here we have however
and using arguments similar to those of the proof of Lemma 35,
which can be rewritten as (again we use and the fact that by convention)
Consider first the case where , for ,
by using (A4)(b) and a straightforward induction. Now we can conclude by using (A4)(a). When we simply note that, proceeding as above, for any ,
Appendix E Supplementary material for Section 6
Denote by the closed ball of radius centred at the origin and define the sets
We may define which satisfies . ∎
Appendix F Detailed comparisons with the PIMH and PMMH
In this section we contrast the performance properties of the i-cSMC (resp. PGibbs sampler), as established in Section 5 (resp. Section 7), with those of the Particle Independent Metropolis–Hastings kernel (PIMH) (resp. particle Marginal Metropolis–Hastings (PMMH)) also proposed in , which also aims to (indirectly) sample from as defined in Section 3 (resp. Section 7). We use notation similar to that used in Section 3 for the i-cSMC algorithm. The Markov kernel of the PIMH can be defined for (with an obvious abuse of notation in order to alleviate notation), W\in\mathcal{B}\bigr{(}\mathsf{W}\bigr{)} and as
and . We note that is not a random quantity in the definition of . The invariant distribution of the Markov chain, which evolves on , is given for any W\in\mathcal{B}\bigr{(}\mathsf{W}\bigr{)} by
Clearly whenever , which is similar to what we have obtained in Propositions 13 and 15 for the i-cSMC. An important difference, which may explain the widely perceived superiority of the i-cSMC, is that the rate of convergence of PIMH will typically not improve (and in particular converge to ) as increases, even for bounded potentials, which is in contrast with the corresponding convergence rate of the i-cSMC (see Propositions 13 and 15).
We can also compare the results of Section 7 for the PGibbs sampler with the corresponding results for the PMMH algorithm . This latter algorithm evolves on with transition probability
whenever , i.e. the existence of a spectral gap of is “inherited” by . This coincides in many cases with inheritance of geometric ergodicity, for example when is positive.
The rate of convergence of a geometrically ergodic PMMH Markov chain does not improve in general as increases, in contrast to our results for PGibbs Markov chains. In this context, weak convergence in of the asymptotic variance of estimates of using to that of is nevertheless provided by [5, Proposition 19] for all . This can be contrasted with quantitative bounds obtained in Theorem 29.