<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Gaussian measures conditioned on nonlinear observations: consistency, MAP estimators, and simulation</title></titleStmt>
			<publicationStmt>
				<publisher>Springer</publisher>
				<date>02/01/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10661158</idno>
					<idno type="doi">10.1007/s11222-024-10535-0</idno>
					<title level='j'>Statistics and Computing</title>
<idno>0960-3174</idno>
<biblScope unit="volume">35</biblScope>
<biblScope unit="issue">1</biblScope>					

					<author>Yifan Chen</author><author>Bamdad Hosseini</author><author>Houman Owhadi</author><author>Andrew M Stuart</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Not Available]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><p>space of the Gaussian measure, K 1/2 X . Proceeding in analogy with the definition of &#956; y 0 , we may take the &#946; = 0 limit of (3) to formally obtain a variational characterization of the mode of &#956; y 0 via u y 0 := arg min u&#8712;K 1/2 X K -1/2 u X subject to ( s.t.) F &#966;(u) = y.</p><p>(4)</p><p>The rigorous characterization of the aforementioned posterior and conditional measures, along with their modes, is the primary focus of this article. To this end, we make the following contributions:</p><p>1. We establish the existence of appropriate limits of &#956; y &#946; and u y &#946; as &#946; &#8594; 0, making precise the natural candidates for &#956; y 0 and u y 0 defined above, and characterizing u y 0 as an approximate definition of the mode of the conditional measure &#956; y 0 . These relationships, and the theorems making them explicit, are summarized in Fig. <ref type="figure">1</ref>. 2. We show that for &#946; &#8805; 0, the posterior measures &#956; y &#946; can be decomposed as the convolution of a conditional Gaussian measure and a non-Gaussian measure that is finite-dimensional; this result is given in Theorem 4. This decomposition is analogous to representer theorems for the MAP estimator u y &#946; , stating that the minimizers of (3) are effectively finite-dimensional; see Theorem 6. 3. We introduce a technique for generating samples from the posteriors &#956; y &#946; by decomposing them into a finitedimensional component, which is sampled by standard algorithms such as Markov chain Monte Carlo (MCMC) or variational inference, and an infinite-dimensional Gaussian component, which may be simulated exactly using analytical properties of Gaussian measures; see Sect. 4. In particular, we show that the non-Gaussian component is amenable to approximation using a Laplace or Gauss-Newton-type approximation in settings where lots of observations are available, leading to efficient numerical algorithms in applications such as PDE solvers.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Motivating examples</head><p>In what follows we give three motivating examples for the study of posterior measures of the form (1), their MAP estimators and conditional counterparts. In Sect. 1.1.1 we study a Bayesian inverse problem; Sect. 1.1.2 is devoted to the GP-PDE methodology for solving forward problems in PDEs; and Sect. 1.1.3 combines the two preceding subsections to study the GP-PDE methodology for inverse problems.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1.1">Inverse problems</head><p>Fix any &#946; &gt; 0. Then the posterior measures &#956; y &#946; solve the Bayesian inverse problem (BIP) of finding the conditional distribution of u | y when u &#8764; &#956;, &#950; &#8764; N (0, &#946; 2 I ) independent of u, and y (the data) is given by the model</p><p>We can employ Bayes' rule <ref type="bibr">(Stuart 2010)</ref> to characterize the &#956; y &#946; via their Radon-Nikodym derivatives with respect to &#956; :</p><p>Example 1 To illustrate this setting we consider the inverse problem of finding u from y = (y 1 , . . . , y M ) where</p><p>where {x m } M m=1 &#8834; (0, 1) 2 are a set of observation locations and p solves the elliptic PDE -&#8711; &#8226; exp(u(x)&#8711; p(x) = f (x), x &#8712; (0, 1) 2 , p(x) = 0,</p><p>x &#8712; &#8706;(0, 1) 2 .</p><p>(7)</p><p>Assume that the prior &#956; on u is a centred Gaussian random field and let &#966;(u) denote the vector of the first N coefficients in an expansion of u in the (ordered according to decreasing eigenvalues) eigenfunctions of the covariance operator of &#956;.</p><p>As the basis of a practical computational approach to the inverse problem, now consider solving the elliptic PDE with u replaced by its truncation u N to N terms in this eigenbasis:</p><p>-&#8711; &#8226; exp(u N (x))&#8711; p N (x) = f (x), x &#8712; (0, 1) 2 , p N (x) = 0, x &#8712; &#8706;(0, 1) 2 .</p><p>The resulting solution p N of this PDE, evaluated at the points {x m } M m=1 , defines a map F : R N &#8594; R M from &#966;(u)</p><p>to { p N (x m )} M m=1 . We then consider the inverse problem of recovering u from y where</p><p>This may be written in the general form (5) for G(u) = F &#8226; &#966;(u).</p><p>A common task in solving inverse problems and uncertainty quantification (UQ) is to estimate various statistics of the above posterior measures. The MAP u y &#946; is a popular choice among practitioners, which highlights the importance of understanding its properties. Alternatively, one may choose to generate samples from &#956; y &#946; directly using MCMC and then compute empirical statistics such as posterior mean and variance. In either case, our finite-dimensional representations of &#956; y &#946; and its MAP u y &#946; offer a path towards efficient calculations. Moreover, it is natural to characterize solutions of these problems in the small noise limit as &#946; &#8594; 0 to understand the consistency of the underlying inverse problems and their limit behavior.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1.2">Solving PDEs with Gaussian processes</head><p>One of the core problems of the field of scientific machine learning (ML) is the design of novel algorithms for the solution of PDEs based on ML techniques. An example of such a methodology was introduced by the authors in <ref type="bibr">Chen et al. (2021)</ref> where a Gaussian Process (GP) solver was developed for the numerical solution of nonlinear PDEs; henceforth referred to as GP-PDE. We briefly recall this methodology in the context of a specific example from <ref type="bibr">Chen et al. (2021)</ref>.</p><p>Example 2 Consider the PDE</p><p>for &#964; : R &#8594; R and f : (0, 1) 2 &#8594; R. We assume the existence of a unique solution u in the strong/classical sense. Then GP-PDE aims to find a numerical approximation u y &#946; to u by the following recipe: First, choose a set of M collocation points x 1 , . . . , x M &#8712; [0, 1] 2 , with J in the interior and M -J on the boundary, ordered so that x 1 , . . . , x J &#8712; (0, 1) 2 while x J +1 , . . . , x M &#8712; &#8706;(0, 1) 2 . Then define &#966; = (&#966; 1 , . . . , &#966; N ) for N = J + M with the &#966; m defined as</p><p>for m = 1, . . . , M,</p><p>and the nonlinear function F : R M+J &#8594; R M defined rowwise as</p><p>Furthermore, define the vector y &#8712; R M defined element-wise as</p><p>With these definitions, we may now consider our PDE solver as an instance of (5).</p><p>Recalling the discussion earlier in Sect. 1 suggests that the resulting minimizer identifies the mode of an underlying posterior measure &#956; y &#946; . This observation was discussed informally in <ref type="bibr">Chen et al. (2021)</ref>, in the setting of the GP-PDE methodology, and our Theorem 5 establishes this connection rigorously. The GP-PDE methodology relies on a representer theorem (see also <ref type="bibr">Smola and Sch&#246;lkopf 1998)</ref> that identifies the solution of (3), in the GP-PDE context, via a finitedimensional optimization problem. In <ref type="bibr">Chen et al. (2021)</ref> it is argued that the natural &#946; &#8594; 0 limit of (3), namely (4), can also be solved with a representer theorem. Theorem 4 and Theorem 6 can be viewed as establishing Bayesian analogs of these results from <ref type="bibr">Chen et al. (2021)</ref>, where the exposition is primarily focused on kernel methods.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1.3">Simultaneous solution of PDEs and inverse problems</head><p>For our final motivating example we consider a methodology introduced in <ref type="bibr">Chen et al. (2021)</ref>, for the solution of PDE based inverse problems, using the GP-PDE methodology, in which we seek both the solution of the PDE and an unknown coefficient at the same time. We outline how the formulation fromn that paper is also encompassed by the theoretical framework in this paper.</p><p>Example 3 Consider the elliptic PDE (7) in a 1D setting and with slightly modified notation</p><p>and let u = (a, p) be the parameter we wish to infer. Consider the inverse problem of finding u from data/observations y obs &#8712; R M obs where</p><p>and the {x m } M obs m=1 &#8834; (0, 1) are once again our observation locations as in Example 1. Now consider a mesh {x m } M mesh m=1 } &#8834; (0, 1) (ignoring boundary points for brevity) and discretize the PDE using the GP-PDE approach of Example 2. Consider the maps</p><p>along with the (artifically) noisy PDE data</p><p>Then the PDE constrained to the mesh points {x m } M mesh m=1 defines the relationship</p><p>This model, together with (12), defines a nonlinear map F : R N &#8594; R M for N = M obs +5M mesh and M = M obs + M mesh so that</p><p>Here we used bold letters to denote the vectorized versions of the maps and variables defined above. We place a GP prior on u, implying a joint GP prior on a and p. Furthermore we assume that this prior is chosen so that p satisfies the boundary conditions, justifying the use of collocation points only in the interior of (0, 1). This allows us to cast the problem of simultaneous recovery of both p and a in the desired form (5).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Literature review</head><p>Below we give an overview of published literature that is relevant to our work. We do so with a particular focus on the theory of Bayesian inverse problems, GPs, and probabilistic methods in numerical analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2.1">Bayesian inverse problems and MAP estimators</head><p>Bayesian inference <ref type="bibr">(Gelman et al. 1995</ref>) is a cornerstone of modern statistics and data science. When applied in the context of infinite-dimensional or functional inference the methodology is best known under the term Bayesian inverse problems <ref type="bibr">(Franklin 1970;</ref><ref type="bibr">Tarantola 2005;</ref><ref type="bibr">Kaipio and Somersalo 2006;</ref><ref type="bibr">Stuart 2010)</ref>. Over the past decade, the algorithmic development and theoretical analysis for Bayesian inverse problems have become mature areas of research.</p><p>Here, Bayesian inference with Gaussian prior measures is by far the most common setup for both algorithms and theoretical analysis. The overwhelming majority of function space MCMC algorithms <ref type="bibr">(Tierney 1998;</ref><ref type="bibr">Beskos et al. 2011;</ref><ref type="bibr">Cotter et al. 2013;</ref><ref type="bibr">Cui et al. 2016;</ref><ref type="bibr">Beskos et al. 2017</ref>) are developed specifically for Gaussian priors; see <ref type="bibr">Hosseini (2019)</ref> and references within for examples of algorithms for non-Gaussian priors. The well-posedness theory of Bayesian inverse problems was originally developed for the case of Gaussian (or sub-Gaussian) priors <ref type="bibr">(Cotter et al. 2009;</ref><ref type="bibr">Stuart 2010)</ref> and was later extended to the non-Gaussian setting <ref type="bibr">(Dashti et al. 2012;</ref><ref type="bibr">Hosseini and Nigam 2017;</ref><ref type="bibr">Hosseini 2017;</ref><ref type="bibr">Sullivan 2017;</ref><ref type="bibr">Sprungk 2020;</ref><ref type="bibr">Latz 2020</ref>) but the case of Gaussian priors remains most applicable as it allows for the widest range of nonlinear forward maps. From this perspective, this article makes important theoretical contributions towards the understanding and characterization of Bayesian posteriors under nonlinear observation models with Gaussian priors. Most importantly, our second contribution enables the use of finite-dimensional MCMC algorithms for nonlinear observation models without the need for direct discretization of the inverse problem.</p><p>Variational methods are also an important family of algorithms for the solution of Bayesian inverse problems. Perhaps the most common task here is computing a MAP estimator. Defining a MAP estimator in the function space setting is highly non-trivial. Several definitions, and resulting analyses, of modes of measures on infinite-dimensional spaces exist <ref type="bibr">(Agapiou et al. 2018;</ref><ref type="bibr">Ayanbayev et al. 2021a, b;</ref><ref type="bibr">Clason et al. 2019;</ref><ref type="bibr">Dashti et al. 2013;</ref><ref type="bibr">Helin and Burger 2015)</ref> where the choice of the notion of the mode is closely tied to the choice of the prior measure. Once again, the Gaussian priors lead to the most natural definition of a MAP estimator <ref type="bibr">(Dashti et al. 2013;</ref><ref type="bibr">Ikeda and Watanabe 2014)</ref> which is the same one we shall use to define u y &#946; in (3). However, to our knowledge, a notion of a conditional mode, i.e., a precise definition of u y 0 as in (4) has not been studied before and constitutes one of our main contributions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2.2">Gaussian measures and processes</head><p>The general theory of Gaussian measures in infinite-dimensional settings is a classic subject in probability theory and the theory of stochastic differential equations. We refer the reader to the work of <ref type="bibr">Bogachev (1998)</ref> for the detailed treatment of this subject on topological vector spaces and <ref type="bibr">Maniglia and Rhandi (2004)</ref> and <ref type="bibr">Janson (1997)</ref> for the case of Hilbert spaces.</p><p>GPs, as a special instance of Gaussian measures, and, by extension, reproducing kernel Hilbert space (RKHS) methods <ref type="bibr">(Kanagawa et al. 2018;</ref><ref type="bibr">van der Vaart et al. 2008</ref>) and support vector machines <ref type="bibr">(Smola and Sch&#246;lkopf 1998)</ref>, have a long history in approximation theory <ref type="bibr">(Wendland 2004)</ref>, statistical modeling and inference <ref type="bibr">(Gin&#233; and Nickl 2021)</ref>, inverse problems <ref type="bibr">(Cressie 1990)</ref>, and machine learning <ref type="bibr">(Rasmussen and Williams 2007;</ref><ref type="bibr">Smola and Sch&#246;lkopf 1998)</ref>. While in this article we mainly focus on solving differential equations with GPs as an application of our theory <ref type="bibr">(S&#228;rkk&#228; 2011;</ref><ref type="bibr">Owhadi 2015;</ref><ref type="bibr">Chkrebtii et al. 2016;</ref><ref type="bibr">Cockayne et al. 2017;</ref><ref type="bibr">Raissi et al. 2018;</ref><ref type="bibr">Swiler et al. 2020;</ref><ref type="bibr">Chen et al. 2021;</ref><ref type="bibr">Wang et al. 2021</ref>) (see also Sect. 1.2.3 below), GPs have wide applications in many modern areas of scientific computing and machine learning such as deep GPs <ref type="bibr">(Damianou and Lawrence 2013;</ref><ref type="bibr">Dunlop et al. 2018;</ref><ref type="bibr">Jakkala 2021;</ref><ref type="bibr">Dutordoir et al. 2021;</ref><ref type="bibr">Owhadi 2023</ref>) as a model for deep learning, vector-valued GPs for operator learning <ref type="bibr">(Batlle et al. 2024</ref>) and generative modeling <ref type="bibr">(Murray et al. 2008;</ref><ref type="bibr">Casale et al. 2018;</ref><ref type="bibr">Fortuin et al. 2020;</ref><ref type="bibr">Pandey et al. 2024)</ref>, and graphical models for semi-supervised learning <ref type="bibr">(Bertozzi et al. 2018)</ref>.</p><p>The reasons for this widespread use of GPs are their many desirable theoretical properties that lead to efficient algorithms. Perhaps the most useful are the facts that (1) GPs are completely identified by their mean and covariance operators; (2) GPs are closed under affine transformations; and (3) GPs conditioned on affine observations are also GPs that can be identified analytically; see Lemma 2. However, GPs conditioned on nonlinear observations are in general no longer GPs and cannot be identified analytically. Due to this fact, such conditional measures are often characterized computationally using MCMC <ref type="bibr">(Cotter et al. 2013;</ref><ref type="bibr">Beskos et al. 2017;</ref><ref type="bibr">Robert and Casella 1999)</ref>, or variational inference <ref type="bibr">(Blei et al. 2017;</ref><ref type="bibr">Pinski et al. 2015)</ref>. Such conditional measures are readily common in the field of inverse problems but they are increasingly common in modern machine learning applications mentioned in the previous paragraph as well. To this end, one of the main contributions of this article is to reveal the additional structure of conditioned GPs in the nonlinear setting that can be further leveraged by both MCMC and variational algorithms to further improve the accuracy and complexity of algorithms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2.3">The intersection of numerical analysis and probability</head><p>As discussed in <ref type="bibr">Owhadi et al. (2019)</ref>, the fields of numerical approximation and statistical inference, traditionally viewed as distinct, are in fact deeply connected through their common purpose of making estimations with partial information <ref type="bibr">(Owhadi and Scovel 2019, Chap. 20)</ref>. This shared purpose has recently stimulated a growing interest in learn-ing approaches to solving PDEs <ref type="bibr">(Owhadi 2015;</ref><ref type="bibr">Raissi et al. 2017)</ref> and in the merging of numerical errors with modeling errors and UQ <ref type="bibr">(Hennig et al. 2015)</ref>. Although this trend may seem novel, the synergy between numerical approximation and statistical inference has historical roots, dating back to Poincar&#233;'s lectures on Probability Theory <ref type="bibr">(Poincar&#233; 1896)</ref>, and extending through the pioneering work of <ref type="bibr">Sul'din (1959)</ref>, <ref type="bibr">Palasti and Renyi (1956)</ref>, <ref type="bibr">Sard (1963)</ref>, <ref type="bibr">Kimeldorf and</ref><ref type="bibr">Wahba (1970), and</ref><ref type="bibr">Larkin (1972)</ref>. While these studies initially "attracted little attention among numerical analysts" <ref type="bibr">(Larkin 1972)</ref>, they were revived in the fields of Information Based Complexity <ref type="bibr">(Traub et al. 1988)</ref>, Bayesian Numerical Analysis <ref type="bibr">(Diaconis 1988)</ref>, and more recently in Probabilistic Numerics <ref type="bibr">(Hennig et al. 2015;</ref><ref type="bibr">Cockayne et al. 2019)</ref>. This connection between inference and numerical approximation is also central to Bayesian/decision-theoretic approaches to solving ODEs <ref type="bibr">(Skilling 1992)</ref> and PDEs <ref type="bibr">(Owhadi 2015)</ref>, in identifying operator adapted wavelets <ref type="bibr">(Owhadi and Scovel 2019)</ref> and designing fast solvers for kernel matrices <ref type="bibr">(Sch&#228;fer et al. 2021a, b;</ref><ref type="bibr">Chen et al. 2024)</ref>, and in parameter estimation <ref type="bibr">(Chen et al. 2021</ref>).</p><p>Another connection between numerical approximation and statistical inference arises in the framework of optimal recovery introduced by <ref type="bibr">Micchelli and Rivlin (1977)</ref>, <ref type="bibr">Owhadi and Scovel (2019)</ref> and its connection to Bayesian inference and GP regression through decision and game theory <ref type="bibr">(Wald 1945;</ref><ref type="bibr">von Neumann 1928)</ref>. Optimal recovery was initially used for solving linear PDEs <ref type="bibr">(Harder and Desmarais 1972;</ref><ref type="bibr">Duchon 1977;</ref><ref type="bibr">Owhadi 2015)</ref>, but was extended to nonlinear PDEs in <ref type="bibr">Chen et al. (2021)</ref> and to general computational graph completion/discovery problems in <ref type="bibr">Owhadi (2022)</ref> and <ref type="bibr">Bourdais et al. (2024)</ref> where the connection between optimal recovery and the GP perspective on solving PDEs is made explicit. Finally, we mention the recent papers <ref type="bibr">(Long et al. 2022)</ref> and <ref type="bibr">Vadeboncoeur et al. (2023)</ref> where numerical errors are analyzed as Bayesian posterior measures. Further details about the connection between optimal recovery, decision theory, and GPs can be found in Section A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">Notation and preliminaries</head><p>We use | &#8226; | to denote the finite-dimensional Euclidean norm. Since X is Hilbertian, all elements of the dual space X * may be Reisz-represented by elements of X itself; if &#968; &#8712; X * then we write &#968; * &#8712; X for its Reisz-representer. Likewise, if &#952; &#8712; X then we write &#952; * for the dual element it Reiszrepresents. Throughout we will write B r (u) &#8834; X to denote the ball of radius r &#8805; 0 centered at u.</p><p>We give a brief summary of the notation from Gaussian measure theory needed for this paper; we follow Hairer (2009, Section 3) and the reader seeking more details may consult <ref type="bibr">(Bogachev 1998)</ref>. We say that a measure &#956; &#8712; P(X ) is a Gaussian measure (process) on X if and only if for any 123 &#968; &#8712; X * , the pushforward measure &#956; &#8226; &#968; -1 =: &#968; &#956; &#8712; P(R) is a Gaussian measure. Henceforth we write &#956; = N (m, K) to denote a Gaussian measure in P(X ) with mean m &#8712; X and covariance operator K : X &#8594; X . Whenever m = 0 we say &#956; is a centered Gaussian measure. Note that K is necessarily compact, indeed it is trace-class, and we may define the symmetric operator K 1 2 by spectral calculus; operator K -1 2 can also be densely defined on K 1/2 X . Indeed, associated to a centered Gaussian measure &#956; = N (0, K), we identify its Cameron-Martin space H(&#956;) := K 1/2 X which is Hilbertian with corresponding inner product</p><p>we write &#8226; H(&#956;) for the induced norm. The Cameron-Martin space is a Reproducing Kernel Hilbert Space (RKHS) if pointwise evaluation is defined in H(&#956;); the kernel of the RKHS is the covariance function associated with &#956;; see van der <ref type="bibr">Vaart et al. (2008, Sec 2.3</ref>). For any infinite-dimensional Gaussian measure, it is always true that &#956; H(&#956;) = 0; in contrast, by construction, &#956;(X ) = 1. Furthermore H(&#956;) is compactly embedded into X .</p><p>We will also review some preliminary definitions and results for conditional measures identified via a mapping as these ideas are central to our study. Our reference for this material is <ref type="bibr">Bogachev (2007, Sec. 10.4)</ref>. Let X , Y be separable Hilbert spaces with B(X ), B(Y) denoting their respective Borel &#963; -algebras together with a measure &#957; &#8712; P(X ). Consider a (B(X ), B(Y))-measurable map T : X &#8594; Y. We then have the following definition of a system of conditional measures of &#957; generated by the mapping T :</p><p>We also use the alternative notation &#957;(d&#958; | T (&#958; ) = y) to denote the system of conditional measures in the above definition; this notation succintly captures what is behind the definition. The next result is a consequence of <ref type="bibr">Bogachev (2007, Lem. 10.4.3 and Cor. 10.4.10)</ref>:</p><p>Proposition 1 Consider the above setting and suppose T : X &#8594; Y is &#957;-measurable. Then it holds that: (a) there exists a system of conditional measures &#957; y for &#957; with respect to the map T ;</p><p>(b) the conditional measures &#957; y are essentially unique, i.e., there exists a set Z &#8712; B(Y) so that T &#957;(Z ) = 0 and the &#957; y are unique for all y &#8712; Y \ Z (i.e., essentially unique); (c) for T &#957;-a.e. y the measures &#957; y concentrate on T -1 (y),</p><p>i.e., &#957; y (X \ T -1 (y)) = 0.</p><p>Remark 1 In most of this paper we consider T = G where G is defined in (5b); thus Y is finite-dimensional. However we do make some theoretical observations and remarks about the more general setting, which includes infinite-dimensional Y.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.4">Outline</head><p>In Sect. 2 we analyze the posterior measure, and limits as &#946; &#8594; 0. Section 3 is devoted to the modes, or MAP estimators, associated with the family of posterior measures, and their &#946; &#8594; 0 limit. In Sect. 4 we discuss algorithms to sample the posterior measures, exploiting the special structure of the observations and the decomposition of posterior measures. Finally, we give our conclusions in Sect. 5. Proofs of various technical results are collected in the appendix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Analysis of posterior and conditional measures</head><p>In this section we study the posterior measures &#956; y &#946; , and the conditionals &#956; y 0 . In Sect. 2.1 we prove a form of convergence, suitably defined, of &#956; y &#946; to &#956; y 0 . Section 2.2 studies decompositions of the conditionals and posteriors respectively into the convolution of finite-dimensional non-Gaussians with an infinite-dimensional Gaussian part.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Convergence of posterior measures to conditionals</head><p>In this subsection we show that in the limit &#946; &#8594; 0 the posterior measures &#956; y &#946; converge to the conditional measures &#956; y 0 in an appropriate sense. We start by identifying conditions that ensure that the family of posterior measures &#956; y &#946; are well-defined for &#946; &gt; 0. To this end consider the set-up of Sect. 1.1.1. We formulate the BIP of determining u|y, from (5), under the following assumptions:</p><p>and u, &#950; are independent. Assume further that the map F : R N &#8594; R M is finite at some point z &#8712; R N and that F is locally Lipschitz, i.e., for every r &gt; 0 there exists L(r ) &gt; 0 such that</p><p>Note that, since F is finite at one point z &#8712; R N then this assumption implies that F is locally bounded from above, i.e., for every r &gt; 0 there exists M(r ) &gt; 0 such that</p><p>Recalling definition (5b), we have:</p><p>Lemma 1 Let Assumption 1 hold and consider the BIP for u|y defined via (5). Then, for every &#946; &gt; 0, the posterior distribution &#956; y &#946; is given by (6). Furthermore, the map G defines a unique (up to equivalence) system of conditional measures of &#956;, denoted &#956;</p><p>Proof <ref type="bibr">(Dashti and Stuart 2017, Thm. 10</ref>) establishes the result for &#946; &gt; 0. The result for &#946; = 0 follows from Proposition 1, using the fact that, under the stated assumptions on F, G is continuous and hence &#956;-measurable as a map from X into R M .</p><p>We now consider the limit of the measures &#956; y &#946; as &#946; &#8594; 0. It is convenient to express the result in terms of the joint measure P(du, dy). This joint measure may be factored as P(du|y)P(dy) or as P(dy|u)P(du). The latter necessarily involves a Dirac mass when &#946; = 0 and is not convenient to work with; we hence use the former factorization.</p><p>Theorem 2 Let Assumption 1 hold. Then the measures &#956;</p><p>Proof It will be helpful to extend &#960; &#946; to a measure on X &#215;R M by defining &#960; &#946; := &#948; 0 &#215; N (0, &#946; 2 I ). With this notation we note that</p><p>and that</p><p>The desired result thus reduces to proving that,</p><p>Noting that &#960; &#946; converges weakly to a Dirac at the origin in X &#215; R M as &#946; &#8594; 0 gives the desired result.</p><p>Remark 2 We note that the above result can be interpreted as an "almost" weak convergence result for the posterior measures &#956; y &#946; . More precisely, take f (u, y) = g(u)h(y) where g &#8712; C b (X ) and h &#8712; C b (X ) is a continuous approximation to 1 &#956;(B (y )) 1 B (y ) for some fixed y &#8712; R M and &gt; 0. Then Theorem 2 tells us that the expectation of g with respect to &#956; y &#946; converges to the conditional expectation with respect to &#956; y 0 so long as we average y in a ball with arbitrarily small but positive radius around y .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Finite-dimensional representation of conditional and posterior measures</head><p>The finite-dimensional representation of the conditionals is analogous to the family of representer theorems for kernel methods <ref type="bibr">(Smola and Sch&#246;lkopf 1998, Sec. 4</ref>.2), generalized to the probabilistic setting, and is stated as Theorem 3 below.</p><p>To understand this proposition, we first recall a classic lemma pertaining to conditioning Gaussian measures on direct sums of Hilbert spaces, and a corollary thereof. Let X = X 1 &#8853; X 2 where X 1 , X 2 are separable Hilbert spaces and let &#956; be a Gaussian measure on X and i : X &#8594; X i denote the natural projection onto X i . Then by <ref type="bibr">Stuart (2010, Lem. 4</ref>.3) and <ref type="bibr">Owhadi and Scovel (2018)</ref> (see also <ref type="bibr">Owhadi and Scovel 2019, Chap. 17.8)</ref> we have that the conditional measure of &#956; with respect to the maps i is also Gaussian and can be characterized explicitly:</p><p>Lemma 2 Let &#956; = N (m, K) &#8712; P(X ) where X = X 1 &#8853;X 2 as above. Write m = (m 1 , m 2 ) for the mean and let K be the positive definite covariance operator and define K i j = i K * j . Write &#956; x 1 for the system of conditional measures of &#956; with respect to 1 . Then for ( 1 ) &#956;-a.e. x 1 &#8712; X 1 it holds that</p><p>11 K 12 . We will now present a corollary of the above lemma that characterizes the conditionals of Gaussian measures under general linear observations. Before presenting that result we introduce some notation which is used extensively throughout the rest of the article. Given a trace class covariance operator K on X and a vector of dual elements &#966; = (&#966; 1 , . . . , &#966; N ) &#8712; (X ) N we define the vector &#952; = (&#952; 1 , . . . , &#952; N ) &#8712; X N and the symmetric matrix &#8712; R N &#215;N defined as</p><p>In the parlance of kernel methods the &#952; i are referred to as features/ representers of the &#966; i while is the kernel matrix.</p><p>Assuming is invertible, and given any vector z &#8712; R N , we further define the conditional mean u z &#8712; X and covariance operator K &#966; as 123</p><p>( -1 ) i j &#952; i z j , (14a)</p><p>With this notation at hand we then obtain the following corollary that can be proven by applying Lemma 2 to the measure &#956; &#8855; &#966; &#956; on the product space X &#215; R N , using the fact that &#966; &#956; = N (0, ) and that the tensor product of two Gaussian measures is also Gaussian:</p><p>Remark 3 We often consider the vector of functions &#981; := -1 &#952; &#8712; X N ; the entries &#981; i of &#981; are referred to as the Gamblets in the parlance of <ref type="bibr">Owhadi and Scovel (2019)</ref>. We can then write u z = &#981; z and refer to &#981; : R N &#8594; X as the Gamblet reconstruction map. In the rest of the article it is also useful to define the measures</p><p>where the former is conditional measure &#956; du | &#966;(u) = 0 and the latter is the distribution of &#966; &#956;. Now notice that the measure &#956; can be reconstructed as the convolution &#956; = &#956; &#966; * &#981; &#951;. Crucial to this fact is that the u z depends on z whereas K &#966; does not, it only depends on the linear map &#966; and not the vector z, and that z &#8764; &#951; under &#956;.</p><p>Building on this remark we have the following useful factorization of the conditional &#956; y 0 which is one of our main theoretical contributions.</p><p>Theorem 3 Suppose Assumption 1 holds and that Corollary 1 is satisfied. Then &#956; = &#956; &#966; * &#981; &#951; and &#956; Because &#956; &#966; is independent of z the two results follow by the properties of convolutions of measures.</p><p>We may now generalize Theorem 3 to the setting &#946; &gt; 0; we show that the posterior measures in (6) can be decomposed as the convolution of a finite-dimensional (in general) non-Gaussian measure with an independent centered Gaussian measure. The result may also be viewed as a generalization of Corollary 1 to nonlinear measurements. This theorem is the second major theoretical contribution of our work. </p><p>Proof Recall &#960; &#946; from Assumption 1 and, for any measure &#960; on a vector space, let &#960;(dy + m) denote the shift of &#960; by a vector m. Consider the measure &#957;(du, dy) := &#956;(du)&#960; &#946; (dy+ F(&#966;(u))). By Bayes' rule the posterior measures &#956; y &#946; (du) &#8855; &#948; y (dy) are precisely the conditionals of &#957; with respect to the projection :</p><p>Further consider the measure &#951;(dz, dy) := &#966; &#956;(dz)&#960; &#946; (dy + F(z)). Applying Bayes' rule once again we identify &#951; y &#946; as the conditionals of &#951; with respect to the projection &#732; :</p><p>By Corollary 1 we have that (I &#215; &#966;) &#956;(du, dz) = &#956; &#966; (du + &#981; z)&#966; &#956;(dz). Now define the measure &#957; :</p><p>We then have, by the above arguments and Remark 3,</p><p>Now observe that &#957; = T &#957; where T : (u, z, y) &#8594; (u, y) so that we have the desired identity</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Modes of posterior and conditional measures</head><p>In this section we analyze the modes of the posteriors &#956; y &#946; (i.e., the MAP estimators) and the conditionals &#956; y 0 . Section 3.1 defines the mode of the posterior; subsection Sect. 3.2 defines the mode of the conditional; and Sect. 3.3 considers the &#946; &#8594; 0 limit of the posterior modes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Modes of measures</head><p>For a recent overview of definitions of mode in problems defined on infinite dimensional spaces, see <ref type="bibr">(Lambley and Sullivan 2023)</ref>. In this paper we employ the following notion of the mode of a measure, from <ref type="bibr">Dashti et al. (2013)</ref>:</p><p>This formalizes the idea of defining the mode as the centre of a small ball of maximal probability, in the limit of vanishing radius. The modes of the posterior measures &#956; y &#946; &#8712; P(X ) defined in ( <ref type="formula">6</ref>) are referred to as MAP estimators. The next proposition follows directly from <ref type="bibr">Dashti et al. (2013, Cor. 3.10</ref>) which allows us to characterize the MAP estimators of &#956; y &#946; via the optimization problem (3). We emphasize that local minimizers of (3) may not be unique, but that a global minimizer exists provided that F &#8226; &#966; is continuous on X <ref type="bibr">(Dashti et al. 2013)</ref>.</p><p>Theorem 5 Suppose &#956; = N (0, K), &#956; y &#946; is defined as in (6) with &#946; &gt; 0 and y &#8712; R M , and the map F : R N &#8594; R M satisfies Assumption 1. Define the Onsager-Machlup (OM) functional J</p><p>Then a point u |F(&#966;(u)) -y| 2 . Notice that is bounded below uniformly on X , is bounded above on bounded sets in X and is Lipschitz on bounded sets in X . Then the result follows by a direct application of <ref type="bibr">Dashti et al. (2013, Cor. 3.10)</ref>.</p><p>We now further characterize MAP estimators of &#956; y &#946; via a representer theorem for the minimizers of OM functionals. This theorem constitutes our main result towards the finitedimensional characterization of MAP estimators.  <ref type="formula">1</ref>), however, are almost surely not in H(&#956;) because the posterior is absolutely continuous with respect to the prior &#956; and &#956; H(&#956;) = 0. Simply put, we need X to be sufficiently regular so that &#966; i &#8712; X * for the probabilistic formulation to make sense, however, the optimization problems (3) and ( <ref type="formula">4</ref>) require the &#966; i to be bounded and linear functionals on both H(&#956;) and X .</p><p>This observation has important implications in the context of the GP-PDE solver of Sect. 1.1.2. In order to apply the optimization approaches (3) or (4) to solving PDEs as in <ref type="bibr">Chen et al. (2021)</ref>, it is necessary that pointwise evaluation of all derivatives appearing in the PDE is possible in H(&#956;).</p><p>To apply the probabilistic (Bayesian) approach ( <ref type="formula">1</ref>) or (2) to the same problem, pointwise evaluation of all derivatives appearing in the PDE is needed over the support of &#956;, i.e., the space X . Thus the probabilistic approach places a more stringent requirement on the Gaussian prior measure &#956; than does the optimization approach.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Modes of conditional measures</head><p>Here we define a novel notion of a mode for a conditional measure. We develop a theorem applicable for general maps T with respect to which conditional measures are defined and specified to the case T = G, with G given by (5b), in a corollary.</p><p>Definition 3 Consider separable Hilbert spaces X , Y, a measure &#957; &#8712; P(X ), and a map T :</p><p>The above definition of the conditional mode is a natural extension of Definition 2 and modifies that definition by restricting the feasible set of u &#8224; to the subset T -1 (y) &#8838; X .</p><p>Below we show that this definition leads to a natural characterization of conditional modes of Gaussian measures via constrained optimization problems, this is the conditional analog of Theorem 5 and constitutes one of our main theoretical contributions in the paper.</p><p>Theorem 7 Let X , Y be separable Hilbert spaces and suppose T : X &#8594; Y is continuous. Consider &#956; = N (0, K) &#8712; P(X ) with Cameron-Martin space H(&#956;). Fix a point y &#8712; T (H(&#956;)) &#8745; supp T &#956;, assuming the intersection is nonempty. Then u y is a conditional mode of &#956;(du | T (u) = y) if and only if it solves the optimization problem</p><p>The proof follows by adapting the proof techniques of <ref type="bibr">Dashti et al. (2013, Cor. 3.10)</ref> to our definition of a conditional mode.</p><p>The details are summarized in Appendix B for brevity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Remark 5</head><p>The preceding theorem requires both that y &#8712; supp T &#956; and that y &#8712; T (H(&#956;)). The first condition is natural: we want the data to have arisen, in principle, from a map T applied to the realization of the measure &#956;. The second condition, however, says that it must also be realized as an application of the map T to a point in the Cameron-Martin space H(&#956;). Recall that &#956;(H(&#956;)) = 0. Requiring both of these conditions to hold leads to restrictions on the map T . Consider the following example of a Gaussian measure from <ref type="bibr">Dashti and Stuart (2017)</ref>. Assume a centered Gaussian measure &#956; with a covariance operator which is the inverse of d 2 d x 2 on I := (0, 1), with homogeneous Dirichlet boundary conditions; this is a compact operator from L 2 (I ) into itself. Thus &#956; is the Brownian bridge and we may take X = H s (I ), for any s &lt; 1 2 since all such Sobolev spaces are in the support of &#956;. Furthermore any draw from &#956; is almost surely not an element of H s (I ) for any s &#8805; 1 2 . In particular the Cameron-Martin space is H 1 0 (I ) and &#956;(H 1 0 (I )) = 0. Now define t : R &#8594; R by t(u) = min(1, u) and T : X &#8594; X by T (u)(x) := t u(x) . Applying such a function t(&#8226;) pointwise to any draw from &#956; results, almost surely, in a function with no more than s &lt; 1 2 weak derivatives in L 2 (I ). Such a function cannot simultaneously be the image under a globally Lipschitz T (&#8226;) of an element of H 1 0 (I ). Thus the preceding theorem cannot be applied.</p><p>On the other hand, working with the same measure &#956;, taking Y = R and T (u) = u( <ref type="formula">1</ref>2 ) it follows from the previous regularity discussions, and the properties of Brownian bridge at any point in the open interval I , that any y &#8712; R is also in T (H(&#956;)) &#8745; supp T &#956;. Thus the theorem can be applied.</p><p>Noting the ideas underlying the preceding remark, the following corollary of Theorem 7 is immediate, noting the finite-dimensionality of the image of T := F &#8226; &#966;.</p><p>Corollary 2 Consider &#956; = N (0, K) &#8712; P(X ) with Cameron-Martin space H(&#956;), and map F : R N &#8594; R M satisfying Assumption 1. Suppose &#956; y 0 is defined as in Lemma 1 for some y &#8712; F &#966; H(&#956;) &#8838; R M and with &#966; i &#8712; X . Then a point u y 0 &#8712; X is a conditional mode for &#956; (18)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">Convergence of MAP estimators to conditional modes</head><p>Finally, we establish the convergence of the MAP estimators u </p><p>Thus we have that u y &#946; H(&#956;) &#8804; u y 0 H(&#956;) for all &#946; &gt; 0. Since H(&#956;) is a compact subset of X we have convergence of u y &#946; in X to a limit u * &#8712; H(&#956;), as well as weak convergence in H(&#956;), along a subsequence &#946; n . It is immediate that u * &#8712; G -1 (y) as otherwise (along a further relabelled subsequence) there is &gt; 0 and N &#8712; N such that J &#946; n (u</p><p>for all n &#8805; N , which contradicts (19) for all n such that &#946; n is sufficiently small. To show that u * is equal to a minimizer of u H(&#956;) in G -1 (y) we assume for contradiction that u * H(&#956;) &gt; u y 0 H(&#956;) . By (19) we have</p><p>However, by lower semi-continuity of Hilbert space norms, we also have</p><p>giving the desired contradiction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Algorithms</head><p>In this section, we discuss algorithms to sample the posterior and conditional measures of Gaussian priors. According to Theorems 3 and 4, both measures can be represented by a convolution of a finite-dimensional measure that is possibly non-Gaussian, and an infinite-dimensional Gaussian measure that can be identified analytically. Our goal here is to exploit this structure to design efficient algorithms for simulation of the aforementioned posterior and conditional measures as summarized in Sects. 4.1 and 4.2. In Sect. 4.4 we present more concrete examples where posterior measures arising within the GP-PDE methodology are simulated.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Sampling strategies for posterior measures (&#711;2 &gt; 0)</head><p>The key idea behind our proposed numerical algorithms is the observation that Theorem 4 enables the decomposition &#956; y &#946; = &#956; &#966; * &#981; &#951; y &#946; where &#956; &#966; = N (0, K &#966; ) is a Gaussian whose covariance operator is given by ( <ref type="formula">14</ref>), in terms of the measurement operator &#966; and the prior covariance matrix K. Thus, the measure &#956; &#966; can be simulated via standard techniques for discretization and sampling of Gaussian processes and measures <ref type="bibr">(Rasmussen and Williams 2007;</ref><ref type="bibr">Betz et al. 2014;</ref><ref type="bibr">Snelson and Ghahramani 2007)</ref>. Furthermore, the map &#981; (recall Remark 3) is also defined using &#966; and K and so can be approximated via appropriate discretization. It remains to simulate &#951; y &#946; which is, in general, non-Gaussian. We recall that Theorem 4 identifies &#951;</p><p>At this level any sampling algorithm of choice such as MCMC <ref type="bibr">(Robert and Casella 1999)</ref>, sequential Monte Carlo <ref type="bibr">(Doucet et al. 2001)</ref>, or variational inference <ref type="bibr">(Blei et al. 2017</ref>) can be used to simulate samples from &#951; y &#946; , leading to an algorithm for simulating posterior samples as summarized in Algorithm 1. While this approach is accurate up to the discretization errors of K &#966; and &#981; and the convergence of the utilized sampling algorithms for &#951; y &#946; , it has limited utility in the limit &#946; &#8594; 0 which is particularly important in the context of the GP-PDE solver of Sect. 1.1.2. This is due to the well-understood phenomenon that as &#946; &#8594; 0 the measure &#951; y &#946; concentrates on the set F -1 (y) which may have very small prior measure, leading to poor convergence rates for sampling algorithms such as MCMC.</p><p>Algorithm 1 Recipe for generating samples from &#956; Simulate w j &#8764; &#956; &#966; by setting w j = ( K &#966; ) 1/2 &#958; j where &#958; j &#8764; N (0, I ) 6:</p><p>Simulate v j &#8764; &#951; y &#946; using MCMC (or similar algorithm) 7:</p><p>Set u j = w j + &#981; v j 8: end for Under the conjecture that &#951; y &#946; approaches a Gaussian measure in the limit of large data and small noise, we propose to replace Step 6 of Algorithm 1 with a Gaussian approximation step at the mode; this is sometimes referred to as the Laplace approximation to &#951; y &#946; <ref type="bibr">(Kass et al. 1991)</ref>. More precisely, letting z y &#946; be a mode of &#951; y &#946; obtained by solving (15), we define the Gaussian measure d&#951;</p><p>The above Laplace approximation leads to an efficient sampling algorithm for the posterior since &#951; y &#946; is Gaussian and can be simulated exactly given access to the second variation D 2 F. In situations where this second variation is expensive to compute we propose an alternative approximation to &#951; y &#946; as follows:</p><p>We refer to this measure as the Gauss-Newton approximation to &#951; y &#946; as it arises from the probabilistic interpretation of the Gauss-Newton algorithm of <ref type="bibr">Chen et al. (2021)</ref> that was proposed for finding the mode z y &#946; . The advantage of the Gauss-Newton approximation over the regular Laplace approximation is that it only uses &#8711; F and not its second variation,</p><p>The Laplace and Gauss-Newton approximations are related to each other, indeed we have d&#951;</p><p>implying that the Gauss-Newton approximation is close to Laplace whenever F(z y &#946; )y is small. We anticipate that this approximation is accurate in the regimes where density &#951; y &#946; would concentrate around the set F -<ref type="foot">foot_0</ref> (y). Our numerical experiments indicate that this happens in the GP-PDE setting when we have a lot of observation points and &#946; &#8594; 0, however, we do not expect this approximation to be good in the setting where &#946; &#8594; 0, but only a few observations are available.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Sampling strategies for conditional measures (&#711;2 = 0)</head><p>The conditional measure &#956; y 0 can be simulated using similar ideas from the previous section. By Theorem 3, we can write &#956; y 0 = &#956; &#966; * &#981; &#951; y 0 . Once again, the measure &#956; &#966; can be simulated (up to discretization errors) exactly and so it remains to generate samples from &#951; y 0 = &#951;(dz|F(z) = y), the conditional of &#951; = N (0, ) with respect to the map F. To do so, we will identify an explicit expression for the Lebesgue density of this conditional. For simplicity we assume that there is a decomposition z = (z 1 , z 2 ) such that F(z)y = 0 is equivalent to z 2 -G(z 1 ; y) = 0 for some mapping G depending on y (and implicitely F). Here</p><p>Such a decomposition is often easy to obtain in many practical applications the GP-PDE example of Sect. 1.1.2 and can generally be guaranteed by the implicit function theorem under mild conditions on F.</p><p>With this decomposition, and a slight abuse of notation, we have</p><p>distribution with identity covariance in R N .</p><p>and is non-singular. Consider the measure &#951;&#946; (dz 1 ) := &#951;(dz 1 |z 2 = G(z 1 )+&#946;&#958; ) where &#958; &#8764; N (0, I ) and G is a measurable function 1 in R N 1 . Then the density of &#951;&#946; converges uniformly as &#946; &#8594; 0 to a density &#951;0 , where</p><p>Proof We can write down the density of &#951;&#946; using Bayes' formula:</p><p>where we have used the change of variables z 2 = G(z 1 )+z 3 .</p><p>Let us define</p><p>where &#961; &#946; is the density of a Gaussian random variable with mean 0 and covariance &#946; 2 I . As &#961; &#946; is a mollifier, it holds that lim &#946;&#8594;0 g(z 1 , z 3 )&#961; &#946; (z 3 ) (dz 3 ) = g(z 1 , 0) for any z 1 ; here such convergence is also uniform for all z 1 which yields the uniform convergence of the density of &#951;&#946; to that of &#951;0 , as &#946; &#8594; 0 as desired.</p><p>To verify the claimed uniform convergence above, consider</p><p>where C is a universal constant that depends only on the dimension N and the eigenvalues of , but independent of z 1 , z 3 and &#946; since sup</p><p>Here C 1 &#8805; 0 is a constant that also depends on N and the spectrum of . Moreover, by the standard moment formula for Gaussian distributions, it holds that</p><p>Since Proposition 10 gives a closed form expression for the Lebesgue density of the conditional measure &#951; 0 , we can use standard algorithms, such as those discussed in Sect. 4.1, to (approximately) sample this measure. Notably, letting z &#8224; 1 denote the mode of &#951; 0 , the Gauss-Newton approximation to (22) will now correspond to the measure</p><p>.</p><p>(24)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">On computational complexity and accuracy</head><p>Our proposed Laplace and Gauss-Newton methods can lead to significant gains in terms of computational complexity and algorithmic wall-clock times. Indeed, the main computational bottleneck for these algorithms is the inversion of the dense kernel matrix . While this cost is also shared by MCMC algorithms, such as those used in our experiments in Sect. 4.4, the number of linear solves involving this matrix is drastically smaller for our algorithms. For example, in our experiments in Sect. 4.4 we routinely used O(10 7 ) MCMC steps while Laplace and Gauss-Newton typically converge using O(10) iterations. Naturally, Gauss-Newton is the most efficient option due to skipping Hessian calculations. We emphasize that the efficiency of Laplace and Gauss-Newton comes at the price of non-zero asymptotic accuracy due to the Gaussian approximation which is noticeable if &#951; y &#946; is highly non-Gaussian.</p><p>We also note that while is in general dense, and so costs O(N 3 ) operations to invert, in many practical settings it can be inverted much more efficiently. For example, when K is a covariance operator of a GP defined on some compact set &#8834; R d then we can employ the sparse Cholesky algorithm developed in <ref type="bibr">Chen et al. (2024)</ref> to obtain a near-linear complexity solver for ; more precisely, the sparse Cholesky solver achieves an -accurate approximation of -1 at the cost of O(N log 2d N ).</p><p>Finally, we emphasize that the choice of the operators &#966; i has a nontrivial impact on the cost of constructing . For examples such as the GP-PDE methodology, these operators are obtained as compositions of pointwise evaluation functions with differential operators that are often implemented efficiently using automatic differentiation or analytic formulae. However, if the &#966; i are integral operators then construction of the &#952; i and in turn the entries of according to (13) may require additional quadrature steps and numerical approximation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Numerical experiments</head><p>Our numerical experiments contain two parts: The first part investigates the Laplace and Gauss-Newton approximations introduced in Sects. 4.1 and 4.2, for (approximately) sampling the posterior and conditional distributions. The second part applies our methodology to GP-PDE solvers for example nonlinear PDEs. In Sect. 4.4.1, we compare, through numerical experiments, MCMC, the Laplace approximation and its Gauss-variant; we show that, on the examples considered, the Laplace and Gauss-Newton approximations are good approximations to MCMC in certain regimes as the posteriors concentrate around the true values of the parameter, making Gauss-Newton a good approximation to Laplace.</p><p>We apply our methodology to perform UQ as a proxy for error estimation for GP-PDE solvers in Sect. 4.4.2. In Sect. 4.4.3, we use UQ estimates for adaptive selection of collocation points for the solver.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.1">Laplace vs Gauss-Newton</head><p>In this subsection, we numerically demonstrate, in a nonlinear elliptic PDE example, the accuracy of Laplace and Gauss-Newton approximations when compared to (the viewed as gold standard) MCMC algorithms. We consider the PDE (8) with d = 2 and &#964; (u) = 10u 3 and choose the ground truth solution u &#8224; (x) = sin(&#960; x 1 ) sin(&#960; x 2 ) + sin(3&#960; x 1 ) sin(3&#960; x 2 ) and determine the right-hand side f which gives this solution, noticing that the Dirichlet boundary conditions are readily satisfied by the prescribed solution. We take J collocation points on a uniform grid in the interior of the domain and M uniform points on the boundary. We denote the interior points by x 1 , ..., x J and the boundary points by x J +1 , ..., x M . For our experiments we took (J , M) = {(16, 25), (49, 64), (81, 100)}. Following Sect. 1.1.2, we then define F(&#966;(u)) and y, based on these collocation points and on f , such that identity F(&#966;(u)) = y encodes the PDE constraint at the collocation points.</p><p>Suppose u is a priori distributed according to the GP &#956; = N (0, K) where K is the integral operator corresponding to the Mat&#233;rn kernel with regularity parameter &#957; = 7/2 (Rasmussen and Williams 2007, Sec. 4.2.1) , with lengthscale parameter l = 0.3. The Mat&#233;rn kernel is widely used for modeling of spatial fields and is particularly well suited to PDE applications since its Cameron-Martin space coincides with classic Sobolev spaces <ref type="bibr">(Kanagawa et al. 2018, Ex. 2.6)</ref>. This kernel was also used extensively in <ref type="bibr">Chen et al. (2021)</ref> in the context of the GP-PDE solver. We further observed that our results are not very sensitive to the choice of &#957;, l as long as these values are not unusually small or large. Then the conditional &#956; y 0 encodes information about the solution to the PDE. We compute the conditional mode u y 0 using the Gauss-Newton optimization algorithm of <ref type="bibr">Chen et al. (2021)</ref> Fig. <ref type="figure">2</ref> results nonlinear elliptic (8) as described in Sect. 4.4.1 with (J , M) = (81, 100) collocation points. Top row: True solution, error of MCMC mean, and error of the MAP estimator obtained by the GP-PDE methodology. Bottom row: standard deviation field of MCMC samples followed by its difference from the standard deviation fields obtained using the Gauss-Newton and Laplace approximations. Boundary points are excluded from the plots for clarity, since we observe the exact values of the solution on the boundary that gives a numerical solution to the optimization problem (18) that characterizes u y 0 . Using this mode we further compute the Laplace and Gauss-Newton approximations to &#956; y 0 following the approach of Sect. 4.2.</p><p>In Fig. <ref type="figure">2</ref> (top row), we compare the true solution of the PDE to the MAP estimator u y 0 and the posterior mean of the MCMC samples with (J , M) = (81, 100). We observe that the MAP and the MCMC mean are comparable approximations to the true solution, indicating that the posterior measure is concentrated around the truth. This claim is further supported by Fig. <ref type="figure">2</ref> (bottom row) where we compare the pointwise standard deviations computed by MCMC, Gauss-Newton, and Laplace. We see good agreement between all three methods, suggesting that (a) the posterior is close to being Gaussian and (b) the Gauss-Newton approximation is as good as Laplace. In Table <ref type="table">1</ref> we further compare the relative L 2 error between the MCMC mean and standard deviations with those of Laplace and Gauss-Newton approximations. We observe that not only does the MAP converge to the MCMC mean but that Laplace and Gauss-Newton approximations to the standard deviation fields converge to that of the MCMC samples. Moreover, the Gauss-Newton and Laplace errors are comparable, with Gauss-Newton achieving higher errors when collocation points are scarce.</p><p>In Fig. <ref type="figure">3</ref>, we evaluate the posterior fields at the location x = [0.6, 0.4] for different mesh sizes and compare the kernel density estimator of the MCMC samples to that of Laplace and Gauss-Newton approximations. Here we observe that (a) the Laplace and Gauss-Newton approximations are very close to each other and (b) as we refine the mesh, these two approximations converge to the MCMC posterior. We observed this behavior consistently at other locations as well, supporting the claim that the posterior is nearly Gaussian around the MAP.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.2">UQ for GP-PDE</head><p>One of the advantages of the GP-PDE perspective is that the conditional/posterior uncertainties can be readily computed as a priori indicators of the performance of the algorithm. Here we will investigate the usefulness of such uncertainties in the context of our nonlinear elliptic PDE (8) as well as Burgers' equation.</p><p>Table <ref type="table">1</ref> Relative L 2 error for the mean and stanfard deviation of the Laplace approximation and its Gauss-Newton variant at sampled points compared with MCMC for the nonlinear elliptic PDE (8) as described in Sect. 4.4.1. MCMC results were obtained using 10 7 time steps with (Left) (M, J ) = (16, 25), (middle) (M, J ) = (49, 64), and (right) (M, J ) = (81, 100) collocation points</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Nonlinear elliptic PDE</head><p>We start by considering the nonlinear elliptic PDE (8) once more with &#964; (u) = &#945;u 3 along with prescribed solution u &#8224; (x) = sin(x 1 ) sin(x 2 ) + sin(10x 1 ) sin(ax 2 ) with scalar parameters &#945;, a &gt; 0 to be chosen later. We solve the PDE using (J , M) = (16, 25) with the prior &#956; = N (0, K) with K being the 7/2-Mat&#233;rn kernel. To estimate the conditional mode and standard deviations we ran three steps of the Gauss-Newton algorithm for different choices of (&#945;, a) as shown in Fig. <ref type="figure">4</ref>. We observe that in the linear PDE setting where &#945; = 0, the resulting posterior standard deviation field is very smooth and is known to be independent of the PDE solution and only dependent on the collocation points. As expected, maximum standard deviation occurs in the middle of the domain as is often expected in GP regression. Interestingly, the posterior standard deviation fields appear to change noticeably with stronger nonlinearities. In particular, the maximum uncertainty no longer occurs in the middle of the domain but rather over a non-trivial set.</p><p>It is well-known, in the context of GP regression <ref type="bibr">(Owhadi 2015, Thm.5</ref>.1) that if u &#8224; is the ground truth and u y 0 is its GP interpolant, that the following error bound holds</p><p>where &#963; (x) is the standard deviation field of the conditioned GP and &#8226; H(&#956;) denotes the Cameron-Martin/RKHS norm of u &#8224; corresponding to the GP prior &#956;. It is therefore natural to investigate, numerically, whether this error bound remains valid in the case of the GP-PDE solver. Since in practice we do not have access to u &#8224; H(&#956;) , we replace it with the Cameron-Martin norm of the MAP, i.e., u y 0 H(&#956;) . In Fig. <ref type="figure">5</ref> we show a slice of the PDE solution u &#8224; along with the GP-PDE solution and the requisite error bounds computed using the standard deviation fields for our nonlinear elliptic PDE example. We observe that in all three cases, the conditional mode u y 0 is a good approximation to u &#8224; while the upper and lower bounds computed via (25) always contain both the numerical and true solutions. However, we note that the computed error bands appear to be too large compared to the actual error of the numerical solution.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Burgers' equation</head><p>Next we consider the viscous Burgers equation:</p><p>We solved this equation using the space-time GP-PDE approach of <ref type="bibr">Chen et al. (2021)</ref>. Collocation points were Fig. <ref type="figure">4</ref> Comparing posterior standard deviation fields for the nonlinear elliptic PDE (8) as described in Sect. 4.4.2. From left to right the panels show the standard deviation fields for increasingly stronger nonlinearities Fig. <ref type="figure">5</ref> Truth and the upper and lower error bound obtained by the GP-PDE method, for the slice x 2 = 0.5, in the nonlinear elliptic PDE (8) as described in Sect. 4.4.1. From left to right the panels show the posterior mean with uncertainty bands for increasingly stronger nonlinearities uniformly distributed on a regular grid with time step size dt = 0.05 and spatial step size dx = 0.0125. The kernel of the covariance function of the GP is chosen as the anisotropic Gaussian kernel, same as <ref type="bibr">Chen et al. (2021)</ref>:</p><p>with &#963; = (1/20, 1/3) ; this anisotropic kernel was also used in <ref type="bibr">Chen et al. (2021)</ref> to account for different regularity of the solution of Burgers' equation in the temporal and spatial domains. The spatial and temporal lengthscales were tuned by hand. We ran 15 steps of Gauss-Newton to obtain the conditional mode and the corresponding approximation to the conditional covariance matrix. In Fig. <ref type="figure">6</ref> (left and middle) we show the GP-PDE solution to the Burgers' equation as well as the posterior standard deviation estimated using Gauss-Newton. We clearly observe that the standard deviation is peaked around the location of the (near) discontinuity in the solution, indicating that the standard deviation field is a good proxy for the adaptive placement of collocation points.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.3">Adapting collocation points</head><p>Based on our observation in the previous section (e.g. Fig. <ref type="figure">6</ref>) it is of interest to investigate whether the UQ estimates from the posterior/conditional measure can be used for the adaptation of collocation points for PDE solvers. For example, we may add more collocation points in areas of maximum variance under the posterior/conditional on the solution of the PDE.</p><p>For our first experiment we considered the Burgers equation (26) which was originally solved on a uniform grid and added 30 new collocation points in the region of maximum posterior variance which happens to surround the (smoothed) shock. This produces a non-uniform grid of collocation points as shown on the right panel of Fig. <ref type="figure">6</ref>. In our experiments we observed that adding these new points leads to a factor 2 improvement in the L &#8734; error of the solution at time t = 1. This demonstrates the effectiveness of using UQ estimates for adaptive selection of collocation points. We observed that when we continued to select points based on this greedy approach, the improvement in accuracy was less significant and sometimes even numerical instability occurs. We attribute this phenomenon to the use of a global space-time formulation, which overlooks the causality of time dependent PDEs and could lead to numerical challenges. This could also be attributed to the ill-conditioning of the involved kernel matrices associated to a large number of points packed in a small region of the domain which further warrants the use of a nugget term.</p><p>For our second experiment we return to the nonlinear elliptic PDE (8) with &#964; (x) = 10x 3 . We prescribe the exact solution u</p><p>2 (1x 2 ) p with p = 10 as shown in Fig. <ref type="figure">7</ref>; this example is designed to have a highly localized feature around the location (2/3, 2/3). We then solve the PDE and adaptively add collocation points as follows: (1) Start with 100 uniformly sampled collocation points in the interior and on the boundary of the unit box; (2) compute the Gauss-Newton approximation to the posterior of the solution and sample 50 new collocation points in areas of largest posterior variance; (3) repeat step (2) for 10 iterations to get a total of 600 collocation points in the interior.</p><p>In the bottom left panel of Fig. <ref type="figure">7</ref> we show an instance of the collocation points obtained by the above procedure which may be compared with the top right panel, depicting a uniform set of collocation points. We see that the posterior adapted points are blind to the concentrated features of the solution to the PDE, contrary to our early example for Burgers' equation. We further modified our adaptive sampling of the collocation points to place new points in regions of large equation residual which produced the bottom right panel of Fig. <ref type="figure">7</ref>. We observe that this new strategy leads to collocation points that are clustered around the main feature of the solution. We present L 2 and L &#8734; errors of the solutions obtained by the three sampling strategies in Table <ref type="table">2</ref>, showing that the conditional variance adaptation scheme leads to an order of magnitude improvement in the error over uniform points while residual adaptation leads to yet another order of magnitude improvement.</p><p>These experiments show the advantages and potential limitations of using the posterior/conditional variance for adapting collocation points. Interestingly, in the case of Burgers' equation the conditional variance captures the interesting structures in the solution while this property is not prominent in the case of our nonlinear elliptic PDE.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusions</head><p>Our focus in this article was the characterization of Gaussian measures conditioned on finite nonlinear observations that are obtained as the composition of a nonlinear map with a bounded and linear operator. We showed that (1) such conditionals can be characterized as the limit of posterior measures with noisy observations with vanishing small noise standard deviation. We showed that this small-noise limiting argument also applied to the MAP estimators of the resulting conditionals leading to the novel definition of a conditional MAP of a Gaussian measure; (2) We showed that the resulting posteriors/conditional measures can be decomposed as the convolution of a Gaussian measure that can be identified analytically with a finite-dimensional non-Gaussian measure. This decomposition mirrored well-known representer theorems from RKHS theory. Item (2) further led us to the design of novel algorithms for the simulation of Gaussians conditioned on nonlinear observations by focusing computational effort on the non-Gaussian component.</p><p>We applied our results to the particular case of the GP-PDE methodology, a collocation method for solving nonlinear PDEs that models the solution of the PDE as a GP conditioned on the PDE constraint at the collocation points. We developed two variational inference techniques for simulation of the non-Gaussian component in this case under the conjecture that, if the collocation points are sufficiently dense then the non-Gaussian component of the posterior should  Relative L 2 error 2.337e-2 3.345e-3 1.365e-4</p><p>Relative L &#8734; error 1.565e-2 2.554e-3 1.046e-4</p><p>Various strategies for adaptive sampling of collocation points were compared. The errors were averaged over 20 trials be approximately Gaussian around its MAP. Our numerical experiments confirmed this claim. We also investigated the usefulness of the resulting uncertainty estimates for improving the accuracy of the PDE solver by adaptive selection of collocation points. While the GP-PDE setting was the main motivation for our work, our results have wide application in the field of inverse problems where Gaussian priors are widely used in a function space setting. Here one often discretizes the problem and samples the posterior using a function space MCMC algorithm. However, our results here suggest that significant speed up may be achieved by performing MCMC only on the non-Gaussian component and directly simulating the Gaussian component, for example by computing the underlying precision matrix of the prior. Our experiments also suggest that this non-Gaussian component may be well approximated by a variational technique such as a Laplace approximation. We also observed that our Gauss-Newton approximation (which is only first order) appears to work well in practice, a topic that warrants more detailed theoretical analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Appendix A On optimal recovery, game theory, and probabilistic numerics</head><p>As presented in <ref type="bibr">Owhadi and Scovel (2019)</ref>, the framework of optimal recovery of <ref type="bibr">Micchelli and Rivlin (1977)</ref> provides a natural setting for understanding the correspondence between numerical approximation and Bayesian inference, which involves the counter-intuitive modeling of a perfectly known function as a sample from a random process.</p><p>that lim sup s&#8594;0 &#956;(B s (u s )) &#956;(B s (u 0 )) &#8804; 1. On the other hand, by the definition of u s we have that &#956;(B s (u s )) &#8805; &#956;(B s (u 0 )) and so lim inf s&#8594;0 &#956;(B s (u s )) &#956;(B s (u 0 )) &#8805; 1, from which we conclude that lim s&#8594;0 &#956;(B s (u s )) &#956;(B s (u 0 )) = 1. (B7)</p><p>By Definition 3 it follows that u 0 is a conditional mode. It remains to consider the setting where {u s } converges strongly to u 0 in H(&#956;). Then by the Cameron-Martin formula we have</p><p>B s (0) expu s , v H(&#956;) &#956;(dv)</p><p>B s (0) expu 0 , v H(&#956;) &#956;(dv)</p><p>.</p><p>It follows, from <ref type="bibr">Bogachev (1998, Lem. 4.7</ref>.1; see also proof of Lem. 4.7.2), that the maps</p><p>expu, v H(&#956;) &#956;(dv), are locally Lipschitz on H(&#956;) from which we infer (B7) once again.</p><p>We now show that u 0 solves (16). Suppose otherwise, so that u 0 H(&#956;)u y H(&#956;) &gt; 0. By Lemma 7 we have that Proof of Theorem 7 First let u y be a conditional mode and take the sequence {u r } r &#8805;0 as in (B3). By Proposition 12 there exists a relabelled subsequence {u s } which converges strongly in X to u 0 &#8712; H(&#956;) &#8745; T -1 (y) and u 0 is also a conditional mode and so by Definition 3 it holds that lim r &#8594;0 &#956;(B r (u r ))</p><p>&#956;(B r (u 0 )) = 1. Since u y is also a conditional mode we have</p><p>lim r &#8594;0 &#956;(B r (u y )) &#956;(B r (u 0 )) = lim r &#8594;0 &#956;(B r (u y )) &#956;(B r (u r )) lim r &#8594;0 &#956;(B r (u r )) &#956;(B r (u 0 )) = 1.</p><p>We infer from Lemma 4 that u y &#8712; H(&#956;) &#8745; T -1 (y) since otherwise the limit lim r &#8594;0 &#956;(B r (u y ))</p><p>&#956;(B r (u r )) would vanish. Now suppose u y does not solve (16). We can obtain a contradiction by repeating the last step of the proof of Proposition 12.</p><p>To prove the converse statement let u y be a solution of ( <ref type="formula">16</ref>) with u 0 defined as before. Then Lemma 7 implies lim r &#8594;0 &#956;(B r (u 0 )) &#956;(B r (u y )) = 1, and so we have The result follows from Definition 3.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>Note that the dependence of G on y is suppressed here since the theorem holds for arbitrary measurable maps G.</p></note>
		</body>
		</text>
</TEI>
