Abstract
A standard approach to computing expectations with respect to a given target measure is to introduce an overdamped Langevin equation which is reversible with respect to the target distribution, and to approximate the expectation by a time-averaging estimator. As has been noted in recent papers [30, 37, 61, 72], introducing an appropriately chosen nonreversible component to the dynamics is beneficial, both in terms of reducing the asymptotic variance and of speeding up convergence to the target distribution. In this paper we present a detailed study of the dependence of the asymptotic variance on the deviation from reversibility. Our theoretical findings are supported by numerical simulations.
Introduction
Motivation
In various applications arising in statistical mechanics, biochemistry, data science and machine learning [19, 38, 39, 42], it is often necessary to compute expectations
of an observable f with respect to a target probability distribution on with density with respect to the Lebesgue measure, known up to the normalization constant.1 When the dimension d is large, standard deterministic quadrature approaches become intractable, and one typically resorts to Markov-chain Monte Carlo (MCMC) methods [19, 39, 63]. In this approach, is approximated by a long-time average of the form:
1 |
where is a Markov process chosen to be ergodic with respect to the target distribution . The Birkhoff–von Neumann Ergodic theorem [31, 34, 60] states that, for every observable we have
2 |
If possesses a smooth, strictly positive density, then a natural choice for is the overdamped Langevin dynamics
3 |
where is a standard Brownian motion on . Assuming that (3) possesses a unique strong solution which is non-explosive, the process is ergodic, with unique invariant distribution , such that (2) holds. Under additional assumptions on the distribution and on the observable, this convergence result is accompanied by a central limit theorem which characterizes the asymptotic distribution of the fluctuations of about , i.e.
4 |
where is known as the asymptotic variance for the observable f. For the reversible process (3) started from stationarity (i.e. ), the Kipnis–Varadhan theorem [12, 32] implies that (4) holds with asymptotic variance
where is the inner product in and is the infinitesimal generator of defined by
5 |
Sampling methods based on Langevin diffusions have become increasingly popular due to their wide applicability and relative ease of implementation. In practice, a discretisation of (3) may be used, which in general, will not be ergodic with respect to the target distribution . Thus, the discretisation is augmented with a Metropolis–Hastings accept/reject step [65] which guarantees that the resulting Markov chain remains reversible with respect to . The resulting scheme is known as the Metropolis-Adjusted Langevin Algorithm (MALA), see [65].
The computational cost required to approximate using to a given level of accuracy depends on the target distribution , the observable f and the process over which the long-time average is generated. Quite often, will exhibit some form of metastability [10, 11, 36, 66]: the process will remain trapped for a long time exploring one mode, with transitions between different modes occurring over longer timescales. When the observable depends directly on the metastable degrees of freedom (i.e. the observable takes different values in different metastable regions), the asymptotic variance of the estimator may be very large. As a result, more samples are required to obtain an estimate of with the desired accuracy. A similar scenario arises when the mass of is tightly concentrated along a low-dimensional submanifold of , as illustrated in Fig. 1. In this case, reversible dynamics, such as (3) will cause a very slow exploration of the support of . As a result, will exhibit very large variance for observables which vary strongly along the manifold.
Fig. 1.
Trajectories of a reversible MALA chain and a nonreversible Langevin sampler generating samples from a warped Gaussian distribution. The mass of the distribution is concentrated along a one-dimensional submanifold. Reversible samplers, such as MALA, perform a very slow exploration of the distribution, spending large amounts of time concentrated around a small region of the submanifold. On the other hand, nonreversible samplers are able to perform long “jumps” along the level-curves of the distribution, thus able to explore the distribution far more effectively (Color figure online)
As there are infinitely2 many Markov processes with invariant distribution , a natural question is whether such a process can be chosen to have optimal performance. The two standard optimality criteria that are commonly used are:
With respect to speeding up convergence to the target distribution.
With respect to minimizing the asymptotic variance.
These criteria can be used in order to introduce a partial ordering in the set of Markov chains or diffusion processes that are ergodic with respect to a given probability distribution [50, 59]. From a practical perspective, the definite optimality criterion is that of minimizing the computational cost. We address this issue (at least partially) later in this paper.
Within the family of reversible samplers, much work has been done to derive samplers which exhibit good (if not optimal) computational performance. This has motivated a number of variants of MALA which exploit geometric features of to explore the state space more effectively, including preconditioned MALA [64], Riemannian Manifold MALA [20] and Stochastic Newton Methods [45].
Nonreversible Langevin Dynamics
An MCMC scheme which departs from the assumption of reversible dynamics is Hamiltonian MCMC [53], which has proved successful in Bayesian inference. By augmenting the state space with a momentum variable, proposals for the next step of the Markov chain are generated by following Hamiltonian dynamics over a large, fixed time interval. The resulting nonreversible chain is able to make distant proposals. Various methods have been proposed which are related to this general idea of breaking nonreversibility by introducing an additional dimension to the state space and introducing dynamics which explore the enlarged space while still preserving the equilibrium distribution. In particular, the lifting method [15, 27, 71] is one such method applied to discrete state systems, where the Markov chain is “lifted” from the state space onto the space . The transition probabilities in each copy are modified to introduce transitions between the copies to preserve the invariant distribution but now promote the sampler to generate long strides or trajectories. Similar methods based on introducing nonreversibility into the dynamics of discrete state chains to speed up convergence have been applied with success in various applications [9, 26, 52, 68, 69]. These methods are also reminiscent of parallel tempering or replica exchange MCMC [51], which are aimed at efficiently sampling from multimodal distributions.
It is well documented that breaking detailed balance, i.e. considering a nonreversible diffusion process that is ergodic with respect to , can help accelerate convergence to equilibrium. In fact, it has been proved that, among all diffusion processes with additive noise that are ergodic with respect to , the reversible dynamics (3) has the slowest rate of convergence to equilibrium, measured in terms of the spectral gap of the generator in , c.f. [37]. Adding a drift to (3) that is divergence-free with respect to and that preserves the invariant measure of the dynamics will always accelerate convergence to equilibrium [28, 29, 37, 54, 61, 72]. The optimal nonreversible perturbation can be identified and obtained in an algorithmic manner for diffusions with linear drift, whose invariant distribution is Gaussian [37]; see also [72].
The effect of nonreversibility in the dynamics on the asymptotic variance has also been studied. In [61] it is shown that small antisymmetric perturbations of the reversible dynamics always decrease the asymptotic variance, and more recently in [62] Friedlin–Wentzell theory is used to study the limit of infinitely strong antisymmetric perturbations. In [30] the authors use spectral theory for selfadjoint operators to study the effect of antisymmetric perturbations on diffusions on both and on compact manifolds and provide a general comparison result between reversible and nonreversible diffusions. This work is related with previous studies on the behavior of the spectral gap of the generator when the strength of the nonreversible perturbation is increased [13, 18].
Objectives of This Paper
In this paper we present a detailed analytical and computational study of the effect of adding a nonreversible drift to the reversible overdamped Langevin dynamics (3) on the asymptotic variance . We will consider the nonreversible dynamics defined by [28, 29] :
6 |
where the smooth vector field is taken to be divergence-free with respect to the distribution ,
7 |
There are infinitely many vector fields that satisfy (7) and a general formula can be derived using Poincaré’s lemma [29, 62]. We can, for example, construct such vector fields by taking
8 |
In (6) we have already normalized the various vector fields and we have introduced a parameter which measures the strength of the deviation from reversible dynamics. The generator of the diffusion process can be decomposed into a symmetric and an antisymmetric part in , representing the reversible and irreversible parts of the dynamics, respectively [56, Sect. 4.6]:
9 |
where is given in (5) and . We are particularly interested in quantifying the reduction in the asymptotic variance obtained caused by breaking detailed balance. It is well known [32, 33] that for square integrable observables, the asymptotic variance, denoted by can be written in terms of the solution of the Poisson equation
10 |
as
11 |
Our first goal is to obtain an explicit formula for in terms of and . Moreover, through a spectral decomposition of the operator we investigate the dependence of the asymptotic variance on the strength of the nonreversible perturbation. Based on earlier work by Golden and Papanicolaou [22], Majda et al. [3, 44] and Bhattacharya et al. [7, 8], in [58], an expression is obtained for the effective self-diffusion coefficient for a tagged particle whose microscopic behaviour is determined by a nonreversible Markov process. The basic idea is the introduction of the operator
12 |
which is skewadjoint in the weighted Sobolev space
where denotes the inner product; see Sect. 3. We follow a similar approach in this paper, from which a quite explicit formula for the asymptotic variance is derived using the spectral theorem for selfadjoint operators. From this expression we can immediately deduce that the addition of a nonreversible perturbation reduces the asymptotic variance and we can also study the small and large asymptotics of ; see Theorem 4. One of the results that we prove is that the large behaviour of the asymptotic variance depends on the detailed properties of the vector field : when the nullspace of the antisymmetric part of the generator consists of only constants in , then the asymptotic variance converges to 0. Indeed, in this case, in the limit, the limiting dynamics become deterministic, characterized by the Liouville operator . On the other hand, when the nullspace of contains nontrivial functions in there will exist observables for which the asymptotic variance converges to a positive constant as .
The effect of the antisymmetric part on the long time dynamics of diffusion processes has been also studied extensively in the context of turbulent diffusion [43] and fluid mixing. The effect of an incompressible flow on the convergence of the solution to the advection–diffusion equation on a compact manifold to its mean value (i.e. when ) was first studied in [13]. In particular, the concept of a relaxation enhancing flow was introduced and it was shown that a divergence-free flow is relaxation enhancing if and only if the Liouville operator has no eigenfunctions in the Sobolev space . An equivalent formulation of this result is that an incompressible flow is relaxation enhancing if and only if it is weakly mixing. Examples of relaxation enhancing flows are given in [13]. This problem was studied further in [18], where it also mentioned that there are very few examples of relaxation enhancing flows. In [18] it is shown that the spectral gap of the advection-diffusion operator , for a divergence-free drift v and , remains bounded above in the limit as by a negative constant if and only if the advection operator has an eigenfunction in . These results are reminiscent of the results we mention above on the necessary and sufficient condition to obtain a reduction of asymptotic variance in the limit .
Our analysis of the asymptotic variance , based on the careful study of the Poisson Eq. (10), enables us to study in detail the problem of finding the nonreversible perturbation giving rise to minimum asymptotic variance for diffusions with linear drift, i.e. diffusions whose invariant measure is Gaussian, over a large class of observables. Diffusions with linear drift were considered in [37] where the optimal nonreversible perturbation with respect to accelerating convergence was obtained. For linear and quadratic observables, we can give a complete solution to this problem, and construct nonreversible perturbations that provide a dramatic reduction in asymptotic variance. Moreover, we demonstrate that the conditions under which the variance is reduced are very different from those of maximising the spectral gap discussed in [37]. In particular, we show how a nonreversible perturbation can dramatically reduce the asymptotic variance for the estimator , even though no such improvement can be made on the rate of convergence to equilibrium.
Guided by our theoretical results, we can then study numerically the reduction in the asymptotic variance due to the addition of a nonreversible drift for some toy models from molecular dynamics. In particular, we study the problem of computing expectations of observables with respect to a warped Gaussian [23] in two dimensions, as well as a simple model for a dimer in a solvent [38]. The numerical experiments reported in this paper illustrate that a judicious choice of the nonreversible perturbation, dependent on the target distribution and the observable, can dramatically reduce the asymptotic variance.
To compute numerically, we use an Euler–Maruyama discretisation of (6). The resulting discretisation error introduces an additional bias in the estimator for , see [47] for a comprehensive error analysis. This imposes additional constraints on the magnitude of the nonreversible drift, since increasing arbitrarily will give rise to a large discretisation error which must be controlled by taking smaller timesteps. A natural question is whether the increase in the computational cost due to the necessity of taking smaller timesteps negates any benefits of the resulting variance reduction. To study this problem, we compare the computational cost of the unadjusted nonreversible Langevin sampler with the corresponding MALA scheme.3 Our numerical results, together with the theoretical analysis for diffusions with linear drift, show that the nonreversible Langevin sampler can outperform the MALA algorithm, provided that the nonreversible perturbation is well-chosen. Finally, we consider a higher order numerical scheme for generating samples of (6), based on splitting the reversible and nonreversible dynamics. Numerically, we investigate the properties of this integrator, and demonstrate that its improved stability and discretisation error make it a good numerical scheme for computing the estimator using a nonreversible diffusion.
The rest of the paper is organized as follows. In Sect. 2 we describe how the central limit theorem (4) arises from the solution of the Poisson equation associated with the generator of the dynamics. In Sect. 3 we analyse the asymptotic variance and formulate the problem of finding the optimal perturbation with respect to minimising , for a fixed observable, or over the space of square-integrable observables. Moreover, following the analysis described in [58], we derive a spectral representation for the asymptotic variance , in terms of the discrete spectrum of the operator defined in (12), and recover estimates for the asymptotic variance for any value of . In Sect. 4, we consider the case of Gaussian diffusions, which are amenable to explicit calculation to demonstrate the theory presented in this paper. In Sect. 5, we provide various numerical examples to complement the theoretical results. Finally, in Sect. 6 we describe the bias-variance tradeoff for nonreversible Langevin samplers, and explore their computational cost. Conclusions and discussion on further work are presented in Sect. 7.
The Central Limit Theorem and Estimates on the Asymptotic Variance via the Poisson Equation
In this section we make explicit some sufficient conditions under which the estimator
where denotes the solution of (6), satisfies a central limit theorem of the form (4). The fundamental ingredient for proving such a central limit theorem is establishing the well-posedness of the Poisson equation
13 |
for all bounded and continous functions , where is defined by (9), and obtaining estimates on the growth of the unique solution . As described previously, we shall assume that possesses a smooth, strictly positive density, also denoted by , such that and that the SDE (6) has a unique strong solution for all . Applying the results detailed in [21, 49], we shall assume that the process possesses a Lyapunov function, which is sufficient to ensure the exponential ergodicity of , [46, 48], as detailed in the following assumption.
Assumption A (Foster–Lyapunov Criterion) There exists a function and constants and such that and
14 |
where is the indicator function over a petite set. For the definition of a petite set we refer the reader to [48]. For the generator corresponding to the process (6), compact sets are always petite. As noted in [65], a sufficient condition on for (6) to possess a Lyapunov function is the following.
Assumption B The density is bounded and for some :
15 |
Lemma 1
[65, Theorem 3.3] Suppose that Assumption B holds then the Foster–Lyapunov criterion holds for (3) with
Moreover, if the nonreversible term is of the form , for antisymmetric, then this choice of U is a Lyapunov function for defined by (6) for all .
Proof
For this choice of the generator of (6) has the form
For we obtain:
Thus, by assumption (15), there exists and M such that for :
and so
where and b is a positive constant.
Finally, we note that since is bounded, then U is bounded above from zero uniformly. Thus, U can be rescaled to satisfy the condition , as is required by the Foster–Lyapunov criterion.
Remark 1
Note that Assumption B holds trivially when is a Gaussian distribution in . More generally, following [64, Example 1], consider , where p(x) is a polynomial of order m such that as (necessarily and m is even). Clearly
and
so that (14) holds. On the other hand, consider the case when when is a Student’s t-distribution, with . Then it is straightforward to check that (14) will not hold. Indeed, since , by [65, Theorem 2.4] this process is not exponentially ergodic.
If condition (14) holds for , then the process will be exponentially ergodic. More specifically, the law of the process started from a point will converge exponentially fast in the total variation norm to the equilibrium distribution . In particular, denoting by the semigroup associated with the diffusion process (6), we have the following result.
Theorem 1
[12, Thm 8.3], [16, Thm 3.10, 3.12], [17, Thm 5.2.c] Suppose that Assumption A holds for (6), with Lyapunov function U. Then there exist positive constants c and such that, for all x,
where denotes the law of given and denotes the total variation norm. In particular, for any probability measure such that ,
where denotes the adjoint of .
For a central limit theorem to hold for the process , and thus for to be finite, it is necessary that the Poisson Eq. (10) is well-posed. The Foster-Lyapunov condition (14) is sufficient for this to hold.
Theorem 2
[21, Thm3.2] Suppose that Assumption A holds for the diffusion process (6) with Lyapunov function U. Then there exists a positive constant c such that for any , the Poisson Eq. (10) admits a unique zero mean solution satisfying the bound . In particular, .
The technique of using a Poisson equation to obtain a central limit theorem for an additive functional of a Markov process is widely known, [5, 6, 55]. The approach is based on the fact that, at least formally, we can decompose into a martingale and a “remainder” term:
Considering the rescaling , the martingale term will converge in distribution to a Gaussian random variable with mean 0 and variance
by the central limit theorem for martingales [25]. It remains to control the remainder term . We distinguish between two cases: If , then since , converges to 0 in and the result follows. In the more general case we must resort to a “propagation of chaos” argument (c.f. [12, Sect. 8]), i.e. apply Theorem 1 to show that
as , for all continuous bounded functions H. The result then follows by decomposing
and applying the propagation of chaos argument to the second term. The conclusion is summarized in the following result, which provides a central limit theorem for starting from an arbitrary initial distribution .
Theorem 3
[21, Thm 4.4] If Assumption A holds for Lyapunov function U, then for any f such that , there exists a constant such that converges in distribution to an distribution, as , for any initial distribution , where
16 |
In the remainder of this paper we shall study the dependence of , and thus on the choice of non-reversible perturbation . We note that (16) is precisely the Dirichlet form associated with the dynamics evaluated at the solution of the Poisson Eq. (13).
Analysis of the Asymptotic Variance
Mathematical Setting
We present a few definitions from [33] that will be useful in the sequel. Let denote the set of -integrable functions with zero mean, with corresponding inner product and norm . Consider the operator given by (5) densely defined on . For , given the family of seminorms
17 |
we define the function spaces
It follows that is a norm on . For , the norm satisfies the parallelogram identity and, consequently, the completion of with respect to the norm , which is denoted by , is a Hilbert space. The inner product in is defined through polarization. It is easy to check that, for ,
18 |
We note that . A careful analysis of the function space is presented in [33].
The operator is symmetric with respect to and can be extended to a selfadjoint operator on , which is also denoted by , with domain . We shall make the following assumption on which is required, in addition to Assumption B, to ensure that possesses a spectral gap in .
Assumption C
19 |
In the following lemma we establish a number of fundamental properties relating to the spectrum of . Using these results, we then establish the well-posedness of the Poisson Eq. (13) for any .
Lemma 2
Suppose that Assumptions B and C hold. Then the embedding is compact. For all , the operator satisfies the following Poincaré inequality in :
20 |
where is a positive constant, independent of the nonreversible perturbation. Moreover, for all there exists a unique such that .
Proof
Assumption B clearly implies that
21 |
for some and . Applying [40, Theorem 8.5.3], relations (19) and (21) imply the compactness of the embedding . As a result, following [40, Theorem 8.6.1], this is sufficient for the Poincaré inequality to hold for , i.e.
from which (20) follows by the antisymmetry of in . The existence of this Poincaré inequality implies that the semigroup associated with (6) converges exponentially fast to equilibrium, that is, for all :
22 |
Given , define
23 |
By (22) it follows that and from (23) we have . Moreover, we have the bound
so that
Throughout this section, we shall assume that Assumptions B and C hold, and moreover, for simplicity we shall make the following additional assumption:
Assumption D The nonreversible perturbation is smooth and bounded in .
We believe that this assumption could be relaxed, see in particular [30] for more general assumptions under which the following results should hold. We stick here to a simple presentation. In practice, this assumption is not very stringent. Indeed, suppose that there exists a smooth function such that
24 |
where . Define
25 |
then satisfies (7) since
using the fact that J is antisymmetric. Moreover, it is clear that is bounded and smooth, thus satisfying Assumption D. In particular, if V has compact level sets (which holds for example if V is a nonnegative polynomial function), then condition (24) is satisfied by chosing to be a smooth non-negative function with compact support.
We note that of the form (25) leaves the potential V invariant under the flow , i.e. is constant for all . Thus, for large , the flow will result in rapid exploration of the level surfaces of V, but the motion of between level surfaces is entirely due to the reversible dynamics of the process. In particular, for potentials with energy barriers, the transition time for to cross a barrier will still satisfy the same Arrenhius law as the corresponding reversible process. Other choices of flow are possible. For example, one could alternatively consider a skew-symmetric matrix function J(x) as detailed in [41]. The corresponding flow would then be defined by
26 |
It is straightforward to check that , using the fact that J(x) is skew-symmetric. If additionally, the matrix function J is smooth with bounded derivative and compact support, then satisfies Assumption D. As detailed in [41] one can further generalise this choice of dynamics by additionally introducing a space dependent diffusion tensor, and an appropriate correction of the drift to maintain ergodicity with respect to . We do not consider this choice of dynamics in this paper, noting that most of the presented results can be readily generalized to this scenario.
Given that Assumption D holds for all function , then we have
by (7), so that the operator defined by is well defined.
An Expression for the Asymptotic Variance
The main objective of this paper is to study the effect of the nonreversible perturbation on the asymptotic variance , with the aim of choosing so that is minimized. Integrating (16) by parts we can express in terms of the Dirichlet form for as follows:
27 |
where the last line follows from the fact that is antisymmetric in .
Starting from (27) we can obtain a quite explicit characterisation of . Indeed, given , we can rewrite the last line of (27) as
28 |
where denotes the symmetric part of the operator. Using the fact that is invertible on for all by Lemma 2, the following result yields an expression for in terms of , and .
Lemma 3
Let , for . Then we have
29 |
where denotes the adjoint of in . In particular, for all ,
30 |
Proof
Since is positive, the operator can be defined using functional calculus. Consider the operator . We can write , which can be shown to be closed in with domain . Moreover, this operator has nullspace , so that the inverse is also densely defined on . To show that (29) holds, we expand the left hand side to get
Since
therefore
as required. The inequality (30) is then simply a consequence of the fact that
where denotes the partial ordering between selfadjoint operators on .
Thus, the asymptotic variance is never increased by introducing a nonreversible perturbation, for all . This had already been noted in [61] where an expression for the the asymptotic was derived as the curvature of the rate function of the empirical measure, and also in [30] using an approach similar to that above. Expression (28) provides us with a formula for in terms of a symmetric quadratic form which is explicit in terms of and .
Quantitative Estimates for the Asymptotic Variance
In this section we derive quantitative versions of (29) and (30), using techniques developed in [58] for the analysis of the Green–Kubo formula, which is itself based on earlier work on the estimation of the eddy diffusivity in turbulent diffusion [2, 8, 44, 57].
Following the approach of [22, 58], to quantify the effect of the antisymmetric perturbation on the asymptotic variance, we define the operator . First we note that we can rewrite (29) as follows:
31 |
and therefore, from (28) and (29):
32 |
From the boundedness of the nonreversible perturbation we have the following properties:
Lemma 4
Suppose that Assumption D holds, then the operator is skew-adjoint on .
Proof
For :
so that is antisymmetric. Since is also bounded, it follows that is skewadjoint on .
Moreover, under appropriate assumptions on the target distribution , one can show that the operator is compact.
Lemma 5
Suppose that Assumptions B, C and D hold, then the operator is compact on .
Proof
By Lemma 2, the embedding is compact, and it follows immediately that is a compact embedding. Moreover, since is bounded we have,
from which the result follows.
Extending to its complexification, there exists a compact selfadjoint operator on such that . From the spectral theorem for compact selfadjoint operators [24, Theorem 6.21], the eigenfunctions of form a complete orthonormal basis in , and the eigenvalues of are real. We can partition the eigenfunctions into those spanning and those spanning . We denote by
the eigenvalues and corresponding eigenfunctions of the operator restricted to . For we have the following unique decomposition for in :
33 |
where and . Consequently, using this spectral decomposition, we can rewrite (32) as
34 |
The conclusion of the above computation is summarized in the following result.
Theorem 4
Suppose that Assumptions B, C and D hold. Let and , then the asymptotic variance corresponding to is given by (34). In particular, we obtain the following limiting values for the asymptotic variance:
35 |
and,
36 |
From (34) we obtain the following bounds on the asymptotic variance
The problem of choosing the optimal nonreversible perturbation in (6) to minimize the asymptotic variance over all observables in can be expressed as the following min-max problem:
where, for some constant , denotes the set of admissible nonreversible drifts, typically,
This is equivalent to finding which solves this max-min problem
37 |
where denotes the spectrum of the operator on . It is important to make the distinction between this problem and that considered in [37] for finding the optimal spectral gap, namely finding such that
38 |
From (37) and (38) it is evident that the decrease in asymptotic variance, and the increase in spectral gap arising from a nonreversible perturbation are due to very different mechanisms. For the latter problem we see that the increase of spectral gap arises from the nonnormality of . In addition, since the operator is nonnegative in , a nonreversible perturbation cannot increase the variance. This is in contrast with the problem of maximising the speed of convergence to equilibrium, as was considered in [37], where increasing the strength of the nonreversible perturbation could result in a decrease of the speed of convergence.
We note however that a nonreversible perturbation which solves the min–max problem (37) need not be a good candidate for reducing the variance of for a given fixed observable . Indeed, unless for all , there will always be an observable for which the nonreversible perturbation does not reduce the variance, since if is nonzero, is nonzero and such that for any . Thus, from a practical point of view, it makes more sense to consider the problem choosing to minimise the asymptotic variance of for a particular observable. To this end, for a fixed , we can identify two distinct cases: , in which case
and in which case,
More generally, consider so that . Assuming we can increase arbitrarily, and neglecting any computational issues arising from the resulting discretisation error (which will be discussed in Sect. 6), the problem of minimising the asymptotic variance of f reduces to finding such that
39 |
holds in . Checking this condition requires the solution of an elliptic boundary value problem, thus this condition is not of practical use. Nonetheless, we can derive some intuition from (39). Clearly, if we can choose so that in , the nonreversible perturbation will be optimal for all observables . In general, it might not be possible to find that satisfies this condition. For the nonreversible drift considered in [37], namely , with , will always be nontrivial; indeed, in this case for all functions H such that . In this case, it is always possible to choose an observable f such that will not be optimal for f, in the sense that is nonzero in the limit . We also remark that these asymptotic results, in particular the distinction between these two cases is reminiscent of similar results that have been obtained in the context of turbulent diffusion [44, 57].
An analogous classification of the asymptotic behaviour of the spectral gap of the operator (9) in the limit of large is considered in [18] on a compact manifold. Indeed, in [18, Theorem 1] it is determined that the spectral gap is finite in the limit of if and only if has a nonconstant eigenfunction in . However, one should note that, the asymptotic variance may converge to 0 as even when the spectral gap is finite, see also [61, Example 2.9] for a counterexample.
A Two Dimensional Example
In this section we present a simple example on . Consider the problem of calculating with respect to the Gaussian distribution . The reversible overdamped Langevin equation corresponding to is given by the OU process:
40 |
We introduce an antisymmetric perturbation where is the flow given by
The infinitesimal generator for the perturbed nonreversible dynamics is
where
In polar coordinates, this is given by
As , we expect the deterministic flow to move increasingly along the level curves of the distribution . Given an observable f, any variance in arising from the variation of f along the level curves should vanish as , leaving only the variance contributed by the variation of f between level curves. We make this precise with a particular example. Consider the observable , expressible in polar coordinates as
Noting that , it is straightforward to check that the Poisson equation , has mean zero solution given by
The asymptotic variance can be evaluated directly as follows
Therefore, as , the asymptotic variance converges to 4. We note that, in this case,
where is perpendicular to in . Since the nullspace of consists of all functions which depend only on r, we have . It follows that , so that
which agrees with the conclusions of Theorem 4. As , the motion in the direction is averaged out. Indeed, in this limit, corresponds to the asymptotic variance of the observable , where is the following 1D reversible process,
For more general observables , we expect maximum variance reduction as when f varies strongly with respect to . In the other extreme, we expect zero improvement when f depends only on r. This intuition is formalised in the following section, in particular in Proposition 1 and the subsequent bound (51).
For more general potentials, using a flow field of the form , , the mechanism for reducing the asymptotic variance is analogous: the large antisymmetric drift gives rise to fast deterministic mixing along the level curves of the potential, while the reversible dynamics induce slow diffusive motion along the gradient of the potential. When the nullspace of is trivial in , the fast deterministic flow is ergodic, so that, for large, the antisymmetric component will cause a rapid exploration of the entire state space. Consequently, the asymptotic variance converges to 0 as . On the other hand, if has a nontrivial nullspace, the antisymmetric perturbation is no longer ergodic, and the state space can be decomposed into components such that the rapid flow behaves ergodically in each individual component. In the limit of large , becomes a fast-slow system, with rapid exploration within the ergodic components coupled to a slow diffusion between components. Very recently, Rey-Bellet and Spiliopoulos [62] have applied Freidlin–Wenzell theory to rigorously analyse this case in the large limit for a large class of potentials.
Nonreversible Perturbations of Gaussian Diffusions
For the case when the target distribution is Gaussian, the SDE (6) for is linear. In this case, we can obtain an explicit analytical expression for the asymptotic variance for a large class of observables f. Indeed, consider the nonsymmetric Ornstein-Uhlenbeck process in :
41 |
where J is an antisymmetric matrix, , and is a standard d-dimensional Brownian motion. The stationary distribution is , independent of and J. Although this system does not fall under the framework of Theorem 4 we are still able to obtain analogous conditions for a reduction in the asymptotic variance. The objective of this section is to mirror the results for speeding up convergence to equilibrium of that were derived in [37] to the case of minimizing the asymptotic variance. In particular, following arguments similar to [58, Sect. 4.2], an explicit formula for the asymptotic variance will be derived, from which an optimal J can be chosen, in a manner similar to [37]. We note that for the process (41), the optimal nonreversible perturbation obtained in [37] does not provide any increase to the rate of convergence to equilibrium, since all eigenvalues of the covariance matrix of the Gaussian stationary distribution are the same. Nonetheless, in this section we show that for certain observables, the asymptotic variance of can be dramatically decreased.
Explicit Formula for the Asymptotic Variance
We shall assume that the observable f is a quadratic functional of the form
42 |
where is a symmetric positive definite matrix, and k is a constant, chosen so that f(x) is centered with respect to : . Consider the Poisson Eq. (10):
43 |
where is the infinitesimal generator of (41) given by . For such observables we can solve the Poisson Eq. (43) analytically and obtain a closed-form formula for the asymptotic variance for the observable f.
Proposition 1
Let . The unique mean zero solution of the Poisson Eq. (43) is given by
where
44 |
and
Moreover, the asymptotic variance is given by
where denotes the Frobenius norm of A, and is the commutator of A and B. In particular,
45 |
Proof
Clearly must also be a quadratic function of x, so we make the ansatz
Plugging this into (43) we obtain
Comparing equal powers of x we have
46a |
46b |
46c |
for all . Since x is arbitrary, it follows that
Equation (46a) is a Lyapunov equation, which is well-posed as M is positive definite and . Indeed, for C given by
both (46a) and (46c) are satisfied. The asymptotic variance is then given by (see (27)),
47 |
Using the fact that C and M are symmetric,
Therefore,
48 |
Since , where J is antisymmetric, we have that, for all :
Therefore, we obtain the following expression for :
49 |
Writing the first term as follows:
![]() |
From this, and the facts that and , the inequality (45) follows.
Since J is skew-symmetric, the matrix exponential is a rotation matrix. Thus, the matrix has the same eigenvalues as M and . From [4, III. 6.14] we have
where and denote the vectors of eigenvalues of M, sorted in ascending and descending order, respectively. In particular,
50 |
On the other hand, let , and diagonalising we obtain
where U is a orthogonal matrix with the first N columns spanning . Then
where is the projection of l onto . Thus, for quadratic observables, from (49), the asymptotic variance has the following lower bound in the limit of large :
51 |
In particular, for diffusions with linear drift, the asymptotic variance cannot be decreased arbitrarily. The worst case scenario is when , for some , for which the asymptotic variance will not be decreased, for any antisymmetric matrix J and , analogous to the situation which occurs in [37] for maximising the spectral gap, when all the eigenvalues of the covariance matrix are equal.
Finding the Optimal Perturbation
We first focus on the case when the observable is linear, i.e. , similar to that considered in [58, Sect. 4.2], so that . Suppose that we fix , and wish to choose J which minimizes the asymptotic variance subject to . In this case, we have the equality
which is optimal if l is orthogonal to . Thus, the best we can do is to choose J such that l is an eigenvector of with maximal eigenvalue. This can be done by choosing a unit vector orthogonal to l and setting
where Then,
is a projector onto and , where is the Frobenius norm with respect to the Euclidean basis. In this case
We note in addition that, when minimising the asymptotic variance, there are many antisymmetric matrices J which give the minimal asymptotic variance. As an example, let , consider the observables for and and , respectively. We choose J to be
52 |
In this case
The decay of as is strongly dependent on the nullspace of J, given by
In Fig. 2a we plot the asymptotic variance for these observables. For , see that as the asymptotic variance converges to 0. This is due to the fact that is perpendicular to the nullspace of J. Thus, for this observable the matrix J given by (52) is an optimal perturbation. For , since is not orthogonal to , as ,
Finally, for we observe that the asymptotic variance remains constant at 2, since , the nonreversible perturbation has no effect on this observable.
Fig. 2.
The asymptotic variance for a linear diffusion given in (41) for linear observables , (left), and for a quadratic observable (right) (Color figure online)
We now focus on the case when so that . In this case, it is not clear how to construct an optimal J, however the bound (51) suggests a good candidate for J. Suppose that M has eigenvalues with corresponding eigenvectors . Suppose that d is even. Let
be a partition of into disjoint pairs. Define the antisymmetric matrix J by
53 |
In this case can be decomposed into a product of rotations between the pairs of eigenvectors:
where is an anticlockwise rotation of angle in the plane. Then
For this choice of J, the asymptotic variance is given by
Arguing by contradiction, this is minimized by choosing , and for , in which case
Clearly,
however these bounds are only tight when , for .
As an example, on Fig. 2b we plot the asymptotic variance for a quadratic observable for a linear diffusion (41), where . The matrix is given by
with eigenvalues , for . When , the asymptotic variance is . The lower bound (45) is given by . We choose the antisymmetric matrix as in (53), that is
The resulting asymptotic variance is plotted as a function of in Fig. 2a which converges to as .
Numerical Experiments
In this section we present three numerical examples illustrating the effects of the antisymmetric perturbation on the asymptotic variance . We will consider target measures defined by Gibbs distributions of the form:
54 |
where V(x) is a given smooth, confining potential with finite unknown normalisation constant Z. We will also assume that the divergence-free vector field is given by
55 |
so that the drift of (6) will be given by
The symmetric and antisymmetric parts of the generator in are, respectively,
Provided that the nullspace of the antisymmetric part of the generator is always nonempty. Indeed, the antisymmetry of implies that . Thus, for any observable f such that and
since the conclusion of Theorem 4 implies the asymptotic variance will converge to a nonzero constant as .
Periodic Distribution
In the first example we consider a two-dimensional target density given by (54) where the periodic potential V(x) is given by
56 |
and . Our objective is to calculate the expectation of the observable
57 |
In Fig. 3a we plot the asymptotic variance over . The stepsize for the Euler–Maruyama discretisation of (6) is chosen to be . For each , independent realisations of the Markov process are run, starting from , each for time units to ensure that the process is close to stationarity. We observe that increasing from 0 to 10 decreases the asymptotic variance by approximately two orders of magnitude. In Fig. 3b we plot the value of the estimator along with the confidence intervals estimated over independent realisations. For this particular example, it appears that increasing the magnitude of the nonreversible perturbation does not appear to give rise to any noticeable increase in bias, while it significantly decreases the asymptotic variance, giving rise to a dramatic increase in performance of the estimator .
Fig. 3.
The asymptotic variance and value of the estimator , where , for the target Gibbs distribution with potential defined by (56) and observable as in (57). The plot was generated from independent realisations of an Euler–Maruyama discretisation of the nonreversible diffusion (6), with stepsize over time-units. The shaded region in b indicates the confidence interval of the estimator for the given (Color figure online)
Warped Gaussian Distribution
As a second numerical example we consider computing an observable with respect to a two-dimensional warped Gaussian distribution [23], defined by (54) with
58 |
The parameter is chosen to be . The potental V(x) is plotted in Fig. 4. Our objective is to compute where the observable f is given by:
Fig. 4.
Contour plot of the warped Gaussian distribution with potential (58)
The nonreversible perturbation is chosen to be:
59 |
In Fig. 5a we plot the asymptotic variance of the estimator , approximated from independent realisations of the process, each run for timesteps of size so that the total time is . Each realisation was started at (0, 0). As expected, we observe a significant decrease in asymptotic variance as the magnitude of the nonreversible perturbation is increased. Increasing from 0 to 10 gives rise to a decrease in variance by a factor of 80. In Fig. 5b we plot the value of the estimator averaged over the realiations, with corresponding confidence intervals. As is increased, the bias arising from the discretisation error also increases. To mitigate this bias one could decrease the stepsize, thus requiring more steps to generate or otherwise introduce a Metropolis–Hastings accept–reject step, which will be discussed in Sect. 5.3. The tradeoff between bias and variance is considered in more detail in Sect. 6.
Fig. 5.
Plot of the asymptotic variance and the estimator for the warped Gaussian distribution defined by (58) and the observable for different values of . The solid line was generated from independent realisations of an Euler–Maruyama discretisation of the nonreversible diffusion (6), with stepsize over time-units. The shaded region in b indicates the confidence interval of the estimator for the given . The dashed line denotes the variance and mean when the chain is augmented with a accept/reject step, see Sect. 5.3 (Color figure online)
Introducing a Metropolis–Hastings Accept–Reject Step
When sampling from a distribution it is natural to introduce a Metropolis–Hastings (MH) accept–reject step, rather than use the Markov chain obtained directly from an Euler–Maruyama discretization of the SDE (6). Given a current state , a next state is proposed according to the Euler–Maruyama discretisation of (6):
60 |
The proposed state is then accepted with probability
where is the proposal density corresponding to (60). By introducing this accept–reject mechanism, the resulting chain is guaranteed to have a stationary distribution which is exactly , independently of . Thus, introducing a Metropolis–Hastings accept–reject step allows for far larger stepsizes to be used, while still preserving the correct invariant distribution of the chain, eliminating any bias arising from the discretisation of the SDE, making it beneficial both in terms of computational performance and stability.
A natural question is whether an MH chain using a proposal distribution based on the SDE (6) with antisymmetric drift will inherit the superior mixing properties of the nonreversible diffusion process. As the MH algorithm works by enforcing the detailed balance of the chain with respect to the distribution , we expect that any benefits of the antisymmetric drift term will be negated when introducing this accept–reject step. To test this, we repeat the numerical experiment of Sect. 5.2 using the MH algorithm using the Euler discretisation of (6) as a proposal scheme, for various values of . The effect of introducing this accept–reject step to the nonreversible diffusion is evident from Fig. 5. While the accept–reject step removes any bias due to discretisation error, as is evident from Fig. 5b, the asymptotic variance actually increases as increases. This is due to the fact that for large , proposals are more likely to be rejected as they are far away from the current state.
Dimer in a Solvent
We now test the effect of adding a nonreversible perturbation to a test model from molecular dynamics, as described in [38, Sect. 1.3.2.4]. We consider a system composed of N particles in a two-dimensional periodic box of side length L. Particles and are assumed to form a dimer pair, in a solvent comprising the particles . The solvent particles interact through a truncated Lennard-Jones potential:
where r is the distance between two particles, and are two positive parameters, and . The interaction potential between the dimer pair is given by a double-well potential
61 |
where h and w are two positive parameters. The total energy of the system is given by
62 |
with , where denotes the position of particle . The potential has two energy minima at (corresponding to the compact state), and at (corresponding to the stretched state). The energy barrier separating the two states is h. Define to be
This reaction coordinate describes the transition from the compact state, to the stretched state . The standard overdamped reversible dynamics to sample from the stationary distribution is given by
where is the inverse temperature. Our objective is to compute the average reaction coordinate . We introduce an antisymmetric drift term as follows
63 |
where is an antisymmetric matrix. We consider two types of nonreversible perturbations, determined by antisymmetric matrices, and . The first matrix is the block-circulant matrix defined by:
where and denote the identity and zero matrix, respectively. The second matrix is given by
where R is the following rotation matrix on :
and is the zero matrix. The effect, in this case, is to apply the antisymmetric transformation only on the first two coordinates, which correspond to the positions of the particles composing the dimer.
Using an Euler–Maruyama discretisation of (63), samples are generated for particles, with parameter values , , , , , and . For each value of , a single realisation, starting from is simulated for timesteps of size , so that the total running time is . The asymptotic variance is approximated from a single realisation of the process using a batch–means estimator (see [1, IV .5]). In Fig. 6 we plot the value of the generated estimator, along with the asymptotic variance for different values of and for and . The first perturbation provides marginally lower asymptotic variance for this particular observable, giving rise to a decrease, as opposed to a decrease for , increasing from 0 to 10. This decrease in asymptotic variance, comes at the cost of increased computation time due to having to reduce the stepsize to compensate for the discretisation error and numerical instability caused by the large drift. While this may appear as a negative result, since the antisymmetric drift terms were chosen arbitrarily, no claim is made about optimality. An important issue is whether the increase in computational cost outweighs the benefits. This issue will be studied more carefully in Sect. 6.
Fig. 6.
Value of the estimator for with corresponding confidence intervals, for the dimer model, generated from a single realisation of (63). The right plot shows the asymptotic variance of the estimator over varying , with antisymmetric drifts defined by and , respectively (Color figure online)
The Computational Cost of Nonreversible Langevin Samplers
As observed Sect. 5, while increasing is guaranteed to decrease the asymptotic variance for the estimator , this will also give rise to an increase in the discretisation error arising from the particular discretisation being used. Moreover, as increases, the SDE (6) becomes more and more stiff, to the extent that the discretisation becomes numerically unstable unless the stepsize is chosen to be accordingly small. As a result, any discretisation will require smaller timesteps to guarantee that the stationary distribution of is sufficiently close to . This tradeoff between computational cost and asymptotic variance of the estimator must be taken into consideration when comparing reversible to nonreversible diffusions.
A rigorous error analysis of the long time average estimator was carried out in [47]. In this paper careful estimates of the mean square error
were derived for discretisations of a general overdamped Langevin diffusion on the unit torus , see also [70]. In particular, in [47, Theorem 5.2] it is shown that the mean squared error can be bounded as follows
64 |
where C is a positive constant independent of and N, which depends on the coefficients of the SDE and the observable f. This estimate makes explicit the tradeoff between discretisation error and sampling error. For a fixed computational budget N, the right hand side of (64) is minimized when For an SDE of the form (6), we expect that the constant C will increase with . Identifying the correct scaling of the error with respect to is an interesting problem that we intend to study.
To obtain a clearer idea of the bias variance tradeoff we compute the mean-square error for the Euler–Maruyama discretisation for two particular examples. In Fig. 7a, we consider the warped Gaussian distribution defined by (58) and the observable . A value for is obtained by integrating numerically, using a globally adaptive quadrature scheme to obtain an approximation with error less than . In Fig. 7a we plot the relative mean–squared-error defined by for an Euler–Maruyama discretisation of (6), for timestep in the interval . The total number of timesteps is kept fixed at . For each value of , the mean square error is approximated over an ensemble of 256 independent realisations. Missing points indicate finite time blowup of the discretized diffusion. The dashed line denotes the MSE generated from the corresponding MALA sampler, namely an Euler–Maruyama discretisation of the reversible diffusion with an added Metropolis–Hastings accept–reject step. We note that both the Euler–Maruyama discretisation and the MALA sampler require one evaluation of the gradient term per timestep, so that comparing an ergodic average obtained from steps of each scheme is fair.
Fig. 7.
Plot of the relative mean-square error as a function of the timestep size for the observable of a warped Gaussian distribution defined by (58), with a fixed computational budget of evaluations of for (a) and for (b). The dotted line denotes the relative MSE for the MALA scheme (Color figure online)
A trade-off between discretisation error and variance is evident from Fig. 7a, and is consistent with the error estimate (64). We observe that the nonreversible Langevin sampler outperforms the reversible Langevin sampler by an order of magnitude, with the lowest MSE attained when . As is increased beyond this point, the discretisation error is balanced by the decrease in variance, and we observe no further gain in performance. Nonetheless, despite the fact that the MALA scheme has no bias, the nonreversible sampler, with , outperforms MALA (in terms of MSE) by a significant factor of 8.8.
We repeat this numerical experiment for the target distribution given by a standard Gaussian distribution in and observable . In this case is exacty 0. We use the linear diffusion specified by (41) where the antisymmetric matrix J is given in (52), which is optimal for this observable. We plot the (absolute) MSE for the estimator in Fig. 8a. While the smallest MSE is attained by the nonreversible Langevin sampler, when , the increase in performance is only marginal. This is due to the fact that increasingly smaller timesteps must be taken to ensure that the EM approximation does not blow up. Indeed, the sampler would not converge to a finite value for greater than , while the reversible sampler () and the MALA scheme were accurate even for timesteps of order 1.
Fig. 8.
Plot of the mean-square error as a function of the timestep size for a linear observable of a Gaussian distribution, so that is a linear diffusion process. A fixed computational budget of evaluations of is imposed in (a), and in (b). The dotted line depicts the corresponding error for the metropolized sampler (Color figure online)
From both examples it is clear that managing the numerical stability and discretisation error of the skew-symmetric drift term is essential for any practical implementation of the nonreversible sampling scheme. This suggests that using higher order and/or more stable numerical integrators to compute long time averages would be beneficial to eliminate the bias arising from discretisation, as well as permit the use of larger timesteps. Naturally, such schemes would require multiple evaluations of at each step, thus it is possible that the additional computational cost offsets any performance gain. In the remainder of this section, we will perform the same numerical experiments using an integrator based on a Strang splitting [35, 67] of the stochastic reversible and deterministic nonreversible dynamics. The reversible part will be simulated using a standard MALA scheme and the nonreversible flow using an appropriate higher–order integrator. Indeed, denote by the evolution of the reversible SDE (3) from time 0 to t, and let denote the flow map corresponding to the ODE:
We shall consider an integrator based on the following map from time t to :
For this implementation, we approximate using a single step of a MALA scheme with proposal based on (3) with stepsize . The nonreversible flow is approximated using a fourth-order Runge–Kutta method.
We leave the justification and analysis of this scheme as the goal of future work, and in this paper simply use it to compute a long time average approximation to and compare the MSE with that of a corresponding reversible MALA scheme. To obtain a fair comparison between the results obtained by MALA and the splitting scheme, we note that while a careful implementation of MALA requires only one evaluation of per timestep, the splitting scheme requires six evaluations of per timestep (naively a single timestep would require two evaluations for each reversible substep and four evaluations for the nonreversible substep, however we can reuse two evaluations of between the steps). Thus, we shall compare the MSE obtained from trajectories of timesteps of the nonreversible sampler with timesteps of the corresponding MALA scheme, for stepsizes ranging from to 1. The results for the warped Gaussian distribution in and standard Gaussian in are plotted in Figs. 7b and 8b, respectively. Note that we omit the case since, in this case, the splitting scheme reduces to standard the MALA scheme. We observe that with this splitting scheme, the nonreversible sampler outperforms MALA by a factor of 13 for the warped Gaussian model, and by a factor of 20 for the standard Gaussian model. The benefits of the splitting scheme appear to be twofold: firstly the integrator is more stable, in both models, the long time simulation of did not blow up, even for large values of , and for . Moreover, compared to the corresponding Euler–Maruyama discretisation, the MSE is consistently an order of magnitude less.
While this splitting scheme is only a first step into properly investigating appropriate integrators for nonreversible Langevin schemes, the above numerical experiments demonstrate clearly that there is a significant benefit in doing so, which motivates future investigation.
Conclusions and Further Work
In this paper we have presented a detailed analytical and numerical study of the effect of nonreversible perturbations to Langevin samplers. In particular, we have focused on the effect on the asymptotic variance of adding a nonreversible drift to the overdamped Langevin dynamics. Our theoretical analysis, presented for diffusions with periodic coefficients and for diffusions with linear drift for which a complete analytical study can be performed, and our numerical investigations on toy models clearly show that a judicious choice of the nonreversible drift can lead to a substantial reduction in the asymptotic variance. On the other hand, as observed from the dimer model example in Sect. 5.4, an arbitrary choice of nonreversible drift will not always give rise to significant improvement. We have also presented a careful study of the computational cost of the algorithm based on a nonreversible Langevin sampler, in which the competing effects of reducing the asymptotic variance and of increasing the stiffness due to the addition of a nonreversible drift are monitored. The main conclusions that can be drawn from our numerical experiments is that a nonreversible Langevin sampler with close-to-the-optimal choice of the nonreversible drift significantly outperforms the (reversible) Metropolis–Hastings sampler.
There are many open problems that need to be studied further:
The effect of using degenerate, hypoelliptic diffusions for sampling from a given distribution.
Combining the use of nonreversible Langevin samplers with standard variance reduction techniques such as the zero variance reduction MCMC methodology [14].
Optimizing Langevin samplers within the class of reversible diffusions.
The development of nonreversible Metropolis–Hastings algorithms based on the above techniques, possibly related to approach described in [9].
The development and analysis of numerical schemes specifically designed to simulate nonreversible Langevin diffusions.
All these topics are currently under investigation.
Acknowledgments
The work of TL is supported by the European Research Council under the European Union’s Seventh Framework Program/ ERC Grant Agreement Number 614492. GP thanks Ch. Doering for useful discussions and comments. The research of AD is supported by the EPSRC under Grant No. EP/J009636/1. GP is partially supported by the EPSRC under Grants Nos. EP/J009636/1, EP/L024926/1, EP/L020564/1 and EP/L025159/1. TL would like to thank J. Roussel for pointing out some mistakes in a preliminary version of the manuscript. The authors would like to thank the anonymous referees for their useful comments and suggestions.
Footnotes
With a slight abuse of notation, we will denote by both the measure and the density.
Formally, all diffusion processes with drift b(x) and diffusion and generator such that is the unique solution of the stationary Fokker-Planck equation can be used to sample from .
As we illustrate in our paper, there is no point in considering the Metropolis adjusted sampler with a nonreversible proposal, since the addition of the accept–reject step renders the resulting Markov chain reversible and any nonreversibility-induced variance reduction is lost.
Contributor Information
A. B. Duncan, Email: a.duncan@imperial.ac.uk
T. Lelièvre, Email: lelievre@cermics.enpc.fr
G. A. Pavliotis, Email: g.pavliotis@imperial.ac.uk
References
- 1.Asmussen S, Glynn PW. Stochastic Simulation: Algorithms and Analysis. New York: Springer; 2007. [Google Scholar]
- 2.Avellanada M, Majda AJ. Stieltjes integral representation and effective diffusivity bounds for turbulent transport. Phys. Rev. Lett. 1989;62:753–755. doi: 10.1103/PhysRevLett.62.753. [DOI] [PubMed] [Google Scholar]
- 3.Avellaneda M, Majda AJ. An integral representation and bounds on the effective diffusivity in passive advection by laminar and turbulent flows. Commun. Math. Phys. 1991;138(2):339–391. doi: 10.1007/BF02099496. [DOI] [Google Scholar]
- 4.Bhatia R. Matrix Analysis. New York: Springer; 1997. [Google Scholar]
- 5.Bhattacharya R. A central limit theorem for diffusions with periodic coefficients. Ann. Probab. 1985;13(2):385–396. doi: 10.1214/aop/1176992998. [DOI] [Google Scholar]
- 6.Bhattacharya RN. On the functional central limit theorem and the law of the iterated logarithm for Markov processes. Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete. 1982;60(2):185–201. doi: 10.1007/BF00531822. [DOI] [Google Scholar]
- 7.Bhattacharya RN. Multiscale diffusion processes with periodic coefficients and an application to solute transport in porous media. Ann. Appl. Probab. 1999;9(4):951–1020. doi: 10.1214/aoap/1029962863. [DOI] [Google Scholar]
- 8.Bhattacharya RN, Gupta VK, Walker HF. Asymptotics of solute dispersion in periodic porous media. SIAM J. Appl. Math. 1989;49(1):86–98. doi: 10.1137/0149005. [DOI] [Google Scholar]
- 9.Bierkens, J.: Nonreversible Metropolis-Hastings. arXiv:1401.8087 (2014)
- 10.Bovier, A., Eckhoff, M., Gayrard, V., Klein, M.: Metastability in reversible diffusion processes: sharp asymptotics for capacities and exit times. Technical report, WIAS, Berlin (2002)
- 11.Bovier A, Gayrard V, Klein M. Metastability in reversible diffusion processes. II. Precise asymptotics for small eigenvalues. J. Eur. Math. Soc. 2005;7(1):69–99. doi: 10.4171/JEMS/22. [DOI] [Google Scholar]
- 12.Cattiaux P, Chafaı D, Guillin A. Central limit theorems for additive functionals of ergodic Markov diffusions processes. ALEA. 2012;9(2):337–382. [Google Scholar]
- 13.Constantin P, Kiselev A, Ryzhik L, Zlato A. Diffusion and mixing in fluid flow. Ann. Math. 2008;168(2):643–674. doi: 10.4007/annals.2008.168.643. [DOI] [Google Scholar]
- 14.Dellaportas P, Kontoyiannis I. Control variates for estimation based on reversible Markov chain Monte Carlo samplers. J. R. Stat. Soc. B. 2012;74(1):133–161. doi: 10.1111/j.1467-9868.2011.01000.x. [DOI] [Google Scholar]
- 15.Diaconis P, Holmes S, Neal RM. Analysis of a nonreversible Markov chain sampler. Ann. Appl. Probab. 2000;10(3):726–752. doi: 10.1214/aoap/1019487508. [DOI] [Google Scholar]
- 16.Douc R, Fort G, Guillin A. Subgeometric rates of convergence of f-ergodic strong Markov processes. Stoch. Processes Appl. 2009;119(3):897–923. doi: 10.1016/j.spa.2008.03.007. [DOI] [Google Scholar]
- 17.Down D, Meyn SP, Tweedie RL. Exponential and uniform ergodicity of Markov processes. Ann. Probab. 1995;23(4):1671–1691. doi: 10.1214/aop/1176987798. [DOI] [Google Scholar]
- 18.Franke B, Hwang CR, Pai HM, Sheu SJ. The behavior of the spectral gap under growing drift. Trans. Am. Math. Soc. 2010;362(3):1325–1350. doi: 10.1090/S0002-9947-09-04939-3. [DOI] [Google Scholar]
- 19.Gelman A, Carlin JB, Stern HS, Rubin DB. Bayesian Data Analysis. Boca Raton: Taylor & Francis; 2014. [Google Scholar]
- 20.Girolami M, Calderhead B. Riemann manifold Langevin and Hamiltonian Monte Carlo methods. J. R. Stat. Soc. B. 2011;73(2):123–214. doi: 10.1111/j.1467-9868.2010.00765.x. [DOI] [Google Scholar]
- 21.Glynn PW, Meyn SP. A Liapounov bound for solutions of the Poisson equation. Ann. Probab. 1996;24(2):916–931. doi: 10.1214/aop/1039639370. [DOI] [Google Scholar]
- 22.Golden K, Papanicolaou G. Bounds for effective parameters of heterogeneous media by analytic continuation. Commun. Math. Phys. 1983;90(4):473–491. doi: 10.1007/BF01216179. [DOI] [Google Scholar]
- 23.Haario H, Saksman E, Tamminen J. Adaptive proposal distribution for random walk Metropolis algorithm. Comput. Stat. 1999;14(3):375–396. doi: 10.1007/s001800050022. [DOI] [Google Scholar]
- 24.Helffer B. Spectral Theory and Its Applications. Cambridge: Cambridge University Press; 2013. [Google Scholar]
- 25.Helland IS. Central limit theorems for martingales with discrete or continuous time. Scand. J. Stat. 1982;9(2):79–94. [Google Scholar]
- 26.Hennequin G, Aitchison L, Lengyel M. Fast sampling-based inference in balanced neuronal networks. In: Ghahramani Z, Welling M, Cortes C, Lawrence ND, Weinberger KQ, editors. Advances in Neural Information Processing Systems 27. New York: Curran Associates, Inc.; 2014. pp. 2240–2248. [Google Scholar]
- 27.Hukushima K, Sakai Y. An irreversible Markov-chain Monte Carlo method with skew detailed balance conditions. J. Phys. 2013;473:012012. [Google Scholar]
- 28.Hwang CR, Hwang-Ma SY, Sheu SJ. Accelerating Gaussian diffusions. Ann. Appl. Probab. 1993;3(3):897–913. doi: 10.1214/aoap/1177005371. [DOI] [Google Scholar]
- 29.Hwang CR, Hwang-Ma SY, Sheu SJ, et al. Accelerating diffusions. Ann. Appl. Probab. 2005;15(2):1433–1444. doi: 10.1214/105051605000000025. [DOI] [Google Scholar]
- 30.Hwang, C.-R., Normand, R., Wu, S.-J.: Variance reduction for diffusions. arXiv:1406.4657 (2014)
- 31.Jacod J, Shiryaev AN. Limit Theorems for Stochastic Processes. Berlin: Springer; 1987. [Google Scholar]
- 32.Kipnis C, Varadhan SRS. Central limit theorem for additive functionals of reversible Markov processes and applications to simple exclusions. Commun. Math. Phys. 1986;104(1):1–19. doi: 10.1007/BF01210789. [DOI] [Google Scholar]
- 33.Komorowski T, Landim C, Olla S. Fluctuations in Markov Processes: Time Symmetry and Martingale Approximation. Heidelberg: Springer; 2012. [Google Scholar]
- 34.Krengel U. Ergodic Theorems. Berlin: Walter de Gruyter & Co.; 1985. [Google Scholar]
- 35.Leimkuhler B, Reich S. Simulating Hamiltonian Dynamics. Cambridge: Cambridge University Press; 2004. [Google Scholar]
- 36.Lelievre T. Two mathematical tools to analyze metastable stochastic processes. In: Cangiani A, Davidchack RL, Georgoulis E, Gorban AN, Levesley J, Tretyakov MV, editors. Numerical Mathematics and Advanced Applications 2011. New York: Springer; 2013. pp. 791–810. [Google Scholar]
- 37.Lelièvre T, Nier F, Pavliotis GA. Optimal non-reversible linear drift for the convergence to equilibrium of a diffusion. J. Stat. Phys. 2013;152(2):237–274. doi: 10.1007/s10955-013-0769-x. [DOI] [Google Scholar]
- 38.Lelièvre T, Stoltz G, Rousset M. Free Energy Computations: A Mathematical Perspective. Singapore: World Scientific; 2010. [Google Scholar]
- 39.Liu JS. Monte Carlo Strategies in Scientific Computing. New York: Springer; 2008. [Google Scholar]
- 40.Lorenzi L, Bertoldi M. Analytical Methods for Markov Semigroups. New York: CRC Press; 2006. [Google Scholar]
- 41.Ma, Y.-A., Chen, T., Fox, E.: A complete recipe for stochastic gradient mcmc. In: Advances in Neural Information Processing Systems, pp. 2899–2907 (2015)
- 42.MacKay DJC. Information Theory, Inference and Learning Algorithms. Cambridge: Cambridge University Press; 2003. [Google Scholar]
- 43.Majda AJ, Kramer PR. Simplified models for turbulent diffusion: theory, numerical modelling, and physical phenomena. Phys. Rep. 1999;314(4):237–574. doi: 10.1016/S0370-1573(98)00083-0. [DOI] [Google Scholar]
- 44.Majda AJ, McLaughlin RM. The effect of mean flows on enhanced diffusivity in transport by incompressible periodic velocity fields. Stud. Appl. Math. 1993;89(3):245–279. doi: 10.1002/sapm1993893245. [DOI] [Google Scholar]
- 45.Martin J, Wilcox LC, Burstedde C, Ghattas O. A stochastic newton MCMC method for large-scale statistical inverse problems with application to seismic inversion. SIAM J. Sci. Comput. 2012;34(3):A1460–A1487. doi: 10.1137/110845598. [DOI] [Google Scholar]
- 46.Mattingly JC, Stuart AM, Higham DJ. Ergodicity for SDEs and approximations: locally Lipschitz vector fields and degenerate noise. Stoch. Processes Appl. 2002;101(2):185–232. doi: 10.1016/S0304-4149(02)00150-3. [DOI] [Google Scholar]
- 47.Mattingly JC, Stuart AM, Tretyakov MV. Convergence of numerical time-averaging and stationary measures via Poisson equations. SIAM J. Numer. Anal. 2010;48(2):552–577. doi: 10.1137/090770527. [DOI] [Google Scholar]
- 48.Meyn SP, Tweedie RL. Stability of Markovian processes III: Foster-Lyapunov criteria for continuous-time processes. Adv. Appl. Probab. 1993;25(3):518–548. doi: 10.2307/1427522. [DOI] [Google Scholar]
- 49.Meyn, S. P., Tweedie, R. L.: A survey of Foster-Lyapunov techniques for general state space Markov processes. In: Proceedings of the Workshop on Stochastic Stability and Stochastic Stabilization, Metz, France. Citeseer (1993)
- 50.Mira A. Ordering and improving the performance of Monte Carlo Markov chains. Stat. Sci. 2001;16(4):340–350. doi: 10.1214/ss/1015346319. [DOI] [Google Scholar]
- 51.Neal RM. Sampling from multimodal distributions using tempered transitions. Stat. Comput. 1996;6(4):353–366. doi: 10.1007/BF00143556. [DOI] [Google Scholar]
- 52.Neal, R. M.: Improving asymptotic variance of MCMC estimators: nonreversible chains are better. arXiv:math/0407281 (2004)
- 53.Neal RM. MCMC Using Hamiltonian Dynamics. Handbook of Markov Chain Monte Carlo. Boca Raton: CRC Press; 2010. [Google Scholar]
- 54.Ohzeki, M., Ichiki, A.: Simple implementation of Langevin dynamics without detailed balance condition. arXiv:1307.0434 (2013)
- 55.Pardoux E, Veretennikov AY. On the Poisson equation and diffusion approximation I. Ann. Probab. 2001;29(3):1061–1085. doi: 10.1214/aop/1015345596. [DOI] [Google Scholar]
- 56.Pavliotis G. Stochastic Processes and Applications: Diffusion Processes, the Fokker-Planck and Langevin Equations. New York: Springer; 2014. [Google Scholar]
- 57.Pavliotis, G. A.: Homogenization Theory for Advection—Diffusion Equations with Mean Flow, Ph.D Thesis. Rensselaer Polytechnic Institute, Troy, NY (2002)
- 58.Pavliotis GA. Asymptotic analysis of the Green-Kubo formula. IMA J. Appl. Math. 2010;75:951–967. doi: 10.1093/imamat/hxq039. [DOI] [Google Scholar]
- 59.Peskun PH. Optimum Monte-Carlo sampling using Markov chains. Biometrika. 1973;60(3):607–612. doi: 10.1093/biomet/60.3.607. [DOI] [Google Scholar]
- 60.Revuz D, Yor M. Continuous Martingales and Brownian Motion. New York: Springer; 1999. [Google Scholar]
- 61.Rey-Bellet, L., Spiliopoulos, K.: Irreversible Langevin samplers and variance reduction: a large deviation approach. arXiv:1404.0105 (2014)
- 62.Rey-Bellet, L., Spiliopoulos, K.: Variance reduction for irreversible Langevin samplers and diffusion on graphs. arXiv:1410.0255 (2014)
- 63.Robert C, Casella G. Monte Carlo Statistical Methods. New York: Springer; 2013. [Google Scholar]
- 64.Roberts GO, Stramer O. Langevin diffusions and Metropolis-Hastings algorithms. Methodol. Comput. Appl. Probab. 2002;4(4):337–357. doi: 10.1023/A:1023562417138. [DOI] [Google Scholar]
- 65.Roberts GO, Tweedie RL. Exponential convergence of langevin distributions and their discrete approximations. Bernoulli. 1996;2(4):341–363. doi: 10.2307/3318418. [DOI] [Google Scholar]
- 66.Schütte C, Sarich M. Metastability and Markov State Models in molecular Dynamics: Modeling, Analysis, Algorithmic Approaches. Providence: American Mathematical Society; 2013. [Google Scholar]
- 67.Strang G. On the construction and comparison of difference schemes. SIAM J. Numer. Anal. 1968;5(3):506–517. doi: 10.1137/0705041. [DOI] [Google Scholar]
- 68.Sun Y, Schmidhuber J, Faustino JG. Improving the asymptotic performance of Markov chain Monte-Carlo by inserting vortices. In: Lafferty JD, Williams CKI, Shawe-Taylor J, Zemel RS, Culotta A, editors. Advances in Neural Information Processing Systems 23. New York: Curran Associates, Inc.; 2010. pp. 2235–2243. [Google Scholar]
- 69.Suwa, H., Todo, S.: General construction of irreversible kernel in Markov Chain Monte Carlo. arXiv:1207.0258 (2012)
- 70.Talay D, Tubaro L. Expansion of the global error for numerical schemes solving stochastic differential equations. Stoch. Anal. Appl. 1990;8(4):483–509. doi: 10.1080/07362999008809220. [DOI] [Google Scholar]
- 71.Turitsyn KS, Chertkov M, Vucelja M. Irreversible Monte Carlo algorithms for efficient sampling. Phys. D. 2011;240(4):410–414. doi: 10.1016/j.physd.2010.10.003. [DOI] [Google Scholar]
- 72.Wu SJ, Hwang CR, Chu MT. Attaining the optimal Gaussian diffusion acceleration. J. Stat. Phys. 2014;155(3):571–590. doi: 10.1007/s10955-014-0963-5. [DOI] [Google Scholar]