Perturbation theory for Markov chains via Wasserstein distance

Daniel Rudolf, Nikolaus Schweizer

Introduction

Markov chain Monte Carlo (MCMC) algorithms are one of the key tools in computational statistics. They are used for the approximation of expectations with respect to probability measures given by unnormalized densities. For almost all classical MCMC methods it is essential to evaluate the target density. In many cases, this requirement is not an issue, but there are also important applications where it is a problem. This includes applications where the density is not available in closed form, see , or where an exact evaluation is computationally too demanding, see . Problems of this kind lead to the approximation of Markov chains and to the question of how small differences in the transitions of two Markov chains affect the differences between their distributions.

In Bayesian inference when big data sets are involved an exact evaluation of the target density is typically very expensive. For instance, in each step of a Metropolis-Hastings algorithm the likelihood of a proposed state must be computed. Every observation in the underlying data set contributes to the likelihood and must be taken into account in the calculation. This may result in evaluating several terabytes of data in each step of the algorithm. These are the reasons for the recent interest in numerically cheaper approximations of classical MCMC methods, see . A reduction of the computational costs can, e.g., be achieved by relying on a moderately sized random subsample of the data in each step of the algorithm. The function value of the target density is thus replaced by an approximation. Naturally, subsampling and alternative attempts at “cutting the Metropolis-Hastings budget” induce additional biases. These biases can lead to dramatic changes in the properties of the algorithms as discussed in .

We provide perturbation bounds based on Wasserstein distances, which lead to flexible quantitative estimates of the biases of approximate MCMC methods. Our first main result is the Wasserstein perturbation bound of Theorem 3.1. Under a Wasserstein ergodicity assumption, explained in Section 2, it provides an upper bound on the distance of the nnth step distribution between an ideal and an approximating Markov chain in terms of the difference between their one-step transition probabilities. The result is well-suited for applications on a non-compact state space, since the difference of the one-step transition probabilities is measured by a weighted supremum with respect to a suitable Lyapunov function. For an autoregressive model, we show in Section 4.1 that the resulting perturbation bound cannot be improved in general. As a consequence of the Wasserstein approach we also obtain perturbation estimates for geometrically ergodic Markov chains. We first adapt our Wasserstein perturbation bound to this setting. Then, as a second main result, Theorem 3.2, we prove a refined estimate for geometrically ergodic chains where the perturbation is measured by a weighted total variation distance. Our perturbation bounds, and earlier ones in , establish a direct connection between an exponential convergence property for Markov chains and their robustness to perturbations. In particular, fast convergence to stationarity implies insensitivity to perturbations in the transition probabilities. Geometric ergodicity has been studied extensively in the MCMC literature. Thus, our estimates can be used in combination with many existing convergence results for MCMC algorithms. In Section 4, we illustrate the applicability of both theorems by generalizing recent findings on approximate Metropolis-Hastings algorithms from and on noisy Langevin algorithms for Gibbs random fields from .

We refer to for an overview of the classical literature on perturbation theory for Markov chains. However, as Stuart and Shardlow observed in , the classical assumptions on the perturbation might be too restrictive for many interesting applications. As a consequence, they develop a perturbation theory for geometrically ergodic Markov chains which requires to control perturbations of iterated transition kernels in a weaker sense. In our bounds for geometrically ergodic Markov chains, we have similar flexibility in the perturbation due to the Lyapunov-type stability condition, and require only a control on the errors of one-step transition kernels.

Mitrophanov, in , considers uniformly ergodic Markov chains and provides the best estimates in those settings. In the geometrically ergodic case, there are further related results, see and the references therein. Compared to , our focus is on non-asymptotic estimates with explicit constants, while their main focus is on qualitative results such as inheritance of geometric ergodicity by the perturbation. Earlier related results on perturbations induced by floating-point roundoff errors are shown in .

Finally, let us point out that our paper is complementary to the work of Pillai and Smith who also present Wasserstein perturbation bounds for Markov chains. When moving beyond the uniformly ergodic Markov chain case, an important challenge is to handle the issue that in many applications suprema of relevant quantities over the whole state space are infinite. The authors of guarantee finiteness of supremum norms by restricting attention to subsets of the state space. Their bounds thus involve exit probabilities from these subsets. Our approach circumvents these issues by relying on Lyapunov-type stability conditions for the approximate algorithm.

Wasserstein ergodicity

Let GG be a Polish space and B(G)\mathcal{B}(G) be the corresponding Borel σ\sigma-algebra. Let dd be a metric, possibly different from the one which makes the space Polish, which is assumed to be lower semi-continuous with respect to the product topology of GG. Let P\mathcal{P} be the set of all Borel probability measures on (G,B(G))(G,\mathcal{B}(G)). Then, we define the Wasserstein distance of ν,μ∈P\nu,\mu\in\mathcal{P} by

which leads to the well-known duality formula

For details we refer to [45, Chapter 1.2]. By δx\delta_{x} we denote the probability measure concentrated at xx. Hence W(δx,δy)=d(x,y)W(\delta_{x},\delta_{y})=d(x,y) is finite for x,y∈Gx,y\in G.

Let PP be a transition kernel on (G,B(G))(G,\mathcal{B}(G)) which defines a linear operator P ⁣:P→PP\colon\mathcal{P}\to\mathcal{P} given by

with Pf(x)=∫Gf(y)P(x,dy)Pf(x)=\int_{G}f(y)P(x,{\rm d}y) whenever one of the integrals exist, see for example [40, Lemma 3.6]. Now, by

we define the generalized ergodicity coefficient of transition kernel PP. This coefficient can be understood as a generalized Dobrushin ergodicity coefficient, see . Dobrushin himself called τ(P)\tau(P) the Kantorovich norm of PP, see [10, formula (14.34)]. Finally, τ(P)\tau(P) also provides a lower bound of the coarse Ricci curvature of PP introduced in .

