Convergence of Numerical Time-Averaging and Stationary Measures via Poisson Equations
Jonathan C. Mattingly, Andrew M. Stuart, M. V. Tretyakov
Introduction
In many application one is interested in estimating the invariant measure of stochastic differential equation (SDE) by running a numerical scheme which approximates the time dynamics of the SDE. Two common approaches are to use the numerical trajectories to construct an empirical measure by the time averaging trajectories or by averaging many different realizations to obtain a finite ensemble average (see for example ). In either case one produces an approximation to the numerical method’s invariant measure and is immediately presented with a number of questions including: (i) Does the numerical scheme have a stationary measure to which it converges quickly as time goes to infinity? (ii) How close is the numerical method’s stationary measure to the stationary measure of the underlying SDE ? (iii) How close is the time-averaging estimator to the stationary measure of the underlying SDE? This article mainly focuses on the second two questions.
The first question is addressed in many papers, including . There are also a number of works where the second question has been considered. In it was shown that several numerical methods for SDEs, including the forward Euler-Maruyama scheme, have unique stationary measures which converge at the expected rate to the unique stationary measure of the SDE. Moreover, in an expansion of the numerical integration error in powers of time step was obtained which allows one to use the Richardson-Romberg extrapolation to improve the accuracy. These works discuss the convergence in the case of relatively smooth tests functions. In , the authors use techniques from Malliavin calculus to establish smoothing properties of the discretization scheme. This allows one to prove the convergence of the averages of test functions which are only bounded. In turn, this shows that the distance between the numerical method’s stationary measure is close to the stationary measure of the SDE in the total-variation norm. In , a general method of deducing closeness of the stationary measure from an error estimate on a finite time interval is proposed, though in general it does not provide optimal estimates of the convergence rate. In the earlier works a global Lipschitz assumption was imposed on the coefficients of the SDE which was lifted in . The papers deal with elliptic SDEs, while the hypoelliptic case is treated in .
In this paper we obtain error estimates for time-averaging estimators. The error estimates are given in terms of a term of the same order of magnitude as the weak finite time error of the numerical integrator used and the length of the simulation. Control of the time-averages is then used to prove closeness of the numerical method’s stationary measure to the stationary measure of the SDE. The convergence rate obtained is the same as the weak convergence rate obtained on a finite time interval. This highlights the general principle that, for time-dependent problems, finite time approximation properties can be transferred to infinite time approximation properties in the presence of suitable stability. Here the underlying stability is the geometric ergodicity of the SDE.
The main tool in our analysis is an associated Poisson equation for the underlying SDE. In this error analysis, the Markov chain generated by the numerical method need not be uniquely ergodic. It is shown that any stationary measure of the numerical method will be close to the unique stationary measure of the underlying SDE. We see the main advantage of the current analysis being its simplicity and universality. In particular, we obtain the error estimates in the case of numerical schemes with any reasonable simple random variables (including the discrete random variables used in weak Euler schemes ). Furthermore, our approach works equally well for a range of explicit and implicit schemes, and, perhaps more importantly, it works for hypoelliptic SDEs. It is comparatively short and the analysis leverages classical results on PDEs. It should be possible to carry over this approach to methods with adaptive step-sizes (see ). It should also be adaptable to the SPDE setting, using the Poisson equation in infinite dimensions (see related applications of Poisson equations in ).
Our goal here has not been to give the most general results. We have picked the simplifying setting of a compact phase space, namely the -dimensional torus, and relatively smooth test functions. The extension to the whole space requires control of the time spent outside of the center of the phase space. Under additional assumptions in the spirit of , we believe that versions of the present results can be proven in .
In Section 2, we introduce the basic setting for the underlying SDE and discuss the hypoellipticity assumptions. In Section 3, we describe the class of numerical approximations we consider. We give examples of explicit and implicit methods which fit our framework. In Section 4.1, we discuss the auxiliary Poisson equation which will be used to prove the main results, and we give properties of its solution. In Section 4.2, we warm up by showing how to prove a law of large numbers, for the SDE, using an auxiliary Poisson equation. Section 5.1 contains the main results of the article which give a number of senses in which the numerical time-averaging estimators are close to the corresponding stationary time average of the SDE. In Section 5.2 we extend the results of Section 5.1 to numerical methods of higher orders and in Section 5.3 the Richardson-Romberg (Talay-Tubaro) error expansion is considered. Section 6 uses the results of Section 5 to give a quantitative estimate on the distance of the numerical stationary measures from the underlying stationary measure for the SDE. In Section 6.2 we make some general comments about analogies with Stein’s method for proving the convergence of distributions to a limiting law. Some practical implications of the results of Section 5 are discussed in Section 7, where we classify the errors of the numerical time-averaging estimators and, in particular, pay attention to the statistical error.
SDE Setting
Let be a filtered probability space and be an -dimensional -adapted standard Wiener process. Consider the Markov process on the torusIn physical applications a process on the torus can be of interest when periodic boundary conditions imposed on the problem. A typical example is a noisy gradient system which may be used to sample from the Gibbs’ distribution with a periodic potential . We also note that our results can potentially be applied to approximating Lyapunov exponents on compact smooth manifolds . whose time evolution is governed by the Ito SDE
where and . We assume that and are Lipschitz continuous (and hence uniformly bounded) functions on . Under these assumptions, equation (2.1) has a unique pathwise global solution. The generator of the Markov process is
where . For a twice differentiable function and we have
The operator generates a strong Markov semigroup , for , which maps smooth bounded functions to smooth bounded functions. It can also be defined by where . By duality, also induces a semigroup which acts on probability measures. In the name of notational economy, we will also denote this semigroup by .
The -th column of , which we denote by , can be viewed as a function from . Hence is a collection of vector fields on and (2.1) can be rewritten as
This form of equation (2.1) makes it clear that there is a deterministic drift in the direction of and independent random kicks in each of directions . We will require that the randomness injected into the dynamics in the directions effects all directions sufficiently to produce a “smoothing” effect at the level of probability densities. Uniform ellipticity is the simplest assumption which ensures “sufficient spreading” of the randomness. However, it is far from necessary and many important examples are not uniformly elliptic. For our purposes, it is sufficient that the system is hypoelliptic.
The following is our basic assumption governing the stationary measure of the system, and its smoothness.
We assume that one of the following two assumptions hold:
(Elliptic Setting) The matrix-valued function is uniformly positive definite: there exists so that, for all and ,
(Hypoelliptic setting) The functions and are and such that, for some and all , and (2.1) possesses a unique stationary measure.
In either case in Assumption 1, we have that (2.1) has a unique stationary measure, henceforth denoted by , which has a density with respect to Lebesgue measure on .
As already mentioned, the goal of this paper is to give a simple, yet robust, proof that time averages obtained using a class of numerical methods for simulating (2.1) is close to the corresponding ergodic limits of (2.1). To this end, we now describe the class of numerical methods we will consider.
Numerical approximations
We will begin by considering a class of simple numerical approximation of (2.1) given by the generalized Euler-Maruyama method on the torus
where is the time increment, , , and is an -valued random variable and is a collection of i.i.d. real-valued random variables satisfying
for a sufficiently large We do not specify in the statements of the forthcoming theorems since common numerical schemes use random variables with bounded moments up to any order. At the same time, in each proof of Section 5.1 it is not difficult to recover the number of bounded moments required. More general methods will be considered in Section 5.2.
For example, satisfies these assumptions as well as with the law
We also note that the above two choices of guarantee existence of finite moments of of any order. Further, we assume that is defined on the probability space and is -adapted, for
Since we want the dynamics of (3.1) to be “close” to those of (2.1), we make the following assumption on the “local error” of (3.1).
For some , all , and all sufficiently small
Under this assumptions we expect that where as before . In fact it follows from the general theory that such numerical schemes have first-order weak convergence on finite time intervals.
In analogy to (2.2), we define an operator associated to (3.1) by
where . While not the generator of the Markov process (3.1), it is the generator’s leading order part since
where is the second derivative, we deduce that
It is reasonable to expect that the distribution of the dynamics of the SDE and its approximation will be close to each other since the leading part of the generator of the approximation (3.1) is close to that of the original process (2.1).
We close this section by giving two approximation methods which satisfy Assumption 2.
and hence and .
and hence and where is and element of which is closest to .
From (3.6) and the backwards Kolmogorov equation for (2.1), Assumption 2 is equivalent to
for all sufficiently smooth , provided that . In the language of consistency and stability of a numerical method used in the introduction, (3.6) and (3.8) provide an appealing way to characterize the degree of local consistency of a numerical method. This is will be the starting point for our discussion of higher order methods in Section 5.2.
Poisson equation
It is a “meta-theorem” in averaging, homogenization and ergodic theory that if one can solve the relevant Poisson equation then one can prove results about the desired limit of a time-average. A central theme of this paper is to show how an appropriate Poisson equation can be used to analyze the long time average of a given function , evaluated along a numerical approximation of (2.1) and obtain information about its closeness to the corresponding ergodic limits.
In this section, for motivation, we illustrate key ideas related to the Poisson equation, purely in the continuous time setting. To this end, recalling that is the unique stationary measure of (2.1) and its generator, given we define the stationary average of by
and let solve the Poisson equation
Under Assumption 1, (4.2) possesses a unique solution which is at least as smooth as . For , we denote by the space of functions from to such that the function and all of its partial derivatives up to order are essentially bounded. We then have the following result whose proof we sketch.
Under Assumption 1-i), given any , with there exists a unique solution to (4.2). Under Assumption 1-ii) there exists a so that given any , with , there exists a unique solution to (4.2).
Let denote the Laplacian on the dimensional torus. In either the hypoelliptic or elliptic case, one knows that for some positive and
for all smooth . (See and recall that our space is compact.) This implies that has compact resolvent and discrete spectrum (consisting of isolated points). Thus has a spectral gap and is invertible on the complement of the span of the eigenfunctions with zero eigenvalue. The space is nothing other than the functions which have zero mean with respect to an invariant measure for the corresponding semigroup (i.e. such that or in terms of the generator ). Since the system has a unique invariant measure due to Assumption 1, we see that has zero projection onto the space spanned by eigenfunctions with eigenvalue zero. Hence we know there exists a function which solves (4.2) weakly, by the Fredholm alternative.
This leaves the regularity. In the uniformly elliptic case, see . In the hypoelliptic case the results follow from Theorem 7.3.4 of or . This states that there is such that, if then for and . Since our for all , we know that . Since our space has finite measure, we know that .
One of the principle technical issues that must be addressed in order to extend the results in this paper from the case to general ergodic SDE on is proof of the existence of nice, well-controlled solutions to the above Poisson equation. Many of the needed results can be found in .
2 A strong law of large numbers: an illustrative example
We now show how to use the Poisson equation to prove a law of large numbers for (2.1). This idea appears frequently in the literature . Nonetheless since this technique is central to our investigation of discrete time approximations to diffusions, we first highlight the main ideas in continuous time. However, before we begin it is worth noting that, at least formally, the solution to Poisson equation can be written as
This can be interpreted as the total fluctuation over time of from ; and hence, it is not surprising that can be used to control convergence to equilibrium.
As stated in Theorem 4 when Assumption 1 holds, given any with there exists a unique which solves (4.2). Furthermore and hence Itô’s formula then tells us that
where . Since is bounded, the first term on the right-hand side goes to zero as . To see that the last term also goes to zero as observe that
for some independent of time since and are both bounded on . More precisely, we have shown that for any initial
which is a quantitative version of what is often called the mean ergodic theorem.
We can view as an estimator for and it follows from (4.5) that
The estimate (4.8) easily follows from (4.6) and (4.7) but can also be obtained directly from (4.5) using an additional mixing condition.
To obtain an almost sure (a.s.) resultThis result can also be obtained using Kronecker’s lemma (see, e.g. ). Though the approach we follow gives explicit error estimates which can be useful. , for any we introduce By the Doob inequality for continuous martingales and the fact that , we get
and the Borel-Cantelli lemma implies that there exists an a.s. bounded random variable and so that for every with one has
Hence with probability one, for every with one has
By combining this estimate with (4.5) and the fact that is bounded, we see that for any and for every one has
for some a.s. bounded We note that (4.9) implies that for any initial
In other words, the strong law of large number holds starting from any initial . Our assumptions are sufficient to ensure that (2.1) has a unique stationary measure . Hence, it follows from Birkoff’s ergodic theorem that (4.10) holds for -a.e. initial . The above argument not only shows that the result holds for all but also gives quantitative estimates on the rate of convergence.
Error analysis for the numerical time-average
We now wish to generalize the calculations in the previous section to prove the closeness of the time averages obtained via the Euler approximation (3.1) to the stationary averages of (2.1). We consider sample path estimates in this section and then convert these to distance estimates in an appropriate metric, in Section 6.
Let Introduce the estimator (discrete time-average) for the stationary average :
where is the SDE approximation defined in (3.1).
We start by proving a mean convergence result, followed by and almost sure theorems.
Let Assumptions 1 and 2 hold. Let denote in the elliptic setting and in the hypoelliptic setting. Then for any , one has
where and is some positive constant independent of and . Furthermore, the constant is a linear function of and otherwise independent of .We indicate the dependence of constants on since this dependence is used in Section 6. Obviously, all the constants appearing in the statements of this and forthcoming theorems also depend on the coefficients of the SDE (2.1) and on the numerical method used.
Under either of the conditions from Assumption 1, we know from Theorem 4 that the solution of (4.2) is in . In the interest of clarity and definiteness, we will proceed under the first condition in Assumption 1 (the elliptic setting) where the , , . In the hypoelliptic setting, the derivative of is bounded by the same derivative of , necessitating the change in definition of between the elliptic and hypoelliptic cases in the statement of the theorem.
For brevity, we write , , , and where is the th derivative. We write for the derivative evaluated in the directions . Defining , we have
is the remainder given by the Taylor theorem. Hence,
Summing (5.4) over the first terms, dividing by and using (4.2), produces
We will find it convenient to further decompose
Notice that and and . Then it is not difficult to see that are martingales with respect to and, in particular, for any .
Since and are uniformly bounded, (3.3) implies that and are uniformly bounded in . Recall that we also know that and its first four derivatives are uniformly bounded. Hence the are bounded as follows:
where the are positive constants which we have labeled for future reference. Similarly, we have (cf. (3.5)):
Notice that this bound and the above bound in are a.s. bounds with deterministic constants. Lastly observe that . Applying all of the preceding estimates to (5.5) produces the quoted result. ∎
We now consider an convergence result, related to the mean ergodic theorem (4.6) in the continuous case.
In the setting of Theorem 6, for any , one has
where and is some positive constant independent of and . Furthermore, depends on only through and does so linearly.
As in the proof of Theorem 6, we provide details in the elliptic case; in the hypoelliptic case the only change is that higher derivatives of appear in the constants. We begin with (5.5) from the proof of Theorem 6 and obtain
where is an ever changing constant. Observe that it follows from (5.6) that Further, by reasoning similar to that used in getting (5.6) we have
Similar reasoning and the bound on give
Using the bounds on and from the proof of Theorem 6 and all the above inequalities, we estimate the right-hand side of (5.9) and arrive at the quoted result. ∎
We now prove an almost sure version of the preceding two results. Its relation to Theorem 7 is the same as the relation of (4.9) to (4.6).
In the setting of Theorem 6, fixing an there exists a deterministic constant (depending lineally on ) so that for all with , sufficiently small, positive , and sufficiently large one has:
where and is an a.s. bounded random variable depending on and the particular .
As in the proof of Theorem 6, we provide details in the elliptic case; in the hypoelliptic case the only change is that higher derivatives of appear in the constants. Starting from (5.5), we have
where is an ever changing positive deterministic constant, independent of and Due to the strong law of large numbers, the sum a.s. convergesNote that in the case of from (3.2) this sum is equal to . to and thus for almost every sequence and all sufficiently large we have for some deterministic Hence
where
Now we analyze We have for
(here depends on ). Recall that are martingales. If we can prove that for all sufficiently large then the proof can be completed with the aid of the Borel-Cantelli lemma as in Section 4.2.
We will the provide argument for estimating the other terms are estimated analogously. We re-write
Note that the second term is equal to zero. Indeed
Note that by Jensen’s inequality this inequality holds for non-integer as well. Therefore,
The Markov inequality together with (5.15) implies
Then for any , with , there is a sufficiently large such that (recall that is fixed here and
Hence, by the Borel-Cantelli lemma, the random variable \varsigma\overset{\mbox{\tiny def}}{=}\sup_{T>0}T^{\gamma}\Theta_{N}\ is a.s. finite which together with (5.11) implies (5.10). ∎
We note that Theorems 6-8 do not require the Markov chain to be ergodic. It is, of course, possible under some additional conditions on the numerical method to prove its ergodicity (see for example ). If the limit exists and is independent of (i.e., if the Markov chain is ergodic) then it follows from Theorem 8 that \lim_{N\rightarrow\infty}\big{|}\hat{\phi}_{N}-\bar{\phi}\big{|}\leq K\Delta\ \a.s., which is consistent with the results of, for example, .
In the series of papers the authors consider the following weighted estimator for the stationary average
where are obtained by an Euler-type scheme with a decreasing time step such that as while positive weights are such that as In particular, they proved that for some Euler-type schemes and
We also note that the authors of proved a.s. convergence of weighted empirical measures based on Euler-type schemes with decreasing step to the invariant measure of the corresponding SDE exploiting the Echeverria-Weiss theorem, which differs from the approach used in this paper.
If we fix the computational costs (i.e., and an Euler-type scheme) then the asymptotically optimal choice of for is in which case It is interesting to note that these optimal orders of errors of both estimators are the same. At the same time, we should emphasize that the term with in (5.16) (see also (5.7) and (5.10)) is related to the numerical integration error while the term with is related to the statistical error (see also Section 7). In the case of large scale simulations (like those in molecular dynamics) the numerical error is usually relatively small thanks to the existing state of the art numerical integrators and the statistical error prevails. In such common in practice situations one chooses and to appropriately control the corresponding errors (see further discussion in Section 7).
2 Higher order schemes
We now consider a more general approximation than (3.1). In addition to the assumptions made in Section 2 we assume in this section that the coefficients of the SDE (2.1) and the function are sufficiently smooth.
Given a function and a sequence of -valued i.i.d. random variables , we define a general numerical method
We assume that the have sufficiently high moments finite. Clearly our previous class of methods fits in to this framework as well as a number of new methods such as implicit Euler. Guided by (3.8) we make the following general assumption about (5.17) after which we will state some easier to verify conditions which are equivalent.
For all sufficiently small, and all if then
where the constant in the error term is uniform over all with .
To complement the increments of the numerical method defined above we now define the increments of the SDE. Namely for any , we define by
where and solves (2.1). The following proposition, whose proof is given at the end of the section, enables Assumption 3 to be verified.
Assume that for some , there exists a positive constant so that for all sufficiently small:
Then the method satisfies Assumption 3 with the same .
We note that examples of second-order weak schemes () which satisfy Assumption 3 can be found in many places including [29, p. 103] and . Higher order methods also exist . We also note that it follows from the general theory [29, p. 100] that the numerical schemes considered in Proposition 10 have weak convergence of order on finite time intervals. Now we prove a mean convergence result, which is analogous to Theorem 6 in the case of Euler-type methods (3.1).
Let Assumptions 1 and 3 hold. Let denote in the elliptic setting and in the hypoelliptic setting. Then for any with , consider defined by (5.1) where is generated by the numerical method from (5.17) rather than (3.1) as previously. Then
where and is some positive constant independent of and . Furthermore, the constant is a linear function of and otherwise independent of . In other words,
(of Theorem 11) As before, let be the solution to the Poisson equation associated to given in (4.2). Define and let be the solution to (2.1) at time with initial condition . From our assumptions, we have that
Rewriting in (5.24) via the Taylor expansion of expectations of SDE solution ([29, Lemma 2.1.9, p. 99] or ), we arrive at
Summing (5.25) over the first terms and dividing by we obtain
where Using (4.2) and boundedness of , we have after rearrangement of (5.26):
Applying analogous arguments to as we did for in (5.26), we have
and, in particular, Hence which together with (5.27) implies (5.22).To help with intuitive understanding of the proof, we remark that which is approximated by with sufficient accuracy. ∎
If we substitute from the method (5.17) in from (5.1), it is also possible to prove (analogous to Theorem 8) that
(of Proposition 10) We note that under the assumptions made the solution of the Poisson equation (4.2) is sufficiently smooth. Expanding in powers of and taking expectation, we get
where the remainder with independent of and . If we replace by defined in (5.19) in (5.29) then, using the conditional version of (5.20), we obtain (with a different remainder than in (5.29)):
It is not difficult to see that the right-hand side of (5.30) coincide with expectation of the Taylor expansion of around up to a reminder of order Hence
3 The Richardson-Romberg (Talay-Tubaro) error expansion
In this section we consider an expansion of the global error in powers of the time step analogous to the Talay-Tubaro result . As in the previous section, we assume here that the coefficients of the SDE (2.1) and the function are sufficiently smooth. Note that we obtain the expansion both in the elliptic and hypoelliptic setting.
Let Assumptions 1 and 3 hold. Let be a positive integer and denote in the elliptic setting and in the hypoelliptic setting. For any with , consider defined by (5.1) where is generated by the numerical method from (5.17). Then
and the constants are independent of and and they are linear function of and otherwise independent of . In other words,
Here we make use of the Poisson equation again and also exploit an idea used in the proof of the Talay-Tubaro expansion in the finite time case from [29, pp. 106-108]. We prove the theorem in the case of (i.e., for Euler-type schemes) and for the clarity of the exposition. It is not difficult to extend the proof to arbitrary
In the case of for a particular Euler-type scheme, we can write (cf. (5.25)):
where is the coefficient at in the corresponding expansion of at For instance, in the case of the explicit Euler-Maruyama scheme (3.7)
where all the coefficients and the derivatives of the function are evaluated at We do not need the explicit form of for the proof.
Summing (5.32) over the first terms, dividing by using (4.2) and rearranging the terms, we obtain
where the constant is the stationary average of (see (4.1)). The expansion (5.31) with and follows from (5.33) and (5.34). ∎
Error analysis for the numerical stationary measures
We now use the results of the previous section to prove that any stationary measure of the numerical method is close to that of the underlining SDE. The existence of stationary measures for the numerical method follows by the Krylov-Bogoliubov construction.The fact that our state space is compact ensures that the time-averaged transition measure forms a tight family of probability measures . We have assumed in (3.4) and (3.6) or Assumption 3 that the finite time dynamics of our method and SDE are close. This can be seen as a form of “consistency”. It is reasonable to expect that the longtime behavior will be close since our setting of the torus provides the necessary “stability”through ergodicity.
We begin by giving a metric in which we will measure the distance between measures. If is a stationary measure of the numerical method, then for any bounded function and
where denotes the expectation conditional on . Fixing an integer , we define the metric between two probability measures on by
where and in the elliptic setting and in the hypoelliptic setting. Observe that since implies , one also has the equivalent, and sightly more standard, characterization of given by
Defining the metric as above for some integer and assume that either:
then there exists a positive so that if is any stationary measure of the numerical method (3.1) then
Since is stationary, we have that for any and hence
where in the last estimate we have invoked either Theorem 6 or Theorem 11 depending on which assumptions hold. Now taking , proves the result since the right-hand side is uniform for any . ∎
We reemphasize that we have not assumed in this section that the numerical method is uniquely ergodic. Rather we have shown that any stationary measure of the numerical system is close to the true stationary measure in the distance. It is, of course, possible in many settings to show that the numerical method is itself uniquely ergodic (cf. ).
It follows from Theorem 13 that under its assumptions the error can be expanded in powers of the time step:
It is also worth contrasting the result of Theorem 14 with a short alternative proof. Let denote the Markov semigroup associated with the SDE and with steps of a numerical method with step size . Suppose one knows for some metric on probability measures that holds for all probability measures and that for any fixed , for some constant all sufficiently small and any measure invariant for . Then if one fixes an so that then
and collecting the produces the estimate for all sufficiently small. The challenge in implementing such a seemingly simple program is obtaining the two estimates in the same metric . Typically, the first estimate is available in the total variation distance. On the other hand, the second estimate is usually estimated in distances requiring test functions with a number of derivatives. The recent works allow one to obtain the first estimate in the 1-Wasserstein distance which simplifies matching the two norms. Using this strategy on can obtain a bound in a stronger norm (such as total variation or 1-Wasserstein metric), but the convergence rate will often be sub-optimal in these metrics. On the other hand, one can obtain with defined as in the metric above with by using that fact that from some and hence . This gives a result comparable to the hypoelliptic result in Theorem 14 though misses the smoothing in the elliptic result which is embodied in the fact one can use . (Some partial smoothing could have been extracted in the hypoelliptic case in Theorem 14 with more care). See for this program executed in a particular setting.
2 Relationship to Stein’s method
This section is devoted to outlining the similarity between the current setting and Stein’s method.When this work was nearing completion, a conversation with between JCM and Sourav Chatterjee prompted the authors to write this section reflecting on the relation between their approach and Stein’s method. This connection is not fully explored in this work but we believe that it is insightful to highlight the main idea. Though our goals are different, there are some passing similarities between the details in this paper and .
Let us recall that Stein’s method is a generic tool for finding bounds on a distance between two distributions which then can give quantitative convergence results. Denoting the target distribution as , the idea is to find an operator and a determining class of functions so that if, for all one has , then this implies that .As a referee correctly observed, the Echeverria-Weiss theorem is useful in identifying when such a condition characterizes an invariant measure and identifying the limiting invariant measure for a sequence measures with as . However, here we are really interested in the next order question. How to use the degree to which the characterizing equation is not satisfied to obtain quantitative estimates of the convergence rate.Given any sufficiently nice, one next solves Stein’s equation
with the tacit assumption that the solution exists and lies in . Observe that a basic solvability condition on the above equation requires that when . In this setting we can consider the equation for more general, uncentered . In order to quantify the distance of a given measure from , one tries to control by some norm of which can in turn be controlled by an appropriate norm of . For definiteness let us assume that
By taking the supremum over all in a given class with one obtains control over the distance of from . In particular, if is small then is close to .
This is essentially the methodology we have followed. Taking to be the generator of the Markov process, we are ensured that if is the Markov process’ stationary measure.This is done in some versions of Stein’s method. See . The basic idea of this note is to show that if is a generator of another Markov process so that is small then any stationary measure of the second Markov process will be close to . We will further assume that is ergodic.
for any . Further assume that for some class of bounded, real valued functions on one can solve for with a solution and for a fixed constant . Then for all ,
where in moving from the penultimate expression to the last, we have used . Since the right-hand side is uniform in we can take the supremum over . If was a rich-enough class to define a metric, we obtain some estimate of the distance between the two stationary measures in that metric.
If one does not have good control over then (6.3) can be difficult to obtain. Instead it is often easier to replace (6.3) with
for any and -a.e. . As before, we assume that for some class of functions from , one can solve for with a solution such that . Observe that if is a class of bounded functions then the second assumption is always satisfied.
Continuing since ,
Rearranging, dividing by , and using , produces
By Birkoff’s ergodic theorem, we know that for -almost every
so from (6.4) and we obtain
This argument can be modified in many ways, the restriction that and are classes of bounded functions can be removed by assuming some control over uniform in time. If that control can be maintained using a function which is integrable with respect to then the requirement that be ergodic can be removed. Although we do not fully explore these issues here, we believe that the connections made in this subsection are useful.
Variance of the Empirical Time Average
Theorems 6 and 8 are important for implementing time-averaging in computational practice. There are three types of errors arising in computing stationary averages: (i) numerical integration error (estimated by in (5.7) and (5.10) and by in (5.23) and (5.28)); (ii) the error due to the distance from the stationary distribution (i.e., the error due to the finite time of integration estimated by in (4.7), (5.7) and (5.23)); (iii) the statistical error. The first two errors contribute to the bias of the estimator (see (5.7) and (5.23)). The error of numerical integration is controlled by the time step and the choice of a method. It can be estimated in practice using the Talay-Tubaro expansion (see Section 5.3 and ) in the usual fashion. The statistical error is contained in the second term of (5.10) and related to the variance of the estimator (see the details below and also (4.8)). Both the error due to the finite time of integration and the statistical error are controlled by the choice of the integration time (or what is the same, the choice of the number of steps under fixed time step ). They correspond to properties of the continuous dynamics of the SDE (2.1) and they are almost independent (assuming a sufficiently small of a method or time step used.
The Markov process defined on the torus by the SDE (2.1) is uniformly ergodic, it has exponential mixing rates (see, e.g., ), and there are some positive and such that for any and the inequality
holds. Further, as it has been already mentioned before, it is possible in many settings to show that the Markov chain generated by a numerical method is also geometrically ergodic (cf. ). Then, due to the compactness of the phase space, the chain is uniformly ergodic and has an exponential mixing like in (7.1) [28, Chapter 16]. We note that in the cited papers one of the conditions to ensure the ergodicity of is the requirement that the numerical method uses random variables with densities positive everywhere. We do not address here the question about mixing rate for the Markov chains generated by more general numerical methods treated in this paper leaving it for further study but instead we assume that the following relaxed mixing condition is satisfied for and a and
where is a constant independent of This condition is much weaker than (7.1) but it is sufficient for the proof of the following proposition. At the same time, a faster decorrelation than (7.2) does not improve the estimate (7.3).
In the setting of Theorem 6 and under the condition (7.2), one has
where and is a constant independent of and .
We have used here that are martingales. Using the estimates for from Theorem 6, we get that
To estimate the terms with and in (7.4), we exploit the condition (7.2). For example, consider the term with We have
Analyzing analogously the other terms in (7.4), we arrive at the stated result. ∎
Although we proved Proposition 17 for the method (3.1), it is also valid for a more general class of numerical methods from Section 5.2.
In practice one usually estimates the statistical error of as followsOf course, better statistical estimators can be used to quantify the statistical error of the time averaging but we restrict ourselves here to a simple one.. We run a long trajectory split into blocks of a large length each. We evaluate the estimators for each block. Since is big and a time decay of correlations is usually fast, can be considered as almost uncorrelated. We compute the sampled variance
For a sufficiently large and , belongs to the confidence interval
with probability, for example for and for Note that contains the two errors forming the bias as explained at the beginning of this section. We also pay attention to the fact that (cf. (7.3)), i.e., it is inverse proportional to the product
Instead of time averaging considered in this paper, stationary averages can be computed using ensemble averaging, i.e., by the following estimate for the stationary average :
where is a sufficiently large time, is an approximation of and is the number of independent approximate realizations. The total error consists of three parts: the error of the approximation by ; the error of numerical integration (here is the weak order of the method); and the Monte Carlo error which is proportional to More specifically
Here, in comparison with the time-averaging approach, each error is controlled by its own parameter: sufficiently large ensures smallness of time step (as well as the choice of a numerical method) controls the numerical integration error; the statistical error is regulated by choosing an appropriate number of independent trajectories For further details see .
Acknowledgments
JCM thanks the NSF for its support, through DMS-0616710 and DMS-0449910, as well as the support of a Sloan Fellowship. AMS is grateful to the ERC and EPSRC for financial support. MVT was partially supported by the EPSRC Research Grant EP/D049792/1. JCM thanks Martin Harier and Sourav Chatterjee for useful discussions and the hospitality of the Warwick Mathematics Institute where the core of this work was done. The authors thank an anonymous referee and Denis Talay for useful suggestions which improved the manuscript.