Introduction
Mathematical models in science and engineering are usually cast in the form of an input-output map
y = F ( x , θ ) . y = \mathcal{F}(x,\theta). y = F ( x , θ ) .
Here x x x are the input variables (e.g., points in space, points of time, loads), θ \theta θ are the model parameters (e.g., material or geometric parameters), F \mathcal{F} F is the input-output (or forward) map and y y y is (a component of) the output. If the parameters θ \theta θ are known and inputs x x x are chosen, the computation of the model response y y y is referred to as the direct problem .
Conversely, if the inputs x x x and corresponding outputs y y y are known, or given as a vector of observations y = y o b s y = y_{\mathrm{obs}} y = y obs , the determination of the corresponding parameters θ \theta θ is the inverse problem . Depending on the context, this is also referred to as model updating or parameter calibration. The difficulty is that the inverse problem is usually ill-posed. A solution giving the required parameters θ \theta θ may not exist, may be non-unique, but most importantly usually will not depend continuously on the data. We denote the error between measured values y o b s y_{\mathrm{obs}} y obs and the theoretical model predictions F ( x , θ ) \mathcal{F}(x,\theta) F ( x , θ ) by
e = y o b s − F ( x , θ ) . e = y_{\mathrm{obs}} - \mathcal{F}(x,\theta). e = y obs − F ( x , θ ) .
The variational approach consists in finding a set of parameters θ ^ \hat{\theta} θ ^ which minimizes some norm of the errors, for example, the Euclidean norm
∥ e ∥ 2 = ∥ y o b s − F ( x , θ ) ∥ 2 → min ! \lVert e\rVert^2 = \lVert y_{\mathrm{obs}} - \mathcal{F}(x,\theta)\rVert^2 \to\min! ∥ e ∥ 2 = ∥ y obs − F ( x , θ ) ∥ 2 → min !
In this simple form, the problem is usually unsolvable and has to be complemented by some regularization procedure such as Tikhonov regularization [23 ] .
In the past decades, an alternative approach that avoids the difficulties of the variational methods has gained broad acceptance: the Bayesian approach. In a nutshell, the parameters and output variables (and possibly the input variables) are all considered as random variables Θ \Theta Θ , Y Y Y and possibly X X X ; the observation y o b s y_{\mathrm{obs}} y obs is viewed as a sample of Y Y Y . Model and data uncertainties are encoded in a prior distribution π 0 ( θ ) \pi_0(\theta) π 0 ( θ ) of Θ \Theta Θ and the likelihood function π ( y o b s ∣ θ ) \pi(y_{\mathrm{obs}}|\theta) π ( y obs ∣ θ ) . The solution of the inverse problem consists in the posterior distribution of Θ \Theta Θ
π ( θ ∣ y o b s ) ∝ π ( y o b s ∣ θ ) π 0 ( θ ) . \pi(\theta|y_{\mathrm{obs}}) \propto\pi(y_{\mathrm{obs}}|\theta)\pi_0(\theta). π ( θ ∣ y obs ) ∝ π ( y obs ∣ θ ) π 0 ( θ ) .
Note that the Bayesian solution contains much more information on the parameter Θ \Theta Θ than the optimization approach: its probability distribution.
In the finite dimensional case, when x , y , θ x,y,\theta x , y , θ belong to finite dimensional Euclidean spaces, the Bayesian procedure, together with its numerical methods, is well-established and well-understood [32 , 36 , 52 , 60 ] , see also the recent survey [2 ] , the tutorial [62 ] and the recent exposition [38 ] from an engineering, finite element point of view.
Turning to the infinite dimensional case, let us suppress the dependence on x x x in the notation (fixed input data may be considered as inherent to the forward map). In this situation we write the forward map as
y = G ( θ ) . y = \mathcal{G}(\theta). y = G ( θ ) .
The parameters θ \theta θ and the output y y y are now functions belonging to infinite dimensional (separable) Hilbert spaces H , H ′ \mathcal{H},\mathcal{H}' H , H ′ . Given an observation y o b s ∈ H ′ y_{\mathrm{obs}} \in\mathcal{H}' y obs ∈ H ′ (possibly given as a discrete version), the Bayesian inverse problem consists in reconstructing θ \theta θ as an H \mathcal{H} H -valued random variable, or equivalently, constructing its law as a measure on H \mathcal{H} H .
The seminal paper of Andrew Stuart [57 ] from 2010 sparked a tremendous development in theory and applications as well as Markov chain Monte Carlo (MCMC) methods in infinite dimensional spaces [13 ] . A key ingredient is the theory of Gaussian measures on Hilbert spaces as well as Markov chains on general state spaces.
The infinite dimensional Bayesian theory has been elaborated in more detail in various papers [18 , 39 , 40 ] , and it even has been taken up in textbooks [47 , 58 ] . Nevertheless, a newcomer entering the field has to engage in a quite extensive literature study. We found that easily accessible introductory expositions are lacking.
The purpose of this article – or rather tutorial – is to close this gap in the literature. We intend to offer an uninitiated reader
a swift introduction to finite dimensional Bayesian inverse problem, together with basic MCMC algorithms;
a short exposition of the Bayesian approach in infinite dimensions, together with corresponding MCMC algorithms;
explications of the material with the help of a finite dimensional and an infinite dimensional example;
a comprehensive collection of results and concepts needed from Markov chains and Gaussian measures on Hilbert spaces, with proofs where useful and references to the literature, guaranteeing the existence of the posterior measure and the convergence of the MCMC algorithms.
We achieve this by restricting attention to some basic, paradigmatic situations – only Gaussian measures on Hilbert spaces and likelihood functions with a Gaussian kernel are considered. In this case, the assumptions on the forward map G \mathcal{G} G of [57 ] can be dramatically weakened; continuity suffices. Concerning the stability of the Bayesian solution under perturbations of the forward map and the observation, we obtain also new and easily accessible results, using weak convergence of measures.
Simplifications of the original assumptions in [18 , 57 ] have also been obtained in [41 ] ; this encompassing paper notably contains a profound investigation of stability in various metrics on spaces of probability measures.
The plan of the paper is as follows. In § 2 , we give an introduction to the finite dimensional case. Subsection 2.1 starts with an elementary definition of conditional distributions of random variables on finite dimensional spaces. Subsection 2.2 explains the Bayesian updating procedure, Subsection 2.3 introduces the Bayesian approach to inverse problems. Subsection 2.4 introduces the Metropolis-Hastings algorithm as an elementary Markov chain Monte Carlo method; Subsection 2.5 elaborates on some practical aspects and heuristic convergence diagnostics. § 3 is devoted to the generalization to infinite dimensional spaces. In Subsection 3.1, we extend the Bayesian approach to inverse problem to the Hilbert space setting with Gaussian priors and Gaussian-type likelihood functions. In this case, mere continuity of the forward map allows one to establish the existence of the posterior measure and the fact that it has finite first and second moments. The stability of the posterior measure under perturbations of the forward map and the observations is established in Subsection 3.2, again under rather weak conditions. The posterior measures converge weakly, while the means and covariance operators converge in norm. Subsection 3.3 presents the pCN-algorithm as an infinite dimensional MCMC method.
Section 4 highlights the Bayesian methods by means of two examples. Subsection 4.1 demonstrates the reconstruction of parameters in a nonlinear spring model from observations of a finite number of maximal velocities, with visual analyses of the Markov chains. Subsection 4.2 addresses the reconstruction of the right-hand side in a two-dimensional Poisson equation from observations of the solution.
Finally, Section 5 is intended to summarize and explain a minimal amount of tools from probability theory needed for a full understanding of the procedures from Sections 2 and 3. Subsection 5.1 starts with a general introduction of conditional distributions. Section 5.2 collects basics from the theory of Markov chains and all concepts needed to infer the existence of an invariant probability measure and to analyze convergence. Section 5.3 presents a proof of convergence of the Metropolis-Hastings algorithm in the form as applied in Subsection 2.4 as well as the ergodicity of the pCN-algorithm, based on references to the literature. Finally, Subsection 5.4 is a short introduction to random fields and Gaussian measures on Hilbert spaces, together with the Karhunen-Loève expansion and various examples of constructing covariance operators, as applied in Subsection 4.2. We explain the probabilistic concepts in detail; however, the reader is assumed to have basic knowledge of operator theory, Sobolev spaces and weak solutions to the Poisson equation on the level of, say, Sections 1 and 2 in [45 ] .
Bayesian methods: principles in finite dimensions
This section highlights the elementary mathematical concepts needed for the Bayesian approach to inverse problems in finite dimensions. We start with an elementary version of conditional distributions and Bayesian updating, turn to Bayesian inverse problems with additive noise, and we explain one of the simplest Markov chain Monte Carlo algorithms for sampling from the posterior distribution, the Metropolis-Hastings algorithm with symmetric, everywhere positive transition kernel. Deriving the convergence properties of the algorithm requires deeper methods; an exposition of the full concepts and methods is deferred to Section 5.
Bayes’ formula
The notion of conditional distributions of random variables is essential to Bayesian thinking. In the elementary, finite dimensional case only a naïve version is needed, which can be shown to be a special case of the general notion discussed in Subsection 5.1.
Discrete random variables. Let ( Θ , Y ) (\Theta,Y) ( Θ , Y ) be a bivariate discrete random variable taking values ( θ i , y j ) (\theta_i,y_j) ( θ i , y j ) with probabilities P ( Θ = θ i , Y = y j ) \mathbb{P}(\Theta=\theta_i,Y=y_j) P ( Θ = θ i , Y = y j ) . The conditional distribution of Θ \Theta Θ given Y Y Y is given through the probability values
P ( Θ = θ i ∣ Y = y j ) = P ( Θ = θ i , Y = y j ) P ( Y = y j ) \mathbb{P}(\Theta=\theta_i\mid Y=y_j)=\frac{\mathbb{P}(\Theta=\theta_i,Y=y_j)}{\mathbb{P}(Y=y_j)} P ( Θ = θ i ∣ Y = y j ) = P ( Y = y j ) P ( Θ = θ i , Y = y j )
and similarly for P ( Y = y j ∣ Θ = θ i ) P(Y=y_j\mid\Theta=\theta_i) P ( Y = y j ∣ Θ = θ i ) . The definitions result immediately in Bayes’ formula for discrete random variables
P ( Θ = θ i ∣ Y = y j ) = P ( Y = y j ∣ Θ = θ i ) P ( Θ = θ i ) P ( Y = y j ) . P(\Theta=\theta_i\mid Y=y_j)=\frac{P(Y=y_j\mid\Theta=\theta_i)P(\Theta=\theta_i)}{P(Y=y_j)}. P ( Θ = θ i ∣ Y = y j ) = P ( Y = y j ) P ( Y = y j ∣ Θ = θ i ) P ( Θ = θ i ) .
Continuous random variables. Consider a bivariate random variable ( Θ , Y ) (\Theta,Y) ( Θ , Y ) and assume that it has a probability density π ( θ , y ) \pi(\theta,y) π ( θ , y ) with respect to Lebesgue measure d θ × d y \mathrm{d}\theta\times\mathrm{d}y d θ × d y on R × R \mathbb{R}\times\mathbb{R} R × R with cumulative joint distribution function Π ( θ , y ) \Pi(\theta,y) Π ( θ , y ) . Denote the marginal densities by π 0 ( θ ) = \pi_0(\theta)= π 0 ( θ ) = ∫ − ∞ ∞ π ( θ , y ) d y \int_{-\infty}^{\infty} \pi(\theta,y)\,\mathrm{d}y ∫ − ∞ ∞ π ( θ , y ) d y , π 1 ( y ) = ∫ − ∞ ∞ π ( θ , y ) d θ \pi_1(y)=\int_{-\infty}^{\infty}\pi(\theta,y)\,\mathrm{d}\theta π 1 ( y ) = ∫ − ∞ ∞ π ( θ , y ) d θ . Introducing the cumulative distribution function of Θ \Theta Θ given Y Y Y as
Π ( θ ∣ y ) = lim Δ y → 0 P ( Θ ≤ θ ∣ y ≤ Y ≤ y + Δ y ) = lim Δ y → 0 P ( Θ ≤ θ , y ≤ Y ≤ y + Δ y ) P ( y ≤ Y ≤ y + Δ y ) = lim Δ y → 0 ∫ − ∞ θ ∫ y y + Δ y π ( θ ′ , y ′ ) d θ ′ d y ′ ∫ y y + Δ y π 1 ( y ′ ) d y ′ = ∫ − ∞ θ π ( θ ′ , y ) d θ ′ π 1 ( y ) . \begin{aligned}
\Pi(\theta|y)=\lim_{\Delta y\to0}P(\Theta\leq\theta|y\leq Y\leq y+\Delta y)=\lim_{\Delta y\to0}\frac{P(\Theta\leq\theta,y\leq Y\leq y+\Delta y)}{P(y\leq Y\leq y+\Delta y)} \\
&=\lim_{\Delta y\to0}\frac{\int_{-\infty}^{\theta}\int_y^{y+\Delta y}\pi(\theta',y')\,\mathrm{d}\theta'\mathrm{d}y'}{\int_y^{y+\Delta y}\pi_1(y')\,\mathrm{d}y'}=\frac{\int_{-\infty}^{\theta}\pi(\theta',y)\,\mathrm{d}\theta'}{\pi_1(y)}.
\end{aligned} Π ( θ ∣ y ) = Δ y → 0 lim P ( Θ ≤ θ ∣ y ≤ Y ≤ y + Δ y ) = Δ y → 0 lim P ( y ≤ Y ≤ y + Δ y ) P ( Θ ≤ θ , y ≤ Y ≤ y + Δ y ) = Δ y → 0 lim ∫ y y + Δ y π 1 ( y ′ ) d y ′ ∫ − ∞ θ ∫ y y + Δ y π ( θ ′ , y ′ ) d θ ′ d y ′ = π 1 ( y ) ∫ − ∞ θ π ( θ ′ , y ) d θ ′ .
and taking one more derivative with respect to θ \theta θ defines the conditional density of Θ \Theta Θ given Y Y Y as
π ( θ ∣ y ) = π ( θ , y ) π 1 ( y ) (1) \pi(\theta|y)=\frac{\pi(\theta,y)}{\pi_1(y)} \tag*{(1)} π ( θ ∣ y ) = π 1 ( y ) π ( θ , y ) (1)
provided π 1 ( y ) ≠ 0 \pi_1(y)\neq0 π 1 ( y ) = 0 , and similarly for π ( y ∣ θ ) \pi(y|\theta) π ( y ∣ θ ) . This gives rise to Bayes’ formula for conditional densities :
π ( θ ∣ y ) = π ( y ∣ θ ) π 1 ( y ) π 0 ( θ ) = π ( y ∣ θ ) ∫ π ( y ∣ θ ) π 0 ( θ ) d θ π 0 ( θ ) . (2) \pi(\theta|y)=\frac{\pi(y|\theta)}{\pi_1(y)}\pi_0(\theta)=\frac{\pi(y|\theta)}{\int\pi(y|\theta)\pi_0(\theta)\,\mathrm{d}\theta}\pi_0(\theta). \tag*{(2)} π ( θ ∣ y ) = π 1 ( y ) π ( y ∣ θ ) π 0 ( θ ) = ∫ π ( y ∣ θ ) π 0 ( θ ) d θ π ( y ∣ θ ) π 0 ( θ ) . (2)
Introducing the likelihood function ℓ ( θ , y ) = π ( y ∣ θ ) \ell(\theta,y)=\pi(y|\theta) ℓ ( θ , y ) = π ( y ∣ θ ) , Bayes’ formula is often written in short form as
π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) . \pi(\theta|y)\propto\ell(\theta,y)\pi_0(\theta). π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) .
Formulas (1) and (2) generalize in the obvious way to multidimensional random variables ( Θ , Y ) (\Theta,Y) ( Θ , Y ) on R d × R d ′ \mathbb{R}^{d}\times\mathbb{R}^{d'} R d × R d ′ .
Bayesian updating
Let Y Y Y be a random variable which depends in a way on another random variable Θ \Theta Θ . For example, Y Y Y could have a probability distribution with hyperparameters Θ \Theta Θ , e.g., if Y Y Y has a Gaussian distribution ∼ N ( μ , σ 2 ) \sim\mathcal{N}(\mu,\sigma^2) ∼ N ( μ , σ 2 ) , Θ \Theta Θ would be ( μ , σ ) (\mu,\sigma) ( μ , σ ) . Or Y Y Y could be the output of a forward map which depends on model parameters Θ \Theta Θ . The Bayesian framework is intended to combine prior knowledge about Θ \Theta Θ with an observation y o b s y_{\mathrm{obs}} y obs of Y Y Y to improve (“update”) the information about Θ \Theta Θ (and then also get better predictions for Y Y Y ). The Bayesian doctrine says that the updating has to be done through Bayes’ formula. Thus a further ingredient is needed: the likelihood function, the conditional distribution of Y Y Y given Θ \Theta Θ . The updating consists in computing the posterior distribution of Θ \Theta Θ , the conditional distribution of Θ \Theta Θ given Y Y Y . We explain the procedure in the case when Y Y Y and Θ \Theta Θ have probability densities with respect to Lebesgue measure. A general reference on Bayesian methods is [32 ] , an engineering oriented reference is [64 ] .
The prior distribution. Prior knowledge about Θ \Theta Θ is encoded in the prior distribution with density π 0 ( θ ) \pi_0(\theta) π 0 ( θ ) , known from previous experiments, theoretical considerations, known statistical properties etc. If mean and variance of the prior distribution are known, π 0 ( θ ) \pi_0(\theta) π 0 ( θ ) is often taken as a Gaussian. It is also common practice to use a so-called diffusive prior, a constant density on a large interval when there is little knowledge about the prior distribution or when one wants to minimize the influence of the prior distribution. Such an interval may also come from physical restrictions on the range of Θ \Theta Θ . Detailed information and advice on the choice of a prior distribution can be found in [32 Section 6.3] .
The likelihood function. The likelihood function ℓ ( θ , y ) \ell(\theta,y) ℓ ( θ , y ) is meant to be proportional to the probability of observing y y y when θ \theta θ has a given value. In the case when Y Y Y has a probability distribution with hyperparameters Θ \Theta Θ , the likelihood function is naturally taken as π ( y ∣ θ ) \pi(y|\theta) π ( y ∣ θ ) , the probability density of Y Y Y with fixed parameter values θ \theta θ . In Bayesian inverse problems, the likelihood function is derived from the distribution of the error (see Subsection 2.3). Note that the observation y y y could be multidimensional, e.g. a sample of Y Y Y of size n n n , in which case the likelihood function is the multidimensional density of y y y given θ \theta θ .
The posterior distribution. Given an observation y = y o b s y = y_{\mathrm{obs}} y = y obs , the posterior distribution is defined through its density π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) \pi(\theta\mid y) \propto\ell(\theta,y)\pi_0(\theta) π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) as suggested by Bayes’ formula (2). Schematically, the updating procedure can be described as follows. The input is
a prior distribution with density π 0 ( θ ) \pi_0(\theta) π 0 ( θ ) ;
a likelihood function ℓ ( θ , y ) \ell(\theta,y) ℓ ( θ , y ) proportional to π ( y ∣ θ ) \pi(y\mid\theta) π ( y ∣ θ ) . The minimal requirement is that ℓ ( ⋅ , ⋅ ) \ell(\cdot,\cdot) ℓ ( ⋅ , ⋅ ) is Lebesgue-measurable;
an observation y = y o b s y = y_{\mathrm{obs}} y = y obs .
The updated information about Θ \Theta Θ given the observation is contained in the posterior distribution with density
π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) , \pi(\theta\mid y) \propto\ell(\theta,y)\pi_0(\theta), π ( θ ∣ y ) ∝ ℓ ( θ , y ) π 0 ( θ ) ,
more precisely,
π ( θ ∣ y ) = 1 Z ( y ) ℓ ( θ , y ) π 0 ( θ ) , Z ( y ) = ∫ ℓ ( θ , y ) π 0 ( θ ) d θ . \pi(\theta\mid y) = \frac{1}{Z(y)}\ell(\theta,y)\pi_0(\theta), \qquad Z(y) = \int\ell(\theta,y)\pi_0(\theta)\,\mathrm{d}\theta. π ( θ ∣ y ) = Z ( y ) 1 ℓ ( θ , y ) π 0 ( θ ) , Z ( y ) = ∫ ℓ ( θ , y ) π 0 ( θ ) d θ .
This procedure makes sense provided 0 < Z ( y ) < ∞ 0 < Z(y) < \infty 0 < Z ( y ) < ∞ . The factor of proportionality Z ( y ) Z(y) Z ( y ) can be obtained by evaluating the defining integral. If Θ \Theta Θ is low-dimensional, the factor can be computed by numerical integration. However, we shall see in Subsection 2.4 that knowledge of the factor is not required for sampling from the posterior distribution.
Bayesian inverse problems
In this section, we show how Bayesian updating is used to solve the inverse problem for Y = F ( X , Θ ) Y = \mathcal{F}(X,\Theta) Y = F ( X , Θ ) . The crucial step is to supplement the forward model by an error term, a mean zero random variable acting as additive noise
Y = F ( X , Θ ) + E . (3) Y = \mathcal{F}(X,\Theta) + E. \tag*{(3)} Y = F ( X , Θ ) + E . (3)
This is plausible when the error is interpreted as the measurement error of observations of Y Y Y . However, E E E is often considered to subsume imprecision in the forward map F \mathcal{F} F or inaccuracies introduced by numerical approximations. The error could also be split in several summands (as is done in Subsection 4.1) or could arise in a nonlinear way (see the examples in [36 Section 3.2] ). For simplicity of presentation, we stay with the additive form (3).
At this stage, we assume or postulate that the error E E E has a known probability density ρ ( e ) \rho(e) ρ ( e ) . In terms of realizations x x x , y y y , e e e , relation (3) reads y = F ( x , θ ) + e y = \mathcal{F}(x,\theta) + e y = F ( x , θ ) + e . The key idea is to construct the likelihood function by substituting this relation in the error distribution:
ℓ ( θ , y ) = ρ ( y − F ( x , θ ) ) . (4) \ell(\theta,y) = \rho(y - \mathcal{F}(x,\theta)). \tag*{(4)} ℓ ( θ , y ) = ρ ( y − F ( x , θ )) . (4)
We apply Bayesian updating with this likelihood function. We require again
The procedure results in the posterior distribution of Θ \Theta Θ given y = y o b s y = y_{\mathrm{obs}} y = y obs with density
π ( θ ∣ y ) ∝ ρ ( y − F ( x , θ ) ) π 0 ( θ ) . (5) \pi(\theta\mid y) \propto\rho(y - \mathcal{F}(x,\theta))\pi_0(\theta). \tag*{(5)} π ( θ ∣ y ) ∝ ρ ( y − F ( x , θ )) π 0 ( θ ) . (5)
From the Bayesian point of view, π ( θ ∣ y ) \pi(\theta\mid y) π ( θ ∣ y ) constitutes the solution to the inverse problem [36 Chapter 3] , as it provides the probability distribution of the parameter Θ \Theta Θ to be reconstructed, given observation data y o b s y_{\mathrm{obs}} y obs and prior knowledge encoded in the prior density.
We specialize the procedure to the common assumption that the error has a Gaussian distribution [36 , 60 , 64 ] . In practical applications, the observation is multidimensional, often a sample y = ( y 1 , … , y n ) y = (y_1, \ldots, y_n) y = ( y 1 , … , y n ) obtained from model inputs x = ( x 1 , … , x n ) x = (x_1, \ldots, x_n) x = ( x 1 , … , x n ) . The error e = ( e 1 , … , e n ) e = (e_1, \ldots, e_n) e = ( e 1 , … , e n ) then obeys an n n n -dimensional Gaussian distribution with covariance matrix Σ E \Sigma_E Σ E and thus has probability density
ρ ( e ) ∝ exp ( − 1 2 e T Σ E − 1 e ) . (6) \rho(e) \propto\exp\left(-\frac{1}{2}e^{\mathsf{T}}\Sigma_E^{-1}e\right). \tag*{(6)} ρ ( e ) ∝ exp ( − 2 1 e T Σ E − 1 e ) . (6)
The covariance matrix Σ E \Sigma_E Σ E is usually based on the empirical covariance matrix of the observed data [55 ] . If in addition the individual observations in y o b s y_{\mathrm{obs}} y obs are uncorrelated, the covariance matrix Σ E \Sigma_E Σ E is of diagonal form σ 2 I \sigma^2 I σ 2 I where I I I is the identity matrix and σ 2 \sigma^2 σ 2 is the empirical variance of y o b s y_{\mathrm{obs}} y obs , then (6) reduces to
ρ ( e ) ∝ exp ( − 1 2 σ 2 ∥ e ∥ 2 ) (7) \rho(e) \propto\exp\left(-\frac{1}{2\sigma^2}\lVert e\rVert^2\right) \tag*{(7)} ρ ( e ) ∝ exp ( − 2 σ 2 1 ∥ e ∥ 2 ) (7)
with the Euclidean norm ∥ e ∥ \lVert e\rVert ∥ e ∥ . Finally, the likelihood function is given by
ℓ ( θ , y ) = exp ( − 1 2 ( y − F ( x , θ ) ) T Σ E − 1 ( y − F ( x , θ ) ) ) . (8) \ell(\theta,y) = \exp\left(-\frac{1}{2}(y-\mathcal{F}(x,\theta))^{\mathsf{T}}\Sigma_E^{-1}(y-\mathcal{F}(x,\theta))\right). \tag*{(8)} ℓ ( θ , y ) = exp ( − 2 1 ( y − F ( x , θ ) ) T Σ E − 1 ( y − F ( x , θ )) ) . (8)
Bayesian estimators. Given the posterior distribution of Θ \Theta Θ , one can obtain point estimates θ ^ \widehat{\theta} θ for θ \theta θ [36 Section 3.1.1] . Commonly used estimators are the mean and the median of the posterior distribution. The posterior mean is defined as follows:
θ ^ = ∫ θ π ( θ ∣ y ) d θ . (9) \widehat{\theta} = \int\theta\,\pi(\theta\mid y)\,\mathrm{d}\theta. \tag*{(9)} θ = ∫ θ π ( θ ∣ y ) d θ . (9)
Given a statistical sample θ 1 , … , θ N \theta_1,\ldots,\theta_N θ 1 , … , θ N of the posterior distribution, obtained by N N N random and independent draws, an approximation to (9) can be obtained as the sample mean 1 N ∑ j = 1 N θ j \frac{1}{N}\sum_{j=1}^{N}\theta_j N 1 ∑ j = 1 N θ j . Then, one can estimate the approximation error as follows. Suppose the true value to be reconstructed is θ ∗ \theta^* θ ∗ . Then
∣ 1 N ∑ j = 1 N θ j − θ ∗ ∣ ≤ ∣ 1 N ∑ j = 1 N θ j − ∫ θ π ( θ ∣ y ) d θ ∣ + ∣ ∫ θ π ( θ ∣ y ) d θ − θ ∗ ∣ . \left\lvert\frac{1}{N}\sum_{j=1}^{N}\theta_j-\theta^*\right\rvert\leq\left\lvert\frac{1}{N}\sum_{j=1}^{N}\theta_j-\int\theta\,\pi(\theta\mid y)\,\mathrm{d}\theta\right\rvert+\left\lvert\int\theta\,\pi(\theta\mid y)\,\mathrm{d}\theta-\theta^*\right\rvert. N 1 j = 1 ∑ N θ j − θ ∗ ≤ N 1 j = 1 ∑ N θ j − ∫ θ π ( θ ∣ y ) d θ + ∫ θ π ( θ ∣ y ) d θ − θ ∗ .
The first summand on the right-hand side can be estimated by the usual Monte Carlo error estimate: the average error is of magnitude σ / N \sigma/\sqrt{N} σ / N , where σ 2 \sigma^2 σ 2 is the variance of Θ \Theta Θ . One can do slightly better asymptotically with quasi-Monte Carlo random generators for which a pointwise error bound O ( log N / N ) O(\log N/N) O ( log N / N ) can be achieved if π ( θ ∣ y ) \pi(\theta\mid y) π ( θ ∣ y ) is sufficiently regular [48 ] . The numerical error of the numerical approximation could be included by a further splitting of the first summand, noting that the statistical sample θ 1 , … , θ N \theta_1,\ldots,\theta_N θ 1 , … , θ N is actually replaced by a numerically approximated sample θ ~ 1 , … , θ ~ N \widetilde{\theta}_1,\ldots,\widetilde{\theta}_N θ 1 , … , θ N . The second summand could also be further separated into an error due to the bias of the estimator (9) and a remaining systematic error. Methods for bias correction in MCMC samples can be found in the literature [22 , 35 ] . There is no control on the systematic error, which subsumes errors in the choice of the likelihood function and its parameters and the choice of the physical model.
The Metropolis-Hastings algorithm – Markov chain Monte Carlo
Given a probability distribution π \pi π , Markov chain Monte Carlo algorithms are designed to produce a realization ξ 0 , ξ 1 , ξ 2 , … \xi_0,\xi_1,\xi_2,\ldots ξ 0 , ξ 1 , ξ 2 , … of a Markov chain which has π \pi π as its stationary distribution. A Markov chain is a sequence of random variables X 0 , X 1 , X 2 , … X_0,X_1,X_2,\ldots X 0 , X 1 , X 2 , … on a probability space ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) with values in a state space ( S , S ) (S,\mathcal{S}) ( S , S ) with the property – informally speaking – that the probability of a transition from one state to another depends only on the current state. More precisely, the conditional probability distributions (see Subsection 5.1) satisfy
P ( X n + 1 ∣ X 0 , X 1 , … , X n ) = P ( X n + 1 ∣ X n ) . P(X_{n+1}\mid X_0,X_1,\ldots,X_n)=P(X_{n+1}\mid X_n). P ( X n + 1 ∣ X 0 , X 1 , … , X n ) = P ( X n + 1 ∣ X n ) .
A general treatment of Markov chains can be found in Subsection 5.2. In this Subsection, we treat the finite dimensional case. The state space ( S , S ) (S,\mathcal{S}) ( S , S ) will be an open subset or the closure of an open subset of R d \mathbb{R}^d R d with the σ \sigma σ -algebra S \mathcal{S} S of Lebesgue-measurable sets. We also assume that π \pi π has a density with respect to Lebesgue measure, i. e. π ( d x ) = π ( x ) d x \pi(dx)=\pi(x)dx π ( d x ) = π ( x ) d x , and that the finite dimensional joint distributions of the members of the chain have a probability density. Let p ( n ) ( y ) p^{(n)}(y) p ( n ) ( y ) be the marginal (i.e., unconditional) probability density of X n X_n X n . There is a so-called transition kernel p ( x , y ) p(x,y) p ( x , y ) , such that at given x x x , p ( x , y ) p(x,y) p ( x , y ) is a probability density and at given y y y , p ( x , y ) p(x,y) p ( x , y ) is a measurable function of x x x . The marginal probability densities are computed as
p ( n ) ( y ) = ∫ S p ( x , y ) p ( n − 1 ) ( x ) d x p^{(n)}(y)=\int_S p(x,y)p^{(n-1)}(x)\,dx p ( n ) ( y ) = ∫ S p ( x , y ) p ( n − 1 ) ( x ) d x
and thus are uniquely determined by the initial probability distribution p ( 0 ) p^{(0)} p ( 0 ) . A probability distribution π \pi π is called invariant (or stationary) with respect to the Markov chain if
π ( y ) = ∫ S p ( x , y ) π ( x ) d x . \pi(y)=\int_S p(x,y)\pi(x)\,dx. π ( y ) = ∫ S p ( x , y ) π ( x ) d x .
Under rather general assumptions (see Subsection 5.2), a Markov chain has a unique invariant probability distribution and the distributions p ( n ) p^{(n)} p ( n ) of X n X_n X n converge to the stationary distribution π \pi π in the following sense: Let p ( 0 ) p^{(0)} p ( 0 ) be any initial probability distribution and f ( x ) f(x) f ( x ) be any function integrable with respect to π ( x ) d x \pi(x)dx π ( x ) d x . Then
lim N → ∞ 1 N ∑ n = 1 N f ( ξ n ) = ∫ S f ( x ) π ( x ) d x \lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^{N}f(\xi_n)=\int_S f(x)\pi(x)\,dx N → ∞ lim N 1 n = 1 ∑ N f ( ξ n ) = ∫ S f ( x ) π ( x ) d x
for almost all realizations ξ 0 , ξ 1 , ξ 2 , … \xi_0,\xi_1,\xi_2,\ldots ξ 0 , ξ 1 , ξ 2 , … of the chain, see Proposition 5.3 for a precise formulation. This is often referred to as the ergodic theorem. Accordingly, the end pieces ξ M , … , ξ N \xi_M,\ldots,\xi_N ξ M , … , ξ N for sufficiently large M M M (after the so-called burn-in phase) can be treated as a sample of the limiting distribution π \pi π . By the ergodic theorem, the sample mean, moments and quantiles of ξ M , … , ξ N \xi_M,\ldots,\xi_N ξ M , … , ξ N converge to the expectation value, moments and quantiles of π \pi π as N → ∞ N\to\infty N → ∞ .
We present one of the most popular MCMC-methods, the Metropolis-Hastings algorithm . As preparation for the algorithm, one has to choose a transition kernel q ( x , y ) q(x,y) q ( x , y ) on S S S , the so-called proposal distribution. We make the (standard) simplifying assumption that the kernel is symmetric and everywhere positive
q ( x , y ) = q ( y , x ) > 0 , for all x , y ∈ S . (10) q(x,y)=q(y,x)>0,\qquad\text{for all }x,y\in S. \tag*{(10)} q ( x , y ) = q ( y , x ) > 0 , for all x , y ∈ S . (10)
Otherwise, the choice of q q q is arbitrary. In practice, the proposal distribution is often taken of the form q ( x , y ) = q ( x − y ) q(x,y)=q(x-y) q ( x , y ) = q ( x − y ) , where q q q is the density of a multivariate Gaussian.
Next, one has to choose an initial distribution p ( 0 ) p^{(0)} p ( 0 ) (possibly the Dirac mass at a point x x x ). The Metropolis-Hastings algorithm is executed as follows.
For k = 1 , … , N k=1,\ldots,N k = 1 , … , N , sample a candidate value η \eta η from the proposal distribution q ( ξ k − 1 , ⋅ ) q(\xi_{k-1},\cdot) q ( ξ k − 1 , ⋅ ) .
ξ k = { η with probability α ( ξ k − 1 , η ) = min ( 1 , π ( η ) π ( ξ k − 1 ) ) ξ k − 1 with probability 1 − α ( ξ k − 1 , η ) . \xi_k=
\begin{cases}
\eta& \text{with probability } \alpha(\xi_{k-1},\eta)=\min\left(1,\dfrac{\pi(\eta)}{\pi(\xi_{k-1})}\right)\\
\xi_{k-1} & \text{with probability }1-\alpha(\xi_{k-1},\eta).
\end{cases} ξ k = ⎩ ⎨ ⎧ η ξ k − 1 with probability α ( ξ k − 1 , η ) = min ( 1 , π ( ξ k − 1 ) π ( η ) ) with probability 1 − α ( ξ k − 1 , η ) .
The function a ( u , v ) = min ( 1 , π ( v ) π ( u ) ) a(u,v)=\min\left(1,\frac{\pi(v)}{\pi(u)}\right) a ( u , v ) = min ( 1 , π ( u ) π ( v ) ) is called the acceptance probability . If ξ k = η \xi_k=\eta ξ k = η one says that the proposed candidate η \eta η is accepted; if ξ k = ξ k − 1 \xi_k=\xi_{k-1} ξ k = ξ k − 1 it is rejected. The accept/reject step can be effected as follows:
Compute r = π ( η ) π ( ξ k − 1 ) r=\frac{\pi(\eta)}{\pi(\xi_{k-1})} r = π ( ξ k − 1 ) π ( η ) .
Draw a random number ζ \zeta ζ from the uniform distribution on [ 0 , 1 ] [0,1] [ 0 , 1 ] .
– If ζ ≤ r \zeta\le r ζ ≤ r , set ξ k = η \xi_k=\eta ξ k = η .
– If ζ > r \zeta>r ζ > r , set ξ k = ξ k − 1 \xi_k=\xi_{k-1} ξ k = ξ k − 1 .
The advantage of the Metropolis-Hastings algorithm is that it requires knowledge of π \pi π only up to multiplicative constants (only the ratio r r r matters). Therefore, it is particularly useful in computing the posterior distribution in a Bayesian framework.
According to the arguments collected in Subsection 5.3, the Metropolis-Hastings chain has π \pi π as its invariant probability distribution and satisfies the ergodic theorem. In particular, the end pieces ξ M , … , ξ N \xi_M,\ldots,\xi_N ξ M , … , ξ N for sufficiently large M M M provide a sample of π \pi π .
An important indicator of the quality of the Markov chain is the acceptance rate. This is the proportion of accepted values, that is, 1 / N 1/N 1/ N times the number of k k k ’s for which the candidate value η \eta η is not rejected. If the acceptance rate is close to one, the chain tends to become the Markov process generated by the proposal distribution alone. If the acceptance rate is small, the chain hardly moves and covers the state space only very slowly. Thus a medium size acceptance rate is desirable. Studies of the efficiency of the Metropolis-Hastings algorithm suggest an optimal acceptance rate of 44% for univariate chains and around 23% for multivariate chains [24 ] .
Practical aspects of the Metropolis-Hastings algorithm
The Metropolis-Hastings algorithm delivers a realization ξ 0 , ξ 1 , ξ 2 , … \xi_0,\xi_1,\xi_2,\ldots ξ 0 , ξ 1 , ξ 2 , … of the Markov chain under consideration. The question is if this simulated chain is of sufficient statistical quality so that it allows one to make inferences about the actual Markov chain.
Burn-in phase. The so-called burn-in phase is defined to be the initial segment of the simulated chain, before its elements hit the main range of the posterior distribution. The length of the burn-in phase depends on the choice of the initial value (and the variance of the proposal distribution). In the application example of Subsection 4.1, the first 1000 elements of the chain for the components a a a and c c c are depicted in Figure 3 . It can be observed that the length of the burn-in phase is well below 300.
Figure 3. Burn-in phase: first 1000 elements of the Markov chain. Component for a a a (left), component for c c c (center), both components (right).
Monitoring convergence. The quality of the simulated realization of the Markov chain can be tested by means of visual inspection (trace plots), acceptance rate and tests for stationarity. Additional methods of analysing the quality of Markov chains produced by MCMC can be found in [52 Chapter 12] and in [10 ] . For further statistical explorations of posterior distributions see, e.g., [22 ] and [3 ] .
To assess the quality of the simulated chain, one usually checks if it explores the whole state space (the range of the parameter under consideration) reasonably fast. One important criterion is the acceptance rate, which optimally should be around 44% for univariate chains and around 23% for multivariate chains, see Subsection 2.4. In the application example of Subsection 4.1, the acceptance rate turned out to be 24%, in the infinite dimensional example of Subsection 4.2 it was 15%, both reasonably close to the optimal ones.
A second criterion is whether the members of the chain move between different parts of the state space quickly. This can be checked visually and is evident for the chains in § 4 from Figure 3 , Figure 4 and Figure 6 . To check this and other properties for multi-dimensional chains, a host of graphical and non-graphical methods has been proposed. We refer to the survey articles [14 , 56 ] .
Figure 4. Upper row: Chains after burn-in for parameter a a a (left), parameter c c c (center), scatter plot of both parameters (right). Lower row: corresponding histograms. The last figure shows a contour plot of the two-dimensional histogram of ( a , c ) (a,c) ( a , c ) .
Figure 6. Case (a): Markov chain at center point (left), Markov chain after burn-in (center), histogram of values sampled at center point after burn-in (right).
The final question concerns the convergence of the chain to its stationary distribution. In terms of the given realization ξ 0 , ξ 1 , ξ 2 , … \xi_0, \xi_1, \xi_2, \ldots ξ 0 , ξ 1 , ξ 2 , … , this means that subsamples ξ K , … , ξ K + M \xi_K, \ldots, \xi_{K+M} ξ K , … , ξ K + M and ξ L , … , ξ L + M \xi_L, \ldots, \xi_{L+M} ξ L , … , ξ L + M , with sufficiently large K K K and L > K + M L > K + M L > K + M , should have the same distribution. This can be tested by nonparametric statistical tests such as the Kolmogorov-Smirnov test. However, these tests apply only to iid (independent and identically distributed) subsamples. As suggested in [52 Section 12.2.2] , independent sampling can be achieved by selecting batches of the form ξ K , ξ K + G , ξ K + 2 G , … , ξ K + l G \xi_K, \xi_{K+G}, \xi_{K+2G}, \ldots, \xi_{K+lG} ξ K , ξ K + G , ξ K + 2 G , … , ξ K + l G with G ≫ 1 G \gg1 G ≫ 1 (and l G ≤ M lG \le M l G ≤ M ).
Confidence intervals. Approximate confidence intervals for the mean can be computed using the central limit theorem for Markov chains (Proposition 5.4 ) from Subsection 5.2. Let S N = X 1 + ⋯ + X N S_N = X_1 + \cdots+ X_N S N = X 1 + ⋯ + X N . If the random variables X j X_j X j were iid with variance σ 2 \sigma^2 σ 2 , the variance of S N S_N S N would be N σ 2 N\sigma^2 N σ 2 . When the X j X_j X j arise as members of a Markov chain, the variance of S N S_N S N can still be asymptotically estimated. Under certain conditions, V ( S N ) / N V(S_N)/N V ( S N ) / N converges to the number γ 2 \gamma^2 γ 2 given by (25) as N → ∞ N \to\infty N → ∞ . Further, if γ > 0 \gamma> 0 γ > 0 , the random variable S N / γ N S_N/\gamma\sqrt{N} S N / γ N converges (in distribution) to the standard normal distribution. The required mixing conditions (examples of such conditions are in Subsection 5.2) cannot easily be verified in practice, but can be enforced in the MCMC setting (see the discussion in [52 Sections 6.7.2 and 6.9] ).
Thus, taking a segment ξ M + 1 , … , ξ M + N \xi_{M+1}, \ldots, \xi_{M+N} ξ M + 1 , … , ξ M + N of length N N N of the chain after the burn-in period with sample mean μ N = 1 N ∑ i = 1 N ξ M + i \mu_N = \frac{1}{N}\sum_{i=1}^{N}\xi_{M+i} μ N = N 1 ∑ i = 1 N ξ M + i , one may assume that μ N \mu_N μ N is approximately normally distributed around μ ∗ \mu^* μ ∗ with variance γ 2 / N \gamma^2/N γ 2 / N ; here μ ∗ \mu^* μ ∗ is the true mean of the posterior distribution. Due to the assumed stationarity of the chain, the variance and the covariances in (25) can be estimated by the empirical autocovariance function of the segment ξ M + 1 , … , ξ M + N \xi_{M+1}, \ldots, \xi_{M+N} ξ M + 1 , … , ξ M + N , and the infinite sum can be truncated at large k = K k = K k = K when the covariances become negligible (empirically around K = 10 K = 10 K = 10 to 20).
Based on these considerations, approximate confidence intervals for the posterior mean can be computed as μ N ± q γ / N \mu_N \pm q\gamma/\sqrt{N} μ N ± q γ / N , where q q q is the quantile of the standard normal distribution corresponding to the desired confidence level (q = 1.96 q = 1.96 q = 1.96 for 95% confidence).
This procedure has been applied, for example, in [26 Figure 5] to observe the behavior of confidence intervals with increasing N N N .
Bayesian methods: infinite dimensions
This section requires some basics of the theory of Gaussian measures on Hilbert spaces, as collected in Subsection 5.4.
Bayesian inverse problems in Hilbert spaces
The material in this section is based on the seminal paper [57 ] and on [18 ] . However, we do not need the elaborate general hypotheses as in [57 Assumptions 2.6 and 2.7] , because we consider only likelihood functions of the form (11) below. For the first step in constructing the posterior measure, only continuity of the forward map G \mathcal{G} G is required; for convergence of approximations, polynomial growth conditions are needed, in addition. We do not need local Lipschitz continuity of the forward map, as often required [18 , 47 , 57 , 58 ] . Similar conditions on the forward map without Lipschitz continuity have also been stated in [41 ] .
Let H , H ′ \mathcal{H}, \mathcal{H}' H , H ′ be separable Hilbert spaces and consider the forward problem Y = G ( Θ ) Y = \mathcal{G}(\Theta) Y = G ( Θ ) for a map G : H → H ′ \mathcal{G}: \mathcal{H} \to\mathcal{H}' G : H → H ′ . The inverse problem consists in reconstructing the random variable Θ \Theta Θ from an observation y o b s y_{\mathrm{obs}} y obs of Y Y Y . Its solution follows the procedure of Bayesian updating described in Subsection 2.2. We require the following
a likelihood function ℓ ( θ , y ) \ell(\theta,y) ℓ ( θ , y ) on H × H ′ \mathcal{H}\times\mathcal{H}' H × H ′ . We assume that the likelihood function is of the form
ℓ ( θ , y ) = exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) (11) \ell(\theta,y)=\exp\left(-\frac{1}{2\sigma^2}\lVert y-G(\theta)\rVert_{\mathcal{H}'}^2\right) \tag*{(11)} ℓ ( θ , y ) = exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) (11)
with σ 2 \sigma^2 σ 2 interpreted as variance of the error.
In analogy with the finite dimensional case, the solution of the Bayesian inverse problem is the probability measure π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) defined by
π y ( d θ ) = 1 Z ( y ) ℓ ( θ , y ) π 0 ( d θ ) , Z ( y ) = ∫ ℓ ( θ , y ) π 0 ( d θ ) . (12) \pi^y(\mathrm{d}\theta)=\frac{1}{Z(y)}\ell(\theta,y)\pi_0(\mathrm{d}\theta),\qquad Z(y)=\int\ell(\theta,y)\pi_0(\mathrm{d}\theta). \tag*{(12)} π y ( d θ ) = Z ( y ) 1 ℓ ( θ , y ) π 0 ( d θ ) , Z ( y ) = ∫ ℓ ( θ , y ) π 0 ( d θ ) . (12)
In some cases, it can be shown that π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) is indeed the conditional distribution of Θ \Theta Θ given y y y , see Remark (a) below as well as the general discussion in [39 ] .
To prove that this is a valid procedure, we have to show that π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) is a well-defined probability measure on H \mathcal{H} H , that is, 0 < Z ( y ) < ∞ 0<Z(y)<\infty 0 < Z ( y ) < ∞ .
Proposition 3.1. Assume that G : H → H ′ G:\mathcal{H}\to\mathcal{H}' G : H → H ′ is continuous and let y ∈ H ′ y\in\mathcal{H}' y ∈ H ′ . Then
(a) The measure π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) given by (12) is a well-defined probability measure.
(b) The measure π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) has a well-defined mean and covariance operator
⟨ m , f ⟩ = ∫ ⟨ θ , f ⟩ 1 Z ( y ) ℓ ( θ , y ) π 0 ( d θ ) , ⟨ C f , g ⟩ = ∫ ⟨ θ − m , f ⟩ ⟨ θ − m , g ⟩ 1 Z ( y ) ℓ ( θ , y ) π 0 ( d θ ) \langle m,f\rangle=\int\langle\theta,f\rangle\frac{1}{Z(y)}\ell(\theta,y)\pi_0(\mathrm{d}\theta),\qquad\langle Cf,g\rangle=\int\langle\theta-m,f\rangle\langle\theta-m,g\rangle\frac{1}{Z(y)}\ell(\theta,y)\pi_0(\mathrm{d}\theta) ⟨ m , f ⟩ = ∫ ⟨ θ , f ⟩ Z ( y ) 1 ℓ ( θ , y ) π 0 ( d θ ) , ⟨ C f , g ⟩ = ∫ ⟨ θ − m , f ⟩ ⟨ θ − m , g ⟩ Z ( y ) 1 ℓ ( θ , y ) π 0 ( d θ ) for f , g ∈ H f,g\in\mathcal{H} f , g ∈ H .
Proof. (a) First, the continuity of G G G implies that ℓ ( θ , y ) \ell(\theta,y) ℓ ( θ , y ) is measurable with respect to θ \theta θ . Second, ∥ y − G ( θ ) ∥ H ′ 2 ≥ 0 \lVert y-G(\theta)\rVert_{\mathcal{H}'}^2\geq0 ∥ y − G ( θ ) ∥ H ′ 2 ≥ 0 , so ℓ ( θ , y ) ≤ 1 \ell(\theta,y)\leq1 ℓ ( θ , y ) ≤ 1 and Z ( y ) ≤ ∫ π 0 ( d θ ) = 1 < ∞ Z(y)\leq\int\pi_0(\mathrm{d}\theta)=1<\infty Z ( y ) ≤ ∫ π 0 ( d θ ) = 1 < ∞ , yielding the upper bound. Third, the lower bound follows from the continuity of G G G at zero, according to which there is r > 0 r>0 r > 0 such that ∥ G ( θ ) ∥ H ′ ≤ 1 + ∥ G ( 0 ) ∥ H ′ \lVert G(\theta)\rVert_{\mathcal{H}'}\leq1+\lVert G(0)\rVert_{\mathcal{H}'} ∥ G ( θ ) ∥ H ′ ≤ 1 + ∥ G ( 0 ) ∥ H ′ whenever ∥ θ ∥ H < r \lVert\theta\rVert_{\mathcal{H}}<r ∥ θ ∥ H < r . In particular, ∥ y − G ( θ ) ∥ H ′ \lVert y-G(\theta)\rVert_{\mathcal{H}'} ∥ y − G ( θ ) ∥ H ′ is bounded for fixed y ∈ H ′ y\in\mathcal{H}' y ∈ H ′ and so ℓ ( θ , y ) ≥ exp ( − K ) \ell(\theta,y)\geq\exp(-K) ℓ ( θ , y ) ≥ exp ( − K ) for ∥ θ ∥ H < r \lVert\theta\rVert_{\mathcal{H}}<r ∥ θ ∥ H < r and some K > 0 K>0 K > 0 . We conclude that
Z ( y ) ≥ ∫ { ∥ θ ∥ H < r } exp ( − K ) π 0 ( d θ ) = exp ( − K ) π 0 ( { ∥ θ ∥ H < r } ) > 0 , Z(y)\geq\int_{\{\lVert\theta\rVert_{\mathcal{H}}<r\}}\exp(-K)\pi_0(\mathrm{d}\theta)=\exp(-K)\pi_0(\{\lVert\theta\rVert_{\mathcal{H}}<r\})>0, Z ( y ) ≥ ∫ {∥ θ ∥ H < r } exp ( − K ) π 0 ( d θ ) = exp ( − K ) π 0 ({∥ θ ∥ H < r }) > 0 ,
because any nondegenerate Gaussian measure is full, i.e., π 0 ( B ) > 0 \pi_0(B)>0 π 0 ( B ) > 0 for any non-empty open subset of H \mathcal{H} H [15 Proposition 1.25] .
(b) Since π 0 \pi_0 π 0 is a Gaussian measure, ∫ ∥ θ ∥ H p π 0 ( d θ ) \int\lVert\theta\rVert_{\mathcal{H}}^p\pi_0(\mathrm{d}\theta) ∫ ∥ θ ∥ H p π 0 ( d θ ) is finite for every p ∈ N p\in\mathbb{N} p ∈ N [57 Theorem 6.6] . Since ∣ ⟨ θ , f ⟩ ∣ ≤ ∥ θ ∥ ∥ f ∥ \lvert\langle\theta,f\rangle\rvert\leq\lVert\theta\rVert\lVert f\rVert ∣⟨ θ , f ⟩∣ ≤ ∥ θ ∥ ∥ f ∥ , the integral defining ⟨ m , f ⟩ \langle m,f\rangle ⟨ m , f ⟩ is finite. A similar argument applies to the quadratic form defining the covariance.
(a) Assume that H ′ \mathcal{H}' H ′ is finite dimensional and ℓ ( θ , y ) \ell(\theta,y) ℓ ( θ , y ) in (11) is the conditional density of Y Y Y given Θ \Theta Θ . Then it can be shown that π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) is indeed the conditional distribution of Θ \Theta Θ given Y Y Y [57 Theorem 6.31] .
(b) The direct generalization of formula (8) to the Hilbert space setting would be to let
ℓ ( θ , y ) = exp ( − 1 2 ⟨ K − 1 / 2 ( y − G ( θ ) ) , K − 1 / 2 ( y − G ( θ ) ) ⟩ ) \ell(\theta,y)=\exp\left(-\frac{1}{2}\left\langle\mathcal{K}^{-1/2}(y-G(\theta)),\mathcal{K}^{-1/2}(y-G(\theta))\right\rangle\right) ℓ ( θ , y ) = exp ( − 2 1 ⟨ K − 1/2 ( y − G ( θ )) , K − 1/2 ( y − G ( θ )) ⟩ )
for some covariance operator K \mathcal{K} K on H ′ \mathcal{H}' H ′ . However, this makes sense only when y − G ( θ ) y-G(\theta) y − G ( θ ) belongs to the domain of K − 1 / 2 \mathcal{K}^{-1/2} K − 1/2 , which is the range of K 1 / 2 \mathcal{K}^{1/2} K 1/2 . But the latter range is the Cameron-Martin space of the measure μ ∼ N ( 0 , K ) \mu\sim\mathcal{N}(0,\mathcal{K}) μ ∼ N ( 0 , K ) , which is known to have μ \mu μ -measure zero [57 Lemma 6.10] , [15 Proposition 1.27] . For this reason, we consider only likelihood functions of the special form (11).
Stability of the Bayesian solution
In this subsection, we address the question of stability of the method with respect to perturbations G n \mathcal{G}_n G n of the forward map G \mathcal{G} G or the observation. It will be seen that under additional conditions on G n \mathcal{G}_n G n and G \mathcal{G} G , the corresponding probability measures π n y n ( d θ ) \pi_n^{y_n}(\mathrm{d}\theta) π n y n ( d θ ) converge to π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) weakly in the sense of measures (equivalently, in the Prohorov metric [8 Theorem 6.8] ). Further, the means and the covariance operators converge in norm, and rates of convergence can be obtained. Concentrating on convergence in the weak sense of measures allows us to considerably weaken the assumptions stated in [57 ] . As mentioned in the Introduction, a thorough investigation of stability in various metrics and the corresponding hypotheses is in [41 ] .
Suppose a sequence of observations y n → y y_n \to y y n → y in H ′ \mathcal{H}' H ′ and a sequence of continuous forward maps G n \mathcal{G}_n G n converging pointwise to G \mathcal{G} G , G n ( θ ) → G ( θ ) \mathcal{G}_n(\theta) \to\mathcal{G}(\theta) G n ( θ ) → G ( θ ) for every θ ∈ H \theta\in\mathcal{H} θ ∈ H are given. We obtain a sequence of likelihood functions
ℓ n ( θ , y n ) = exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) \ell_n(\theta,y_n) = \exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right) ℓ n ( θ , y n ) = exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 )
according to (11) and a sequence of probability measures
π n y n ( d θ ) = 1 Z n ( y n ) ℓ n ( θ , y n ) π 0 ( d θ ) , Z n ( y n ) = ∫ ℓ n ( θ , y n ) π 0 ( d θ ) . (13) \pi_n^{y_n}(\mathrm{d}\theta) = \frac{1}{Z_n(y_n)}\ell_n(\theta,y_n)\pi_0(\mathrm{d}\theta), \qquad Z_n(y_n) = \int\ell_n(\theta,y_n)\pi_0(\mathrm{d}\theta). \tag*{(13)} π n y n ( d θ ) = Z n ( y n ) 1 ℓ n ( θ , y n ) π 0 ( d θ ) , Z n ( y n ) = ∫ ℓ n ( θ , y n ) π 0 ( d θ ) . (13)
The question is in what sense the measures π n y n ( d θ ) \pi_n^{y_n}(\mathrm{d}\theta) π n y n ( d θ ) converge to π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) given by (12) . For clarity, we collect the hypotheses again:
(A1) G n , G : H → H ′ \mathcal{G}_n,\mathcal{G}:\mathcal{H}\to\mathcal{H}' G n , G : H → H ′ are continuous maps such that G n ( θ ) → G ( θ ) \mathcal{G}_n(\theta)\to\mathcal{G}(\theta) G n ( θ ) → G ( θ ) in H ′ \mathcal{H}' H ′ as n → ∞ n\to\infty n → ∞ for every θ ∈ H \theta\in\mathcal{H} θ ∈ H ; y n → y y_n\to y y n → y in H ′ \mathcal{H}' H ′ as n → ∞ n\to\infty n → ∞ .
We make the following assumption.
(A2) There are r > 0 r>0 r > 0 and K > 0 K>0 K > 0 such that ∥ G ( θ ) ∥ H ′ ≤ K \lVert\mathcal{G}(\theta)\rVert_{\mathcal{H}'}\le K ∥ G ( θ ) ∥ H ′ ≤ K , ∥ G n ( θ ) ∥ H ′ ≤ K \lVert\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}\le K ∥ G n ( θ ) ∥ H ′ ≤ K for all n ∈ N n\in\mathbb{N} n ∈ N and ∥ θ ∥ H < r \lVert\theta\rVert_{\mathcal{H}}<r ∥ θ ∥ H < r .
Proposition 3.2. (a) Under assumptions (A1) and (A2), the posterior measures π n y n ( d θ ) \pi_n^{y_n}(\mathrm{d}\theta) π n y n ( d θ ) given by (13) converge to π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) weakly in the sense of measures.
(b) The means m n m_n m n converge to m m m in norm and the covariance operators converge in operator norm.
Proof. (a) Assumption (A2) and the fact that the sequence y n y_n y n is bounded implies that there is a constant K ′ K' K ′ such that
ℓ ( θ , y ) ≥ exp ( − K ′ ) , ℓ n ( θ , y n ) ≥ exp ( − K ′ ) \ell(\theta,y)\ge\exp(-K'), \qquad\ell_n(\theta,y_n)\ge\exp(-K') ℓ ( θ , y ) ≥ exp ( − K ′ ) , ℓ n ( θ , y n ) ≥ exp ( − K ′ )
for all n ∈ N n\in\mathbb{N} n ∈ N , whenever ∥ θ ∥ H < r \lVert\theta\rVert_{\mathcal{H}}<r ∥ θ ∥ H < r . As in the proof of Proposition 3.1, this gives uniform bounds from below for Z ( y ) ≥ a > 0 Z(y)\ge a>0 Z ( y ) ≥ a > 0 and all Z n ( y n ) ≥ a > 0 Z_n(y_n)\ge a>0 Z n ( y n ) ≥ a > 0 .
Now let h : H → R h:\mathcal{H}\to\mathbb{R} h : H → R be a continuous function such that ∣ h ( θ ) ∣ ≤ c ( 1 + ∥ θ ∥ H p ) \lvert h(\theta)\rvert\le c(1+\lVert\theta\rVert_{\mathcal{H}}^p) ∣ h ( θ )∣ ≤ c ( 1 + ∥ θ ∥ H p ) for some c > 0 c>0 c > 0 , p ≥ 0 p\ge0 p ≥ 0 and all θ ∈ H \theta\in\mathcal{H} θ ∈ H . First note that
Z n ( y n ) = ∫ exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) → ∫ exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) = Z ( y ) Z_n(y_n)=\int\exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right)\pi_0(\mathrm{d}\theta)\to\int\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right)\pi_0(\mathrm{d}\theta)=Z(y) Z n ( y n ) = ∫ exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) → ∫ exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) = Z ( y )
as n → ∞ n\to\infty n → ∞ by Lebesgue’s dominated convergence theorem, since the integrands converge pointwise and are bounded by 1. Similarly,
∫ h ( θ ) π n y n ( d θ ) = ∫ h ( θ ) 1 Z n ( y n ) exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) → ∫ h ( θ ) 1 Z ( y ) exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) = ∫ h ( θ ) π y ( d θ ) . (14) \begin{aligned}
\int h(\theta)\pi_n^{y_n}(\mathrm{d}\theta)=\int h(\theta)\frac{1}{Z_n(y_n)}\exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right)\pi_0(\mathrm{d}\theta) \\
&\to\int h(\theta)\frac{1}{Z(y)}\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right)\pi_0(\mathrm{d}\theta)=\int h(\theta)\pi^y(\mathrm{d}\theta). \tag*{(14)}
\end{aligned} ∫ h ( θ ) π n y n ( d θ ) = ∫ h ( θ ) Z n ( y n ) 1 exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) → ∫ h ( θ ) Z ( y ) 1 exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) π 0 ( d θ ) = ∫ h ( θ ) π y ( d θ ) . (14)
because the integrands converge pointwise and are bounded by the π 0 \pi_0 π 0 -integrable function c ( 1 + ∥ θ ∥ H ) / a c(1+\lVert\theta\rVert_{\mathcal{H}})/a c ( 1 + ∥ θ ∥ H ) / a (proof of part (b) in Proposition 3.1).
In particular, (14) holds for any bounded continuous function H → R \mathcal{H}\to\mathbb{R} H → R , implying the weak convergence of π n ( d θ ) \pi_n(d\theta) π n ( d θ ) to π ( d θ ) \pi(d\theta) π ( d θ ) . Taking h ( θ ) = ⟨ θ , f ⟩ h(\theta)=\langle\theta,f\rangle h ( θ ) = ⟨ θ , f ⟩ for f ∈ H f\in\mathcal{H} f ∈ H , we see that the means converge in the sense that
⟨ m n , f ⟩ = ∫ ⟨ θ , f ⟩ π n y ( d θ ) → ∫ ⟨ θ , f ⟩ π y ( d θ ) = ⟨ m , f ⟩ \langle m_n,f\rangle=\int\langle\theta,f\rangle\pi_n^y(d\theta)\to\int\langle\theta,f\rangle\pi^y(d\theta)=\langle m,f\rangle ⟨ m n , f ⟩ = ∫ ⟨ θ , f ⟩ π n y ( d θ ) → ∫ ⟨ θ , f ⟩ π y ( d θ ) = ⟨ m , f ⟩
for every f ∈ H f\in\mathcal{H} f ∈ H . Similarly, the covariance operators converge when evaluated at fixed f , g ∈ H f,g\in\mathcal{H} f , g ∈ H .
(b) The norm convergence of the means m n m_n m n to m m m follows from the next argument. Let ε > 0 \varepsilon>0 ε > 0 . Since ∥ m n − m ∥ H = sup ∥ f ∥ H ≤ 1 ∣ ⟨ m n − m , f ⟩ ∣ \lVert m_n-m\rVert_{\mathcal{H}}=\sup_{\lVert f\rVert_{\mathcal{H}}\leq1}|\langle m_n-m,f\rangle| ∥ m n − m ∥ H = sup ∥ f ∥ H ≤ 1 ∣ ⟨ m n − m , f ⟩ ∣ , we can find f n f_n f n , ∥ f n ∥ H ≤ 1 \lVert f_n\rVert_{\mathcal{H}}\leq1 ∥ f n ∥ H ≤ 1 , such that
∥ m n − m ∥ H − ε 2 ≤ ∣ ⟨ m n − m , f n ⟩ ∣ . \lVert m_n-m\rVert_{\mathcal{H}}-\frac{\varepsilon}{2}\leq|\langle m_n-m,f_n\rangle|. ∥ m n − m ∥ H − 2 ε ≤ ∣ ⟨ m n − m , f n ⟩ ∣.
But ∣ ⟨ m n − m , f n ⟩ ∣ |\langle m_n-m,f_n\rangle| ∣ ⟨ m n − m , f n ⟩ ∣ equals
∣ ∫ ⟨ θ , f n ⟩ ( 1 Z n ( y n ) exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − 1 Z ( y ) exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) ) π 0 ( d θ ) ∣ ≤ ∫ ∥ θ ∥ H ∣ 1 Z n ( y n ) exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − 1 Z ( y ) exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) ∣ π 0 ( d θ ) \begin{aligned}
\left|\int\langle\theta,f_n\rangle\left(\frac{1}{Z_n(y_n)}\exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right)-\frac{1}{Z(y)}\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right)\right)\pi_0(d\theta)\right| \\
&\leq\int\lVert\theta\rVert_{\mathcal{H}}\left|\frac{1}{Z_n(y_n)}\exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right)-\frac{1}{Z(y)}\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right)\right|\pi_0(d\theta)
\end{aligned} ∫ ⟨ θ , f n ⟩ ( Z n ( y n ) 1 exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − Z ( y ) 1 exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) ) π 0 ( d θ ) ≤ ∫ ∥ θ ∥ H Z n ( y n ) 1 exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − Z ( y ) 1 exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) π 0 ( d θ )
As above, dominated convergence gives that the right-hand side of the inequality converges to zero. Thus, for sufficiently large n n n , ∥ m n − m ∥ H − ε 2 ≤ ε 2 \lVert m_n-m\rVert_{\mathcal{H}}-\frac{\varepsilon}{2}\leq\frac{\varepsilon}{2} ∥ m n − m ∥ H − 2 ε ≤ 2 ε and so ∥ m n − m ∥ H ≤ ε \lVert m_n-m\rVert_{\mathcal{H}}\leq\varepsilon ∥ m n − m ∥ H ≤ ε as desired. In a similar way one can show that the covariance operators converge in operator norm. □
Under an additional assumption on the growth of G \mathcal{G} G we can derive rates of convergence . In addition to (A2) we make the assumption
(A3) There is C > 0 C>0 C > 0 , q > 0 q>0 q > 0 and ψ : N → R + \psi:\mathbb{N}\to\mathbb{R}_+ ψ : N → R + such that, for all θ ∈ H \theta\in\mathcal{H} θ ∈ H and n ∈ N n\in\mathbb{N} n ∈ N ,
∥ G ( θ ) ∥ H ′ ≤ C ( 1 + ∥ θ ∥ H q ) , ∥ G n ( θ ) ∥ H ′ ≤ C ( 1 + ∥ θ ∥ H q ) \lVert\mathcal{G}(\theta)\rVert_{\mathcal{H}'}\leq C(1+\lVert\theta\rVert_{\mathcal{H}}^q),\qquad\lVert\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}\leq C(1+\lVert\theta\rVert_{\mathcal{H}}^q) ∥ G ( θ ) ∥ H ′ ≤ C ( 1 + ∥ θ ∥ H q ) , ∥ G n ( θ ) ∥ H ′ ≤ C ( 1 + ∥ θ ∥ H q )
and
∥ G n ( θ ) − G ( θ ) ∥ H ′ ≤ C ψ ( n ) ∥ θ ∥ H q . \lVert\mathcal{G}_n(\theta)-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}\leq C\psi(n)\lVert\theta\rVert_{\mathcal{H}}^q. ∥ G n ( θ ) − G ( θ ) ∥ H ′ ≤ C ψ ( n ) ∥ θ ∥ H q .
(Of course we usually have that the rate of model approximation ψ ( n ) \psi(n) ψ ( n ) tends to zero as n → ∞ n\to\infty n → ∞ ; compare also with the more general version [57 Theorem 4.6] . Assumption (A3) allows us to prove a rate-dependent version of (14).
Proposition 3.3. Assume (A1) – (A3) and let h : H → R h:\mathcal{H}\to\mathbb{R} h : H → R be measurable with respect to the Borel σ \sigma σ -algebras on H \mathcal{H} H and R \mathbb{R} R such that ∣ h ( θ ) ∣ ≤ c ( 1 + ∥ θ ∥ H p ) |h(\theta)|\leq c(1+\lVert\theta\rVert_{\mathcal{H}}^p) ∣ h ( θ ) ∣ ≤ c ( 1 + ∥ θ ∥ H p ) for some c > 0 c>0 c > 0 , p ≥ 0 p\geq0 p ≥ 0 and all θ ∈ H \theta\in\mathcal{H} θ ∈ H . Then there is a constant C ′ ′ C'' C ′′ such that
∣ ∫ h ( θ ) π n y ( d θ ) − ∫ h ( θ ) π y ( d θ ) ∣ ≤ C ′ ′ ( ∥ y − y n ∥ H ′ + ψ ( n ) ) . \left|\int h(\theta)\pi_n^y(d\theta)-\int h(\theta)\pi^y(d\theta)\right|\leq C''(\lVert y-y_n\rVert_{\mathcal{H}'}+\psi(n)). ∫ h ( θ ) π n y ( d θ ) − ∫ h ( θ ) π y ( d θ ) ≤ C ′′ (∥ y − y n ∥ H ′ + ψ ( n )) .
Proof. Making use of the inequality
∣ e − b − e − a ∣ ≤ ∣ b − a ∣ for a , b ≥ 0 , |e^{-b}-e^{-a}|\leq|b-a|\quad\text{for }a,b\geq0, ∣ e − b − e − a ∣ ≤ ∣ b − a ∣ for a , b ≥ 0 ,
we can estimate
∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ = ∣ exp ( − 1 2 σ 2 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ H ′ 2 ) ∣ ≤ 1 2 σ 2 ∣ ∥ y n − G n ( θ ) ∥ H ′ 2 − ∥ y − G ( θ ) ∥ H ′ 2 ∣ = 1 2 σ 2 ∣ ∥ y n − G n ( θ ) ∥ H ′ − ∥ y − G ( θ ) ∥ H ′ ∣ ( ∥ y n − G n ( θ ) ∥ H ′ + ∥ y − G ( θ ) ∥ H ′ ) (15) \begin{aligned}
|\ell_n(\theta,y_n)-\ell(\theta,y)|
&=\left|\exp\left(-\frac{1}{2\sigma^2}\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2\right)-\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right)\right|\\
&\leq\frac{1}{2\sigma^2}\left|\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}^2-\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}^2\right|\\
&=\frac{1}{2\sigma^2}\left|\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}-\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}\right|\left(\lVert y_n-\mathcal{G}_n(\theta)\rVert_{\mathcal{H}'}+\lVert y-\mathcal{G}(\theta)\rVert_{\mathcal{H}'}\right) \tag*{(15)}
\end{aligned} ∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ = exp ( − 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 ) − exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ H ′ 2 ) ≤ 2 σ 2 1 ∥ y n − G n ( θ ) ∥ H ′ 2 − ∥ y − G ( θ ) ∥ H ′ 2 = 2 σ 2 1 ∣ ∥ y n − G n ( θ ) ∥ H ′ − ∥ y − G ( θ ) ∥ H ′ ∣ ( ∥ y n − G n ( θ ) ∥ H ′ + ∥ y − G ( θ ) ∥ H ′ ) (15)
Assuming that ∥ y n ∥ H ′ \|y_n\|_{\mathcal{H}'} ∥ y n ∥ H ′ , ∥ y ∥ H ′ ≤ r \|y\|_{\mathcal{H}'} \le r ∥ y ∥ H ′ ≤ r , we can bound the second factor on the right-hand side by
∥ y n − G n ( θ ) ∥ H ′ + ∥ y − G ( θ ) ∥ H ′ ≤ 2 ( r + C ( 1 + ∥ θ ∥ H q ) ) . \|y_n-\mathcal{G}_n(\theta)\|_{\mathcal{H}'}+\|y-\mathcal{G}(\theta)\|_{\mathcal{H}'}\le2\left(r+C(1+\|\theta\|_{\mathcal{H}}^q)\right). ∥ y n − G n ( θ ) ∥ H ′ + ∥ y − G ( θ ) ∥ H ′ ≤ 2 ( r + C ( 1 + ∥ θ ∥ H q ) ) .
Using the reverse triangle inequality, the first factor is estimated by
∣ ∥ y n − G n ( θ ) ∥ H ′ − ∥ y − G ( θ ) ∥ H ′ ∣ ≤ ∥ y n − G n ( θ ) − ( y − G ( θ ) ) ∥ H ′ ≤ ∥ y − y n ∥ H ′ + ∥ G n ( θ ) − G ( θ ) ∥ H ′ ≤ ∥ y − y n ∥ H ′ + C ψ ( n ) ∥ θ ∥ H q . \begin{aligned}
\left|\|y_n-\mathcal{G}_n(\theta)\|_{\mathcal{H}'}-\|y-\mathcal{G}(\theta)\|_{\mathcal{H}'}\right|
&\le\|y_n-\mathcal{G}_n(\theta)-(y-\mathcal{G}(\theta))\|_{\mathcal{H}'}\\
&\le\|y-y_n\|_{\mathcal{H}'}+\|\mathcal{G}_n(\theta)-\mathcal{G}(\theta)\|_{\mathcal{H}'}\\
&\le\|y-y_n\|_{\mathcal{H}'}+C\psi(n)\|\theta\|_{\mathcal{H}}^q.
\end{aligned} ∣ ∥ y n − G n ( θ ) ∥ H ′ − ∥ y − G ( θ ) ∥ H ′ ∣ ≤ ∥ y n − G n ( θ ) − ( y − G ( θ )) ∥ H ′ ≤ ∥ y − y n ∥ H ′ + ∥ G n ( θ ) − G ( θ ) ∥ H ′ ≤ ∥ y − y n ∥ H ′ + C ψ ( n ) ∥ θ ∥ H q .
Since all powers of ∥ θ ∥ H \|\theta\|_{\mathcal{H}} ∥ θ ∥ H are integrable with respect to π 0 ( d θ ) \pi_0(\mathrm{d}\theta) π 0 ( d θ ) , we get
∣ Z n ( y n ) − Z ( y ) ∣ ≤ ∫ ∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ π 0 ( d θ ) ≤ C ′ ( ∥ y − y n ∥ H ′ + ψ ( n ) ) . |Z_n(y_n)-Z(y)|\le\int|\ell_n(\theta,y_n)-\ell(\theta,y)|\pi_0(\mathrm{d}\theta)\le C'(\|y-y_n\|_{\mathcal{H}'}+\psi(n)). ∣ Z n ( y n ) − Z ( y ) ∣ ≤ ∫ ∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ π 0 ( d θ ) ≤ C ′ ( ∥ y − y n ∥ H ′ + ψ ( n )) .
for some constant C ′ C' C ′ . Since Z n ( y n ) Z_n(y_n) Z n ( y n ) and Z ( y ) Z(y) Z ( y ) are bounded from below by some constant a > 0 a>0 a > 0 , we also have
∣ 1 Z n ( y n ) − 1 Z ( y ) ∣ ≤ C ′ a 2 ( ∥ y − y n ∥ H ′ + ψ ( n ) ) . \left|\frac{1}{Z_n(y_n)}-\frac{1}{Z(y)}\right|\le\frac{C'}{a^2}(\|y-y_n\|_{\mathcal{H}'}+\psi(n)). Z n ( y n ) 1 − Z ( y ) 1 ≤ a 2 C ′ ( ∥ y − y n ∥ H ′ + ψ ( n )) .
Given a Borel measurable function h : H → R h:\mathcal{H}\to\mathbb{R} h : H → R such that ∣ h ( θ ) ∣ ≤ c ( 1 + ∥ θ ∥ H p ) |h(\theta)|\le c(1+\|\theta\|_{\mathcal{H}}^p) ∣ h ( θ ) ∣ ≤ c ( 1 + ∥ θ ∥ H p ) , we combine the estimates to get
∣ ∫ h ( θ ) π n y n ( d θ ) − ∫ h ( θ ) π y ( d θ ) ∣ = ∣ ∫ h ( θ ) ( 1 Z n ( y n ) ℓ n ( θ , y n ) − 1 Z ( y ) ℓ ( θ , y ) ) π 0 ( d θ ) ∣ ≤ ∫ ∣ h ( θ ) ∣ ( 1 Z n ( y n ) ∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ + ∣ 1 Z n ( y n ) − 1 Z ( y ) ∣ ℓ ( θ , y ) ) π 0 ( d θ ) ≤ C ′ ′ ( ∥ y − y n ∥ H ′ + ψ ( n ) ) . \begin{aligned}
\left|\int h(\theta)\pi_n^{y_n}(\mathrm{d}\theta)-\int h(\theta)\pi^y(\mathrm{d}\theta)\right|
&=\left|\int h(\theta)\left(\frac{1}{Z_n(y_n)}\ell_n(\theta,y_n)-\frac{1}{Z(y)}\ell(\theta,y)\right)\pi_0(\mathrm{d}\theta)\right|\\
&\le\int|h(\theta)|\left(\frac{1}{Z_n(y_n)}|\ell_n(\theta,y_n)-\ell(\theta,y)|+\left|\frac{1}{Z_n(y_n)}-\frac{1}{Z(y)}\right|\ell(\theta,y)\right)\pi_0(\mathrm{d}\theta)\\
&\le C''(\|y-y_n\|_{\mathcal{H}'}+\psi(n)).
\end{aligned} ∫ h ( θ ) π n y n ( d θ ) − ∫ h ( θ ) π y ( d θ ) = ∫ h ( θ ) ( Z n ( y n ) 1 ℓ n ( θ , y n ) − Z ( y ) 1 ℓ ( θ , y ) ) π 0 ( d θ ) ≤ ∫ ∣ h ( θ ) ∣ ( Z n ( y n ) 1 ∣ ℓ n ( θ , y n ) − ℓ ( θ , y ) ∣ + Z n ( y n ) 1 − Z ( y ) 1 ℓ ( θ , y ) ) π 0 ( d θ ) ≤ C ′′ ( ∥ y − y n ∥ H ′ + ψ ( n )) .
where we have used the previous estimates, the lower bound a a a for Z n ( y n ) Z_n(y_n) Z n ( y n ) and the fact that ℓ ( θ , y ) ≤ 1 \ell(\theta,y)\le1 ℓ ( θ , y ) ≤ 1 . This is the desired rate dependent version of (14) . □
In numerical approximations of π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) , an additional error is introduced by truncating the Karhunen-Loève expansion to a finite number of terms. In this respect, convergence results and error estimates can be found in [17 Section 2.3] . For further convergence results from different perspectives we refer to [40 , 47 ] .
Proposition 3.3 is especially relevant for finite element approximations G n \mathcal{G}_n G n of the solution operator G \mathcal{G} G to elliptic partial differential equations, where one has convergence rates in the appropriate Sobolev norms, see e.g. [45 Chapter 2] .
MCMC for measures
The Metropolis-Hastings algorithm presented in Subsection 2.4 was designed to produce a realization ξ 0 , ξ 1 , ξ 2 , … \xi_0,\xi_1,\xi_2,\ldots ξ 0 , ξ 1 , ξ 2 , … of a Markov chain on a state space S S S , assumed to be an open subset or the closure of an open subset of R d \mathbb{R}^d R d , such that its end pieces form a sample of a given probability distribution defined by a density π ( x ) \pi(x) π ( x ) (with respect to Lebesgue measure).
Here the state space is a Hilbert space H \mathcal{H} H , and the sought after probability distribution is a measure π \pi π which is absolutely continuous with respect to a given Gaussian measure π 0 \pi_0 π 0 on H \mathcal{H} H , with Radon-Nikodym derivative proportional to some ℓ ( θ ) > 0 \ell(\theta)>0 ℓ ( θ ) > 0 ,
d π d π 0 ( θ ) ∝ ℓ ( θ ) . \frac{\mathrm{d}\pi}{\mathrm{d}\pi_0}(\theta)\propto\ell(\theta). d π 0 d π ( θ ) ∝ ℓ ( θ ) .
The Markov chain will deliver a sample of an H \mathcal{H} H -valued random variable Θ \Theta Θ whose law is π \pi π . We assume that π 0 ∼ N ( 0 , C 0 ) \pi_0\sim\mathcal{N}(0,C_0) π 0 ∼ N ( 0 , C 0 ) with covariance operator C 0 C_0 C 0 .
Main references for this section are [13 , 18 ] . We present here just one of the MCMC-algorithms, the preconditioned Crank-Nicolson (pCN) algorithm.
Pick a starting value ξ 0 ∈ H \xi_0 \in\mathcal{H} ξ 0 ∈ H .
For k = 1 , … , N k = 1, \ldots, N k = 1 , … , N , propose a candidate η = ( 1 − β 2 ) 1 / 2 ξ k − 1 + β w k \eta= (1 - \beta^2)^{1/2}\xi_{k-1} + \beta w_k η = ( 1 − β 2 ) 1/2 ξ k − 1 + β w k , where w k ∼ N ( 0 , C 0 ) w_k \sim\mathcal{N}(0,\mathcal{C}_0) w k ∼ N ( 0 , C 0 ) .
Accept/reject step. Set
ξ k = { η with probability a ( ξ k − 1 , η ) = min ( 1 , ℓ ( η ) ℓ ( ξ k − 1 ) ) , ξ k − 1 with probability 1 − a ( ξ k − 1 , η ) . \xi_k =
\begin{cases}
\eta& \text{with probability } a(\xi_{k-1},\eta) = \min\left(1,\frac{\ell(\eta)}{\ell(\xi_{k-1})}\right),\\
\xi_{k-1} & \text{with probability } 1-a(\xi_{k-1},\eta).
\end{cases} ξ k = { η ξ k − 1 with probability a ( ξ k − 1 , η ) = min ( 1 , ℓ ( ξ k − 1 ) ℓ ( η ) ) , with probability 1 − a ( ξ k − 1 , η ) .
The accept/reject step is effected in the same way as in the finite dimensional case (Subsection 2.4). Here 0 < β < 1 0 < \beta< 1 0 < β < 1 is an adjustable parameter, which affects the behavior of the chain (as can be seen by considering the extreme cases β = 0 \beta= 0 β = 0 , β = 1 \beta= 1 β = 1 ).
Remarks. (a) A realization of w k w_k w k is simply obtained by drawing from the Karhunen-Loève expansion of C 0 \mathcal{C}_0 C 0 . Other sampling methods are described in Example 4 and Remark (d) at the end of Subsection 5.4.
(b) The relation to the finite dimensional algorithm can be illustrated as follows. Suppose the transition kernel q ( x , y ) q(x,y) q ( x , y ) is of the form q ( x , y ) = q ( x − y ) q(x,y) = q(x-y) q ( x , y ) = q ( x − y ) where q ( ⋅ ) q(\cdot) q ( ⋅ ) is the density of a centered Gaussian variable with covariance matrix C C C . Then the candidate η \eta η in Subsection 2.4 is simply obtained by setting η = ξ k − 1 + w k \eta= \xi_{k-1} + w_k η = ξ k − 1 + w k , where w k w_k w k is a draw from N ( 0 , C ) \mathcal{N}(0,C) N ( 0 , C ) . This is usually referred to as the standard random walk proposal . It is argued in [13 Sections 4.2 and 6.1] that this proposal is not suitable in infinite dimension; rather the modified version with the factor β \beta β should be used to obtain the required ergodic properties of the Markov chain.
(c) The pCN-method is derived from a Langevin algorithm , starting from a Langevin-type diffusion equation having π 0 \pi_0 π 0 or π \pi π as invariant measure, discretizing the equation and then inserting a Metropolis-Hastings accept/reject step to produce the desired Markov chain from the discrete time step solution. In the infinite dimensional case, two such Langevin equations were considered in [6 ] , one in plain and one in preconditioned form. Discretization by an implicit Euler scheme led the authors to the algorithm PIA (preconditioned implicit algorithm). Motivated by the fact that the equation contains the covariance operator and its inverse (commonly a second order elliptic differential operator), the method was later renamed to pCN in [13 ] , see also [34 ] for a brief discussion.
(d) In the literature, the Radon-Nikodym derivative is usually written in terms of a potential Φ ( θ ) ≥ 0 \Phi(\theta) \ge0 Φ ( θ ) ≥ 0 as ℓ ( θ ) = exp ( − Φ ( θ ) ) \ell(\theta) = \exp(-\Phi(\theta)) ℓ ( θ ) = exp ( − Φ ( θ )) . One may reformulate the accept-reject step by saying that the acceptance probability for the candidate η \eta η is a ( ξ k − 1 , η ) a(\xi_{k-1},\eta) a ( ξ k − 1 , η ) where
a ( u , v ) = min ( 1 , exp ( Φ ( u ) − Φ ( v ) ) ) ( = min ( 1 , ℓ ( v ) / ℓ ( u ) ) ) . (16) a(u,v) = \min\left(1,\exp(\Phi(u)-\Phi(v))\right) \; \left(= \min\left(1,\ell(v)/\ell(u)\right)\right). \tag*{(16)} a ( u , v ) = min ( 1 , exp ( Φ ( u ) − Φ ( v )) ) ( = min ( 1 , ℓ ( v ) / ℓ ( u ) ) ) . (16)
The question of convergence of the pCN-algorithm is addressed in Subsection 5.3. It will be seen that the pCN-chain satisfies the detailed balance condition and has certain ergodicity properties.
Applications
Reconstruction of parameters in a nonlinear spring model
The first example illustrates finite dimensional Bayesian inversion in a nonlinear model. We consider the nonlinear spring
x ¨ ( t ) + 10 x ( t ) + c x ( t ) ∣ x ( t ) ∣ a − 1 = 0 , t ∈ [ 0 , T ] , \ddot{x}(t) + 10x(t) + cx(t)|x(t)|^{a-1} = 0,\quad t \in[0,T], x ¨ ( t ) + 10 x ( t ) + c x ( t ) ∣ x ( t ) ∣ a − 1 = 0 , t ∈ [ 0 , T ] ,
x ( 0 ) = x 0 , x ˙ ( 0 ) = x ˙ 0 . (17) x(0) = x_0,\quad\dot{x}(0) = \dot{x}_0. \tag*{(17)} x ( 0 ) = x 0 , x ˙ ( 0 ) = x ˙ 0 . (17)
The value of the spring constant k = 10 k = 10 k = 10 is chosen for convenience. The goal is to reconstruct the coefficient c c c in front of the nonlinear term and the exponent a a a . To set up the forward (and observational) model, recall that the energy
E = 1 2 x ˙ 2 + 5 x 2 + c a + 1 ∣ x ∣ a + 1 E = \frac{1}{2}\dot{x}^{2} + 5x^{2} + \frac{c}{a+1}|x|^{a+1} E = 2 1 x ˙ 2 + 5 x 2 + a + 1 c ∣ x ∣ a + 1
is conserved. From the phase diagram one reads off that the maximal velocity x ˙ max \dot{x}_{\max} x ˙ m a x occurs when x = 0 x=0 x = 0 . Thus x ˙ max = 2 E \dot{x}_{\max}=\sqrt{2E} x ˙ m a x = 2 E . Specializing to the case when the spring is at rest initially (x ˙ 0 = 0 \dot{x}_0=0 x ˙ 0 = 0 ) and combining this with energy conservation gives the relation
x ˙ max = 2 ( 5 x 0 2 + c a + 1 ∣ x 0 ∣ a + 1 ) 1 / 2 . \dot{x}_{\max} = \sqrt{2}\left(5x_0^{2}+\frac{c}{a+1}|x_0|^{a+1}\right)^{1/2}. x ˙ m a x = 2 ( 5 x 0 2 + a + 1 c ∣ x 0 ∣ a + 1 ) 1/2 .
Thus at fixed parameter values θ = ( a , c ) \theta=(a,c) θ = ( a , c ) , Y = x ˙ max Y=\dot{x}_{\max} Y = x ˙ m a x is a function of X = x 0 X=x_0 X = x 0 . This will serve as our forward model Y = F ( X , Θ ) Y=\mathcal{F}(X,\Theta) Y = F ( X , Θ ) . The forward map is evaluated by computing a trajectory x ( t ) x(t) x ( t ) with given x 0 x_0 x 0 and calculating x ˙ max = max t ∈ [ 0 , T ] x ˙ ( t ) \dot{x}_{\max}=\max_{t\in[0,T]}\dot{x}(t) x ˙ m a x = max t ∈ [ 0 , T ] x ˙ ( t ) . The trajectories are computed by a modified forward Euler scheme applied to the ( 2 × 2 ) (2\times2) ( 2 × 2 ) -system for ( x , x ˙ ) (x,\dot{x}) ( x , x ˙ ) where each component is successively updated, formally
x i + 1 = x i + Δ t x ˙ i , x ˙ i + 1 = x ˙ i − Δ t ( x i + 1 + c x i + 1 ∣ x i + 1 ∣ a − 1 ) . (18) \begin{aligned}
x_{i+1} &= x_i+\Delta t\,\dot{x}_i,\\
\dot{x}_{i+1} &= \dot{x}_i-\Delta t\left(x_{i+1}+c x_{i+1}|x_{i+1}|^{a-1}\right). \tag*{(18)}
\end{aligned} x i + 1 x ˙ i + 1 = x i + Δ t x ˙ i , = x ˙ i − Δ t ( x i + 1 + c x i + 1 ∣ x i + 1 ∣ a − 1 ) . (18)
Observed data. The observed data will be artificially generated as stochastically perturbed solutions with reference parameters a ∗ = 3 a_* = 3 a ∗ = 3 , c ∗ = 10 c_* = 10 c ∗ = 10 , that is, as solutions to the Itô stochastic differential equation
x ¨ ( t ) + 10 x ( t ) + 10 x ( t ) ∣ x ( t ) ∣ 2 = σ n o i s e B ˙ t , t ∈ [ 0 , T ] , x ( 0 ) = x 0 , x ˙ ( 0 ) = 0 , (19) \begin{aligned}
\ddot{x}(t)+10x(t)+10x(t)|x(t)|^{2} &= \sigma_{\mathrm{noise}}\dot{B}_t,\quad t\in[0,T],\\
x(0)&=x_0,\quad\dot{x}(0)=0, \tag*{(19)}
\end{aligned} x ¨ ( t ) + 10 x ( t ) + 10 x ( t ) ∣ x ( t ) ∣ 2 x ( 0 ) = σ noise B ˙ t , t ∈ [ 0 , T ] , = x 0 , x ˙ ( 0 ) = 0 , (19)
where B t B_t B t is standard Brownian motion. The stochastic differential equation is solved numerically by the Euler-Maruyama scheme corresponding to (17). In the present example, we took T = π T=\pi T = π , Δ t = π / 1000 \Delta t=\pi/1000 Δ t = π /1000 , σ n o i s e = 0.1 \sigma_{\mathrm{noise}}=0.1 σ noise = 0.1 and the seven values of x 0 = 0.5 , 1.0 , 1.5 , … , 3.5 x_0=0.5,1.0,1.5,\ldots,3.5 x 0 = 0.5 , 1.0 , 1.5 , … , 3.5 . The observed data y o b s y_{\mathrm{obs}} y obs consisted of the corresponding seven maximal velocities obtained with seven random realizations of Brownian motion. Typical trajectories of the unperturbed system (16) and the noisy system (18) with x ( 0 ) = 1 x(0)=1 x ( 0 ) = 1 , x ˙ ( 0 ) = 0 \dot{x}(0)=0 x ˙ ( 0 ) = 0 are shown in Figure 1 .
Figure 1. True and perturbed trajectory for x 0 = 1 x_0=1 x 0 = 1 .
The error distribution. We allowed for two types of error – a model error E 1 E_1 E 1 due to the randomness of the trajectories of (18) and a measurement error E 2 E_2 E 2 in the values of the maximal velocities. We considered the errors as additive, independent and Gaussian distributed, resulting in the model
Y = F ( X , Θ ) + E 1 + E 2 . Y=\mathcal{F}(X,\Theta)+E_1+E_2. Y = F ( X , Θ ) + E 1 + E 2 .
The covariance matrix Σ E 1 \Sigma_{E_1} Σ E 1 was estimated by running the model (19) 500 times and taking the empirical covariance matrix of the 500 observation vectors y o b s y_{\mathrm{obs}} y obs , which resulted in
Σ E 1 = ( 0.0102 0.0006 − 0.0003 − 0.0002 − 0.0001 − 0.0005 − 0.0000 0.0006 0.0093 − 0.0001 − 0.0004 0.0004 − 0.0003 0.0004 − 0.0003 − 0.0001 0.0070 0.0002 − 0.0002 0.0002 − 0.0001 − 0.0002 − 0.0004 0.0002 0.0089 0.0002 − 0.0001 0.0002 − 0.0001 0.0004 − 0.0002 0.0002 0.0087 − 0.0001 0.0002 − 0.0005 − 0.0003 0.0002 − 0.0001 − 0.0001 0.0081 − 0.0003 − 0.0000 0.0004 − 0.0001 0.0002 0.0002 − 0.0003 0.0085 ) \Sigma_{E_1} =
\begin{pmatrix}
0.0102 & 0.0006 & -0.0003 & -0.0002 & -0.0001 & -0.0005 & -0.0000 \\
0.0006 & 0.0093 & -0.0001 & -0.0004 & 0.0004 & -0.0003 & 0.0004 \\
-0.0003 & -0.0001 & 0.0070 & 0.0002 & -0.0002 & 0.0002 & -0.0001 \\
-0.0002 & -0.0004 & 0.0002 & 0.0089 & 0.0002 & -0.0001 & 0.0002 \\
-0.0001 & 0.0004 & -0.0002 & 0.0002 & 0.0087 & -0.0001 & 0.0002 \\
-0.0005 & -0.0003 & 0.0002 & -0.0001 & -0.0001 & 0.0081 & -0.0003 \\
-0.0000 & 0.0004 & -0.0001 & 0.0002 & 0.0002 & -0.0003 & 0.0085
\end{pmatrix} Σ E 1 = 0.0102 0.0006 − 0.0003 − 0.0002 − 0.0001 − 0.0005 − 0.0000 0.0006 0.0093 − 0.0001 − 0.0004 0.0004 − 0.0003 0.0004 − 0.0003 − 0.0001 0.0070 0.0002 − 0.0002 0.0002 − 0.0001 − 0.0002 − 0.0004 0.0002 0.0089 0.0002 − 0.0001 0.0002 − 0.0001 0.0004 − 0.0002 0.0002 0.0087 − 0.0001 0.0002 − 0.0005 − 0.0003 0.0002 − 0.0001 − 0.0001 0.0081 − 0.0003 − 0.0000 0.0004 − 0.0001 0.0002 0.0002 − 0.0003 0.0085
For the measurement errors we simply took Σ E 2 \Sigma_{E_2} Σ E 2 as 0.01 times the unit matrix. Due to the independence assumption, the covariance matrix of the combined error E = E 1 + E 2 E = E_1 + E_2 E = E 1 + E 2 equals Σ E = Σ E 1 + Σ E 2 \Sigma_E = \Sigma_{E_1} + \Sigma_{E_2} Σ E = Σ E 1 + Σ E 2 . The probability distribution of the error is then given by (6) . This results in the likelihood function (8) , which is also depicted in Figure 2 .
Figure 2. Contour plot and 3D-plot of likelihood function.
The maximum likelihood estimate for the parameters is a = 3.0380 a = 3.0380 a = 3.0380 , c = 9.7250 c = 9.7250 c = 9.7250 .
The prior and the posterior distribution. In order not to prejudice the results, we assumed an improper prior; the parameters a , c a,c a , c to be estimated are far from zero, so no cut-off was needed either and we could take the prior as constant everywhere. In this situation, the posterior density is simply proportional to the likelihood function and can be computed by normalization.
The posterior estimators can be obtained by numerical integration. We used a grid of size ( 100 × 100 ) (100 \times100) ( 100 × 100 ) on the relevant domain [ 2.9 , 3.2 ] × [ 8.5 , 11.0 ] [2.9, 3.2] \times[8.5, 11.0] [ 2.9 , 3.2 ] × [ 8.5 , 11.0 ] . The numerical results are summarized in Table 1 .
Table 1. Posterior estimators obtained by numerical integration.
Parameter settings for the Metropolis-Hastings algorithm. The Markov chain has two components ξ = ( ξ a , ξ c ) \xi= (\xi^a,\xi^c) ξ = ( ξ a , ξ c ) corresponding to the parameters ( a , c ) (a,c) ( a , c ) to be reconstructed. As proposal distribution we chose a two-dimensional Gaussian kernel. We started with a diagonal covariance matrix Σ i n i t \Sigma_{\mathrm{init}} Σ init with variances σ a 2 = 0.01 , σ c 2 = 1 \sigma_a^2 = 0.01,\sigma_c^2 = 1 σ a 2 = 0.01 , σ c 2 = 1 corresponding roughly to the mean fluctuations of ( a , c ) (a,c) ( a , c ) as read off from Figure 2 . For the purpose of demonstration, we took ( ξ a , ξ c ) = ( 1 , 10 ) (\xi^{a},\xi^{c}) = (1,10) ( ξ a , ξ c ) = ( 1 , 10 ) as initial point for the chain (one value far from the reference value, one identical with it). We generated chains of length N = 5000 N = 5000 N = 5000 . A first run of the MCMC-algorithm with Σ i n i t \Sigma_{\mathrm{init}} Σ init revealed that the components ( ξ a , ξ c ) (\xi^{a},\xi^{c}) ( ξ a , ξ c ) are highly correlated with a correlation coefficient of − 0.98 -0.98 − 0.98 . This suggested to implement the correlation in the proposal distribution as well, so that the further MCMC-runs were done with a covariance matrix Σ p r o p \Sigma_{\mathrm{prop}} Σ prop as shown.
Σ i n i t = ( 0.01 0 0 1 ) , Σ p r o p = ( 0.01 − 0.098 − 0.098 1 ) . \Sigma_{\mathrm{init}} =
\begin{pmatrix}
0.01 & 0 \\
0 & 1
\end{pmatrix},
\qquad
\Sigma_{\mathrm{prop}} =
\begin{pmatrix}
0.01 & -0.098 \\
-0.098 & 1
\end{pmatrix}. Σ init = ( 0.01 0 0 1 ) , Σ prop = ( 0.01 − 0.098 − 0.098 1 ) .
The first question to address is the duration of the burn-in phase. Figure 3 shows the first 1000 elements of the chain. It can be seen that the burn-in phase ends well before index k = 300 k = 300 k = 300 . We decided to use the chains from k = 500 k = 500 k = 500 to k = 5000 k = 5000 k = 5000 for the subsequent statistical evaluation. The right picture in Figure 3 nicely shows the effect of the correlation in the proposal distribution.
Statistical evaluation of the Markov chain. As noted in Subsection 2.4, the end pieces of the Markov chain can serve as a sample of the posterior distribution. The chains from index k = 500 k = 500 k = 500 to N = 5000 N = 5000 N = 5000 are depicted in the upper row of Figure 4 . A visual check suggests that the stationary state has been reached and that the mixing properties are good. The acceptance rate turned out to be at the near-optimal value of 24%.
Histograms of the sample provided by the end pieces of the Markov chain are shown in Figure 4 , lower row. The sample statistics may serve as approximations to the corresponding posterior estimators. The results are listed in Table 2 .
Table 2. Posterior estimators obtained from Markov chain, noisy data.
The somewhat low accuracy is caused by the fact that we used a perturbed trajectory as reference solution. For comparison, we show the same estimates with an unperturbed trajectory as reference solution in Table 3 .
Table 3. Posterior estimators obtained from Markov chain, exact data.
An inverse problem for the two-dimensional Poisson equation
This subsection exemplifies a Bayesian inverse problem in infinite dimensions. Consider the Poisson equation on the square D = ( 0 , 1 ) × ( 0 , 1 ) D=(0,1)\times(0,1) D = ( 0 , 1 ) × ( 0 , 1 ) ,
Δ u ( x 1 , x 2 ) = θ ( x 1 , x 2 ) , ( x 1 , x 2 ) ∈ D , u ( x 1 , x 2 ) = 0 , ( x 1 , x 2 ) ∈ ∂ D . (20) \begin{aligned}
\Delta u(x_1,x_2) &= \theta(x_1,x_2), \qquad(x_1,x_2)\in D,\\
u(x_1,x_2) &= 0, \qquad(x_1,x_2)\in\partial D. \tag*{(20)}
\end{aligned} Δ u ( x 1 , x 2 ) u ( x 1 , x 2 ) = θ ( x 1 , x 2 ) , ( x 1 , x 2 ) ∈ D , = 0 , ( x 1 , x 2 ) ∈ ∂ D . (20)
The goal is to reconstruct the right-hand side θ \theta θ from an observed solution u = u o b s u=u_{\mathrm{obs}} u = u obs . It is well-known that the forward operator G \mathcal{G} G which maps the right-hand side θ \theta θ to the solution u u u is a linear isomorphism from L 2 ( D ) L^2(D) L 2 ( D ) to H 2 ( D ) ∩ H 0 1 ( D ) H^2(D)\cap H_0^1(D) H 2 ( D ) ∩ H 0 1 ( D ) . For the purpose of the Bayesian inverse problem, we view G \mathcal{G} G as a continuous linear operator from H = L 2 ( D ) \mathcal{H}=L^2(D) H = L 2 ( D ) to H ′ = L 2 ( D ) \mathcal{H}'=L^2(D) H ′ = L 2 ( D ) .
As examples, we will take right-hand sides (a) of pyramid shape and (b) equal to a constant, namely
(a) θ ( x 1 , x 2 ) = 0.1 + 0.9 ( 1 2 − ∣ x 1 − 1 2 ∣ ) ( 1 2 − ∣ x 2 − 1 2 ∣ ) , (b) θ ( x 1 , x 2 ) ≡ 1. \text{(a)}\quad\theta(x_1,x_2)=0.1+0.9\left(\frac{1}{2}-\left|x_1-\frac{1}{2}\right|\right)\left(\frac{1}{2}-\left|x_2-\frac{1}{2}\right|\right),\qquad
\text{(b)}\quad\theta(x_1,x_2)\equiv1. (a) θ ( x 1 , x 2 ) = 0.1 + 0.9 ( 2 1 − x 1 − 2 1 ) ( 2 1 − x 2 − 2 1 ) , (b) θ ( x 1 , x 2 ) ≡ 1.
Equation (19) will be solved numerically by a standard finite difference scheme as described e.g. in [12 Section 11.2] on a grid of size 20 × 20 20\times20 20 × 20 .
Observed data. The observed data are artificially generated by perturbing the right-hand side with independent Gaussian noises at the interior grid points, that is, we add a random realization of a Gaussian N ( 0 , σ n o i s e 2 I 19 × 19 ) \mathcal{N}(0,\sigma_{\mathrm{noise}}^2 I_{19\times19}) N ( 0 , σ noise 2 I 19 × 19 ) to the discretized right-hand sides, choosing
(a) σ n o i s e = 0.01 , (b) σ n o i s e = 0.1. \text{(a)}\quad\sigma_{\mathrm{noise}}=0.01,\qquad
\text{(b)}\quad\sigma_{\mathrm{noise}}=0.1. (a) σ noise = 0.01 , (b) σ noise = 0.1.
The corresponding (noisy) numerical solutions u ∈ L 2 ( D ) u\in L^2(D) u ∈ L 2 ( D ) of (19) serve as observations. For the sake of consistency with the previous notation, we write again y = y o b s y=y_{\mathrm{obs}} y = y obs for the observed data.
The likelihood function. We take the likelihood function of the form (11), that is,
ℓ ( θ , y ) = exp ( − 1 2 σ 2 ∥ y − G ( θ ) ∥ L 2 ( D ) 2 ) \ell(\theta,y)=\exp\left(-\frac{1}{2\sigma^2}\lVert y-\mathcal{G}(\theta)\rVert_{L^2(D)}^2\right) ℓ ( θ , y ) = exp ( − 2 σ 2 1 ∥ y − G ( θ ) ∥ L 2 ( D ) 2 )
where the error variance σ 2 \sigma^2 σ 2 is considered as a parameter to be tuned in the algorithm. In the discretization, the L 2 ( D ) L^2(D) L 2 ( D ) -norm is approximated by Riemann sums.
The prior distribution and the solution of the inverse problem. The priors are taken as centered Gaussian measures π 0 ( d θ ) ∼ N ( 0 , C 0 ) \pi_0(\mathrm{d}\theta)\sim\mathcal{N}(0,C_0) π 0 ( d θ ) ∼ N ( 0 , C 0 ) on L 2 ( D ) L^2(D) L 2 ( D ) . The covariance operator is taken of the form C 0 = τ C α C_0=\tau C_\alpha C 0 = τ C α with C α C_\alpha C α as defined in Example 3 of Subsection 5.4 and a scaling parameter τ > 0 \tau>0 τ > 0 . As indicated in Subsection 3.1, the solution of the Bayesian inverse problem is considered to be the measure π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) given by (12). The reconstruction of the right-hand side of (19) is obtained as the mean of a realization of a random field distributed according to π y ( d θ ) \pi^y(\mathrm{d}\theta) π y ( d θ ) . This realization is obtained using the pCN-algorithm described in Subsection 3.3.
The starting values ξ 0 \xi_0 ξ 0 of the chains are chosen as
(a) ξ 0 ( x 1 , x 2 ) = ( 1 2 − ∣ x 1 − 1 2 ∣ ) ( 1 2 − ∣ x 2 − 1 2 ∣ ) , (b) ξ 0 ≡ 0. \text{(a)}\quad\xi_0(x_1,x_2)=\left(\frac{1}{2}-\left|x_1-\frac{1}{2}\right|\right)\left(\frac{1}{2}-\left|x_2-\frac{1}{2}\right|\right),\qquad
\text{(b)}\quad\xi_0\equiv0. (a) ξ 0 ( x 1 , x 2 ) = ( 2 1 − x 1 − 2 1 ) ( 2 1 − x 2 − 2 1 ) , (b) ξ 0 ≡ 0.
Experience from the finite dimensional example in Subsection 4.1 shows that the starting value should be chosen not too far away from the parameters to be reconstructed (to avoid a long burn-in phase), whence the choice in (a). In case (b) it turned out that the starting value need not be close to the constant to be reconstructed. To demonstrate this, we chose zero as initial value.
Parameter settings for the pCN-algorithm. There are four parameters in the algorithm: the two variance scaling parameters σ \sigma σ , τ \tau τ , the parameter β \beta β in the proposal step, and the smoothness parameter α \alpha α of the prior covariance operator. In addition, the Karhunen-Loève expansion needs to be truncated at length N K L N_{\mathrm{KL}} N KL . Further, it has to be checked what length N M C N_{\mathrm{MC}} N MC of the Markov chain is required and what length N B I N_{\mathrm{BI}} N BI of the burn in phase should be chosen. In all cases, we choose
N K L = 500 , N M C = 5000 , N B I = 2500. N_{\mathrm{KL}} = 500,\quad N_{\mathrm{MC}} = 5000,\quad N_{\mathrm{BI}} = 2500. N KL = 500 , N MC = 5000 , N BI = 2500.
We tried various values of the smoothness parameter α \alpha α . From the theory, we must take α > 1 \alpha> 1 α > 1 . The larger α \alpha α , the faster is the convergence of the Karhunen-Loève expansion and the smoother is the corresponding random field. Generally, α = 4 \alpha= 4 α = 4 turned out to be a good choice, but we also considered α = 3 \alpha= 3 α = 3 , α = 2 \alpha= 2 α = 2 . For the remaining parameters one can find some recommendations in the literature [13 Section 4.2] , but in the end one has to tune them experimentally by trial and error.
Our final choices were
(a) β = 0.02 \beta= 0.02 β = 0.02 , σ = 0.001 \sigma= 0.001 σ = 0.001 , τ = 10 \tau= 10 τ = 10 , \hspace{2em} (b) β = 0.02 \beta= 0.02 β = 0.02 , σ = 0.0001 \sigma= 0.0001 σ = 0.0001 , τ = 1 \tau= 1 τ = 1 .
Results for case (a). Figure 5 shows the reference right-hand side to be reconstructed, the noisy version used for computing the observed data, the chosen starting value and the reconstructed right-hand side with α = 4 \alpha= 4 α = 4 and α = 3 \alpha= 3 α = 3 . One can see that the reconstruction with α = 3 \alpha= 3 α = 3 exhibits some random perturbations. The acceptance rates were about 15% in both cases.
Figure 5. Case (a): reference right-hand side (top left), noisy perturbation of right-hand side (top center), starting value (top right); reconstruction with α = 4 \alpha= 4 α = 4 (bottom left), reconstruction with α = 3 \alpha= 3 α = 3 (bottom right). Note that the surface plots show only the interior points of the square, as computed by the finite difference scheme. The missing boundary data are constants.
The pCN-algorithm produces 19 2 19^2 1 9 2 individual (correlated) chains at each interior grid point. For further illumination, we show the behavior of the chain corresponding to the center point x 1 = x 2 = 1 / 2 x_1 = x_2 = 1/2 x 1 = x 2 = 1/2 . Figure 6 shows the chain including burn-in phase, the second half of the chain, and a histogram of the random realization of Θ \Theta Θ at this point with α = 4 \alpha= 4 α = 4 , produced from the second half of the chain. Table 4 lists some statistical estimates of Θ \Theta Θ evaluated at the center point.
Table 4. Case (a): Statistical evaluation of Markov chain at center point after burn-in.
For completeness, we show that for α = 2 \alpha= 2 α = 2 the chain fails to converge (at least up to N M C = 5000 N_{\mathrm{MC}} = 5000 N MC = 5000 ). Figure 7 depicts the chain evaluated at the center point and the reconstructed mean. The bad behavior of the chain is clearly visible; its mean after burn-in equals 0.2941, its standard deviation is 0.0748. The reconstruction of the right-hand side is equally wrong.
Figure 7. Case (a): Failure of convergence when α = 2 \alpha= 2 α = 2 . Chain at center point (left), second half of chain at center point (center), failed reconstruction of right-hand side (right).
Results for case (b). In this case, we seek to reconstruct a constant right-hand side (equal to one). As initial value of the chain we took ξ 0 ≡ 0 \xi_0 \equiv0 ξ 0 ≡ 0 . The acceptance rate was 16.5%. Figure 8 shows the noisy reference right-hand side and the reconstructed constant, choosing α = 4 \alpha= 4 α = 4 . The reconstruction is very smooth; in order to make the small fluctuations visible, we also zoom in near height one. In Figure 9 , the behavior of the chain at the center point x 1 = x 2 = 1 / 2 x_1 = x_2 = 1/2 x 1 = x 2 = 1/2 as well as a histogram of the random sample of Θ \Theta Θ at this point (generated from the second half of the chain) can be seen. Since the reconstructed right-hand side is (nearly) constant, it makes sense to evaluate the total mean and standard deviation of all 19 2 19^2 1 9 2 chains at the interior grid points. The values are listed in Table 5 , together with the values obtained from observations generated by the unperturbed, strictly constant right-hand side. We also executed the pCN-algorithm with α < 4 \alpha< 4 α < 4 . We found convergence down to α = 2 \alpha= 2 α = 2 , but not below.
Table 5. Case (b): Statistical evaluation of Markov chain at center point after burn-in, noisy data vs. exact data.
Figure 8. Case (b): Constant reference right-hand side perturbed by noise (left), reconstructed constant (center), zoom near height one to visualize the small fluctuation of the reconstructed constant (right).
Figure 9. Case (b): Markov chain at center point (left), Markov chain after burn-in (center), histogram of values sampled at center point after burn-in (right).
Tools from probability and measure theory
Conditional distributions
In the finite dimensional case treated in § 2 , the elementary notion of conditional probability densities π ( θ ∣ y ) \pi(\theta|y) π ( θ ∣ y ) turned out to be sufficient. However, for the theory of Markov chains and for Bayesian inversion in infinite dimensional spaces, the general notion of conditional distributions of random variables is required. The goal of this subsection is to rigorously introduce the concepts of conditional expectation, conditional probability and conditional distributions. A short introduction to conditional probabilities is in [1 Section 1.7] ; full details can be found in [4 Chapter X] and in [20 Sections 10.1 and 10.2] .
In what follows H \mathcal{H} H , H ′ \mathcal{H}' H ′ will be separable Hilbert spaces, equipped with their Borel σ \sigma σ -algebras B = B ( H ) \mathcal{B}=\mathcal{B}(\mathcal{H}) B = B ( H ) , B ′ = B ( H ′ ) \mathcal{B}'=\mathcal{B}(\mathcal{H}') B ′ = B ( H ′ ) . Let ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) be a probability space, A ′ \mathcal{A}' A ′ a sub-σ \sigma σ -algebra of A \mathcal{A} A and let Θ ∈ L 1 ( Ω ) \Theta\in L^{1}(\Omega) Θ ∈ L 1 ( Ω ) be an A \mathcal{A} A -measurable and P P P -integrable random variable with values in H \mathcal{H} H . In general, Θ \Theta Θ is no longer measurable with respect to the coarser σ \sigma σ -algebra A ′ \mathcal{A}' A ′ . However, there is an (almost surely unique) A ′ \mathcal{A}' A ′ -measurable random variable Θ ′ \Theta' Θ ′ such that
∫ A ′ Θ ′ ( ω ) P ( d ω ) = ∫ A ′ Θ ( ω ) P ( d ω ) \int_{A'}\Theta'(\omega)P(\mathrm{d}\omega)=\int_{A'}\Theta(\omega)P(\mathrm{d}\omega) ∫ A ′ Θ ′ ( ω ) P ( d ω ) = ∫ A ′ Θ ( ω ) P ( d ω )
for all A ′ ∈ A ′ A'\in\mathcal{A}' A ′ ∈ A ′ . Its existence follows from an application of the Radon-Nikodym theorem. The random variable Θ ′ \Theta' Θ ′ is called the conditional expectation of Θ \Theta Θ given A ′ \mathcal{A}' A ′ and is denoted by E ( Θ ∣ A ′ ) E(\Theta|\mathcal{A}') E ( Θ∣ A ′ ) ; we have that
∫ A ′ E ( Θ ∣ A ′ ) ( ω ) P ( d ω ) = ∫ A ′ Θ ( ω ) P ( d ω ) \int_{A'}E(\Theta|\mathcal{A}')(\omega)P(\mathrm{d}\omega)=\int_{A'}\Theta(\omega)P(\mathrm{d}\omega) ∫ A ′ E ( Θ∣ A ′ ) ( ω ) P ( d ω ) = ∫ A ′ Θ ( ω ) P ( d ω )
for all A ′ ∈ A ′ A'\in\mathcal{A}' A ′ ∈ A ′ . If Θ ∈ L 2 ( Ω ) \Theta\in L^{2}(\Omega) Θ ∈ L 2 ( Ω ) , the conditional expectation can also be viewed as the orthogonal projection of Θ \Theta Θ to the subspace of L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) of A ′ \mathcal{A}' A ′ -measurable functions [5 Theorem 15.8] .
Given A ∈ A A \in\mathcal{A} A ∈ A , we can apply the construction of conditional expectation to the real-valued random variable 1 A \mathbf{1}_{A} 1 A . The conditional probability of the event A ∈ A A \in\mathcal{A} A ∈ A given A ′ \mathcal{A}' A ′ is defined as P ( A ∣ A ′ ) ( ω ) = E ( 1 A ∣ A ′ ) ( ω ) P(A|\mathcal{A}')(\omega)=E(\mathbf{1}_{A}|\mathcal{A}')(\omega) P ( A ∣ A ′ ) ( ω ) = E ( 1 A ∣ A ′ ) ( ω ) . It has the property that
∫ A ′ P ( A ∣ A ′ ) ( ω ) P ( d ω ) = P ( A ′ ∩ A ) , A ∈ A , A ′ ∈ A ′ . \int_{A'} P(A|\mathcal{A}')(\omega)P(\mathrm{d}\omega)=P(A'\cap A), \qquad A \in\mathcal{A}, A' \in\mathcal{A}'. ∫ A ′ P ( A ∣ A ′ ) ( ω ) P ( d ω ) = P ( A ′ ∩ A ) , A ∈ A , A ′ ∈ A ′ .
Example. If A ′ = { ∅ , A ′ , A ′ ′ = Ω ∖ A ′ , Ω } \mathcal{A}'=\{\emptyset,A',A''=\Omega\setminus A',\Omega\} A ′ = { ∅ , A ′ , A ′′ = Ω ∖ A ′ , Ω } , then P ( A ∣ A ′ ) ( ω ) = P ( A ′ ∩ A ) / P ( A ′ ) P(A|\mathcal{A}')(\omega)=P(A'\cap A)/P(A') P ( A ∣ A ′ ) ( ω ) = P ( A ′ ∩ A ) / P ( A ′ ) for ω ∈ A ′ \omega\in A' ω ∈ A ′ and similarly with A ′ ′ A'' A ′′ in the role of A ′ A' A ′ .
Let Y : Ω → H ′ Y:\Omega\to\mathcal{H}' Y : Ω → H ′ be an A \mathcal{A} A -B ′ \mathcal{B}' B ′ measurable function and let A ′ \mathcal{A}' A ′ be the σ \sigma σ -algebra generated by the inverse images Y − 1 ( B ′ ) Y^{-1}(B') Y − 1 ( B ′ ) , B ′ ∈ B ′ B'\in\mathcal{B}' B ′ ∈ B ′ . The conditional expectation of Θ \Theta Θ given Y Y Y is E ( Θ ∣ Y ) = E ( Θ ∣ A ′ ) E(\Theta|Y)=E(\Theta|\mathcal{A}') E ( Θ∣ Y ) = E ( Θ∣ A ′ ) . Similarly, the conditional probability of an event A ∈ A A\in\mathcal{A} A ∈ A given Y Y Y is P ( A ∣ Y ) = E ( 1 A ∣ A ′ ) P(A|Y)=E(\mathbf{1}_{A}|\mathcal{A}') P ( A ∣ Y ) = E ( 1 A ∣ A ′ ) . For A ∈ A A\in\mathcal{A} A ∈ A , the conditional probability P ( A ∣ Y ) P(A|Y) P ( A ∣ Y ) is a real valued, A ′ \mathcal{A}' A ′ -measurable function. By the factorization property [4 Lemma 55.1] , there is a real-valued function h : H ′ → R h:\mathcal{H}'\to\mathbb{R} h : H ′ → R , measurable with respect to A ′ \mathcal{A}' A ′ , such that
P ( A ∣ Y ) ( ω ) = h ( Y ( ω ) ) . P(A|Y)(\omega)=h(Y(\omega)). P ( A ∣ Y ) ( ω ) = h ( Y ( ω )) .
This gives rise to the definition P ( A ∣ Y = y ) = h ( y ) P(A|Y=y)=h(y) P ( A ∣ Y = y ) = h ( y ) . Note that P ( A ∣ Y ) ( ω ) P(A|Y)(\omega) P ( A ∣ Y ) ( ω ) is constant on { ω : Y ( ω ) = y } \{\omega:Y(\omega)=y\} { ω : Y ( ω ) = y } , and we have that P ( A ∣ Y ) ( ω ) = P ( A ∣ Y = Y ( ω ) ) P(A|Y)(\omega)=P(A|Y=Y(\omega)) P ( A ∣ Y ) ( ω ) = P ( A ∣ Y = Y ( ω )) .
Applying this construction to A = Θ − 1 ( B ) A=\Theta^{-1}(B) A = Θ − 1 ( B ) , B ∈ B B\in\mathcal{B} B ∈ B leads to the notion of conditional distribution of Θ \Theta Θ given Y Y Y . This is understood as a probability kernel p ( ω , B ) p(\omega,B) p ( ω , B ) such that
(a) for all ω ∈ Ω \omega\in\Omega ω ∈ Ω , p ( ω , ⋅ ) p(\omega,\cdot) p ( ω , ⋅ ) is a probability measure on H \mathcal{H} H ;
(b) for all B ∈ B B\in\mathcal{B} B ∈ B , p ( ⋅ , B ) p(\cdot,B) p ( ⋅ , B ) is a version of P ( Θ − 1 ( B ) ∣ Y ) P(\Theta^{-1}(B)|Y) P ( Θ − 1 ( B ) ∣ Y ) .
For B ∈ B B\in\mathcal{B} B ∈ B , this means that p ( ω , B ) = P ( Θ − 1 ( B ) ∣ Y ) ( ω ) p(\omega,B)=P(\Theta^{-1}(B)|Y)(\omega) p ( ω , B ) = P ( Θ − 1 ( B ) ∣ Y ) ( ω ) for almost all ω \omega ω . The exceptional set of measure zero a priori depends on B B B . The fact that a probability kernel exists is nontrivial and uses the property that H \mathcal{H} H is a Polish space (i. e. a topological space with a countable base and topology generated by a complete metric), see e. g. [4 Satz 56.5] , [20 Theorem 10.2.2] .
As above, we can interpret P ( Θ − 1 ( B ) ∣ Y ) ( ω ) P(\Theta^{-1}(B)|Y)(\omega) P ( Θ − 1 ( B ) ∣ Y ) ( ω ) as a function of y ∈ H ′ y\in\mathcal{H}' y ∈ H ′ , which we denote by
π y ( B ) = P ( Θ − 1 ( B ) ∣ Y = y ) . \pi^{y}(B)=P(\Theta^{-1}(B)|Y=y). π y ( B ) = P ( Θ − 1 ( B ) ∣ Y = y ) .
Note that p ( ω , B ) = π Y ( ω ) ( B ) p(\omega,B)=\pi^{Y(\omega)}(B) p ( ω , B ) = π Y ( ω ) ( B ) . At fixed y = Y ( ω ) y=Y(\omega) y = Y ( ω ) , B ↦ π y ( B ) B\mapsto\pi^{y}(B) B ↦ π y ( B ) is a probability measure on H \mathcal{H} H . We denote this probability measure by π y ( d θ ) \pi^{y}(\mathrm{d}\theta) π y ( d θ ) and also refer to it as the conditional distribution of Θ \Theta Θ given y y y . (The notation follows [57 ] and is widely used in the literature on Bayesian inverse problems.)
In the finite dimensional case, where H = R d \mathcal{H}=\mathbb{R}^{d} H = R d , H ′ = R d ′ \mathcal{H}'=\mathbb{R}^{d'} H ′ = R d ′ and the random variable ( Θ , Y ) (\Theta,Y) ( Θ , Y ) has a probability density π ( θ , y ) \pi(\theta,y) π ( θ , y ) with respect to Lebesgue measure d θ × d y \mathrm{d}\theta\times\mathrm{d}y d θ × d y , it can be shown [5 Theorem 15.11] that π y ( d θ ) \pi^{y}(\mathrm{d}\theta) π y ( d θ ) has a probability density as well, and it coincides with the conditional density π ( θ ∣ y ) \pi(\theta|y) π ( θ ∣ y ) .
Markov chains
In order to analyze the behavior of MCMC-algorithms, basic notions from the theory of Markov chains are needed. In this part of Section 5, we collect a minimal selection of required concepts; we base the exposition on [52 ] . We also refer to the readable survey [61 ] and to [46 , 49 ] .
A Markov chain is a sequence of random variables X 0 , X 1 , X 2 , … X_{0},X_{1},X_{2},\ldots X 0 , X 1 , X 2 , … on a probability space ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) with values in a measurable space ( S , S ) (S,\mathcal{S}) ( S , S ) , the state space . The Markov property says that, for all n ∈ N n\in\mathbb{N} n ∈ N , the conditional probability distributions satisfy
P ( X n + 1 ∣ X 0 , X 1 , … , X n ) = P ( X n + 1 ∣ X n ) . P(X_{n+1}|X_{0},X_{1},\ldots,X_{n})=P(X_{n+1}|X_{n}). P ( X n + 1 ∣ X 0 , X 1 , … , X n ) = P ( X n + 1 ∣ X n ) .
We assume that the Markov chain is time homogeneous, that is P ( X n + 1 ∣ X n ) = P ( X 1 ∣ X 0 ) P(X_{n+1}|X_{n})=P(X_{1}|X_{0}) P ( X n + 1 ∣ X n ) = P ( X 1 ∣ X 0 ) for all n ∈ N n\in\mathbb{N} n ∈ N . A transition kernel p ( x , A ) p(x,A) p ( x , A ) is a function on S × G S\times\mathcal{G} S × G such that (a) for all x ∈ S x \in S x ∈ S , p ( x , ⋅ ) p(x,\cdot) p ( x , ⋅ ) is a probability measure;
(b) for all A ∈ S A \in\mathcal{S} A ∈ S , p ( ⋅ , A ) p(\cdot,A) p ( ⋅ , A ) is measurable.
The transitions of the chain are determined by the kernel:
P ( X n + 1 ∈ A ∣ X n = x ) = p ( x , A ) = ∫ A p ( x , d y ) P(X_{n+1} \in A \mid X_n=x)=p(x,A)=\int_A p(x,dy) P ( X n + 1 ∈ A ∣ X n = x ) = p ( x , A ) = ∫ A p ( x , d y )
for all x ∈ S x \in S x ∈ S , A ∈ S A \in\mathcal{S} A ∈ S . As noted in Subsection 5.1, such a transition kernel exists if S S S is a Polish space and S = B ( S ) \mathcal{S}=\mathcal{B}(S) S = B ( S ) . (With the notation of Subsection 5.1, taking X n + 1 = Θ X_{n+1}=\Theta X n + 1 = Θ , X n = Y X_n=Y X n = Y , we have p ( x , A ) = π x ( A ) p(x,A)=\pi^x(A) p ( x , A ) = π x ( A ) .)
The finite dimensional joint distributions of the members of the chain are determined by the transition kernel and by specifying the initial distribution, the distribution of X 0 X_0 X 0 . If the initial distribution is a Dirac measure δ x \delta_x δ x (X 0 X_0 X 0 has the deterministic value x x x ), and Y Y Y is a random variable, we write P ( Y ∈ B ∣ X 0 = x ) = P x ( Y ∈ B ) P(Y \in B\mid X_0=x)=P_x(Y \in B) P ( Y ∈ B ∣ X 0 = x ) = P x ( Y ∈ B ) . Similarly, we write E x ( Y ) = E ( Y ∣ X 0 = x ) \mathbb{E}_x(Y)=\mathbb{E}(Y\mid X_0=x) E x ( Y ) = E ( Y ∣ X 0 = x ) . We get
P x ( X 1 ∈ A 1 ) = p ( x , A 1 ) , P x ( X 1 ∈ A 1 , X 2 ∈ A 2 ) = ∫ A 1 p ( y 1 , A 2 ) p ( x , d y 1 ) , P x ( X 1 ∈ A 1 , … , X n ∈ A n ) = ∫ A 1 ⋯ ∫ A n − 1 p ( y n − 1 , A n ) p ( y n − 2 , d y n − 1 ) ⋯ p ( x , d y 1 ) . (21) \begin{aligned}
P_x(X_1 \in A_1)&=p(x,A_1),\\
P_x(X_1 \in A_1,X_2 \in A_2)&=\int_{A_1}p(y_1,A_2)\,p(x,dy_1),\\
P_x(X_1 \in A_1,\ldots,X_n \in A_n)&=\int_{A_1}\cdots\int_{A_{n-1}}p(y_{n-1},A_n)p(y_{n-2},dy_{n-1})\cdots p(x,dy_1). \tag*{(21)}
\end{aligned} P x ( X 1 ∈ A 1 ) P x ( X 1 ∈ A 1 , X 2 ∈ A 2 ) P x ( X 1 ∈ A 1 , … , X n ∈ A n ) = p ( x , A 1 ) , = ∫ A 1 p ( y 1 , A 2 ) p ( x , d y 1 ) , = ∫ A 1 ⋯ ∫ A n − 1 p ( y n − 1 , A n ) p ( y n − 2 , d y n − 1 ) ⋯ p ( x , d y 1 ) . (21)
This can be inferred from properties of conditional expectations. see e.g. [1 Section 2.2] . Introduce the space of trajectories of the chain as Ω ∞ = ∏ i = 0 ∞ Ω i \Omega^\infty=\prod_{i=0}^{\infty}\Omega_i Ω ∞ = ∏ i = 0 ∞ Ω i where each Ω i \Omega_i Ω i is a copy of ( Ω , A ) (\Omega,\mathcal{A}) ( Ω , A ) and Ω \Omega Ω is equipped with the product σ \sigma σ -algebra A ∞ \mathcal{A}^\infty A ∞ . Defining P x ( A 1 × ⋯ × A n ) P_x(A_1\times\cdots\times A_n) P x ( A 1 × ⋯ × A n ) by the right-hand side of (21) , it immediately follows from the defining formula that P x P_x P x can be extended to a measure on ( Ω ∞ , A ∞ ) (\Omega^\infty,\mathcal{A}^\infty) ( Ω ∞ , A ∞ ) , see also [46 Theorem 3.4.1] .
The marginal probability distributions of the chain, conditioned on X 0 = x X_0=x X 0 = x , are denoted by
p ( n ) ( x , A ) = P x ( X n ∈ A ) . p^{(n)}(x,A)=P_x(X_n \in A). p ( n ) ( x , A ) = P x ( X n ∈ A ) .
(In Subsection 2.4, the marginal probability measures were assumed to have densities p ( n ) ( y ) p^{(n)}(y) p ( n ) ( y ) , suppressing the dependence on the initial value x x x .)
Next, we highlight some important concepts concerning Markov chains.
η A = ∑ n = 1 ∞ 1 A ( X n ) . \eta_A=\sum_{n=1}^{\infty}\mathbf{1}_A(X_n). η A = n = 1 ∑ ∞ 1 A ( X n ) .
An important quantity will be the average number of passages E x ( η A ) \mathbb{E}_x(\eta_A) E x ( η A ) .
Let φ \varphi φ be a measure on ( S , S ) (S,\mathcal{S}) ( S , S ) . The chain ( X n ) (X_n) ( X n ) is φ \varphi φ -irreducible if for every x ∈ S x \in S x ∈ S and A ∈ S A \in\mathcal{S} A ∈ S with φ ( A ) > 0 \varphi(A)>0 φ ( A ) > 0 it holds that E x ( η A ) > 0 \mathbb{E}_x(\eta_A)>0 E x ( η A ) > 0 (cf. [52 Definition 6.13 and Theorem 6.15] ).
A φ \varphi φ -irreducible chain with transition kernel p p p is periodic if there exists an integer d ≥ 2 d \ge2 d ≥ 2 and a sequence { S 0 , … , S d − 1 } \{S_0,\ldots,S_{d-1}\} { S 0 , … , S d − 1 } of d d d nonempty disjoint sets in S S S such that, for all i = 0 , … , d − 1 i=0,\ldots,d-1 i = 0 , … , d − 1 and all x ∈ S i x \in S_i x ∈ S i ,
p ( x , S j ) = 1 for j = i + 1 ( m o d d ) . p(x,S_j)=1 \quad\text{for } j=i+1\pmod d. p ( x , S j ) = 1 for j = i + 1 ( mod d ) .
Otherwise, the chain is aperiodic , cf. [61 Section 3] .
Thus for whatever state the chain is initially, the expected number of visits to the set A A A is infinite. A stronger requirement is that the probability of infinite return to A A A is equal to one:
Invariant measures and stationary distribution are central notions of the theory.
π ( B ) = ∫ p ( x , B ) π ( d x ) (22) \pi(B)=\int p(x,B)\pi(dx) \tag*{(22)} π ( B ) = ∫ p ( x , B ) π ( d x ) (22)
for all B ∈ S B \in\mathcal{S} B ∈ S . If there exists an invariant probability measure for a φ \varphi φ -irreducible chain, the chain is called positive . The invariant probability measure is also referred to as stationary , because X 0 ∼ π X_0 \sim\pi X 0 ∼ π implies X n ∼ π X_n \sim\pi X n ∼ π for all n ∈ N n \in\mathbb{N} n ∈ N ; the chain is stationary in distribution. Note that if π \pi π is a probability measure, the invariance condition (22) is equivalent with
∫ f ( y ) π ( d y ) = ∬ f ( y ) p ( x , d y ) π ( d x ) (23) \int f(y)\pi(dy)=\iint f(y)p(x,dy)\pi(dx) \tag*{(23)} ∫ f ( y ) π ( d y ) = ∬ f ( y ) p ( x , d y ) π ( d x ) (23)
for all bounded measurable functions f f f on S S S .
The question of existence of an invariant measure is answered by the following criterion.
We refer to [52 Theorem 6.38] and to [46 Section 10] for a proof. For applications to the Metropolis-Hastings algorithm and the pCN-algorithm, the following simple criterion is useful. A Markov chain ( X n ) (X_n) ( X n ) with transition kernel p p p is said to satisfy the detailed balance condition if there is a probability measure π \pi π such that
p ( x , d y ) π ( d x ) = p ( y , d x ) π ( d y ) (24) p(x,dy)\pi(dx)=p(y,dx)\pi(dy) \tag*{(24)} p ( x , d y ) π ( d x ) = p ( y , d x ) π ( d y ) (24)
as measures on S × S S \times S S × S for all x , y x,y x , y .
Proposition 5.1. If the transition kernel p p p of a Markov chain ( X n ) (X_n) ( X n ) satisfies the detailed balance condition with a probability measure π \pi π , then π \pi π is an invariant probability measure of the chain.
Proof. The assertion is easily proved by the observation that
∬ f ( y ) p ( x , d y ) π ( d x ) = ∬ f ( y ) p ( y , d x ) π ( d y ) = ∫ f ( y ) π ( d y ) \iint f(y)p(x,dy)\pi(dx)=\iint f(y)p(y,dx)\pi(dy)=\int f(y)\pi(dy) ∬ f ( y ) p ( x , d y ) π ( d x ) = ∬ f ( y ) p ( y , d x ) π ( d y ) = ∫ f ( y ) π ( d y )
for every bounded measurable function f f f on S S S , since ∫ π ( y , d x ) = 1 \int\pi(y,dx)=1 ∫ π ( y , d x ) = 1 for all y y y . Thus (23) holds. □
From the previous assertion, π \pi π is unique provided the chain is recurrent.
We are ready to state a first convergence result for Markov chains. The total variation distance between two probability measures π 1 , π 2 \pi_1,\pi_2 π 1 , π 2 is defined as
∥ π 1 − π 2 ∥ = sup A ∈ S ∣ π 1 ( A ) − π 2 ( A ) ∣ . \lVert\pi_1-\pi_2\rVert=\sup_{A\in\mathcal{S}}|\pi_1(A)-\pi_2(A)|. ∥ π 1 − π 2 ∥ = A ∈ S sup ∣ π 1 ( A ) − π 2 ( A ) ∣.
We have the following assertion.
Proposition 5.2. Suppose a Markov chain ( X n ) (X_n) ( X n ) with transition kernel p p p is π \pi π -irreducible with invariant probability measure π \pi π , Harris recurrent and aperiodic. Then
lim n → ∞ ∥ ∫ p ( n ) ( x , ⋅ ) μ ( d x ) − π ∥ = 0 \lim_{n\to\infty} \left\lVert\int p^{(n)}(x,\cdot)\,\mu(\mathrm{d}x)-\pi\right\rVert=0 n → ∞ lim ∫ p ( n ) ( x , ⋅ ) μ ( d x ) − π = 0 for every initial distribution μ \mu μ . In particular,
lim n → ∞ ∥ p ( n ) ( x , ⋅ ) − π ∥ = 0 \lim_{n\to\infty}\left\lVert p^{(n)}(x,\cdot)-\pi\right\rVert=0 n → ∞ lim p ( n ) ( x , ⋅ ) − π = 0 for every $x\in S.
Proof. The result is stated in [52 Theorem 6.51] , [61 Theorem 1] . For a proof, see [49 Corollary 6.7(ii)] .
A chain which satisfies the hypotheses in Proposition 5.2 is often called ergodic . One can obtain convergence rates under stronger conditions, such as geometric or uniform ergodicity [52 Sections 6.6.2 and 6.6.3] . Note that Proposition 5.2 implies that
lim n → ∞ p ( n ) ( x , A ) = π ( A ) \lim_{n\to\infty}p^{(n)}(x,A)=\pi(A) n → ∞ lim p ( n ) ( x , A ) = π ( A )
for every A ∈ S A\in\mathcal{S} A ∈ S and x ∈ S x\in S x ∈ S . Therefore, π \pi π is often called the equilibrium distribution of the chain, and the chain is said to approach its stationary state as n → ∞ n\to\infty n → ∞ .
The next important issue is the convergence of averages in the sense of a law of large numbers. In the context of Markov chains, this result is usually referred to as the ergodic theorem .
Proposition 5.3. Let the Markov chain ( X n ) (X_n) ( X n ) be π \pi π -irreducible with invariant probability measure π \pi π and Harris recurrent. Let f ( x ) f(x) f ( x ) be any function integrable with respect to π ( d x ) \pi(\mathrm{d}x) π ( d x ) . Then
lim N → ∞ 1 N ∑ n = 1 N f ( X n ) = ∫ S f ( x ) π ( d x ) , \lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^{N}f(X_n)=\int_S f(x)\pi(\mathrm{d}x), N → ∞ lim N 1 n = 1 ∑ N f ( X n ) = ∫ S f ( x ) π ( d x ) , P x 0 P_{x_0} P x 0 -almost surely for every initial value x 0 x_0 x 0 , where P x 0 P_{x_0} P x 0 is the measure on the space of trajectories introduced after (20).
Proof. We refer to [46 Theorem 17.1.7] and [52 Theorem 6.63] .
The ergodic theorem is taken as a justification of Monte Carlo sampling using the chain. In fact, let X X X be a random variable distributed according to the equilibrium distribution π \pi π and let ξ 0 , ξ 1 , ξ 2 , … \xi_0,\xi_1,\xi_2,\ldots ξ 0 , ξ 1 , ξ 2 , … be a realization of the chain. Then Proposition 5.3 suggests that
lim N → ∞ 1 N ∑ n = 1 N f ( ξ n ) = E ( f ( X ) ) . \lim_{N\to\infty}\frac{1}{N}\sum_{n=1}^{N}f(\xi_n)=E(f(X)). N → ∞ lim N 1 n = 1 ∑ N f ( ξ n ) = E ( f ( X )) .
For sufficiently large M M M (when the chain is close to its stationary state), the end pieces ξ M , … , ξ N \xi_M,\ldots,\xi_N ξ M , … , ξ N can be treated as a sample of X X X . In particular, the sample mean, moments and quantiles of ξ M , … , ξ N \xi_M,\ldots,\xi_N ξ M , … , ξ N may serve as estimators for the expectation value, moments and quantiles of X X X .
The final issue addresses central limit theorems for Markov chains . There are many versions which usually require so-called mixing conditions which are difficult to verify, see the discussion in [51 ] . We focus on one of the versions. Let A , A ′ \mathcal{A},\mathcal{A}' A , A ′ be sub-σ \sigma σ -algebras of S \mathcal{S} S . We recall the following measures of dependence:
α ( A , A ′ ) = sup ∣ P ( A ∪ A ′ ) − P ( A ) P ( A ′ ) ∣ , A ∈ A , A ′ ∈ A ′ \alpha(\mathcal{A},\mathcal{A}')=\sup\left|P(A\cup A')-P(A)P(A')\right|,\quad A\in\mathcal{A},A'\in\mathcal{A}' α ( A , A ′ ) = sup ∣ P ( A ∪ A ′ ) − P ( A ) P ( A ′ ) ∣ , A ∈ A , A ′ ∈ A ′
φ ( A , A ′ ) = sup ∣ P ( A ′ ∣ A ) − P ( A ′ ) ∣ , A ∈ A , A ′ ∈ A ′ , P ( A ) > 0. \varphi(\mathcal{A},\mathcal{A}')=\sup\left|P(A'|A)-P(A')\right|,\quad A\in\mathcal{A},A'\in\mathcal{A}',P(A)>0. φ ( A , A ′ ) = sup ∣ P ( A ′ ∣ A ) − P ( A ′ ) ∣ , A ∈ A , A ′ ∈ A ′ , P ( A ) > 0.
We have that 2 α ( A , A ′ ) ≤ φ ( A , A ′ ) 2\alpha(\mathcal{A},\mathcal{A}') \le\varphi(\mathcal{A},\mathcal{A}') 2 α ( A , A ′ ) ≤ φ ( A , A ′ ) [9 Formula (1.11)] . Let ( X n ) (X_n) ( X n ) be a stationary (i.e., shift invariant in distribution) Markov chain. Define A j \mathcal{A}_j A j as the sub-σ \sigma σ -algebra of G \mathcal{G} G generated by X j X_j X j . Put
α ( n ) = α ( A 0 , A n ) , φ ( n ) = φ ( A 0 , A n ) . \alpha(n) = \alpha(\mathcal{A}_0,\mathcal{A}_n), \qquad\varphi(n) = \varphi(\mathcal{A}_0,\mathcal{A}_n). α ( n ) = α ( A 0 , A n ) , φ ( n ) = φ ( A 0 , A n ) .
(This is a specialization of the general definition to Markov chains [9 Section 3.1] .) The chain ( X n ) (X_n) ( X n ) is called α \alpha α -mixing, if α ( n ) → 0 \alpha(n) \to0 α ( n ) → 0 as n → ∞ n \to\infty n → ∞ , and similarly for φ \varphi φ -mixing. Here is one of the limit theorems.
Proposition 5.4. Suppose that the chain ( X n ) (X_n) ( X n ) is stationary and α \alpha α -mixing with α ( n ) = O ( n − 5 ) \alpha(n) = O(n^{-5}) α ( n ) = O ( n − 5 ) and that E ( X n ) = 0 E(X_n) = 0 E ( X n ) = 0 and E ( X 1 2 ) < ∞ E(X_1^2) < \infty E ( X 1 2 ) < ∞ . Let S N = X 1 + ⋯ + X N S_N = X_1 + \cdots+ X_N S N = X 1 + ⋯ + X N . Then
lim N → ∞ V ( S N ) N = γ 2 = V ( X 1 ) + 2 ∑ k = 1 ∞ COV ( X 1 , X 1 + k ) (25) \lim_{N\to\infty} \frac{V(S_N)}{N} = \gamma^2 = V(X_1) + 2 \sum_{k=1}^{\infty} \operatorname{COV}(X_1,X_{1+k}) \tag*{(25)} N → ∞ lim N V ( S N ) = γ 2 = V ( X 1 ) + 2 k = 1 ∑ ∞ COV ( X 1 , X 1 + k ) (25) where the series is absolutely convergent. If γ > 0 \gamma> 0 γ > 0 , the random variable S N / γ N S_N/\gamma\sqrt{N} S N / γ N converges (in distribution) to the standard normal distribution.
Proof. The theorem is taken from [7 Theorem 27.4] .
It is stated in [7 ] that the conditions are stronger than necessary. Also, there are many results on the decay of mixing coefficients. One of the results is [19 Theorem 4 and discussion before] : Assume that ( X n ) (X_n) ( X n ) has an invariant probability distribution, is Harris recurrent and aperiodic. If for some n 0 n_0 n 0 , φ ( n 0 ) < 1 / 2 \varphi(n_0) < 1/2 φ ( n 0 ) < 1/2 , then φ ( n ) ≤ C ρ n \varphi(n) \le C\rho^n φ ( n ) ≤ C ρ n for some C > 0 C > 0 C > 0 , 0 < ρ < 1 0 < \rho< 1 0 < ρ < 1 and all n n n . Since 2 α ( n ) ≤ φ ( n ) 2\alpha(n) \le\varphi(n) 2 α ( n ) ≤ φ ( n ) , the same then holds for α ( n ) \alpha(n) α ( n ) , so that the first condition in Proposition 5.4 is satisfied; see also [9 Theorem 3.4] .
Convergence of MCMC-algorithms
In this Subsection, we collect results from the literature that imply the convergence of the Metropolis-Hastings algorithm (Subsection 2.4) and the pCN-algorithm (Subsection 3.3).
The Metropolis-Hastings algorithm. The chain produced by the algorithm is a Markov chain which has a transition kernel p ( x , A ) p(x,A) p ( x , A ) . Sampling from the proposal distribution q ( x , y ) q(x,y) q ( x , y ) together with the accept/reject step with acceptance probability a ( x , y ) a(x,y) a ( x , y ) determine the kernel as
p ( x , A ) = ∫ a ( x , y ) q ( x , y ) d y + ( 1 − b ( x ) ) δ x ( A ) with b ( x ) = ∫ a ( x , y ) q ( x , y ) d y p(x,A) = \int a(x,y)q(x,y)\,dy + (1-b(x))\delta_x(A) \quad\text{with} \quad b(x) = \int a(x,y)q(x,y)\,dy p ( x , A ) = ∫ a ( x , y ) q ( x , y ) d y + ( 1 − b ( x )) δ x ( A ) with b ( x ) = ∫ a ( x , y ) q ( x , y ) d y
where δ x \delta_x δ x is the Dirac mass in x x x , or
p ( x , d y ) = a ( x , y ) q ( x , y ) d y + ( 1 − b ( x ) ) δ x ( d y ) . (26) p(x,dy) = a(x,y)q(x,y)\,dy + (1-b(x))\delta_x(dy). \tag*{(26)} p ( x , d y ) = a ( x , y ) q ( x , y ) d y + ( 1 − b ( x )) δ x ( d y ) . (26)
We are going to show that the kernel p p p satisfies the detailed balance condition (24) with the probability measure π \pi π . Recalling that π ( d x ) = π ( x ) d x \pi(dx) = \pi(x)\,dx π ( d x ) = π ( x ) d x and integrating the first part against a bounded continuous function f ( x , y ) f(x,y) f ( x , y ) we get
∬ f ( x , y ) a ( x , y ) q ( x , y ) π ( x ) d y d x = ∬ f ( x , y ) a ( y , x ) q ( y , x ) π ( y ) d x d y \iint f(x,y)a(x,y)q(x,y)\pi(x)\,dy\,dx = \iint f(x,y)a(y,x)q(y,x)\pi(y)\,dx\,dy ∬ f ( x , y ) a ( x , y ) q ( x , y ) π ( x ) d y d x = ∬ f ( x , y ) a ( y , x ) q ( y , x ) π ( y ) d x d y
where we have used the symmetry of q q q and the fact that min ( 1 , β α ) α = min ( 1 , α β ) β \min(1,\frac{\beta}{\alpha})\alpha= \min(1,\frac{\alpha}{\beta})\beta min ( 1 , α β ) α = min ( 1 , β α ) β . Concerning the second part, we have
∬ f ( x , y ) ( 1 − b ( x ) ) δ x ( d y ) π ( x ) d x = ∫ f ( x , x ) π ( x ) d x = ∫ f ( y , y ) π ( y ) d y = ∬ f ( x , y ) ( 1 − b ( y ) ) δ y ( d x ) π ( y ) d y . (27) \begin{aligned}
\iint f(x,y)(1-b(x))\delta_x(dy)\pi(x)\,dx = \int f(x,x)\pi(x)\,dx = \int f(y,y)\pi(y)\,dy \\
&= \iint f(x,y)(1-b(y))\delta_y(dx)\pi(y)\,dy. \tag*{(27)}
\end{aligned} ∬ f ( x , y ) ( 1 − b ( x )) δ x ( d y ) π ( x ) d x = ∫ f ( x , x ) π ( x ) d x = ∫ f ( y , y ) π ( y ) d y = ∬ f ( x , y ) ( 1 − b ( y )) δ y ( d x ) π ( y ) d y . (27)
Combining the two calculations, we get
∬ f ( x , y ) p ( x , d y ) π ( x ) d x = ∬ f ( x , y ) p ( y , d x ) π ( y ) d y \iint f(x,y)p(x,dy)\pi(x)\,dx=\iint f(x,y)p(y,dx)\pi(y)\,dy ∬ f ( x , y ) p ( x , d y ) π ( x ) d x = ∬ f ( x , y ) p ( y , d x ) π ( y ) d y
thus the detailed balance condition holds, and π ( d x ) = π ( x ) d x \pi(dx)=\pi(x)\,dx π ( d x ) = π ( x ) d x is an invariant probability measure for the chain.
To prove convergence, we rely on results from [52 ] . First, [52 Lemma 7.3] says that:
In particular, π \pi π is the unique invariant probability measure of the chain. A central criterion for convergence is as follows [52 Lemma 7.6] , [53 Theorem 2.2] :
q ( x , y ) > ε if ∣ x − y ∣ < δ , q(x,y)>\varepsilon\quad\text{if } |x-y|<\delta, q ( x , y ) > ε if ∣ x − y ∣ < δ ,
then the Metropolis-Hastings chain is π \pi π -irreducible and aperiodic.
In conclusion, under the conditions above, the Metropolis-Hastings chain has π \pi π as its invariant probability distribution, is π \pi π -irreducible, Harris recurrent and aperiodic. Thus it satisfies all requirements leading to convergence and ergodicity (Propositions 5.2 and 5.3 ).
The pCN-algorithm. To prove that the transition kernel p p p corresponding to the pCN-algorithm satisfies the detailed balance condition (24) with measure π \pi π , we confine ourselves to quoting the arguments from [18 ] . For the sake of consistency, we denote the elements of the state space H \mathcal{H} H by x , y x,y x , y here. Similarly to (26) , the transition kernel is
p ( x , d y ) = a ( x , y ) q ( x , d y ) + ( 1 − b ( x ) ) δ x ( d y ) with b ( x ) = ∫ a ( x , y ) q ( x , d y ) p(x,dy)=a(x,y)q(x,dy)+(1-b(x))\delta_x(dy) \quad\text{with} \quad b(x)=\int a(x,y)q(x,dy) p ( x , d y ) = a ( x , y ) q ( x , d y ) + ( 1 − b ( x )) δ x ( d y ) with b ( x ) = ∫ a ( x , y ) q ( x , d y )
where q ( x , d y ) q(x,dy) q ( x , d y ) is the kernel of the proposal distribution, and we have to show that
p ( x , d y ) π ( d x ) = p ( y , d x ) π ( d y ) . p(x,dy)\pi(dx)=p(y,dx)\pi(dy). p ( x , d y ) π ( d x ) = p ( y , d x ) π ( d y ) .
As seen by the argument in (27) , the term with the Dirac mass is symmetric in ( x , y ) (x,y) ( x , y ) , thus it suffices to show that
a ( x , y ) q ( x , d y ) π ( d x ) = a ( y , x ) q ( y , d x ) π ( d y ) . (28) a(x,y)q(x,dy)\pi(dx)=a(y,x)q(y,dx)\pi(dy). \tag*{(28)} a ( x , y ) q ( x , d y ) π ( d x ) = a ( y , x ) q ( y , d x ) π ( d y ) . (28)
To prove this, one first shows that q q q itself satisfies the detailed balance condition with respect to π 0 \pi_0 π 0 ,
q ( x , d y ) π 0 ( d x ) = q ( y , d x ) π 0 ( d y ) . (29) q(x,dy)\pi_0(dx)=q(y,dx)\pi_0(dy). \tag*{(29)} q ( x , d y ) π 0 ( d x ) = q ( y , d x ) π 0 ( d y ) . (29)
The form of the kernel q ( x , d y ) q(x,dy) q ( x , d y ) is suggested by the proposal step in the pCN-algorithm. Namely, for fixed x x x , q ( x , d y ) q(x,dy) q ( x , d y ) is given by the measure N ( 1 − β 2 x , β 2 C 0 ) \mathcal{N}(\sqrt{1-\beta^2}\,x,\beta^2C_0) N ( 1 − β 2 x , β 2 C 0 ) . Note that a random variable v v v is distributed according to q ( x , d y ) q(x,dy) q ( x , d y ) if v = 1 − β 2 x + β w v=\sqrt{1-\beta^2}\,x+\beta w v = 1 − β 2 x + β w where w ∼ N ( 0 , C 0 ) w\sim\mathcal{N}(0,C_0) w ∼ N ( 0 , C 0 ) .
We consider the probability measure q ( x , d y ) π 0 ( d x ) q(x,dy)\pi_0(dx) q ( x , d y ) π 0 ( d x ) on H × H \mathcal{H}\times\mathcal{H} H × H and random variables u ∼ π 0 u\sim\pi_0 u ∼ π 0 , v = 1 − β 2 u + β w v=\sqrt{1-\beta^2}\,u+\beta w v = 1 − β 2 u + β w with w ∼ N ( 0 , C 0 ) w\sim\mathcal{N}(0,C_0) w ∼ N ( 0 , C 0 ) independent of u u u . Then ( u , v ) (u,v) ( u , v ) is distributed as q ( x , d y ) π 0 ( d x ) q(x,dy)\pi_0(dx) q ( x , d y ) π 0 ( d x ) . In Example 7 of [18 ] , Section 5.1 the characteristic function of ( u , v ) (u,v) ( u , v ) is computed, and it is shown that the distribution q ( x , d y ) π 0 ( d x ) q(x,dy)\pi_0(dx) q ( x , d y ) π 0 ( d x ) is centered Gaussian and has the same covariance operator as q ( y , d x ) π 0 ( d y ) q(y,dx)\pi_0(dy) q ( y , d x ) π 0 ( d y ) . This proves the relation (29) . Finally, the special form of the acceptance probability (15) and relation (29) allow one to apply [18 Theorem 22] to conclude that the condition (28) holds, hence also the desired detailed balance condition (24) . In particular, the chain produced by the pCN-algorithm has π \pi π as invariant measure.
Convergence of the chain is a more delicate issue. It is remarked in [27 p. 2459] that the Markov chain produced by the pCN-algorithm is not φ \varphi φ -irreducible for whatever measure φ \varphi φ . Nevertheless, the authors show by different methods that an ergodic theorem holds for the pCN-algorithm under certain conditions on the potential Φ \Phi Φ and the parameter β \beta β , at least for functions f : H → R f : \mathcal{H} \to\mathbb{R} f : H → R in Proposition 5.3 that are Lipschitz with respect to a certain distance function on H \mathcal{H} H [27 Theorem 4.3] . In addition, a central limit theorem can be shown, albeit with a non-explicitly given variance γ 2 \gamma^2 γ 2 [27 Theorem 4.4] .
Other results on the Markov chain produced by the pCN-algorithm include convergence of the marginal probability distributions p ( n ) ( x , ⋅ ) p^{(n)}(x, \cdot) p ( n ) ( x , ⋅ ) to the invariant probability measure π \pi π in a Wasserstein metric [21 Theorem 13] , albeit under the condition that the potential Φ \Phi Φ is globally Hölder continuous. In the finite dimensional setting, various conditions on the invariant measure π ( d x ) = π ( x ) d x \pi(dx) = \pi(x)dx π ( d x ) = π ( x ) d x have been highlighted in [37 ] under which the pCN-algorithm and related algorithms are geometrically ergodic or not geometrically ergodic.
Gaussian measures in Hilbert spaces
Gaussian random fields and Gaussian measures, bottom up. References for this material are [45 Sections 4, 5, 7] and [44 Section 37] . Let D D D be a bounded domain in R d \mathbb{R}^{d} R d . A random field on D D D is a collection of random variables { Θ ( x ) : x ∈ D } \{\Theta(x) : x \in D\} { Θ ( x ) : x ∈ D } , defined on a common probability space ( Ω , A , P ) (\Omega,\mathcal{A},\mathbb{P}) ( Ω , A , P ) . (We assume here that every Θ ( x ) \Theta(x) Θ ( x ) is real valued.) To determine the random field, one has to specify the finite dimensional joint distributions of Θ ( x 1 ) , … , Θ ( x n ) \Theta(x_1),\ldots,\Theta(x_n) Θ ( x 1 ) , … , Θ ( x n ) , x 1 , … , x n ∈ D x_1,\ldots,x_n \in D x 1 , … , x n ∈ D , n ∈ N n \in\mathbb{N} n ∈ N . The random field is Gaussian , if all finite dimensional distributions are multivariate Gaussian.
Let Θ \Theta Θ be a second order random field , that is, Θ ( x ) ∈ L 2 ( Ω ) \Theta(x) \in L^2(\Omega) Θ ( x ) ∈ L 2 ( Ω ) for all x ∈ D x \in D x ∈ D :
E ( ∣ Θ ( x ) ∣ 2 ) = ∫ Ω ∣ Θ ( x , ω ) ∣ 2 P ( d ω ) < ∞ . \mathbb{E}(|\Theta(x)|^2) = \int_{\Omega} |\Theta(x,\omega)|^2\mathbb{P}(d\omega) < \infty. E ( ∣Θ ( x ) ∣ 2 ) = ∫ Ω ∣Θ ( x , ω ) ∣ 2 P ( d ω ) < ∞.
In this case, one defines the mean or mean function by m ( x ) = E ( Θ ( x ) ) m(x) = \mathbb{E}(\Theta(x)) m ( x ) = E ( Θ ( x )) and the covariance or autocovariance function by C ( x , y ) = COV ( Θ ( x ) , Θ ( y ) ) = E ( ( Θ ( x ) − m ( x ) ) ( Θ ( y ) − m ( y ) ) ) C(x,y) = \operatorname{COV}(\Theta(x),\Theta(y)) = \mathbb{E}((\Theta(x)-m(x))(\Theta(y)-m(y))) C ( x , y ) = COV ( Θ ( x ) , Θ ( y )) = E (( Θ ( x ) − m ( x )) ( Θ ( y ) − m ( y ))) . The covariance is a nonnegative definite function.
A Gaussian field is completely determined by specifying the mean and the autocovariance function. This is due to the fact that the joint density of an n n n -dimensional Gaussian variable is determined by the mean vector μ = [ μ ( x 1 ) , … , μ ( x n ) ] T \mu= [\mu(x_1),\ldots,\mu(x_n)]^{\mathsf{T}} μ = [ μ ( x 1 ) , … , μ ( x n ) ] T and the covariance matrix
C = [ C ( x 1 , x 1 ) C ( x 1 , x 2 ) ⋯ C ( x 1 , x n ) ⋮ ⋮ C ( x n , x 1 ) C ( x n , x 2 ) ⋯ C ( x n , x n ) ] . C = \begin{bmatrix}
C(x_1,x_1) & C(x_1,x_2) & \cdots& C(x_1,x_n) \\
\vdots& & & \vdots\\
C(x_n,x_1) & C(x_n,x_2) & \cdots& C(x_n,x_n)
\end{bmatrix}. C = C ( x 1 , x 1 ) ⋮ C ( x n , x 1 ) C ( x 1 , x 2 ) C ( x n , x 2 ) ⋯ ⋯ C ( x 1 , x n ) ⋮ C ( x n , x n ) .
In fact, the density is
f ( x ) = 1 ( 2 π ) n / 2 det C exp ( − 1 2 ( x − μ ) T C − 1 ( x − μ ) ) f(x) = \frac{1}{(2\pi)^{n/2}\sqrt{\det C}}\exp\left(-\frac{1}{2}(x-\mu)^{\mathsf{T}}C^{-1}(x-\mu)\right) f ( x ) = ( 2 π ) n /2 det C 1 exp ( − 2 1 ( x − μ ) T C − 1 ( x − μ ) )
for x = [ x 1 , … , x n ] T x = [x_1,\ldots,x_n]^{\mathsf{T}} x = [ x 1 , … , x n ] T .
Let Θ \Theta Θ be a random field on D D D whose mean and autocovariance function are continuous. Then Θ \Theta Θ is mean-square continuous [44 Section 37.2] , that is, Θ : D → L 2 ( Ω ) \Theta: D \to L^2(\Omega) Θ : D → L 2 ( Ω ) is continuous. In particular,
Θ ∈ L 2 ( D : L 2 ( Ω ) ) = L 2 ( D × Ω ) = L 2 ( Ω : L 2 ( D ) ) . \Theta\in L^2(D : L^2(\Omega)) = L^2(D \times\Omega) = L^2(\Omega: L^2(D)). Θ ∈ L 2 ( D : L 2 ( Ω )) = L 2 ( D × Ω ) = L 2 ( Ω : L 2 ( D )) .
Hence one may view the random field Θ \Theta Θ as a random variable with values in the Hilbert space H = L 2 ( D ) \mathcal{H} = L^2(D) H = L 2 ( D ) .
The autocovariance function gives rise to an operator C : H → H \mathcal{C} : \mathcal{H} \to\mathcal{H} C : H → H , the covariance operator
C f ( x ) = ∫ D C ( x , y ) f ( y ) d y . \mathcal{C}f(x) = \int_D C(x,y)f(y)\,dy. C f ( x ) = ∫ D C ( x , y ) f ( y ) d y .
A straightforward calculation shows that
⟨ C f , g ⟩ = E ( ⟨ Θ − m , f ⟩ ⟨ Θ − m , g ⟩ ) (30) \langle Cf,g\rangle= \mathbb{E}\bigl(\langle\Theta-m,f\rangle\langle\Theta-m,g\rangle\bigr) \tag*{(30)} ⟨ C f , g ⟩ = E ( ⟨ Θ − m , f ⟩ ⟨ Θ − m , g ⟩ ) (30)
for f , g ∈ H f,g\in\mathcal{H} f , g ∈ H . The covariance operator is selfadjoint, positive and trace class [45 Lemma 4.37] . Therefore, there is a complete orthonormal system ( γ j , φ j ) (\gamma_j,\varphi_j) ( γ j , φ j ) on H \mathcal{H} H with γ j ≥ 0 \gamma_j\geq0 γ j ≥ 0 , ∑ j = 1 ∞ γ j < ∞ \sum_{j=1}^{\infty}\gamma_j<\infty ∑ j = 1 ∞ γ j < ∞ , and it holds that
C ( x , y ) = ∑ j = 1 ∞ γ j φ j ( x ) φ j ( y ) C(x,y)=\sum_{j=1}^{\infty}\gamma_j\varphi_j(x)\varphi_j(y) C ( x , y ) = j = 1 ∑ ∞ γ j φ j ( x ) φ j ( y )
with convergence in L 2 ( D × D ) L^2(D\times D) L 2 ( D × D ) .
Finally, one has the Karhunen-Loève expansion of the random field
Θ ( x , ω ) = m ( x ) + ∑ j = 1 ∞ γ j ξ j ( ω ) φ j ( x ) (31) \Theta(x,\omega)=m(x)+\sum_{j=1}^{\infty}\sqrt{\gamma_j}\xi_j(\omega)\varphi_j(x) \tag*{(31)} Θ ( x , ω ) = m ( x ) + j = 1 ∑ ∞ γ j ξ j ( ω ) φ j ( x ) (31)
where the sum converges in L 2 ( Ω : H ) L^2(\Omega:\mathcal{H}) L 2 ( Ω : H ) and
ξ j ( ω ) = 1 γ j ∫ D ( Θ ( x , ω ) − m ( x ) ) φ j ( x ) d x for γ j ≠ 0 ; \xi_j(\omega)=\frac{1}{\sqrt{\gamma_j}}\int_D(\Theta(x,\omega)-m(x))\varphi_j(x)\,dx\quad\text{for }\gamma_j\ne0; ξ j ( ω ) = γ j 1 ∫ D ( Θ ( x , ω ) − m ( x )) φ j ( x ) d x for γ j = 0 ;
the ξ j \xi_j ξ j , j = 1 , 2 , 3 , … j=1,2,3,\ldots j = 1 , 2 , 3 , … form a sequence of orthogonal random variables ( E ( ξ j ξ k ) = δ j k ) (\mathbb{E}(\xi_j\xi_k)=\delta_{jk}) ( E ( ξ j ξ k ) = δ j k ) , possibly extended for γ j = 0 \gamma_j=0 γ j = 0 .
Assume now that the random field { Θ ( x ) : x ∈ D } \{\Theta(x):x\in D\} { Θ ( x ) : x ∈ D } is Gaussian (with continuous mean and covariance function). The associated random variable Θ ∈ L 2 ( Ω : H ) \Theta\in L^2(\Omega:\mathcal{H}) Θ ∈ L 2 ( Ω : H ) is Gaussian in the sense that ⟨ Θ , f ⟩ = ∫ D Θ ( x , ⋅ ) f ( x ) d x \langle\Theta,f\rangle=\int_D\Theta(x,\cdot)f(x)\,dx ⟨ Θ , f ⟩ = ∫ D Θ ( x , ⋅ ) f ( x ) d x is a real valued Gaussian random variable for every f ∈ H f\in\mathcal{H} f ∈ H . (Due to the continuity of Θ \Theta Θ , the integral can be approximated by Riemann sums with values in H \mathcal{H} H .) For fixed f ∈ H f\in\mathcal{H} f ∈ H , this Gaussian variable ⟨ Θ , f ⟩ \langle\Theta,f\rangle ⟨ Θ , f ⟩ has mean and variance
E ( ⟨ Θ , f ⟩ ) = ⟨ m , f ⟩ , E ( ∣ ⟨ Θ − m , f ⟩ ∣ 2 ) = ⟨ C f , f ⟩ (32) \mathbb{E}(\langle\Theta,f\rangle)=\langle m,f\rangle,\qquad\mathbb{E}(|\langle\Theta-m,f\rangle|^2)=\langle Cf,f\rangle \tag*{(32)} E (⟨ Θ , f ⟩) = ⟨ m , f ⟩ , E ( ∣ ⟨ Θ − m , f ⟩ ∣ 2 ) = ⟨ C f , f ⟩ (32)
as follows from (29). For later reference, we note that its characteristic function is given by
χ ( f ) = E e i ⟨ Θ , f ⟩ = exp ( i ⟨ m , f ⟩ − 1 2 ⟨ C f , f ⟩ ) . (33) \chi(f)=\mathbb{E}e^{i\langle\Theta,f\rangle}=\exp\left(i\langle m,f\rangle-\frac{1}{2}\langle Cf,f\rangle\right). \tag*{(33)} χ ( f ) = E e i ⟨ Θ , f ⟩ = exp ( i ⟨ m , f ⟩ − 2 1 ⟨ C f , f ⟩ ) . (33)
Further, the ξ j \xi_j ξ j , j = 1 , 2 , 3 , … j=1,2,3,\ldots j = 1 , 2 , 3 , … in the Karhunen-Loève expansion (30) form a sequence of independent standard normal variables.
Gaussian random fields and Gaussian measures, top down. Let H \mathcal{H} H be a separable Hilbert space. We denote the σ \sigma σ -algebra of Borel subsets of H \mathcal{H} H by B ( H ) \mathcal{B}(\mathcal{H}) B ( H ) and fix a probability measure π \pi π on ( H , B ( H ) ) (\mathcal{H},\mathcal{B}(\mathcal{H})) ( H , B ( H )) .
Following [15 Section 1.4] , assume that ∫ H ∣ ω ∣ π ( d ω ) \int_{\mathcal{H}}|\omega|\pi(d\omega) ∫ H ∣ ω ∣ π ( d ω ) is finite.1 Then the functional F : H → R F:\mathcal{H}\to\mathbb{R} F : H → R ,
F ( f ) = ∫ H ⟨ ω , f ⟩ π ( d ω ) , f ∈ H F(f)=\int_{\mathcal{H}}\langle\omega,f\rangle\pi(d\omega),\qquad f\in\mathcal{H} F ( f ) = ∫ H ⟨ ω , f ⟩ π ( d ω ) , f ∈ H
is continuous. By the Riesz representation theorem, there exists a unique m ∈ H m\in\mathcal{H} m ∈ H , the mean of π \pi π , such that
⟨ m , f ⟩ = ∫ H ⟨ ω , f ⟩ π ( d ω ) , f ∈ H . \langle m,f\rangle=\int_{\mathcal{H}}\langle\omega,f\rangle\pi(d\omega),\qquad f\in\mathcal{H}. ⟨ m , f ⟩ = ∫ H ⟨ ω , f ⟩ π ( d ω ) , f ∈ H .
Assume further that ∫ H ∣ ω ∣ 2 π ( d ω ) \int_{\mathcal{H}}|\omega|^2\pi(d\omega) ∫ H ∣ ω ∣ 2 π ( d ω ) is finite. Then the bilinear form
G ( f , g ) = ∫ H ⟨ ω − m , f ⟩ ⟨ ω − m , g ⟩ π ( d ω ) , f , g ∈ H G(f,g)=\int_{\mathcal{H}}\langle\omega-m,f\rangle\langle\omega-m,g\rangle\pi(d\omega),\qquad f,g\in\mathcal{H} G ( f , g ) = ∫ H ⟨ ω − m , f ⟩ ⟨ ω − m , g ⟩ π ( d ω ) , f , g ∈ H
is continuous. Again by the Riesz representation theorem, there is a unique linear bounded operator C : H → H C:\mathcal{H}\to\mathcal{H} C : H → H such that
⟨ C f , g ⟩ = ∫ H ⟨ ω − m , f ⟩ ⟨ ω − m , g ⟩ π ( d ω ) , f , g ∈ H . \langle Cf,g\rangle=\int_{\mathcal{H}}\langle\omega-m,f\rangle\langle\omega-m,g\rangle\pi(\mathrm{d}\omega),\qquad f,g\in\mathcal{H}. ⟨ C f , g ⟩ = ∫ H ⟨ ω − m , f ⟩ ⟨ ω − m , g ⟩ π ( d ω ) , f , g ∈ H .
C C C is called the covariance or covariance operator of π \pi π .
The covariance operator C C C is selfadjoint, positive and trace class [15 Proposition 1.8] .
The probability measure π \pi π is a Gaussian measure , if its characteristic function χ ( f ) = ∫ H e i ⟨ ω , f ⟩ π ( d ω ) \chi(f)=\int_{\mathcal{H}}e^{i\langle\omega,f\rangle}\pi(\mathrm{d}\omega) χ ( f ) = ∫ H e i ⟨ ω , f ⟩ π ( d ω ) is of the form
χ ( f ) = exp ( i ⟨ m , f ⟩ − 1 2 ⟨ C f , f ⟩ ) , f ∈ H . (34) \chi(f)=\exp\left(i\langle m,f\rangle-\frac{1}{2}\langle Cf,f\rangle\right),\qquad f\in\mathcal{H}. \tag*{(34)} χ ( f ) = exp ( i ⟨ m , f ⟩ − 2 1 ⟨ C f , f ⟩ ) , f ∈ H . (34)
With somewhat more effort one can show that, given m ∈ H m\in\mathcal{H} m ∈ H and a selfadjoint, positive trace class operator C C C on H \mathcal{H} H , there is a unique Gaussian measure π \pi π on ( H , B ( H ) ) (\mathcal{H},\mathcal{B}(\mathcal{H})) ( H , B ( H )) with characteristic function (33) [15 Theorem 1.12] .
Let ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) be a probability space and Θ : Ω → H \Theta:\Omega\to\mathcal{H} Θ : Ω → H be an H \mathcal{H} H -valued random variable, i.e., ( A , B ( H ) ) (\mathcal{A},\mathcal{B}(\mathcal{H})) ( A , B ( H )) -measurable. Recall that the law of Θ \Theta Θ is the measure π = Θ ♯ P \pi=\Theta_{\sharp}P π = Θ ♯ P on H \mathcal{H} H , given by π ( B ) = P ( Θ − 1 ( B ) ) \pi(B)=P(\Theta^{-1}(B)) π ( B ) = P ( Θ − 1 ( B )) for B ∈ B ( H ) B\in\mathcal{B}(\mathcal{H}) B ∈ B ( H ) . The random variable Θ \Theta Θ is called Gaussian , if its law is a Gaussian measure on H \mathcal{H} H . We denote this by Θ ∼ N ( m , C ) \Theta\sim\mathcal{N}(m,C) Θ ∼ N ( m , C ) .
Examples. (a) Any Gaussian measure on a separable Hilbert space H \mathcal{H} H gives rise to a Gaussian random variable Θ 0 : Ω = H → H \Theta_0:\Omega=\mathcal{H}\to\mathcal{H} Θ 0 : Ω = H → H , given as the identity map Θ 0 ( ω ) = ω \Theta_0(\omega)=\omega Θ 0 ( ω ) = ω .
(b) The random variable Θ \Theta Θ on H = L 2 ( D ) \mathcal{H}=L^2(D) H = L 2 ( D ) corresponding to a Gaussian random field { Θ ( x ) : x ∈ D } \{\Theta(x):x\in D\} { Θ ( x ) : x ∈ D } is Gaussian, thanks to (33) . Indeed, let C C C be the operator with integral kernel C ( x , y ) C(x,y) C ( x , y ) . We have the formulas (32) for the mean and variance for ⟨ Θ , f ⟩ \langle\Theta,f\rangle ⟨ Θ , f ⟩ . The characteristic function for Θ ♯ P \Theta_{\sharp}P Θ ♯ P is
∫ H e i ⟨ ω , f ⟩ Θ ♯ P ( d ω ) = ∫ H e i ⟨ Θ ( ω ) , f ⟩ P ( d ω ) = E ( e i ⟨ Θ , f ⟩ ) = exp ( i ⟨ m , f ⟩ − 1 2 ⟨ C f , f ⟩ ) \int_{\mathcal{H}}e^{i\langle\omega,f\rangle}\Theta_{\sharp}P(\mathrm{d}\omega)=\int_{\mathcal{H}}e^{i\langle\Theta(\omega),f\rangle}P(\mathrm{d}\omega)=\mathbb{E}\left(e^{i\langle\Theta,f\rangle}\right)=\exp\left(i\langle m,f\rangle-\frac{1}{2}\langle Cf,f\rangle\right) ∫ H e i ⟨ ω , f ⟩ Θ ♯ P ( d ω ) = ∫ H e i ⟨ Θ ( ω ) , f ⟩ P ( d ω ) = E ( e i ⟨ Θ , f ⟩ ) = exp ( i ⟨ m , f ⟩ − 2 1 ⟨ C f , f ⟩ )
by (32). Thus the law of Θ \Theta Θ is the Gaussian measure π \pi π with mean m m m and covariance operator C C C .
Let us revisit the Karhunen-Loève expansion in the setting of a Gaussian measure π \pi π on a Hilbert space H \mathcal{H} H . The covariance operator C C C has a complete orthonormal system ( γ j , φ j ) (\gamma_j,\varphi_j) ( γ j , φ j ) on H \mathcal{H} H of eigenvalues γ j \gamma_j γ j and eigenfunctions φ j \varphi_j φ j with γ j ≥ 0 \gamma_j\geq0 γ j ≥ 0 , ∑ j = 1 ∞ γ j < ∞ \sum_{j=1}^{\infty}\gamma_j<\infty ∑ j = 1 ∞ γ j < ∞ . Let ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) be a probability space with a sequence ξ j \xi_j ξ j , j = 1 , 2 , 3 , … j=1,2,3,\ldots j = 1 , 2 , 3 , … of independent identically distributed standard Gaussian variables. Set
Θ N ( ω ) = m + ∑ j = 1 N γ j ξ j ( ω ) φ j , ⟨ Θ N ( ω ) , f ⟩ = ⟨ m , f ⟩ + ∑ j = 1 N γ j ξ j ( ω ) ⟨ φ j , f ⟩ \Theta_N(\omega)=m+\sum_{j=1}^{N}\sqrt{\gamma_j}\xi_j(\omega)\varphi_j,\qquad\langle\Theta_N(\omega),f\rangle=\langle m,f\rangle+\sum_{j=1}^{N}\sqrt{\gamma_j}\xi_j(\omega)\langle\varphi_j,f\rangle Θ N ( ω ) = m + j = 1 ∑ N γ j ξ j ( ω ) φ j , ⟨ Θ N ( ω ) , f ⟩ = ⟨ m , f ⟩ + j = 1 ∑ N γ j ξ j ( ω ) ⟨ φ j , f ⟩
for f ∈ H f\in\mathcal{H} f ∈ H . It is clear that Θ N : Ω → H \Theta_N:\Omega\to\mathcal{H} Θ N : Ω → H is measurable and the ⟨ Θ N ( ω ) , f ⟩ \langle\Theta_N(\omega),f\rangle ⟨ Θ N ( ω ) , f ⟩ are real-valued Gaussian variables with mean ⟨ m , f ⟩ \langle m,f\rangle ⟨ m , f ⟩ and variance
E ( ∑ j = 1 N ∑ k = 1 N γ j ξ j ( ω ) ⟨ φ j , f ⟩ γ k ξ k ( ω ) ⟨ φ k , f ⟩ ) = ∑ j = 1 N γ j ⟨ φ j , f ⟩ 2 ≤ ∑ j = 1 N γ j ∥ f ∥ H 2 . \mathbb{E}\left(\sum_{j=1}^{N}\sum_{k=1}^{N}\sqrt{\gamma_j}\xi_j(\omega)\langle\varphi_j,f\rangle\sqrt{\gamma_k}\xi_k(\omega)\langle\varphi_k,f\rangle\right)=\sum_{j=1}^{N}\gamma_j\langle\varphi_j,f\rangle^2\leq\sum_{j=1}^{N}\gamma_j\lVert f\rVert_{\mathcal{H}}^2. E ( j = 1 ∑ N k = 1 ∑ N γ j ξ j ( ω ) ⟨ φ j , f ⟩ γ k ξ k ( ω ) ⟨ φ k , f ⟩ ) = j = 1 ∑ N γ j ⟨ φ j , f ⟩ 2 ≤ j = 1 ∑ N γ j ∥ f ∥ H 2 .
The convergence of the variances of a sequence of Gaussian variables implies its mean-square convergence. Thus the ⟨ Θ N ( ω ) , f ⟩ \langle\Theta_N(\omega),f\rangle ⟨ Θ N ( ω ) , f ⟩ converge in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) to a Gaussian random variable. The convergence is uniform on the unit ball of H \mathcal{H} H , so the Θ N \Theta_N Θ N converge to a random variable Θ ∈ L 2 ( Ω : H ) \Theta\in L^2(\Omega:\mathcal{H}) Θ ∈ L 2 ( Ω : H ) . Clearly,
E ( ⟨ Θ , f ⟩ ) = ⟨ m , f ⟩ , E ( ∣ ⟨ Θ − m , f ⟩ ∣ 2 ) = ∑ j = 1 ∞ γ j ⟨ φ j , f ⟩ 2 = ⟨ C f , f ⟩ . \mathbb{E}(\langle\Theta,f\rangle)=\langle m,f\rangle,\qquad\mathbb{E}(\lvert\langle\Theta-m,f\rangle\rvert^2)=\sum_{j=1}^{\infty}\gamma_j\langle\varphi_j,f\rangle^2=\langle Cf,f\rangle. E (⟨ Θ , f ⟩) = ⟨ m , f ⟩ , E (∣⟨ Θ − m , f ⟩ ∣ 2 ) = j = 1 ∑ ∞ γ j ⟨ φ j , f ⟩ 2 = ⟨ C f , f ⟩ .
As above, this leads to the characteristic function (33) and shows that the law of Θ \Theta Θ is the Gaussian measure π \pi π .
Summarizing, given a Gaussian measure π \pi π on a Hilbert space H \mathcal{H} H , the Karhunen-Loève expansion yields a random variable Θ \Theta Θ on H \mathcal{H} H whose law is π \pi π . This opens the possibility of producing samples of Θ \Theta Θ by drawing from a sequence of independent standard Gaussian random variables.
Suppose H = L 2 ( D ) \mathcal{H}=L^2(D) H = L 2 ( D ) for some domain D ⊂ R d D\subset\mathbb{R}^d D ⊂ R d and the realizations of the random variable Θ ∈ L 2 ( Ω : H ) \Theta\in L^2(\Omega:\mathcal{H}) Θ ∈ L 2 ( Ω : H ) are almost surely continuous functions on D D D . Then Θ \Theta Θ corresponds to a classical Gaussian random field on D D D , which has C C C as its covariance operator. In this sense, the bottom-up approach and the top-down approach are equivalent. The bottom-up approach offers the possibility to start with some explicitly given autocovariance function, but the explicit calculation of the orthonormal system might be difficult, see the examples in [25 Section 2.3.3] . The top-down approach offers the possibility to start from a simple definition of the covariance operator, e.g. as a negative fractional power of an elliptic partial differential operator L \mathcal{L} L (often referred to as the precision operator ), whose eigenfunction expansion is well-known. Then one has less control over the kernel C ( x , y ) C(x,y) C ( x , y ) , but one may work directly with the Karhunen-Loève expansion without computing the kernel.
Example 1. To illustrate the top-down approach, consider the Hilbert space H = L 2 ( D ) \mathcal{H}=L^2(D) H = L 2 ( D ) on the domain D = [ 0 , 1 ] d ⊂ R d D=[0,1]^d\subset\mathbb{R}^d D = [ 0 , 1 ] d ⊂ R d . The operator L \mathcal{L} L on H \mathcal{H} H is the Laplacian − Δ -\Delta − Δ with operator domain D ( L ) = H 2 ( D ) ∩ H 0 1 ( D ) \mathcal{D}(\mathcal{L})=H^2(D)\cap H^1_0(D) D ( L ) = H 2 ( D ) ∩ H 0 1 ( D ) . The operator L \mathcal{L} L is selfadjoint, positive and an isomorphism between D ( L ) \mathcal{D}(\mathcal{L}) D ( L ) and H \mathcal{H} H . There is a complete orthonormal system ( λ k , φ k ) (\lambda_k,\varphi_k) ( λ k , φ k ) , indexed by k = ( k 1 , … , k d ) ∈ N d k=(k_1,\ldots,k_d)\in\mathbb{N}^d k = ( k 1 , … , k d ) ∈ N d with eigenvalues and eigenfunctions given by
λ k = π 2 ∣ k ∣ 2 = π 2 ( k 1 2 + ⋯ + k d 2 ) , φ k ( x ) = ∏ i = 1 d ( 2 sin ( k i π x i ) ) . \lambda_k=\pi^2\lvert k\rvert^2=\pi^2(k_1^2+\cdots+k_d^2),\qquad\varphi_k(x)=\prod_{i=1}^{d}(\sqrt{2}\sin(k_i\pi x_i)). λ k = π 2 ∣ k ∣ 2 = π 2 ( k 1 2 + ⋯ + k d 2 ) , φ k ( x ) = i = 1 ∏ d ( 2 sin ( k i π x i )) .
We have that L g = ∑ k ∈ N d λ k ⟨ g , φ k ⟩ φ k \mathcal{L}g=\sum_{k\in\mathbb{N}^d}\lambda_k\langle g,\varphi_k\rangle\varphi_k L g = ∑ k ∈ N d λ k ⟨ g , φ k ⟩ φ k . For α ≥ 0 \alpha\geq0 α ≥ 0 , the sequence λ k − α \lambda_k^{-\alpha} λ k − α is bounded and so C = L − α C=\mathcal{L}^{-\alpha} C = L − α maps H = L 2 ( D ) \mathcal{H}=L^2(D) H = L 2 ( D ) continuously into itself via C f = ∑ k ∈ N d λ k − α ⟨ f , φ k ⟩ φ k Cf=\sum_{k\in\mathbb{N}^d}\lambda_k^{-\alpha}\langle f,\varphi_k\rangle\varphi_k C f = ∑ k ∈ N d λ k − α ⟨ f , φ k ⟩ φ k . The operator C C C is selfadjoint and positive. Further, for α > d / 2 \alpha>d/2 α > d /2 it is trace class, because ∑ k ∈ N d λ k − 2 α = π − 2 α ∑ k ∈ N d ∣ k ∣ − 2 α \sum_{k\in\mathbb{N}^d}\lambda_k^{-2\alpha}=\pi^{-2\alpha}\sum_{k\in\mathbb{N}^d}\lvert k\rvert^{-2\alpha} ∑ k ∈ N d λ k − 2 α = π − 2 α ∑ k ∈ N d ∣ k ∣ − 2 α is finite. Thus C C C is the covariance operator of a Gaussian measure on H \mathcal{H} H . The operator C C C is an integral operator with kernel
C ( x , y ) = ∑ k ∈ N d λ k − α φ k ( x ) φ k ( y ) ∈ L 2 ( D × D ) . C(x,y)=\sum_{k\in\mathbb{N}^d}\lambda_k^{-\alpha}\varphi_k(x)\varphi_k(y)\in L^2(D\times D). C ( x , y ) = k ∈ N d ∑ λ k − α φ k ( x ) φ k ( y ) ∈ L 2 ( D × D ) .
The eigenfunctions φ k \varphi_k φ k are uniformly bounded by 2 d / 2 2^{d/2} 2 d /2 and the sequence λ k − α \lambda_k^{-\alpha} λ k − α is summable, thus the convergence is actually uniform in ( x , y ) (x,y) ( x , y ) and the kernel is a continuous function on D × D D\times D D × D .
On the other hand, let ( Ω , A , P ) (\Omega,\mathcal{A},P) ( Ω , A , P ) be a probability space on which a sequence ( ξ k , k ∈ N d ) (\xi_k,k\in\mathbb{N}^d) ( ξ k , k ∈ N d ) of independent standard Gaussian random variables is defined. We can introduce a random field on D D D by
Θ ( x , ω ) = ∑ k ∈ N d λ k − α / 2 ξ k ( ω ) φ k ( x ) . \Theta(x,\omega)=\sum_{k\in\mathbb{N}^d}\lambda_k^{-\alpha/2}\xi_k(\omega)\varphi_k(x). Θ ( x , ω ) = k ∈ N d ∑ λ k − α /2 ξ k ( ω ) φ k ( x ) .
We have that
E ( Θ ( x ) 2 ) = E ( ∑ k ∈ N d λ k − α / 2 ξ k ( ω ) φ k ( x ) ∑ l ∈ N d λ l − α / 2 ξ l ( ω ) φ l ( x ) ) = ∑ k ∈ N d λ k − α φ k ( x ) 2 . \mathbb{E}(\Theta(x)^2)=\mathbb{E}\left(\sum_{k\in\mathbb{N}^d}\lambda_k^{-\alpha/2}\xi_k(\omega)\varphi_k(x)\sum_{l\in\mathbb{N}^d}\lambda_l^{-\alpha/2}\xi_l(\omega)\varphi_l(x)\right)=\sum_{k\in\mathbb{N}^d}\lambda_k^{-\alpha}\varphi_k(x)^2. E ( Θ ( x ) 2 ) = E ( k ∈ N d ∑ λ k − α /2 ξ k ( ω ) φ k ( x ) l ∈ N d ∑ λ l − α /2 ξ l ( ω ) φ l ( x ) ) = k ∈ N d ∑ λ k − α φ k ( x ) 2 .
By the considerations above, the sequence converges uniformly on D D D , thus E ( Θ ( x ) 2 ) \mathbb{E}(\Theta(x)^2) E ( Θ ( x ) 2 ) is a continuous function on D D D . Clearly, the covariance operator generated by Θ \Theta Θ is C C C . For x ∈ ∂ D x\in\partial D x ∈ ∂ D , E ( Θ ( x ) 2 ) = 0 \mathbb{E}(\Theta(x)^2)=0 E ( Θ ( x ) 2 ) = 0 and the values of any finite partial sum on the boundary ∂ D \partial D ∂ D are zero almost surely. When applied in the reconstruction of random fields in Bayesian inverse problems, this is undesirable.
Accordingly, we will change the setting to the Laplace operator with periodic boundary conditions next.
Example 2. Consider the Hilbert space H = L 2 ( 0 , 1 ) \mathcal{H}=L^{2}(0,1) H = L 2 ( 0 , 1 ) . The operator L \mathcal{L} L will be the Laplacian − ∂ x 2 -\partial_{x}^{2} − ∂ x 2 with operator domain D ( L ) = H p e r 2 ( 0 , 1 ) = { f ∈ H 2 ( 0 , 1 ) : f ( 0 ) = f ( 1 ) , f ′ ( 0 ) = f ′ ( 1 ) } \mathcal{D}(\mathcal{L})=H_{\mathrm{per}}^{2}(0,1)=\{f\in H^{2}(0,1):f(0)=f(1),f'(0)=f'(1)\} D ( L ) = H per 2 ( 0 , 1 ) = { f ∈ H 2 ( 0 , 1 ) : f ( 0 ) = f ( 1 ) , f ′ ( 0 ) = f ′ ( 1 )} . The operator L \mathcal{L} L is selfadjoint, positive and an isomorphism between D ( L ) \mathcal{D}(\mathcal{L}) D ( L ) and its range R ( L ) = { g ∈ L 2 ( D ) : ∫ 0 1 g ( x ) d x = 0 } \mathcal{R}(\mathcal{L})=\{g\in L^{2}(D):\int_{0}^{1}g(x)\,\mathrm{d}x=0\} R ( L ) = { g ∈ L 2 ( D ) : ∫ 0 1 g ( x ) d x = 0 } . The operator L \mathcal{L} L has a sequence of eigenvalues λ 0 = 0 \lambda_{0}=0 λ 0 = 0 , λ k = ( 2 π k ) 2 \lambda_{k}=(2\pi k)^{2} λ k = ( 2 π k ) 2 of multiplicity two for k ≥ 1 k\geq1 k ≥ 1 with eigenfunctions ψ 0 = 1 \psi_{0}=1 ψ 0 = 1 , φ k ( x ) = 2 sin 2 k π x \varphi_{k}(x)=\sqrt{2}\sin2k\pi x φ k ( x ) = 2 sin 2 k π x , ψ k ( x ) = 2 cos 2 k π x \psi_{k}(x)=\sqrt{2}\cos2k\pi x ψ k ( x ) = 2 cos 2 k π x .
The fact that H = ( R ⋅ 1 ) ⊕ R ( L ) \mathcal{H}=(\mathbb{R}\cdot1)\oplus\mathcal{R}(\mathcal{L}) H = ( R ⋅ 1 ) ⊕ R ( L ) suggests to extend L − 1 \mathcal{L}^{-1} L − 1 to ( c + L − 1 ) (c+\mathcal{L}^{-1}) ( c + L − 1 ) ,
( c + L − 1 ) f ( x ) = c ⟨ ψ 0 , f ⟩ + ∑ k = 1 ∞ ( 2 k π ) − 2 ( ⟨ φ k , f ⟩ φ k ( x ) + ⟨ ψ k , f ⟩ ψ k ( x ) ) (c+\mathcal{L}^{-1})f(x)=c\langle\psi_{0},f\rangle+\sum_{k=1}^{\infty}(2k\pi)^{-2}\left(\langle\varphi_{k},f\rangle\varphi_{k}(x)+\langle\psi_{k},f\rangle\psi_{k}(x)\right) ( c + L − 1 ) f ( x ) = c ⟨ ψ 0 , f ⟩ + k = 1 ∑ ∞ ( 2 k π ) − 2 ( ⟨ φ k , f ⟩ φ k ( x ) + ⟨ ψ k , f ⟩ ψ k ( x ) )
which is a positive and selfadjoint operator if c > 0 c>0 c > 0 . For α > 1 / 2 \alpha>1/2 α > 1/2 , the operator
C f ( x ) = ( c + L − 1 ) α f ( x ) = c α ⟨ ψ 0 , f ⟩ + ∑ k = 1 ∞ ( 2 k π ) − 2 α ( ⟨ φ k , f ⟩ φ k ( x ) + ⟨ ψ k , f ⟩ ψ k ( x ) ) = ∫ 0 1 ( c α + 2 ∑ k = 1 ∞ ( 2 k π ) − 2 α cos 2 k π ( x − y ) ) f ( y ) d y (35) \begin{aligned}
Cf(x)&=(c+\mathcal{L}^{-1})^{\alpha}f(x)\\
&=c^{\alpha}\langle\psi_{0},f\rangle+\sum_{k=1}^{\infty}(2k\pi)^{-2\alpha}\left(\langle\varphi_{k},f\rangle\varphi_{k}(x)+\langle\psi_{k},f\rangle\psi_{k}(x)\right)\\
&=\int_{0}^{1}\left(c^{\alpha}+2\sum_{k=1}^{\infty}(2k\pi)^{-2\alpha}\cos2k\pi(x-y)\right)f(y)\,\mathrm{d}y \tag*{(35)}
\end{aligned} C f ( x ) = ( c + L − 1 ) α f ( x ) = c α ⟨ ψ 0 , f ⟩ + k = 1 ∑ ∞ ( 2 k π ) − 2 α ( ⟨ φ k , f ⟩ φ k ( x ) + ⟨ ψ k , f ⟩ ψ k ( x ) ) = ∫ 0 1 ( c α + 2 k = 1 ∑ ∞ ( 2 k π ) − 2 α cos 2 k π ( x − y ) ) f ( y ) d y (35)
is trace class and can serve as the covariance operator of a Gaussian measure on H \mathcal{H} H . The last equality follows by expanding the terms and allows one to read off the integral kernel.
Let ( Ω , A , P ) (\Omega,\mathcal{A},\mathbb{P}) ( Ω , A , P ) be a probability space with a double sequence ξ k \xi_{k} ξ k , k ≥ 1 k\geq1 k ≥ 1 , η k \eta_{k} η k , k ≥ 0 k\geq0 k ≥ 0 of independent standard Gaussian random variables. The random field
Θ ( x , ω ) = c α / 2 η 0 ( ω ) + 2 ∑ k = 1 ∞ ( 2 k π ) − α ( ξ k ( ω ) sin 2 k π x + η k ( ω ) cos 2 k π x ) \Theta(x,\omega)=c^{\alpha/2}\eta_{0}(\omega)+\sqrt{2}\sum_{k=1}^{\infty}(2k\pi)^{-\alpha}\left(\xi_{k}(\omega)\sin2k\pi x+\eta_{k}(\omega)\cos2k\pi x\right) Θ ( x , ω ) = c α /2 η 0 ( ω ) + 2 k = 1 ∑ ∞ ( 2 k π ) − α ( ξ k ( ω ) sin 2 k π x + η k ( ω ) cos 2 k π x )
is Gaussian and has C C C as covariance operator.
Remark. For α = 1 \alpha=1 α = 1 one can get an explicit formula for the kernel C ( x , y ) C(x,y) C ( x , y ) of C C C . Comparing with the Fourier series for
1 2 ( z − 1 2 ) 2 = 1 24 + 2 ∑ k = 1 ∞ ( 2 k π ) − 2 cos 2 k π z \frac{1}{2}\left(z-\frac{1}{2}\right)^{2}=\frac{1}{24}+2\sum_{k=1}^{\infty}(2k\pi)^{-2}\cos2k\pi z 2 1 ( z − 2 1 ) 2 = 24 1 + 2 k = 1 ∑ ∞ ( 2 k π ) − 2 cos 2 k π z
we find that
C ( x , y ) = c + 2 ∑ k = 1 ∞ ( 2 k π ) − 2 cos 2 k π ( x − y ) = 1 2 ( x − y − 1 2 ) 2 + c − 1 24 . C(x,y)=c+2\sum_{k=1}^{\infty}(2k\pi)^{-2}\cos2k\pi(x-y)=\frac{1}{2}\left(x-y-\frac{1}{2}\right)^{2}+c-\frac{1}{24}. C ( x , y ) = c + 2 k = 1 ∑ ∞ ( 2 k π ) − 2 cos 2 k π ( x − y ) = 2 1 ( x − y − 2 1 ) 2 + c − 24 1 .
In the bottom-up approach, we would have started with the Fourier expansion of C ( x , 0 ) C(x,0) C ( x , 0 ) and then would have worked upwards to construct a Gaussian, trigonometric random field.
Example 3. In the application to reconstructing the right-hand side in the two-dimensional Poisson equation in Subsection 4.2, we extend Example 2 to two dimensions, using the Gaussian random field on D = [ 0 , 1 ] × [ 0 , 1 ] D=[0,1]\times[0,1] D = [ 0 , 1 ] × [ 0 , 1 ] ,
Θ ( x 1 , x 2 , ω ) = ξ 0 ( ω ) + 2 ( 2 π ) − α ∑ k , l = 0 ( k , l ) ≠ ( 0 , 0 ) ∞ ∑ i = 1 4 ( k 2 + l 2 ) − α / 2 ξ k l ( i ) ψ k l ( i ) ( x 1 , x 2 ) \Theta(x_{1},x_{2},\omega)=\xi_{0}(\omega)+2(2\pi)^{-\alpha}\sum_{\substack{k,l=0\\(k,l)\ne(0,0)}}^{\infty}\sum_{i=1}^{4}(k^{2}+l^{2})^{-\alpha/2}\xi_{kl}^{(i)}\psi_{kl}^{(i)}(x_{1},x_{2}) Θ ( x 1 , x 2 , ω ) = ξ 0 ( ω ) + 2 ( 2 π ) − α k , l = 0 ( k , l ) = ( 0 , 0 ) ∑ ∞ i = 1 ∑ 4 ( k 2 + l 2 ) − α /2 ξ k l ( i ) ψ k l ( i ) ( x 1 , x 2 )
with α > 1 \alpha>1 α > 1 , where
ψ k l ( 1 ) ( x 1 , x 2 ) = sin 2 k π x 1 sin 2 l π x 2 , ψ k l ( 2 ) ( x 1 , x 2 ) = sin 2 k π x 1 cos 2 l π x 2 , \psi_{kl}^{(1)}(x_{1},x_{2})=\sin2k\pi x_{1}\sin2l\pi x_{2},\qquad\psi_{kl}^{(2)}(x_{1},x_{2})=\sin2k\pi x_{1}\cos2l\pi x_{2}, ψ k l ( 1 ) ( x 1 , x 2 ) = sin 2 k π x 1 sin 2 l π x 2 , ψ k l ( 2 ) ( x 1 , x 2 ) = sin 2 k π x 1 cos 2 l π x 2 ,
ψ k l ( 3 ) ( x 1 , x 2 ) = cos 2 k π x 1 sin 2 l π x 2 , ψ k l ( 4 ) ( x 1 , x 2 ) = cos 2 k π x 1 cos 2 l π x 2 \psi_{kl}^{(3)}(x_{1},x_{2})=\cos2k\pi x_{1}\sin2l\pi x_{2},\qquad\psi_{kl}^{(4)}(x_{1},x_{2})=\cos2k\pi x_{1}\cos2l\pi x_{2} ψ k l ( 3 ) ( x 1 , x 2 ) = cos 2 k π x 1 sin 2 l π x 2 , ψ k l ( 4 ) ( x 1 , x 2 ) = cos 2 k π x 1 cos 2 l π x 2
and the ξ 0 \xi_0 ξ 0 as well as ξ k l ( i ) \xi_{kl}^{(i)} ξ k l ( i ) , k , l ∈ N k,l \in\mathbb{N} k , l ∈ N , i = 1 , … , 4 i=1,\ldots,4 i = 1 , … , 4 are all independent standard Gaussian random variables.
For reference in Subsection 4.2 we denote the corresponding covariance operator by C α C_\alpha C α .
Example 4. The covariance operator may be taken as a negative power of a general second order elliptic partial differential operator L \mathcal{L} L satisfying suitable conditions [57 Assumption 2.9] . This gives us the opportunity to have a glimpse at a different road to covariances, the SPDE approach [42 ] . Informally speaking, if a random field Θ \Theta Θ on a domain D D D is defined as Θ = L − 1 W ˙ \Theta= \mathcal{L}^{-1}\dot{W} Θ = L − 1 W ˙ , where W ˙ \dot{W} W ˙ is Gaussian white noise on D D D , then Θ \Theta Θ has covariance operator L − 2 \mathcal{L}^{-2} L − 2 . To exemplify this, consider the Sturm-Liouville operator
L f ( x ) = − d d x ( p ( x ) d d x f ( x ) ) + q ( x ) f ( x ) \mathcal{L}f(x)=-\frac{\mathrm{d}}{\mathrm{d}x}\left(p(x)\frac{\mathrm{d}}{\mathrm{d}x}f(x)\right)+q(x)f(x) L f ( x ) = − d x d ( p ( x ) d x d f ( x ) ) + q ( x ) f ( x )
on D = ( 0 , 1 ) D=(0,1) D = ( 0 , 1 ) where p ( x ) > 0 p(x)>0 p ( x ) > 0 , q ( x ) ≥ 0 q(x)\geq0 q ( x ) ≥ 0 . We assume that the coefficient functions p , q p,q p , q are sufficiently regular so that L \mathcal{L} L is an isomorphism from H 0 1 ( D ) H_0^1(D) H 0 1 ( D ) to H − 1 ( D ) H^{-1}(D) H − 1 ( D ) . Gaussian white noise W ˙ \dot{W} W ˙ on D = ( 0 , 1 ) D=(0,1) D = ( 0 , 1 ) can be seen as the pathwise weak derivative of Wiener process, thus certainly belongs to H − 1 ( D ) H^{-1}(D) H − 1 ( D ) . The equation L ( Θ ) = W ˙ \mathcal{L}(\Theta)=\dot{W} L ( Θ ) = W ˙ has a unique solution Θ ∈ H 0 1 ( D ) \Theta\in H_0^1(D) Θ ∈ H 0 1 ( D ) . It can be written as an Itô integral in terms of the Green function G G G of L \mathcal{L} L ,
Θ ( x ) = ∫ 0 1 G ( x , z ) d W ( z ) . \Theta(x)=\int_0^1 G(x,z)\,\mathrm{d}W(z). Θ ( x ) = ∫ 0 1 G ( x , z ) d W ( z ) .
The random field Θ \Theta Θ has mean zero and covariance (using the Itô isometry)
E ( Θ ( x ) Θ ( y ) ) = E ( ∫ 0 1 G ( x , z ) d W ( z ) ∫ 0 1 G ( y , z ) d W ( z ) ) = ∫ 0 1 G ( x , z ) G ( y , z ) d z . \mathbb{E}(\Theta(x)\Theta(y))=\mathbb{E}\left(\int_0^1G(x,z)\,\mathrm{d}W(z)\int_0^1G(y,z)\,\mathrm{d}W(z)\right)=\int_0^1G(x,z)G(y,z)\,\mathrm{d}z. E ( Θ ( x ) Θ ( y )) = E ( ∫ 0 1 G ( x , z ) d W ( z ) ∫ 0 1 G ( y , z ) d W ( z ) ) = ∫ 0 1 G ( x , z ) G ( y , z ) d z .
By the symmetry of Green’s function, the latter term equals ∫ 0 1 G ( x , z ) G ( z , y ) d z \int_0^1G(x,z)G(z,y)\,\mathrm{d}z ∫ 0 1 G ( x , z ) G ( z , y ) d z and hence coincides with the integral kernel of L − 2 \mathcal{L}^{-2} L − 2 .
The law of Θ \Theta Θ is N ( 0 , L − 2 ) \mathcal{N}(0,\mathcal{L}^{-2}) N ( 0 , L − 2 ) . Sampling from one-dimensional white noise or from the solution of an Itô equation is easy, thus the SPDE approach is a viable alternative to the Karhunen-Loève expansion. A further advantage in higher space dimensions is that the shape of the domain D ⊂ R d D \subset\mathbb{R}^d D ⊂ R d may be arbitrary; no eigenvalues need to be computed. However, regularity questions enter. Spatial white noise is a generalized stochastic process, defined through its action on test functions φ \varphi φ (smooth functions of compact support in D D D ), φ ↦ W ˙ ( ω ) ( φ ) \varphi\mapsto\dot{W}(\omega)(\varphi) φ ↦ W ˙ ( ω ) ( φ ) , ω ∈ Ω \omega\in\Omega ω ∈ Ω . It is well-known ([33 Section 2.1] ) that the action of W ˙ \dot{W} W ˙ can be extended to φ ∈ L 2 ( D ) \varphi\in L^2(D) φ ∈ L 2 ( D ) . Then the Green’s function argument goes through as long as G ( x , ⋅ ) ∈ L 2 ( D ) G(x,\cdot)\in L^2(D) G ( x , ⋅ ) ∈ L 2 ( D ) for every x ∈ D x \in D x ∈ D . If L = − Δ \mathcal{L}=-\Delta L = − Δ is the Laplacian, this is the case for space dimensions d = 1 , 2 , 3 d=1,2,3 d = 1 , 2 , 3 ; see also the discussion in [11 ] .
Remarks. (a) The concept of the SPDE approach goes back at least to [63 ] and was notably used to construct random fields with a Matérn covariance C ( x , y ) ∼ ( κ ∣ x − y ∣ ) ν K ν ( κ ∣ x − y ∣ ) C(x,y)\sim(\kappa|x-y|)^\nu K_\nu(\kappa|x-y|) C ( x , y ) ∼ ( κ ∣ x − y ∣ ) ν K ν ( κ ∣ x − y ∣ ) as solutions of ( κ 2 − Δ ) α / 2 Θ = W ˙ (\kappa^2-\Delta)^{\alpha/2}\Theta=\dot{W} ( κ 2 − Δ ) α /2 Θ = W ˙ on R d \mathbb{R}^d R d , where κ , ν > 0 \kappa,\nu>0 κ , ν > 0 , α = ν + d / 2 \alpha=\nu+d/2 α = ν + d /2 and K ν K_\nu K ν is the modified Bessel function of the second kind. We refer to [43 ] and the survey paper [42 ] , which also discusses an extension to the non-constant, anisotropic case obtained through
τ ( x ) ( κ ( x ) 2 − ∇ ⋅ H ( x ) ∇ ) α / 2 Θ ( x ) = W ˙ ( x ) . \tau(x)\left(\kappa(x)^2-\nabla\cdot H(x)\nabla\right)^{\alpha/2}\Theta(x)=\dot{W}(x). τ ( x ) ( κ ( x ) 2 − ∇ ⋅ H ( x ) ∇ ) α /2 Θ ( x ) = W ˙ ( x ) .
Further, κ ( x ) \kappa(x) κ ( x ) may be taken as a random field itself, as done in [54 ] with α = 2 \alpha=2 α = 2 . Matérn covariances together with a Karhunen-Loève expansion were also used in [59 ] .
(b) Sampling from a random field on arbitrary domains has its difficulties, due to boundary effects. This can be mitigated either by extending the domain to a box or by optimizing the boundary conditions; this issue is discussed and investigated in [16 ] .
(c) Apart from papers quoted in (a), non-constant coefficient precision operators L \mathcal{L} L arise in inverse problems on manifolds [31 , 43 , 50 ] , e. g., as Laplace-Beltrami operators.
(d) A further method for drawing samples from a Gaussian random field is the use of so-called Langevin algorithms . These algorithms consist in constructing Langevin-type diffusion equations having the desired measure as stationary distribution [52 Section 7.8.5] , [28 , 29 , 30 ] .