Two essential properties of the ergodicity coefficient are submultiplicativity and contractivity, see [10, Proposition 14.3 and Proposition 14.4].

For two transition kernels PP and P~\widetilde{P} on (G,B(G))(G,\mathcal{B}(G)) and μ,ν∈P\mu,\nu\in\mathcal{P}, we have

As an immediate consequence of this contractivity, we obtain the following corollary.

Let PP be a transition kernel with stationary distribution π\pi, i.e. πP=π\pi P=\pi, and assume for some (and hence any) x0∈Gx_{0}\in G it holds that ∫Gd(x0,x) dπ(x)<∞\int_{G}d(x_{0},x)\,{\rm d}\pi(x)<\infty. Then

Because of the assumption ∫Gd(x0,x) dπ(x)<∞\int_{G}d(x_{0},x)\,{\rm d}\pi(x)<\infty we have that W(δx,π)W(\delta_{x},\pi) is finite for any x∈Gx\in G. Thus, the assertion follows by Proposition 2.1 and stationarity of π\pi. ∎

For some special cases one also has an estimate of the form (2.2) in the other direction. To this end, consider the trivial metric d(x,y)=2⋅1x≠yd(x,y)=2\cdot\mathbf{1}_{x\not=y} with indicator function

be the total variation norm of a signed measure qq on GG. In this setting W(μ,ν)=∥μ−ν∥tvW(\mu,\nu)=\left\|\mu-\nu\right\|_{\text{tv}}. For x,y∈Gx,y\in G with x≠yx\not=y we have ∥δx−δy∥tv=d(x,y)=2\left\|\delta_{x}-\delta_{y}\right\|_{\text{tv}}=d(x,y)=2 so that

For the moment, let us assume that PP is uniformly ergodic, that is, there exist numbers ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

An immediate consequence of the uniform ergodicity is that τ1(Pn)≤Cρn\tau_{1}(P^{n})\leq C\rho^{n}.

For the transition kernel PP there exist numbers ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

For any probability measure p0∈Pp_{0}\in\mathcal{P}, a transition kernel PP with stationary distribution π\pi and pn=p0Pnp_{n}=p_{0}P^{n} we have under the Wasserstein ergodicity condition that

Perturbation bounds

Similar as in [33, Theorem 3.1], we show quantitative bounds on the difference of pnp_{n} and p~n\widetilde{p}_{n}, but use the Wasserstein distance instead of total variation. Besides Assumption 2.1, the bounds depend on the difference of the initial distributions and on a suitably weighted one-step difference between PP and P~\widetilde{P}.

Let Assumption 2.1 be satisfied with the numbers C∈(0,∞)C\in(0,\infty) and ρ∈[0,1)\rho\in[0,1), i.e., τ(Pn)≤Cρn\tau(P^{n})\leq C\rho^{n}. Assume that there are numbers δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty) and a measurable Lyapunov function V~:G→[1,∞)\widetilde{V}:G\rightarrow[1,\infty) of P~\widetilde{P} such that

with p~0(V~)=∫GV~(x) dp~0(x){\widetilde{p}_{0}}(\widetilde{V})=\int_{G}\widetilde{V}(x)\,{\rm d}{\widetilde{p}_{0}}(x). Then

so that we obtain W(p~iP,p~iP~)≤γκW(\widetilde{p}_{i}P,\widetilde{p}_{i}\widetilde{P})\leq\gamma\kappa. By this fact we have

Then, by (3.3), (3.4) and the triangle inequality of the Wasserstein distance we have

Finally, by (2.4) we obtain ∑i=0n−1τ(Pi)≤C(1−ρn)1−ρ,\sum_{i=0}^{n-1}\tau(P^{i})\leq\frac{C(1-\rho^{n})}{1-\rho}, which allows us to complete the proof. ∎

The parameter κ\kappa is an upper bound on p~i(V~)\widetilde{p}_{i}(\widetilde{V}). It can be interpreted as a measure for the stability of the perturbed Markov chain. The parameter γ\gamma quantifies with a weighted supremum norm the one-step difference between PP and P~\widetilde{P}. The use of the Lyapunov function increases the flexibility of the resulting estimate, since larger values of V~\widetilde{V} compensate larger values of the Wasserstein distance between the kernels. Notice that the existence of a Lyapunov function satisfying (3.1) is weaker than assuming V~\widetilde{V}-uniform ergodicity of P~\widetilde{P} since it is not associated with a small set condition. In particular, the condition is satisfied for any P~\widetilde{P} with the trivial choice V~(x)=1\widetilde{V}(x)=1 for all x∈Gx\in G, see Corollary 3.2. As we will see in Section 4, allowing for non-trivial choices of V~\widetilde{V} considerably increases the applicability of our results.

If P~\widetilde{P} has a stationary distribution, say π~∈P\widetilde{\pi}\in\mathcal{P}, as a consequence of the previous theorem, we obtain bounds on the difference between π\pi and π~\widetilde{\pi}.

Let the assumptions of Theorem 3.2 be satisfied. Assume that P~\widetilde{P} has a stationary distribution π~∈P\widetilde{\pi}\in\mathcal{P} and let W(π,π~)W(\pi,\widetilde{\pi}) be finite. Then

By Theorem 3.2 we obtain with p0=πp_{0}=\pi, p~0=π~\widetilde{p}_{0}=\widetilde{\pi}, the stationarity of the distributions π\pi, π~\widetilde{\pi} and by letting n→∞n\to\infty that

By the Lyapunov condition and [16, Proposition 4.24], it holds that

which leads to κ≤L/(1−δ)\kappa\leq L/(1-\delta) and finishes the proof. ∎

It may seem artificial to assume W(π,π~)<∞W(\pi,\widetilde{\pi})<\infty but this is needed for the limit argument in the proof. This condition is often satisfied a priori. For example, it holds if the metric is bounded, i.e., sup⁡x,y∈Gd(x,y)\sup_{x,y\in G}d(x,y) is finite, or, more generally, if the distributions π\pi and π~\widetilde{\pi} possess a first moment in the sense that there exist x0,x~0∈Gx_{0},\widetilde{x}_{0}\in G such that

As pointed out in Remark 3.1, we do not need to impose condition (3.1) to obtain a non-trivial perturbation bound:

Assume that Assumption 2.1 holds with the numbers C∈(0,∞)C\in(0,\infty) and ρ∈[0,1)\rho\in[0,1), i.e., τ(Pn)≤Cρn\tau(P^{n})\leq C\rho^{n}, and let

The statement follows by Theorem 3.1 with V~(x)=1\widetilde{V}(x)=1 and L=1−δL=1-\delta. ∎

For the trivial metric d(x,y)=2⋅1x≠yd(x,y)=2\cdot\mathbf{1}_{x\not=y} the last corollary states essentially the result of [33, Theorem 3.1], where instead of the general Wasserstein distance the total variation distance is used. There, the bound’s dependence on CC and ρ\rho can be further improved by using the a priori bound τ1(Pn)≤1\tau_{1}(P^{n})\leq 1 in addition to uniform ergodicity. For another metric dd such an a priori bound is in general not available.

Table 1 provides a detailed comparison between our Theorem 3.1 and the related Wasserstein perturbation result of Pillai and Smith, [35, Lemma 3.3]. An important ingredient in their estimate is a set G^⊆G\widehat{G}\subseteq G which can be interpreted as the part of GG where both Markov chains remain with high probability. When a good uniform upper bound on W(δxP,δxP~)W(\delta_{x}P,\delta_{x}\widetilde{P}) for all x∈Gx\in G is available, we can choose G^=G\widehat{G}=G in [35, Lemma 3.3] and V~(x)=1\widetilde{V}(x)=1 in Theorem 3.1. In that case, both results essentially simplify to Corollary 3.2. The results become entirely different when such a bound is not available or too rough. In our estimate, one then needs a non-trivial Lyapunov function for P~\widetilde{P} and a uniform upper bound on W(δxP,δxP~)/V~(x)W(\delta_{x}P,\delta_{x}\widetilde{P})/\widetilde{V}(x). To apply their estimate, one needs a uniform bound on W(δxP,δxP~)W(\delta_{x}P,\delta_{x}\widetilde{P}) for all x∈G^x\in\widehat{G}. In addition, a bound on π(G∖G^)\pi(G\setminus\widehat{G}), Lyapunov functions and estimates of the exit probabilities from G^\widehat{G} of both Markov chains need to be available. Finally, while [35, Lemma 3.3] requires slightly more regularity on the Lyapunov function, contractivity of the unperturbed transition kernel PP (with C=1C=1) is not needed on the whole state space but only on G^\widehat{G}.

2 Perturbation bounds for geometrically ergodic Markov chains

In this section, we derive general perturbation bounds for geometrically ergodic Markov chains. First, we recall some results from , and which are helpful to apply our Wasserstein perturbation bounds in the geometrically ergodic case. Then we present the new estimates:

Corollary 3.3 is an application of Theorem 3.1 with Wasserstein distances replaced by VV-norms of differences between measures.

In Corollary 3.4, we show that having a Lyapunov function VV for PP is sufficient for our bounds if the transition kernels PP and P~\widetilde{P} are sufficiently close (in a suitable sense).

In Theorem 3.2, we provide a quantitative perturbation bound which still applies if we can only control the total variation distance between P(x,⋅)P(x,\cdot) and P~(x,⋅)\widetilde{P}(x,\cdot). To measure the perturbation in such a weak sense is new for geometrically ergodic Markov chains.

A transition kernel PP with stationary distribution π\pi is called geometrically ergodic if there is a constant ρ∈[0,1)\rho\in[0,1) and a measurable function C ⁣:G→(0,∞)C\colon G\to(0,\infty) such that for π\pi-a.e. x∈Gx\in G we have

For ϕ\phi-irreducible and aperiodic Markov chains, it is well known that geometric ergodicity is equivalent to VV-uniform ergodicity, see [36, Proposition 2.1]. Namely, if PP is geometrically ergodic, then there exists a π\pi-a.e. finite measurable function V ⁣:G→[1,∞]V\colon G\to[1,\infty] with finite moments with respect to π\pi and there are constants ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

The following result establishes the connection between VV-norms and certain Wasserstein distances. It is basically due to Hairer and Mattingly , see also .

Assume that VV is lower semi-continuous on GG. For x,y∈Gx,y\in G, let us define the metric

Then, for any μ,ν∈P\mu,\nu\in\mathcal{P} we have

where WdVW_{d_{V}} denotes the Wasserstein distance based on the metric dVd_{V}.

Lower semi-continuity of VV implies lower semi-continuity of dVd_{V}, which leads to the duality formula (2.1) by [45, Theorem 1.14]. We thus impose the standing assumption of lower semi-continuity of VV whenever we speak of VV-uniform ergodicity in the following. In principle, this requirement can be removed and (3.8) remains true, but we do not go into further detail in that direction. In applications, this is typically not restrictive since VV is continuous anyway.

By similar arguments as in the proof of [26, Theorem 1.1] we observe that (3.7) implies a suitable upper bound on

If (3.7) is satisfied for the transition kernel PP, then τV(Pn)≤Cρn.\tau_{V}(P^{n})\leq C\rho^{n}.

For any positive real numbers a1,a2,b1,b2a_{1},a_{2},b_{1},b_{2} we have the following elementary inequality

Now, by using (3.7) we obtain the assertion. ∎The lemmas above and Theorem 3.1 lead to the following new perturbation bound for geometrically ergodic Markov chains.

Let PP be VV-uniformly ergodic, i.e., there are constants ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

We also assume that there are numbers δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty) and a measurable Lyapunov function V~:G→[1,∞)\widetilde{V}:G\rightarrow[1,\infty) of P~\widetilde{P} such that

with p0~(V~)=∫GV~(x) dp~0(x)\widetilde{p_{0}}(\widetilde{V})=\int_{G}\widetilde{V}(x)\,{\rm d}{\widetilde{p}_{0}}(x). Then

In [41, Theorem 3.1], a related perturbation bound is proven. The convergence property of the unperturbed transition kernel is slightly weaker than our VV-uniform ergodicity, but also based on a kind of Lyapunov function. More restrictively, there it is assumed that the difference of PnP^{n} and P~n\widetilde{P}^{n} for all n>0n>0 can be controlled. In addition, the perturbation error is measured with a weight given by the same Lyapunov function as in the convergence property of PP, but by taking a supremum over a subset of test functions. With our approach we can take the supremum over all test functions and obtain similar estimates by setting p0=πp_{0}=\pi.

The next corollary demonstrates how the Lyapunov function of P~\widetilde{P} can be replaced by a Lyapunov function of PP, provided that the distance between the transition kernels is sufficiently small. Notice that assuming the existence of a Lyapunov function of PP in addition to the VV-uniform ergodicity is a definition of constants rather than an additional requirement, see, e.g., .

Let PP be VV-uniformly ergodic, i.e., there are constants ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

Moreover, V ⁣:G→[1,∞)V\colon G\to[1,\infty) is a measurable Lyapunov function of PP, such that

with constants δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty). Let

with p0~(V)=∫GV(x) dp~0(x)\widetilde{p_{0}}(V)=\int_{G}V(x)\,{\rm d}{\widetilde{p}_{0}}(x). If γ+δ<1\gamma+\delta<1, then

which implies (3.14). The assertion follows by the assumption that δ+γ<1\delta+\gamma<1 and an application of Corollary 3.3. ∎

For discrete state spaces and under the requirement p0=p~0p_{0}=\widetilde{p}_{0}, a result similar to the previous corollary is obtained in [21, Theorem 3, Corollary 3]. The authors of replace our constant κ\kappa by max⁡0≤i≤np~i(V)\max_{0\leq i\leq n}\widetilde{p}_{i}(V). This we could do as well, see the proof of Theorem 3.1.

It is easily seen that (BV,∣⋅∣V)(B_{V},\left|\cdot\right|_{V}) is a normed linear space. In the setting of Corollary 3.3, we have

In Corollary 3.4, the more restrictive case V=V~V=\widetilde{V} is considered. The corresponding operator norm \VERTP−P~\VERTBV→BV\VERT P-\widetilde{P}\VERT_{B_{V}\to B_{V}} appears in classical perturbation theory for Markov chains, see . But as discussed in [41, p. 1126] and it might be too restrictive to measure the perturbation with this operator norm for V=V~V=\widetilde{V}.

By relying, e.g., on [28, Proposition 2] we have some flexibility in the choice of VV. There it is shown that, for r∈(0,1)r\in(0,1), VV-uniform ergodicity implies VrV^{r}-uniform ergodicity. This leads to less favorable constants in the VrV^{r}-uniform ergodicity of PP, but can relax the requirements on the similarity of PP and P~\widetilde{P}. Namely, with a Lyapunov function V~\widetilde{V} of P~\widetilde{P} we can apply Corollary 3.3 with a VrV^{r}-uniformly ergodic PP and γ=\VERTP−P~\VERTBVr→BV~\gamma=\VERT P-\widetilde{P}\VERT_{B_{V^{r}}\to B_{\widetilde{V}}}.

Unfortunately, this approach breaks down for r=0r=0. To see this, notice that VrV^{r}-uniform ergodicity with r=0r=0 is just uniform ergodicity which is not implied by geometric ergodicity. The next theorem overcomes this limitation by separating the two roles of the function VV in the previous perturbation bounds. Roughly, we set V=1V=1 in the sense that we measure the distances between PP and P~\widetilde{P} as well as between pnp_{n} and p~n\widetilde{p}_{n} in the total variation distance. At the same time, we set V=V~V=\widetilde{V} in the sense that we assume PP is V~\widetilde{V}-uniformly ergodic with Lyapunov function V~\widetilde{V}.

Let PP be V~\widetilde{V}-uniformly ergodic, i.e., there are constants ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

Moreover, V~ ⁣:G→[1,∞)\widetilde{V}\colon G\to[1,\infty) is a measurable Lyapunov function of P~\widetilde{P} and PP, such that

with constants δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty). Let

with p0~(V~)=∫GV~(x) dp~0(x)\widetilde{p_{0}}(\widetilde{V})=\int_{G}\widetilde{V}(x)\,{\rm d}{\widetilde{p}_{0}}(x). Then, for γ∈(0,exp⁡(−1))\gamma\in(0,\exp(-1)) we have

From the proof of Theorem 3.2 we know that

Fix a real number r∈(0,1)r\in(0,1) and let s=1−rs=1-r. By considering (2.3) one can see that τ1(P)≤1\tau_{1}(P)\leq 1. This leads to

For γ∈(0,exp⁡(−1))\gamma\in(0,\exp(-1)), we can choose the numbers r=1+log⁡(γ)−1r=1+\log(\gamma)^{-1} and s=log⁡(γ−1)−1s=\log(\gamma^{-1})^{-1}. This yields γr=exp⁡(1)γ\gamma^{r}=\exp(1)\gamma and the proof is complete. ∎

Let π~∈P\widetilde{\pi}\in\mathcal{P} be a stationary distribution of P~\widetilde{P}. Notice that by the assumption that V~\widetilde{V} is Lyapunov function of P~\widetilde{P} and [16, Proposition 4.24] it follows that π~(V~)≤L/(1−δ)\widetilde{\pi}(\widetilde{V})\leq L/(1-\delta). Further, by the V~\widetilde{V}-uniform ergodicity of PP we also know that π(V~)\pi(\widetilde{V}) is finite. Thus,

Now, by Theorem 3.2 we can bound ∥π−π~∥tv\left\|\pi-\widetilde{\pi}\right\|_{\text{tv}} with p0=πp_{0}=\pi, p~0=π~\widetilde{p}_{0}=\widetilde{\pi} and by letting n→∞n\to\infty. We obtain

In the setting of Theorem 3.2, we can also interpret γ\gamma as an operator norm. Namely,

Applications

We illustrate our perturbation bounds in three different settings. We begin with studying an autoregressive process also considered in . After this, we show quantitative perturbation bounds for approximate versions of two prominent MCMC algorithms, namely the Metropolis-Hastings and stochastic Langevin algorithms.

and it is well known that there exists a stationary distribution, say πα\pi_{\alpha}, of PαP_{\alpha}.

leads to τ(Pαn)≤∣α∣n\tau(P_{\alpha}^{n})\leq\left|\alpha\right|^{n}. Similarly, one obtains

and pα,n=p0Pαnp_{\alpha,n}=p_{0}P^{n}_{\alpha}, p~α~,n=p~0Pα~n\widetilde{p}_{\widetilde{\alpha},n}=\widetilde{p}_{0}P^{n}_{\widetilde{\alpha}}. Then, inequality (3.2) of Theorem 3.1 gives

and for p0=p~0p_{0}=\widetilde{p}_{0} we have

From the previous two inequalities one can see that if α~\widetilde{\alpha} is sufficiently close to α\alpha, then the distance of the distribution pα,np_{\alpha,n} and p~α~,n\widetilde{p}_{\widetilde{\alpha},n} is small. Let us emphasize here that we provide an explicit estimate rather than an asymptotic statement.

The dependence on ∣α−α~∣\left|\alpha-\widetilde{\alpha}\right| in the previous inequality cannot be improved in general. To see this, let us assume that X0,αX_{0,\alpha} and X0,α~X_{0,\widetilde{\alpha}} are real-valued random variables with distribution πα\pi_{\alpha} and πα~\pi_{\widetilde{\alpha}}, respectively. Then, because of the stationarity we have that X1,α=αX0,α+Z1X_{1,\alpha}=\alpha X_{0,\alpha}+Z_{1} and X1,α~=α~X0,α~+Z1X_{1,\widetilde{\alpha}}=\widetilde{\alpha}X_{0,\widetilde{\alpha}}+Z_{1} are also distributed according to πα\pi_{\alpha} and πα~\pi_{\widetilde{\alpha}}, respectively. Thus

Let us now discuss the application of Corollary 3.4 and Theorem 3.2. Under the additional assumption that μ\mu, the distribution of Z1Z_{1}, has a Lebesgue density hh, it is shown in [15, Section 4] that the autoregressive model (4.1) is also V~\widetilde{V}-uniformly ergodic. Precisely, there is a constant C≥1C\geq 1 such that

Moreover, from [13, Example 1] we know that

does not go to 00 when α~↓α\widetilde{\alpha}\downarrow\alpha. Hence, Corollary 3.4 cannot quantify for small ∣α~−α∣|\widetilde{\alpha}-\alpha| whether the nnth step distributions are close to each other. However, also in [13, Example 1] it is proven that

The first summand on the right hand side we can bound by

and similarly for the second summand. Using that F(a)=F(−a)F(a)=F(-a), we obtain F(a)≤2∣a∣ hmax⁡F(a)\leq 2|a|\,h_{\max}. Finally, by substitution we can write

For simplicity set p0=p~0p_{0}=\widetilde{p}_{0} and assume that hmax⁡≤1h_{\max}\leq 1 as well as ∣α−α~∣∈(0,exp⁡(−1)/2)\left|\alpha-\widetilde{\alpha}\right|\in(0,\exp(-1)/2). Then, Theorem 3.2 implies

2 Approximate Metropolis-Hastings algorithms

We apply our perturbation results to the approximate (or noisy) Metropolis-Hastings algorithms analyzed in . We assume either that the unperturbed transition kernel of the Metropolis-Hastings algorithm satisfies the Wasserstein ergodicity condition stated in Assumption 2.1 or is geometrically ergodic. In particular, we do not assume that the transition kernel is uniformly ergodic. Let π\pi be a probability distribution on (G,B(G))(G,\mathcal{B}(G)) and assume that we are interested in sampling realizations from this distribution. Let QQ be a transition kernel which serves as the proposal for the Metropolis-Hastings algorithm. From [44, Proposition 1] we know that there exists a set S⊂G×GS\subset G\times G such that we can define the “acceptance ratio” for (x,y)∈G×G(x,y)\in G\times G as

Then, let the acceptance probability be α(x,y)=min⁡{1,r(x,y)}\alpha(x,y)=\min\{1,r(x,y)\}. With this notation the Metropolis-Hastings algorithm defines a transition kernel

A single transition from XnX_{n} to Xn+1X_{n+1} of the Metropolis-Hastings algorithm works as follows:

Draw a sample Y∼Q(Xn,⋅)Y\sim Q(X_{n},\cdot) and U∼\mboxUnifU\sim\mbox{Unif} independently, call the result yy and uu;

Set r:=r(Xn,y)r:=r(X_{n},y), with the ratio r(⋅,⋅)r(\cdot,\cdot) defined in (4.5);

If u<ru<r, then accept the proposal, and set Xn+1:=yX_{n+1}:=y, else reject the proposal and set Xn+1:=XnX_{n+1}:=X_{n}.

A single transition from X~n\widetilde{X}_{n} to X~n+1\widetilde{X}_{n+1} works as follows:

Draw a sample Y∼Q(X~n,⋅)Y\sim Q(\widetilde{X}_{n},\cdot) and U∼\mboxUnifU\sim\mbox{Unif} independently, call the result yy and uu;

Draw a sample R∼μX~n,y,uR\sim\mu_{\widetilde{X}_{n},y,u}, call the result r~\widetilde{r};

If u<r~u<\widetilde{r}, then accept the proposal, and set X~n+1:=y\widetilde{X}_{n+1}:=y, else reject the proposal and set X~n+1:=X~n\widetilde{X}_{n+1}:=\widetilde{X}_{n}.

and the transition kernel of such a Markov chain is still of the form (4.6) with α(x,y)\alpha(x,y) substituted by α~(x,y)\widetilde{\alpha}(x,y), i.e., it is given by Pα~P_{\widetilde{\alpha}}. The following results hold in the slightly more general case where α~(x,y)\widetilde{\alpha}(x,y) is any approximation of the acceptance probability α(x,y)\alpha(x,y).

The next lemma provides an estimate for the Wasserstein distance between transition kernels of the form (4.6) in terms of the acceptance probabilities.

Let QQ be a transition kernel on (G,B(G))(G,\mathcal{B}(G)) and let α ⁣:G×G→\alpha\colon G\times G\rightarrow and α~ ⁣:G×G→\widetilde{\alpha}\colon G\times G\rightarrow be measurable functions. By PαP_{\alpha} and Pα~P_{\widetilde{\alpha}} we denote the transition kernels of the form (4.6) with acceptance probabilities α\alpha and α~\widetilde{\alpha}. Then, for all x∈Gx\in G, we have

with E(x,y)=∣α(x,y)−α~(x,y)∣\mathcal{E}(x,y)=|\alpha(x,y)-\widetilde{\alpha}(x,y)|.

By the use of the dual representation of the Wasserstein distance it follows that

∎By the previous lemma and Theorem 3.1, we obtain the following Wasserstein perturbation bound for the approximate Metropolis-Hastings algorithm.

Let QQ be a transition kernel on (G,B(G))(G,\mathcal{B}(G)) and let α ⁣:G×G→\alpha\colon G\times G\rightarrow and α~ ⁣:G×G→\widetilde{\alpha}\colon G\times G\rightarrow be measurable functions. By PαP_{\alpha} and Pα~P_{\widetilde{\alpha}} we denote the transition kernels of the form (4.6) with acceptance probabilities α\alpha and α~\widetilde{\alpha}. Let the following conditions be satisfied:

Assumption 2.1 holds for the transition kernel PαP_{\alpha}, i.e., τ(Pαn)≤Cρn\tau(P_{\alpha}^{n})\leq C\rho^{n} for ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty).

There are numbers δ∈(0,1)\delta\in(0,1), L∈(0,∞)L\in(0,\infty) and a measurable Lyapunov function V~:G→[1,∞)\widetilde{V}:G\rightarrow[1,\infty) of Pα~P_{\widetilde{\alpha}}, i.e.,

Let E(x,y)=∣α(x,y)−α~(x,y)∣\mathcal{E}(x,y)=|\alpha(x,y)-\widetilde{\alpha}(x,y)| and assume that

Then, for any p0∈Pp_{0}\in\mathcal{P} and finite p0(V~)=∫GV~(x)dp0(x)p_{0}(\widetilde{V})=\int_{G}\widetilde{V}(x){\rm d}p_{0}(x) we have

where κ=max⁡{p0(V~),L1−δ}\kappa=\max\left\{p_{0}(\widetilde{V}),\frac{L}{1-\delta}\right\}.

Let us point out several aspects of condition (4.7). Recall that (4.7) is always satisfied with V~(x)=1\widetilde{V}(x)=1 for all x∈Gx\in G. However, in this case it seems more difficult to control γ\gamma. If some additional knowledge in form of a Lyapunov function V ⁣:G→[1,∞)V\colon G\to[1,\infty) of PαP_{\alpha}, i.e., PαV(x)≤δV(x)+LP_{\alpha}V(x)\leq\delta V(x)+L for some δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty), is available, then a non-trivial candidate for V~\widetilde{V} is VV. For sufficiently small

Then, Pα~V(x)≤(δ+δV)V(x)+LP_{\widetilde{\alpha}}V(x)\leq(\delta+\delta_{V})V(x)+L and whenever δ+δV<1\delta+\delta_{V}<1 it is clear that condition (4.7) is verified.

To highlight the usefulness of a non-trivial Lyapunov function, we consider the following scenario which is related to a local perturbation of an independent Metropolis-Hastings algorithm.

Let us assume that for PαP_{\alpha} Assumption 2.1, as formulated in Corollary 4.1, is satisfied. For some probability measure μ\mu on (G,B(G))(G,\mathcal{B}(G)) define Q(x,⋅)=μQ(x,\cdot)=\mu and p0=p~0=μp_{0}=\widetilde{p}_{0}=\mu. For G~⊆G\widetilde{G}\subseteq G let

Hence, for x∈G~x\in\widetilde{G} the transition kernel Pα~(x,⋅)P_{\widetilde{\alpha}}(x,\cdot) accepts any proposed state and for x∉G~x\not\in\widetilde{G} we have Pα~(x,⋅)=Pα(x,⋅)P_{\widetilde{\alpha}}(x,\cdot)=P_{\alpha}(x,\cdot). It is easily seen that E(x,y)≤1G~(x)\mathcal{E}(x,y)\leq\mathbf{1}_{\widetilde{G}}(x). For arbitrary R>0R>0 and r∈(0,1)r\in(0,1) set V~(x)=1+R1G~(x)\widetilde{V}(x)=1+R\mathbf{1}_{\widetilde{G}}(x) and note that

The last inequality of the previous formula follows by distinguishing the cases x∈G~x\in\widetilde{G} and x∉G~x\not\in\widetilde{G}. Define D(G~)=sup⁡x∈G~∫Gd(x,y)μ(dy)D(\widetilde{G})=\sup_{x\in\widetilde{G}}\int_{G}d(x,y)\mu({\rm d}y) and observe

for arbitrary R∈(0,∞)R\in(0,\infty) and r∈(0,1)r\in(0,1). Under the assumption that D(G~)D(\widetilde{G}) is finite and letting R→∞R\to\infty as well as r↓0r\downarrow 0 we obtain

which tells us that basically μ(G~)\mu(\widetilde{G}) measures the difference of the distributions. A small perturbation set G~\widetilde{G} with respect to μ\mu, thus implies a small bias. In contrast, with the trivial Lyapunov function V~=1\widetilde{V}=1, and if there is (x,y)∈G~×G(x,y)\in\widetilde{G}\times G such that α(x,y)=0\alpha(x,y)=0, we only obtain

The resulting upper bound on W(p0Pαn,p0Pα~n)W(p_{0}P_{\alpha}^{n},p_{0}P_{\widetilde{\alpha}}^{n}) will typically be bounded away from zero regardless of the set G~\widetilde{G}.

The constant γ\gamma essentially depends on the distance d(x,y)d(x,y) and the difference of the acceptance probabilities E(x,y)\mathcal{E}(x,y). By applying the Cauchy-Schwarz inequality to the numerator of γ\gamma, we can separate the two parts, i.e.,

If both integrals remain finite we see that an appropriate control of E(x,y)\mathcal{E}(x,y) suffices for making the constant γ\gamma small.

By using a Hoeffding-type bound, in Bardenet et al. [3, Lemma 3.1.] it is shown that for their version of the approximate Metropolis-Hastings algorithm with adaptive subsampling the approximation error E(x,y)\mathcal{E}(x,y) is bounded uniformly in xx and yy by a constant s>0s>0. Moreover, ss can be chosen arbitrarily small for the implementation of the algorithm.

Now we consider the case where the unperturbed transition kernel PαP_{\alpha} is geometrically ergodic. Motivated by Remark 4.2, we also assume that E(x,y)≤s\mathcal{E}(x,y)\leq s for a sufficiently small number s>0s>0. The following corollary generalizes a main result of Bardenet et al. [3, Proposition 3.2] to the geometrically ergodic case.

Let QQ be a transition kernel on (G,B(G))(G,\mathcal{B}(G)) and let α ⁣:G×G→\alpha\colon G\times G\rightarrow and α~ ⁣:G×G→\widetilde{\alpha}\colon G\times G\rightarrow be measurable functions. By PαP_{\alpha} and Pα~P_{\widetilde{\alpha}} we denote the transition kernels of the form (4.6) with acceptance probabilities α\alpha and α~\widetilde{\alpha}. Let the following conditions be satisfied:

The unperturbed transition kernel PαP_{\alpha} is VV-uniformly ergodic, that is,

for numbers ρ∈[0,1)\rho\in[0,1), C∈(0,∞)C\in(0,\infty) and a measurable function V ⁣:G→[1,∞)V\colon G\rightarrow[1,\infty). Moreover, VV is a Lyapunov function of PαP_{\alpha}, i.e.,

for numbers δ∈(0,1)\delta\in(0,1) and L∈(0,∞)L\in(0,\infty).

A uniform bound s>0s>0 on the difference of the acceptance probabilities is given, that is, for all x,y∈Gx,y\in G, we have

If s<(1−δ)/λs<(1-\delta)/\lambda, then, for any p0∈Pp_{0}\in\mathcal{P} with finite κ=max⁡{p0(V),L1−δ−λs}\kappa=\max\left\{p_{0}(V),\frac{L}{1-\delta-\lambda s}\right\} we have

We consider the metric dVd_{V}, defined in Lemma 3.1, set V=V~V=\widetilde{V} and use E(x,y)≤s\mathcal{E}(x,y)\leq s so that it is easily seen that the constant γ\gamma from Corollary 4.1 satisfies γ≤sλ\gamma\leq s\lambda. From the proof of Corollary 3.4, we know that VV is a Lyapunov function of Pα~P_{\widetilde{\alpha}} provided that γ+δ<1\gamma+\delta<1. Thus, we have

Now if s<(1−δ)/λs<(1-\delta)/\lambda, then δ+λs<1\delta+\lambda s<1 and the assertion follows from Corollary 4.1 by writing the Wasserstein distances in terms of VV-norms as in Section 3.2. ∎

Without V(x)V(x) in the denominator, i.e., if we had relied on Corollary 3.2 instead of Theorem 3.1, the constant λ\lambda would often be infinite. Consider the following toy example: Let π\pi be the exponential distribution with density exp⁡(−x)\exp(-x) on G=[0,∞)G=[0,\infty) and assume that Q(x,dy)Q(x,{\rm d}y) is a uniform proposal with support [x−1,x+1][x-1,x+1]. With V(x)=exp⁡(x)V(x)=\exp(x) it is well known that the Metropolis-Hastings algorithm is VV-uniformly ergodic, see or [37, Example 4]. In this example

whereas ∫x−1x+1exp⁡(y)dy\int_{x-1}^{x+1}\exp(y){\rm d}y is unbounded in xx. Notice that λ\lambda only depends on the unperturbed Markov chain so that a bound on λ\lambda can be combined with any approximation.

Let Pα~P_{\widetilde{\alpha}} and PαP_{\alpha} be ϕ\phi-irreducible and aperiodic. Then, one can prove under the assumptions of Corollary 4.2 that Pα~P_{\widetilde{\alpha}} is VV-uniformly ergodic if ss is sufficiently small. To see this, note that by [31, Theorem 16.0.1] the VV-uniform ergodicity of PαP_{\alpha} implies that PαP_{\alpha} satisfies their drift condition (V4). By the arguments stated in the proof of Corollary 3.4, one obtains that Pα~P_{\widetilde{\alpha}} also satisfies (V4) for sufficiently small ss and this implies VV-uniform ergodicity. In this case, clearly Pα~P_{\widetilde{\alpha}} possesses a stationary distribution, say π~\widetilde{\pi}, and

The previous inequality follows by (3.5) and the fact that

Here the finiteness of π(V)\pi(V) follows by the VV-uniform ergodicity of PP and π~(V)≤L/(1−δ−λs)\widetilde{\pi}(V)\leq L/(1-\delta-\lambda s) follows by (4.10) and [16, Proposition 4.24].

3 Noisy Langevin algorithm for Gibbs random fields

An alternative to the Metropolis-Hastings algorithm is the Langevin algorithm, see . Unfortunately, in its implementation one needs the gradient of the density of the target distribution. To overcome this problem, different approximate Langevin algorithms have been proposed and studied, see .

where the prior density p(θ)p(\theta) is the Lebesgue density of the normal distribution N(0,σp2)\mathcal{N}(0,\sigma_{p}^{2}) with σp>0\sigma_{p}>0.

In general πy\pi_{y} is not a stationary distribution of PσP_{\sigma}, but there exists a stationary distribution (see Proposition 4.1 below), say πσ\pi_{\sigma}, which is close to πy\pi_{y} depending on σ\sigma. Let z(θ)=∑y∈YMexp⁡(θ s(y))z(\theta)=\sum_{y\in\mathcal{Y}^{M}}\exp(\theta\,s(y)) then, by the definition of πy\pi_{y} we have

A single transition from X~n\widetilde{X}_{n} to X~n+1\widetilde{X}_{n+1} works as follows:

Draw Zn∼N(0,σ2)Z_{n}\sim\mathcal{N}(0,\sigma^{2}), independent from step 1., call the result znz_{n}. Set

From [2, Lemma 3] and by applying arguments of , we obtain the following facts about the noisy Langevin algorithm.

the function VV is a Lyapunov function for PσP_{\sigma} and Pσ,NP_{\sigma,N}. We have

with δ=1−σ24σp2\delta=1-\frac{\sigma^{2}}{4\sigma_{p}^{2}}, L=σ+σ2∥s∥∞+σ22σp2L=\sigma+\sigma^{2}\left\|s\right\|_{\infty}+\frac{\sigma^{2}}{2\sigma_{p}^{2}} and the interval

the transition kernels PσP_{\sigma} and Pσ,NP_{\sigma,N} are VV-uniformly ergodic.

for N>4max⁡{∥s∥∞2σ4,∥s∥∞−3σ−6}N>4\max\left\{\|s\|_{\infty}^{2}\sigma^{4},\|s\|_{\infty}^{-3}\sigma^{-6}\right\} we have

Thus, the assertions from 1. to 3. are proven. The statement of 4. is a consequence of [2, Lemma 3]. There it is shown that for N>4∥s∥∞2σ4N>4\|s\|_{\infty}^{2}\sigma^{4} it holds that

By using exp⁡(θ)−1≤θexp⁡(θ)\exp(\theta)-1\leq\theta\exp(\theta) and N>4N>4 we further estimate the right-hand side by

Since log⁡(N)⋅N−1/3<2\log(N)\cdot N^{-1/3}<2, we have the bound KN,s,σ≤exp⁡(1)K_{N,s,\sigma}\leq\exp(1) provided that 4N2/3∥s∥∞2σ4≥24N^{2/3}\|s\|_{\infty}^{2}\sigma^{4}\geq 2 which follows from N≥∥s∥∞−3σ−6N\geq\|s\|_{\infty}^{-3}\sigma^{-6}. The assertion of (4.13) follows now by a simple calculation. ∎

By using the facts collected in the previous proposition, we can apply the perturbation bound of Theorem 3.2 and obtain a quantitative perturbation bound for the noisy Langevin algorithm.

We have by Proposition 4.1 that PσP_{\sigma} is VV-uniformly ergodic with V(θ)=1+∣θ∣V(\theta)=1+\left|\theta\right|, i.e., there are numbers ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) such that

Now, by combining Theorem 3.2 and Remark 3.8 with the results from Proposition 4.1 we obtain the result. ∎

We want to point out that the assumptions imposed are the same as in [2, Theorem 3.2], but instead of the asymptotic result we provide an explicit estimate. The numbers ρ∈[0,1)\rho\in[0,1) and C∈(0,∞)C\in(0,\infty) are not stated in terms of the model parameters. In principle, these values can be derived from the drift condition (4.12) through [5, Theorem 1.1].

Acknowledgements

We thank Alexander Mitrophanov and the referees for their valuable comments which helped to improve the paper. D.R. was supported by the DFG Research Training Group 2088.

References