Introduction
Explainable artificial intelligence and simple ML algorithms
In seeking to understand the main mechanisms that drive artificial intelligence (AI) algorithms, one encounters a lack of understanding even for the simplest machine learning (ML) processes, i.e., algorithms designed to perform basic tasks such as learning a function or solving simple differential equations. Such problems belong to the elementary curriculum in mathematics, engineering, and computer science. Classical methods for these tasks are known to be accurate and reliable, and it is therefore somewhat surprising that their machine learning counterparts are often complicated and lack interpretability. The corresponding machine learning algorithms are in an unfavourable position compared to standard approaches in terms of both computational cost and reliability, and this has led several scientists to question their use in scientific computing [93 , 139 ] , acknowledging however that ML methods may offer advantages in high-dimensional settings where classical approaches become infeasible [98 , 70 , 71 ] .1
However, a lack of understanding has historically been an important driving force for scientific discovery. The rapid expansion of Machine Learning for scientific applications was, to some extent, unexpected: it was enabled primarily by computational and algorithmic advances — efficient optimisation over large-scale nonlinear spaces, automatic differentiation, stochastic methods, and hardware acceleration [25 , 36 ] — while the mathematical understanding of why the resulting algorithms work remains incomplete. As a result, a significant gap has opened between what these methods can achieve in practice and what can currently be understood or guaranteed analytically [30 , 24 ] . This situation is not without precedent. In the early development of scientific computing, too, practice ran ahead of theory: the reliability of finite difference schemes came to be understood only through the stability analysis pioneered by J. von Neumann and the equivalence theorem of Lax and Richtmyer [121 ] ; see [103 ] for a historical account.
A first indication of what numerical analysis can offer is provided by a phenomenon that has attracted considerable attention: the tendency of ML algorithms to produce outputs that appear plausible but are incorrect, often referred to as hallucinations . In § 0.2.0.2 we argue that such behaviour is closely related to a deep phenomenon in the numerical analysis of nonlinear PDEs: the non-uniqueness of weak solutions and the resulting sensitivity to small perturbations. The analogue in machine learning is the nonlinear structure and the selection of a local minimiser of a nonconvex loss among many. Just as a physically irrelevant weak solution is a genuine solution of the equations, a local minimiser is a genuine minimiser of the loss on a neighbourhood, may achieve a small training loss, and may appear to be a reasonable approximation, while being far from the solution sought. In both cases reliability rests on additional structure: selection criteria, such as entropy conditions for conservation laws, single out the physically relevant weak solution, while, as we shall see in § 2 , stability of the loss guarantees that local minimisers with consistently small loss are close to the true solution. § 0.1.1 also shows that other ingredients which may appear specific to ML have classical counterparts: nonlinear approximation spaces arise already in finite element methods with free nodes, and gradient descent, the workhorse of training, is the explicit Euler discretisation of a gradient flow in parameter space.
In these notes, we focus on a key aspect of machine learning algorithms, namely their formulation as nonlinear minimisation problems. Our aim is not only to analyse these problems as optimisation procedures, but also to understand them from the broader perspective of Numerical Analysis and the Calculus of Variations. Our goals are threefold: (i) to gain a deeper mathematical understanding of the behaviour of ML algorithms using tools from the Calculus of Variations and Numerical Analysis; (ii) to relate their behaviour to classical notions in the analysis of numerical algorithms, in particular stability, consistency, and approximability; and (iii) to demonstrate how analytical principles can guide the design of new algorithms with improved stability, reliability, and computational properties. These classical notions acquire new and meaningful interpretations in the ML setting. The nonlinear nature of neural-network approximation spaces, the non-convexity of the resulting minimisation problems, and the use of empirical or stochastic approximations introduce new challenges, but also reveal connections with well-established ideas in numerical analysis. Throughout, we use the word explainable in the sense familiar from numerical analysis and scientific computing: to explain an algorithm is to identify the mechanisms that determine its behaviour, rather than to interpret the output of a particular trained model.
Nonlinear minimisation problems have been studied in many fields of mathematics. The calculus of variations provides a powerful machinery for their analysis, and a central part of it is due to Ennio De Giorgi. His notion of Γ \Gamma Γ -convergence, introduced with Franzoni [64 ] , was designed precisely to describe the limiting behaviour of sequences of nonlinear minimisation problems, and in particular of their minimisers, see [61 , 37 ] . Its key feature, and the reason it is so well suited to our purposes, is that it operates on the functionals in function space: it sees only the energies and their minimisers, and neither the parametrisation of the approximation spaces nor the procedure used to compute the minimisers. Convergence of minimisers follows from a lim inf \liminf lim inf inequality, combined with a suitable compactness property, and a lim sup \limsup lim sup inequality, which expresses the existence of recovery sequences. In § 2.1 we interpret this framework from the perspective of numerical analysis, linking the liminf inequality to stability and the limsup inequality to consistency and approximability. Applied to our setting, it becomes yet another instance of the principle that stability and consistency imply convergence, and it is precisely what is needed to analyse minimisation over neural-network spaces, since it bypasses the nonconvexity of the problem in parameter space. Γ \Gamma Γ -convergence has been used in the numerical analysis of nonconvex and singularly perturbed variational problems, see e.g. [21 , 88 ] ; machine learning offers a natural new field of application. Although Γ \Gamma Γ -convergence is, in its standard form, a qualitative tool, the liminf–limsup framework yields more in our setting. The liminf inequality alone provides a posteriori error control for approximate local minimisers through the computed losses, while, as the number of samples grows, the accumulation points of global minimisers satisfy estimates in terms of the best approximation error of the neural-network space, which approximation results translate into rates.
We now come to the central theme of these notes, reflected in their title. A given problem can typically be described by several variational principles, equivalent at the continuous level but with very different mathematical properties. Mechanics offers an early example: in contrast to Hamilton’s principle, which characterises the motion as a stationary point of the action, Gauss’s principle of least constraint is a genuine minimum principle, formulated as a least-squares problem for Newton’s equations [78 ] , see also [119 ] for a very interesting discussion. Once we understand which properties, such as coercivity and stability, yield stable and reliable ML discretisations, we can select, among the variational principles describing a problem, one that possesses them, so that its discretisations inherit them. For simple problems this selection may be straightforward; for others, such as indefinite, saddle-point problems, or nonlinear phenomena it becomes a quest for novel variational principles, see § 2.16.1 . Such a quest has the potential to lead to new mathematics, compare for example to [63 ] .
A simple example illustrates this theme. For a linear parabolic problem one may construct time-discrete PINN losses based either on the implicit or on the explicit Euler method. From the point of view of approximation the two losses are equally natural and equally consistent, yet only the first inherits the coercivity of the continuous problem. This is precisely what is needed for discrete variational stability , the stability notion for discretised functionals introduced in § 2.1 , and it allows us to prove convergence of the corresponding neural-network minimisers. For the explicit loss no such estimate appears to be available, and numerical experiments show that its stability deteriorates as the number of spatial training points increases, in close analogy with the conditional stability of the forward Euler method; see § 2.11.0.1 . This example, together with the problems discussed in § 2.16.1 , suggests two general principles, which guide the design of the algorithms developed there. First, the stronger the coercivity properties of the continuous functional, the better for the algorithm. Second, coercivity at the continuous level is not sufficient on its own: the fully discrete functional, including the discretisation in time and space and the training step, must be designed so as to retain discrete variational stability. It is this stability, in addition to consistency, that determines the behaviour of the algorithm.
Several of the results presented here have appeared in our recent work [127 , 79 , 6 , 89 , 132 , 136 ] ; the purpose of these notes is to bring them together within a single framework. Besides the central theme discussed above, two further ideas run through the text. First, the stability of an ML algorithm is best understood as a property of the loss functional, including the training step (quadrature or sampling), rather than of the network parametrisation. Second, empirical measures and optimal transport provide a route to error control that avoids uniform bounds over the network class. Ultimately, this perspective provides concrete links between ML algorithms and their classical numerical counterparts, and suggests that insights from numerical analysis and the calculus of variations can play an important role not only in understanding existing methods, but also in designing new ones.
Overview of the notes
These notes develop a variational and numerical-analysis perspective on machine learning algorithms . We view neural networks primarily as nonlinear approximation spaces over which minimisation problems are solved, and investigate how the resulting approximations relate to the underlying continuous problems.
We begin in § 0.1.1 and § 1.0.1 with a discussion of basic machine learning algorithms and their formulation as discrete minimisation problems. This provides a common framework for several important methods, including function learning with deterministic and probabilistic training, the Deep Ritz method, Physics-Informed Neural Networks, time-discrete training, and generative models. Despite their different computational forms, these methods can often be interpreted through the common structure
continuous problem ⟶ discrete energy ⟶ minimisation over a nonlinear space . \text{continuous problem} \longrightarrow\text{discrete energy} \longrightarrow\text{minimisation over a nonlinear space}. continuous problem ⟶ discrete energy ⟶ minimisation over a nonlinear space .
We then establish, in § 1.9.1 , a connection with classical numerical analysis. In particular, we examine the roles of consistency, stability, approximability, compactness , and a priori and a posteriori estimates. The central question is whether minimising an approximate energy over increasingly expressive neural-network spaces produces approximations that converge to solutions of the original continuous problem.
The core of the analysis, in § 2 , is based on a liminf–limsup framework , inspired by the calculus of variations and Γ \Gamma Γ -convergence. The limsup condition provides an abstract form of consistency and approximability, while the liminf condition captures stability, compactness, and lower semicontinuity. These ideas lead to the notion of discrete variational stability , which provides a general framework for establishing convergence of neural-network minimisers.
Having established the basic convergence theory, we turn in § 2.13.1 to the question of reliability and error control . We consider a posteriori estimates and alternative approaches based on empirical measures, Wasserstein distances, and optimal matching. These provide ways of relating computable losses to the error with respect to the underlying continuous problem.
Finally, in § 2.16.1 , we use the preceding analysis to move from understanding existing algorithms to designing new ones , guided by the central theme of the notes: identifying variational principles whose stability properties are inherited by their discretisations. We consider Runge–Kutta Physics-Informed Neural Networks, neural-network methods trained with finite element quadrature, strongly coercive variational formulations for the Helmholtz equation, and deep Uzawa methods, which replace saddle-point problems by sequences of strongly coercive minimisation problems. In particular, the Helmholtz equation illustrates how identifying strongly coercive variational principles can provide a basis for constructing neural-network and finite element methods with improved stability and robustness.
Our analysis concerns minimisers of the loss functionals rather than the dynamics of the optimisation algorithms used to compute them. The optimisation error is nevertheless partly addressed: for approximate local minimisers, the error is controlled a posteriori by the computed loss. For the optimisation dynamics in parameter space, including the convergence of stochastic gradient descent and the neural tangent kernel and mean-field regimes, we refer to the recent textbook [164 ] . Approximation properties of neural-network spaces enter as an ingredient and are quoted from the literature rather than developed. We assume familiarity with Sobolev spaces, with the finite element method, and with the basic notions of measure theory and probability; the notions of weak convergence of measures that we need are recalled where they are used.
Typical machine learning algorithms
Machine Learning as Minimisation Problems
A generic Machine Learning algorithm based on a deep neural network (DNN) can be formulated as a minimisation problem of the form
min v ∈ V N E h ( v ) , (1) \min_{v \in V_N} \mathcal{E}_h(v), \tag*{(1)} v ∈ V N min E h ( v ) , (1)
where V N V_N V N denotes the class of functions represented by the chosen neural network architecture and E h \mathcal{E}_h E h is the corresponding loss functional . Here the subscript indicates that E h \mathcal{E}_h E h (or E N \mathcal{E}_N E N when sampling is used) is a computable approximation of an underlying continuous functional E \mathcal{E} E , obtained for instance by quadrature or sampling; see § 1.0.1 . A fundamental feature of this formulation is that V N V_N V N is generally not a linear space . The neural network architecture imposes a nonlinear parametrisation of the admissible functions, and consequently the minimisation problem is, in general, non-convex and may admit multiple local minimisers. The practical training of the neural network amounts to finding an approximate minimiser of this problem, typically by applying an iterative optimisation algorithm to the neural network parameters.
V N V_N V N : the discrete Neural Network function spaces
These are Finite Dimensional Spaces generated by Neural Networks: The process
C L : = C L ∘ σ ∘ C L − 1 ⋯ ∘ σ ∘ C 1 C_L := C_L \circ\sigma\circ C_{L-1} \cdots\circ\sigma\circ C_1 C L := C L ∘ σ ∘ C L − 1 ⋯ ∘ σ ∘ C 1
is in principle a map C L : R m → R m ′ C_L : \mathbb{R}^{m} \to\mathbb{R}^{m'} C L : R m → R m ′ . Then the map C L C_L C L is a neural network with L L L layers and activation function σ \sigma σ . Any such map C L C_L C L is characterised by the intermediate (hidden) layers C k C_k C k , which are affine maps of the form
C k y = W k y + b k , where W k ∈ R d k + 1 × d k , b k ∈ R d k + 1 . (2) C_k y = W_k y + b_k, \qquad\text{where } W_k \in\mathbb{R}^{d_{k+1} \times d_k},\ b_k \in\mathbb{R}^{d_{k+1}}. \tag*{(2)} C k y = W k y + b k , where W k ∈ R d k + 1 × d k , b k ∈ R d k + 1 . (2)
The set of all networks C L C_L C L with a given structure (fixed L L L , d k d_k d k , k = 1 , … , L k = 1, \ldots, L k = 1 , … , L ) is called N \mathcal{N} N . The total dimension (total number of degrees of freedom) of N \mathcal{N} N , is dim N = ∑ k = 1 L d k + 1 ( d k + 1 ) \dim\mathcal{N} = \sum_{k=1}^{L} d_{k+1}(d_k + 1) dim N = ∑ k = 1 L d k + 1 ( d k + 1 ) .
It is useful to distinguish this formulation from its equivalent representation in the parameter space Θ ⊆ R dim N \Theta\subseteq\mathbb{R}^{\dim\mathcal{N}} Θ ⊆ R d i m N (typically Θ = R dim N \Theta= \mathbb{R}^{\dim\mathcal{N}} Θ = R d i m N ), where θ ∈ Θ \theta\in\Theta θ ∈ Θ represents collectively all the parameters of the network C L \mathcal{C}_L C L , namely W k , b k W_k,b_k W k , b k , k = 1 , … , L k=1,\ldots,L k = 1 , … , L . The realisation map R : Θ → V N \mathcal{R}:\Theta\to V_N R : Θ → V N , θ ↦ u θ \theta\mapsto u_\theta θ ↦ u θ , assigns to each choice of parameters the function computed by the network, so that V N = R ( Θ ) V_N=\mathcal{R}(\Theta) V N = R ( Θ ) . In the implementation of the algorithm, the actual minimisation which is taking place is with respect to the parameters θ \theta θ :
min θ ∈ Θ E h ( u θ ) . (3) \min_{\theta\in\Theta}\mathcal{E}_h(u_\theta). \tag*{(3)} θ ∈ Θ min E h ( u θ ) . (3)
This problem is non-convex and admits in general more than one local minimiser. ML algorithms search for critical points in the parameter space, i.e., θ ∗ \theta_* θ ∗ such that
D θ E h ( u θ ∗ ) = 0. D_\theta\mathcal{E}_h(u_{\theta_*})=0. D θ E h ( u θ ∗ ) = 0.
It is to be noted that the corresponding to u θ ∗ u_{\theta_*} u θ ∗ Fréchet derivative on the function space, i.e., the functional D E h ( u θ ∗ ) D\mathcal{E}_h(u_{\theta_*}) D E h ( u θ ∗ ) may not be zero. Hence, [148 ] , local minimisers in parameter space need not be local minimisers over V N V_N V N .
Although (3) is the formulation used for computation, our primary perspective is to regard the neural network as defining a nonlinear approximation space and the algorithmic procedure as an approximate method for solving the corresponding minimisation problem. This distinction is important: the nonlinearity and non-convexity of the parameterisation do not necessarily reflect the analytical properties of the underlying functional E h \mathcal{E}_h E h . In particular, even though the optimisation problem in parameter space is highly non-convex, the functional may possess useful variational properties, such as coercivity, compactness, or lower semicontinuity, which can be exploited to analyse the resulting approximation.
Going from linear to nonlinear
Other examples of spaces with finite number of parameters
While neural network–based function spaces are the primary choice in machine learning algorithms, it is important to note that other choices are meaningful and, depending on the application, may be useful. Let us denote such a space, depending on a finite set of parameters Θ \Theta Θ , V Θ V_\Theta V Θ . The corresponding algorithms are then based on
min v ∈ V Θ E h ( v ) . (4) \min_{v\in V_\Theta}\mathcal{E}_h(v). \tag*{(4)} v ∈ V Θ min E h ( v ) . (4)
A standard choice for approximating physical problems that admit a variational principle is to consider linear finite-dimensional subspaces, such as finite element spaces V F E , h V_{FE,h} V F E , h . In this case, problem (4) with V Θ = V F E , h V_\Theta=V_{FE,h} V Θ = V F E , h and a given functional E ( v ) \mathcal{E}(v) E ( v ) is relatively simple to analyse, provided that the underlying continuous problem
min v ∈ V E ( v ) (5) \min_{v\in V}\mathcal{E}(v) \tag*{(5)} v ∈ V min E ( v ) (5)
is well posed and admits a complete theoretical framework. Another class of spaces is to consider a union of (infinitely many) linear finite element spaces, which for convenience we call Nonlinear Finite Element spaces, V F E , N V_{FE,N} V F E , N . These are nonlinear spaces and their analysis is related to nonlinear approximation theory, although minimisation problems posed over such nonlinear spaces have received comparatively little attention.
Discrete energy minimisation problem on parameter spaces: an example
Let f f f be a given function which at the moment we assume that we know everywhere . An L 2 L^2 L 2 -distance functional will be
E ( u ) = 1 2 ∫ Ω ∣ u − f ∣ 2 d x . E(u) = \frac{1}{2}\int_{\Omega} |u-f|^2\mathrm{d}x . E ( u ) = 2 1 ∫ Ω ∣ u − f ∣ 2 d x .
Let V h V_h V h be a finite element (or other finite dimensional) subspace of L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . Consider the approximation problem
min v ∈ V h E ( v ) . (6) \min_{v\in V_h} E(v) . \tag*{(6)} v ∈ V h min E ( v ) . (6)
L 2 L^2 L 2 - projection. At the minimum, u h ∈ V h u_h\in V_h u h ∈ V h , the Fréchet derivative will vanish, thus
⟨ D E ( u h ) , ϕ ⟩ = 0 for all ϕ ∈ V h . \langle DE(u_h),\phi\rangle= 0 \qquad\text{for all }\phi\in V_h . ⟨ D E ( u h ) , ϕ ⟩ = 0 for all ϕ ∈ V h .
But then
⟨ D E ( u h ) , ϕ ⟩ = ∫ Ω ( u h − f ) ϕ d x for all ϕ ∈ V h , \langle DE(u_h),\phi\rangle= \int_{\Omega}(u_h-f)\,\phi\,\mathrm{d}x \qquad\text{for all }\phi\in V_h , ⟨ D E ( u h ) , ϕ ⟩ = ∫ Ω ( u h − f ) ϕ d x for all ϕ ∈ V h ,
i.e. u h u_h u h is the L 2 L^2 L 2 projection of f f f onto V h V_h V h :
∫ Ω u h ϕ d x = ∫ Ω f ϕ d x for all ϕ ∈ V h . \int_{\Omega}u_h\,\phi\,\mathrm{d}x = \int_{\Omega}f\,\phi\,\mathrm{d}x \qquad\text{for all }\phi\in V_h . ∫ Ω u h ϕ d x = ∫ Ω f ϕ d x for all ϕ ∈ V h .
Error estimate. At the minimum, u h ∈ V h u_h\in V_h u h ∈ V h , we have trivially:
E ( u h ) ≤ E ( ϕ ) = 1 2 ∫ Ω ∣ f − ϕ ∣ 2 d x for all ϕ ∈ V h . E(u_h)\leq E(\phi)=\frac{1}{2}\int_{\Omega}|f-\phi|^2\mathrm{d}x \qquad\text{for all }\phi\in V_h . E ( u h ) ≤ E ( ϕ ) = 2 1 ∫ Ω ∣ f − ϕ ∣ 2 d x for all ϕ ∈ V h .
Thus,
∥ u h − f ∥ L 2 ≤ inf ϕ ∈ V h ∥ ϕ − f ∥ L 2 . \|u_h-f\|_{L^2}\leq\inf_{\phi\in V_h}\|\phi-f\|_{L^2}. ∥ u h − f ∥ L 2 ≤ ϕ ∈ V h inf ∥ ϕ − f ∥ L 2 .
Nonlinear Finite Elements. Let V F E , N V_{FE,N} V F E , N be a nonlinear finite element subset of L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . Consider the approximation problem
min v ∈ V F E , N E ( v ) . (7) \min_{v\in V_{FE,N}} E(v) . \tag*{(7)} v ∈ V F E , N min E ( v ) . (7)
then the space V F E , N V_{FE,N} V F E , N is not linear subspace of L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) . This fact has several important consequences. First, the Euler–Lagrange equations with respect to the function variables do not necessarily hold at the minimisers, since the minimisation is performed over a nonlinear function space. Second, the corresponding optimisation problem in the parameter space is generally non-convex and may therefore admit multiple local minimisers.
As an illustrative example, consider f ∈ L 2 ( 0 , 1 ) f \in L^2(0,1) f ∈ L 2 ( 0 , 1 ) and let V F E , N = V h , M V_{FE,N}=V_{h,M} V F E , N = V h , M denote the space of piecewise constant functions defined on partitions of [ 0 , 1 ] [0,1] [ 0 , 1 ] consisting of M M M elements. The only restriction on the partitions is the number of subintervals and not the exact location of the nodes that define the partition. In other words, V h , M V_{h,M} V h , M is the union of all standard piecewise constant finite element spaces associated with partitions of [ 0 , 1 ] [0,1] [ 0 , 1 ] having M M M elements. This space is clearly nonlinear and provides a prototypical example of a function space studied in the theory of nonlinear approximation.
Nonlinear Finite Elements: error estimate. Nevertheless, at a minimiser u h , N ∈ V F E , N u_{h,N} \in V_{FE,N} u h , N ∈ V F E , N we still have trivially:
E ( u h , N ) ≤ E ( ϕ ) = 1 2 ∫ Ω ∣ f − ϕ ∣ 2 d x for all ϕ ∈ V F E , N . E(u_{h,N}) \le E(\phi) = \frac{1}{2}\int_{\Omega} |f-\phi|^2 \mathrm{d}x \qquad\text{for all } \phi\in V_{FE,N}. E ( u h , N ) ≤ E ( ϕ ) = 2 1 ∫ Ω ∣ f − ϕ ∣ 2 d x for all ϕ ∈ V F E , N .
Thus,
∥ u h , N − f ∥ L 2 2 ≤ inf ϕ ∈ V F E , N ∥ ϕ − f ∥ L 2 2 . \lVert u_{h,N}-f\rVert_{L^2}^2 \le\inf_{\phi\in V_{FE,N}} \lVert\phi-f\rVert_{L^2}^2. ∥ u h , N − f ∥ L 2 2 ≤ ϕ ∈ V F E , N inf ∥ ϕ − f ∥ L 2 2 .
Do we gain anything? It is clear that departing from the linear framework introduces several additional computational and theoretical complications to the original approximation problem. In this simple setting, the best approximation result still holds, but the greater flexibility of nonlinear spaces offers the possibility of substantially improved approximation properties. In particular, one expects the nonlinear best approximation error to decay faster than its linear counterpart. Indeed, in the example considered above, free node finite element spaces have a significantly greater capability to approximate functions with singularities. These issues are discussed in detail in [68 ] . As an illustrative example, consider f ( x ) = x α f(x)=x^\alpha f ( x ) = x α , 0 < α < 1 0<\alpha<1 0 < α < 1 . In this case the nonlinear best approximation error is
inf ϕ ∈ V h , M ∥ ϕ − f ∥ L ∞ ≤ C M . \inf_{\phi\in V_{h,M}} \lVert\phi-f\rVert_{L^\infty} \le\frac{C}{M}. ϕ ∈ V h , M inf ∥ ϕ − f ∥ L ∞ ≤ M C .
while the same error over a corresponding linear space with M M M equi-distributed elements is O ( M − α ) O(M^{-\alpha}) O ( M − α ) . Thus clearly allowing free movement of partitions allows better approximations especially for singular functions.
Although nonlinear approximation spaces offer greater flexibility and potentially much better approximation properties, solving a minimisation problem over such a space is generally much more computationally demanding. A major computational and software development that enabled the rapid expansion of modern machine learning was the ability to solve, in practice, large-scale optimisation problems over nonlinear neural network spaces efficiently. This became possible through the combination of back-propagation and automatic differentiation, stochastic optimisation methods, and powerful hardware and software implementations [25 , 36 ] . As a result, despite the intrinsic nonlinearity and non-convexity of the underlying optimisation problems, neural networks can be trained efficiently even when they involve a very large number of parameters. This computational tractability, combined with the flexibility of nonlinear approximation spaces, makes ML methods particularly attractive in high-dimensional settings, where the performance of most classical approaches tends to deteriorate rapidly as the dimension increases.
Training: gradient descent and its variants
The minimisation problems arising in neural-network methods are typically not solved exactly. Instead, one relies on iterative optimisation procedures, with gradient descent and its variations such as stochastic gradient descent (SGD) being one of the most widely used. Gradient descent has the general form
θ n + 1 = θ n − η n D θ E h ( θ n ) , \theta_{n+1} = \theta_n - \eta_n D_\theta\mathcal{E}_h(\theta_n), θ n + 1 = θ n − η n D θ E h ( θ n ) ,
where η n > 0 \eta_n > 0 η n > 0 is the learning rate. It can be viewed as the explicit Euler discretisation, with time step η n \eta_n η n , of the gradient flow θ ˙ = − D θ E h ( θ ) \dot{\theta} = -D_\theta\mathcal{E}_h(\theta) θ ˙ = − D θ E h ( θ ) in the parameter space. The stationary points of this flow are the critical points
D θ E h ( u θ ∗ ) = 0. D_\theta\mathcal{E}_h(u_{\theta^*}) = 0. D θ E h ( u θ ∗ ) = 0.
This interpretation is more than an analogy. As for the explicit Euler method applied to stiff problems, gradient descent is only conditionally stable: for a quadratic loss it is stable provided η n \eta_n η n is small enough, e.g., η n < c / λ max \eta_n < c/\lambda_{\max} η n < c / λ m a x , where λ max \lambda_{\max} λ m a x is the largest eigenvalue of the Hessian; compare the conditional stability of the forward Euler method in § 1.9.2.1 . Remarkably, full-batch gradient descent on neural networks has been observed to operate typically at this stability limit, in a regime called the edge of stability [53 ] . Backward error analysis, a classical tool in the numerical analysis of ODE solvers, shows further that the iterates of gradient descent follow more closely the gradient flow of a modified loss , containing an implicit regularisation term [20 ] . The implicit Euler method, in contrast, can be recovered from the proximal point iteration
θ n + 1 ∈ a r g m i n θ ∈ Θ { E h ( u θ ) + 1 2 η n ∣ θ − θ n ∣ 2 } , \theta_{n+1} \in\mathop{\rm argmin}_{\theta\in\Theta} \left\{ \mathcal{E}_h(u_\theta) + \frac{1}{2\eta_n} \lvert\theta- \theta_n \rvert^2 \right\}, θ n + 1 ∈ argmin θ ∈ Θ { E h ( u θ ) + 2 η n 1 ∣ θ − θ n ∣ 2 } ,
which is the parameter-space version of De Giorgi’s minimizing movements , see also § 1.6.0.1 , where the scheme is used on the space of probability measures.
In the case where we have a high number of data samples the model is probabilistic and the loss functional has, in general, the form
E N ( v ) = 1 N ∑ i = 1 N L ( v ; X i ) , \mathcal{E}_N(v) = \frac{1}{N} \sum_{i=1}^{N} \mathcal{L}(v;X_i), E N ( v ) = N 1 i = 1 ∑ N L ( v ; X i ) ,
where X 1 , … , X N X_1,\ldots,X_N X 1 , … , X N are samples and L \mathcal{L} L denotes the corresponding pointwise or samplewise contribution to the loss, see § 1.0.1.1 . Its gradient with respect to the parameters is therefore an average of the gradients associated with the individual samples. Computing the full gradient at every iteration can be expensive, particularly when N N N is very large. SGD replaces this full gradient by an estimate obtained from a randomly selected subset, or mini-batch , of the samples. More precisely, if B n ⊂ { 1 , … , N } B_n \subset\{1,\ldots,N\} B n ⊂ { 1 , … , N } denotes a mini-batch at iteration n n n , the stochastic “gradient” is
G n ( θ n ) = 1 ∣ B n ∣ ∑ i ∈ B n D θ L ( v θ n ; X i ) , G_n(\theta_n)=\frac{1}{\lvert B_n\rvert}\sum_{i\in B_n}D_\theta\mathcal{L}(v_{\theta_n};X_i), G n ( θ n ) = ∣ B n ∣ 1 i ∈ B n ∑ D θ L ( v θ n ; X i ) ,
and the parameters are updated according to
θ n + 1 = θ n − η n G n ( θ n ) , \theta_{n+1}=\theta_n-\eta_nG_n(\theta_n), θ n + 1 = θ n − η n G n ( θ n ) ,
where η n > 0 \eta_n>0 η n > 0 is the learning rate. If the mini-batches are drawn uniformly at random, G n G_n G n is an unbiased estimate of the full empirical gradient. Thus, SGD can be interpreted as a computationally cheaper approximation of gradient descent applied to the empirical variational problem. It is an instance of stochastic approximation in the sense of [155 ] ; see [36 ] for a review in the context of machine learning.
From our point of view, the stochastic nature of the algorithm introduces a further level of approximation: the continuous functional is replaced by an empirical or discrete one, the minimisation is restricted to a neural-network space, and the resulting nonconvex problem is solved only approximately. Separating these sources of error, known in statistical learning as the estimation, approximation and optimisation errors, allows the properties of the underlying variational problem to be studied independently of the optimisation algorithm.
As mentioned, convergence of gradient descent should not be confused with convergence of the underlying variational approximation. Even if an optimisation procedure converges to a stationary point of the parameter-space objective, this does not by itself imply that the corresponding neural-network function is close to a minimiser of the continuous problem. Conversely, as we shall see in § 2.7.0.1 , the stability properties of the variational problem can provide information about the quality of approximate minimisers without requiring the optimisation problem to be solved exactly. This distinction is particularly important for neural-network methods, where the nonconvexity of the parameterisation makes global optimisation difficult and where practical algorithms generally produce only approximate local minimisers. This suggests that, rather than seeking a complete theory of global optimisation in the highly nonconvex parameter space, one may instead seek conditions under which the loss produced by the optimisation algorithm is sufficiently small and the underlying variational problem is stable. Which approximate minimiser is reached may nevertheless depend on the algorithm: the implicit bias of gradient descent towards particular minimisers is an active topic in machine learning [163 ] . We return to this selection mechanism in § 0.2.0.2 .
Hallucinations or numerical artefacts?
The term hallucination has become widely used in the machine learning literature [105 ] to describe outputs that appear plausible but are not supported by the underlying data or model. A related phenomenon can occur when neural networks are used as numerical approximations of mathematical problems: the computed solution may exhibit features that are not present in the exact solution and may nevertheless appear reasonably accurate. This is somewhat different from the standard numerical artefacts encountered in computational science, which are often recognisable from the outset as manifestations of numerical instability, insufficient resolution or noise. In the neural-network setting, however, the computed results may look entirely plausible and even achieve a small training loss, while still leading to unreliable predictions. It is therefore tempting to interpret such behaviour as a “hallucination” of the neural network.
However, similar behaviour has been observed for many years in the numerical approximation of nonlinear PDEs, particularly for problems that are sensitive to small perturbations. In such cases, numerical approximations may appear accurate while exhibiting qualitatively incorrect behaviour or converging to the wrong solution altogether. This phenomenon is well understood in the numerical analysis of nonlinear problems, where it is attributed to the non-uniqueness of weak solutions, combined with instability and with the sensitivity of the underlying problem to perturbations in the data or the approximation scheme. The neural-network setting is heavily nonlinear and further introduces additional sources of uncertainty — the non-convexity of the optimisation landscape and the use of stochastic methods — but the essential difficulty is qualitatively the same. Recognising this connection suggests that the mathematical tools developed for the analysis of nonlinear numerical methods may offer a more principled framework for understanding these phenomena, and it is from this perspective that we approach the discussion that follows.
Unreliable predictions and nonlinear PDEs
Nonlinear problems with non unique weak solutions. Following, [84 ] , consider the nonlinear evolution PDE written in abstract form
u t ( t ) + A ( u ( t ) ) = 0. u_t(t) + A(u(t)) = 0. u t ( t ) + A ( u ( t )) = 0.
This includes nonlinear evolution PDEs such as Conservation Laws (CL), Hamilton–Jacobi equations (HJ), and equations describing phase separation. For many such problems, one is interested in solutions with limited regularity. These weak solutions are well defined mathematically and have been extensively studied. However, they are often not unique, requiring additional selection criteria to identify the physically relevant solution, such as entropy solutions for CL, viscosity solutions for HJ equations, or appropriate geometric laws for propagating interfaces. Although complete theories are available only for a limited number of important problems, they provide valuable insight into the delicate design of reliable numerical schemes. A key challenge is to ensure that the numerical method does not converge to a mathematically valid but physically irrelevant weak solution. Since such spurious solutions may appear entirely reasonable computationally, additional criteria are needed to assess the reliability of the resulting approximations.
A typical example: Scalar Conservation Laws. Consider the nonlinear equation
u t ( x , t ) + div F ( u ( x , t ) ) = 0 , x ∈ R d , t > 0. (8) u_t(x,t) + \operatorname{div} F(u(x,t)) = 0,\qquad x \in\mathbb{R}^d,\ t > 0. \tag*{(8)} u t ( x , t ) + div F ( u ( x , t )) = 0 , x ∈ R d , t > 0. (8)
Weak solutions are defined through a variational formulation and admit solutions which are even discontinuous. Among them uniqueness is guaranteed by imposing an infinite number of additional variational inequalities: The unique entropy solution satisfies
η ( u ) t + div Q ( u ) ≤ 0 , in D ′ . \eta(u)_t + \operatorname{div} Q(u) \le0,\qquad\text{in } \mathcal{D}'. η ( u ) t + div Q ( u ) ≤ 0 , in D ′ .
Here, η \eta η is convex and η , Q \eta,Q η , Q an entropy entropy-flux pair, [59 ] . An alternative characterisation of the entropy solution emerges as the limit of viscosity approximations (“viscosity solution”) u ϵ → u u^\epsilon\to u u ϵ → u where
u t ϵ ( x , t ) + div F ( u ϵ ( x , t ) ) = ϵ Δ u ϵ ( x , t ) , x ∈ R d , t > 0. (9) u_t^\epsilon(x,t) + \operatorname{div} F(u^\epsilon(x,t)) = \epsilon\Delta u^\epsilon(x,t),\qquad x \in\mathbb{R}^d,\ t > 0. \tag*{(9)} u t ϵ ( x , t ) + div F ( u ϵ ( x , t )) = ϵ Δ u ϵ ( x , t ) , x ∈ R d , t > 0. (9)
This interpretation of the entropy solution has important consequences for scheme design. Successful approximations typically require some form of artificial diffusion , [177 ] . However, different regularisations may select different limiting solutions, so one must ensure that the scheme does not introduce unwanted perturbations. Thus, even seemingly “reasonable” schemes may produce unexpected results. The underlying reason is that each numerical approximation of (8) can be interpreted as a perturbation of the form
v t h ( t ) + div F ( v h ( t ) ) = B h ( h , v h ( t ) ) , v_t^h(t) + \operatorname{div} F(v^h(t)) = B_h(h,v^h(t)), v t h ( t ) + div F ( v h ( t )) = B h ( h , v h ( t )) ,
where B h ( h , v h ( t ) ) B_h(h,v^h(t)) B h ( h , v h ( t )) is a differential operator acting on v h v^h v h which is not always easy to write explicitly. The character of B h B_h B h determines the limiting behaviour: dissipative perturbations may select the entropy solution, whereas dispersive ones may produce persistent oscillations whose weak limits are investigated in [87 , 122 , 103 ] . Reasonably designed schemes may nevertheless produce remarkably different approximations; see Figure 1 . Such intriguing computational behaviour dates back to the early development of computational fluid dynamics; see [178 , 103 ] . In particular, Hou and Lax [103 ] provide a fascinating historical account of J. von Neumann’s pioneering contributions to scientific computing.
Figure 1. Central scheme, Upwind scheme, Diffusion and dispersion An oscillatory central scheme (A) and a shock capturing upwind scheme (B) for Burgers equation. Two schemes approximating different weak solutions in the case of non-convex flux function (C).
Numerical issues on PDE Energy Minimisation. Another important class of nonlinear problems with non-unique weak solutions arises in minimisation problems, including phase transitions and other singular phenomena. Although the underlying mathematics is rich, it often provides understanding only in limiting regimes, [19 ] . From a computational perspective, the numerical analysis of PDEs energy minimisation is not sufficiently developed. Consider the nonlinear minimisation problem
find a local minimiser v ∈ V of: \text{find a local minimiser } v \in\mathcal{V}\text{ of:} find a local minimiser v ∈ V of:
E ( v ) , \mathcal{E}(v), E ( v ) ,
The approximate energy minimisation problem is posed over finite dimensional spaces V h \mathcal{V}_h V h , and approximating energy functionals E h \mathcal{E}_h E h :
find a local minimiser v ∈ V h of: \text{find a local minimiser } v \in\mathcal{V}_h\text{ of:} find a local minimiser v ∈ V h of:
E h ( v ) . \mathcal{E}_h(v). E h ( v ) .
Many questions remain open, since the relationship between E h \mathcal{E}_h E h and E \mathcal{E} E is often unclear. In particular, choosing appropriate approximate energies E h \mathcal{E}_h E h can be subtle. Similarly, the relationship between V h \mathcal{V}_h V h and V \mathcal{V} V may lead to unrealistic minimisers, as illustrated by the Lavrentiev phenomenon, see Ball and Knowles [18 ] . An indicative example of the sensitivity of discretisation methods is provided by the following simple scalar problem of phase separation with energy functional
E ε ( u ) = ∫ Ω [ ε ∣ ∇ u ∣ 2 + 1 ε ( u 2 − 1 ) 2 ] d x . \mathcal{E}_{\varepsilon}(u)=\int_{\Omega}\left[\varepsilon\lvert\nabla u\rvert^2+\frac{1}{\varepsilon}(u^2-1)^2\right]\,\mathrm{d}x. E ε ( u ) = ∫ Ω [ ε ∣ ∇ u ∣ 2 + ε 1 ( u 2 − 1 ) 2 ] d x .
Since E ε ( ± 1 ) = 0 \mathcal{E}_{\varepsilon}(\pm1)=0 E ε ( ± 1 ) = 0 , the constant states u = 1 u=1 u = 1 and u = − 1 u=-1 u = − 1 are global minimisers on any domain. More is true when Ω \Omega Ω is convex: every stable critical point is then constant [45 , 138 ] , whereas on suitable non-convex domains non-constant local minimisers with interfaces do exist [113 ] . Nevertheless, the computation of minimisers is far from straightforward: unphysical, but seemingly realistic, interfaces emerge, see Figure 2 .
Figure 2. Three entirely different approximate minimisers of E ε \mathcal{E}_{\varepsilon} E ε with mesh resolution h h h , h / 2.9 h/2.9 h /2.9 , and h / 3.3 h/3.3 h /3.3 respectively.
In view of the above, what is informally described as a “hallucination” can often be understood more precisely as a numerical artefact with an identifiable source, and the analogy can be made concrete. A numerical scheme for a nonlinear PDE solves, in effect, a perturbed problem, its modified equation, and the perturbation acts as a hidden selection mechanism among the weak solutions. Similarly, training selects one local minimiser of a non-convex loss among many; as discussed in § 0.2.0.1 , gradient descent itself approximately follows the gradient flow of a modified loss containing an implicit regulariser. In both cases the computed object is genuine, a weak solution of the equations or a local minimiser of the loss, which explains why it may appear entirely reasonable while being far from the solution sought. In both cases, reliability requires information that neither the equations nor the loss alone provide. For nonlinear conservation laws this is supplied by the entropy conditions, a selection principle with a long history whose algorithmic counterparts are themselves delicate. What the corresponding principle should be for the learning problem is largely open; the stability of the loss functional studied in § 2 is, in our view, a necessary ingredient, but further research is required in this direction. Rather than treating unexpected features of neural-network approximations as an intrinsic and mysterious property of machine learning, we believe that concepts from numerical analysis, PDEs and the calculus of variations can explain their emergence and provide a principled framework for addressing them.
Bibliography and comments
Nonlinear approximation, including free-knot splines and adaptive partitions, is surveyed in [68 ] , and the approximation properties of neural networks, viewed as a form of nonlinear approximation and compared with classical methods, in [67 ] . The topological properties of the sets V N V_N V N are studied in [148 ] , and the representation of finite element functions by ReLU networks in [100 ] . Finite element approximations in which the positions of the nodes are themselves unknowns appear, often independently, in several areas, including the study of optimal meshes, moving and adaptive finite elements, adaptive methods and shape optimisation.
For a review of optimisation methods in machine learning, including stochastic gradient methods, see [36 ] . Viewing optimisation algorithms as discretisations of gradient flows makes classical tools of numerical analysis available, such as backward error analysis, which identifies a modified loss whose gradient flow is followed more closely by gradient descent [20 ] , and linear stability, whose bound 2 / λ max 2/\lambda_{\max} 2/ λ m a x is observed to govern training in practice [53 ] . The same viewpoint applies to accelerated methods. Nesterov’s method [143 ] combines a gradient step with an extrapolation, or momentum, step,
y n = θ n + n − 1 n + 2 ( θ n − θ n − 1 ) , θ n + 1 = y n − η D θ E h ( y n ) , y_n = \theta_n + \frac{n-1}{n+2}\left(\theta_n-\theta_{n-1}\right), \qquad\theta_{n+1}=y_n-\eta D_\theta\mathcal{E}_h(y_n), y n = θ n + n + 2 n − 1 ( θ n − θ n − 1 ) , θ n + 1 = y n − η D θ E h ( y n ) ,
and, for convex losses with Lipschitz continuous gradient and step size η ≤ 1 / L \eta\le1/L η ≤ 1/ L , it reduces the error in the loss at the rate O ( n − 2 ) O(n^{-2}) O ( n − 2 ) , compared with O ( n − 1 ) O(n^{-1}) O ( n − 1 ) for gradient descent; this rate is optimal among first-order methods. It is known that the iterates are appropriate discretisations of damped second-order equation
θ ˙ + 3 t θ ˙ + D θ E h ( θ ) = 0 , \dot{\theta}+\frac{3}{t}\dot{\theta}+D_\theta\mathcal{E}_h(\theta)=0, θ ˙ + t 3 θ ˙ + D θ E h ( θ ) = 0 ,
so that acceleration, too, can be understood through an underlying continuous dynamical system [165 ] .
The discussion of nonlinear problems with non-unique weak solutions follows [84 ] . For scalar conservation laws, entropy solutions and their uniqueness see [59 ] ; artificial viscosity as a tool in computational science goes back to [177 ] . The weak limits of dispersive schemes are analysed in [87 , 103 ] , in connection with the small dispersion limit [122 ] , and the selection of nonclassical shocks by numerical schemes in [123 ] . For energy minimisation, the Lavrentiev phenomenon and its numerical consequences see [18 , 19 ] ; for the absence of stable non-constant equilibria of the Allen–Cahn equation on convex domains see [45 , 138 ] , and for the existence of non-constant local minimisers on non-convex domains via Γ \Gamma Γ -convergence see [113 ] .
Key examples and corresponding abstract problems
Model Problem 1: Learning a function
To motivate the different levels of abstract problems involved in a typical ML algorithm we consider as a model the learning of a given function f : Ω → R f:\Omega\to\mathbb{R} f : Ω → R , Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d . We assume that we have access to its point values in a given finite set of points (interpolation points ). Then the deep neural network interpolant is the resulting approximation of f f f which is obtained by a typical machine learning algorithm involving a given DNN architecture and the minimisation step which it is assumed that can be solved exactly. Ideally, one is interested to show convergence of such algorithms as the number of parameters of the DNN and the number of the interpolation points both tend to infinity in an appropriate sense.
Loss and minimisers
Considering { y i } i = { f ( x i ) } i \{y_i\}_i=\{f(x_i)\}_i { y i } i = { f ( x i ) } i as data, the training loss is
E N ( g ) = 1 N ∑ i = 1 N ∣ g ( x i ) − f ( x i ) ∣ p = 1 N ∑ i = 1 N ∣ g ( x i ) − y i ∣ p . \mathcal{E}_N(g)=\frac{1}{N}\sum_{i=1}^{N}\lvert g(x_i)-f(x_i)\rvert^{p}=\frac{1}{N}\sum_{i=1}^{N}\lvert g(x_i)-y_i\rvert^{p}. E N ( g ) = N 1 i = 1 ∑ N ∣ g ( x i ) − f ( x i ) ∣ p = N 1 i = 1 ∑ N ∣ g ( x i ) − y i ∣ p .
and the learning algorithm is to seek minimisers of this functional, namely,
min v ∈ V N E N ( v ) . (10) \min_{v\in V_N}\mathcal{E}_N(v). \tag*{(10)} v ∈ V N min E N ( v ) . (10)
We are interested in understanding the behaviour of the minimisers of this problem. It is interesting first to compare it to standard interpolation in linear finite dimensional spaces. The problem (10) can be seen as “interpolation ” through a minimisation procedure. We are going to see that even this problem is not trivial to analyse. Of course, the mathematical description of the problem is different depending on whether (i) the point values are given externally (e.g., scattered data) or (ii) the point values are chosen by us as it is done in the typical interpolation. To obtain a consistent mathematical theory it is important to emphasise that in the case (i) the problem is modelled as a probabilistic problem while in the second case (ii) the problem can be modelled as a deterministic problem with a different loss which is consistent with a typical quadrature, see § 2.7.0.1 for details.
One level of abstraction up: NN minimisation without training
One may consider the problem (10) as an approximation scheme for the continuous minimisation problem
min v ∈ V E ( v ) , (11) \min_{v\in V}\mathcal{E}(v), \tag*{(11)} v ∈ V min E ( v ) , (11)
where V = L p ( Ω ) V = L^p(\Omega) V = L p ( Ω ) and
E ( u ) = ∫ Ω ∣ u − f ∣ p d x . \mathcal{E}(u) = \int_{\Omega} |u-f|^p \,\mathrm{d}x. E ( u ) = ∫ Ω ∣ u − f ∣ p d x .
The unique minimiser of (11) is obviously f f f . It will be useful to consider as well the V N V_N V N minimisation problem without training :
Definition 1 (Semidiscrete idealised problem) Assume that the problem
min v ∈ V N E ( v ) \min_{v \in V_N} \mathcal{E}(v) v ∈ V N min E ( v ) has a solution v ∗ ∈ V N v^* \in V_N v ∗ ∈ V N . We call v ∗ v^* v ∗ a N \mathcal{N} N –DNN minimiser of E \mathcal{E} E
As the original problem, this idealised NN problem is equivalently formulated as a minimisation problem in R dim N \mathbb{R}^{\dim\mathcal{N}} R d i m N :
min θ ∈ Θ E ( u θ ) . \min_{\theta\in\Theta} \mathcal{E}(u_\theta). θ ∈ Θ min E ( u θ ) .
This problem does not lead to a computable algorithm, even if f f f were known everywhere, since for v ∈ V N v \in V_N v ∈ V N the quantity E ( v ) \mathcal{E}(v) E ( v ) is not computable. One therefore needs to approximate E ( v ) \mathcal{E}(v) E ( v ) using a quadrature rule or other numerical methods. We will refer to the procedure based on the approximation E h ( v ) ≃ E ( v ) \mathcal{E}_h(v) \simeq\mathcal{E}(v) E h ( v ) ≃ E ( v ) as training .
Quadrature based Deterministic Training
We would like to approximate E h ( v ) ≃ E ( v ) \mathcal{E}_h(v) \simeq\mathcal{E}(v) E h ( v ) ≃ E ( v ) and assume for a moment that f f f is known at a finite set of points z ∈ K h z \in K_h z ∈ K h , where K h K_h K h is a set of points linked to a quadrature rule. We aim to construct an approximation of f f f everywhere in its domain. We consider appropriate quadrature for integrals over Ω \Omega Ω . Such a quadrature requires a set K h K_h K h of discrete points z ∈ K h z \in K_h z ∈ K h and corresponding nonnegative weights w z w_z w z such that
∑ z ∈ K h w z G ( z ) ≃ ∫ Ω G ( x ) d x . (12) \sum_{z \in K_h} w_z G(z) \simeq\int_{\Omega} G(x)\,\mathrm{d}x. \tag*{(12)} z ∈ K h ∑ w z G ( z ) ≃ ∫ Ω G ( x ) d x . (12)
Based on (12) we obtain the “loss” functional approximating E ( v ) \mathcal{E}(v) E ( v )
E Q , h ( g ) = ∑ z ∈ K h w z ∣ g ( z ) − f ( z ) ∣ p . \mathcal{E}_{Q,h}(g) = \sum_{z \in K_h} w_z \left|g(z)-f(z)\right|^p. E Q , h ( g ) = z ∈ K h ∑ w z ∣ g ( z ) − f ( z ) ∣ p .
Definition 2 [DEEP NEURAL NETWORK INTERPOLATION] Assume that the problem
min v ∈ V N E Q , h ( v ) \min_{v \in V_N} \mathcal{E}_{Q,h}(v) v ∈ V N min E Q , h ( v ) has a solution u h ∈ V N u_h \in V_N u h ∈ V N . We call u h u_h u h a N \mathcal{N} N –deep neural network interpolant of f f f at K h K_h K h .
Probabilistic Training
When we wish to use a data set { y i } i = { f ( x i ) } i \{y_i\}_i = \{f(x_i)\}_i { y i } i = { f ( x i ) } i to learn f f f , we may not be able to choose the locations of the points { x i } i \{x_i\}_i { x i } i . In this case, the loss
1 N ∑ i = 1 N ∣ g ( x i ) − y i ∣ p \frac{1}{N}\sum_{i=1}^{N} \lvert g(x_i)-y_i\rvert^p N 1 i = 1 ∑ N ∣ g ( x i ) − y i ∣ p
can only be regarded as a Monte Carlo approximation of E ( v ) \mathcal{E}(v) E ( v ) , i.e., the integral is approximated by
∫ Ω G ( x ) d μ ( x ) ≅ 1 N ∑ i = 1 N G ( x i ) , (13) \int_{\Omega} G(x)\,\mathrm{d}\mu(x) \cong\frac{1}{N}\sum_{i=1}^{N}G(x_i), \tag*{(13)} ∫ Ω G ( x ) d μ ( x ) ≅ N 1 i = 1 ∑ N G ( x i ) , (13)
where the x i x_i x i are random points in Ω \Omega Ω , distributed according to a probability measure μ \mu μ on Ω \Omega Ω . Unless stated otherwise, μ \mu μ is the uniform distribution on Ω \Omega Ω , so that ∫ Ω G d μ = ∣ Ω ∣ − 1 ∫ Ω G d x \int_{\Omega}G\,\mathrm{d}\mu= \lvert\Omega\rvert^{-1}\int_{\Omega}G\,\mathrm{d}x ∫ Ω G d μ = ∣ Ω ∣ − 1 ∫ Ω G d x ; the constant factor ∣ Ω ∣ \lvert\Omega\rvert ∣ Ω ∣ is irrelevant for the minimisation, and in the probabilistic setting all integrals over Ω \Omega Ω are understood with respect to μ \mu μ .
To be more precise, for a sample ω ∈ Ω \omega\in\Omega ω ∈ Ω fixed, and a collection X 1 , X 2 , … X_1,X_2,\ldots X 1 , X 2 , … of i.i.d. Ω \Omega Ω -valued random variables, defined on a probability space ( Ω , F , P ) (\Omega,\mathcal{F},\mathbb{P}) ( Ω , F , P ) 2 we consider the discrete energy,
E N , ω ( g ) = 1 N ∑ i = 1 N ∣ g ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p . (14) \mathcal{E}_{N,\omega}(g)=\frac{1}{N}\sum_{i=1}^{N}\lvert g(X_i(\omega))-f(X_i(\omega))\rvert^p. \tag*{(14)} E N , ω ( g ) = N 1 i = 1 ∑ N ∣ g ( X i ( ω )) − f ( X i ( ω )) ∣ p . (14)
This will be the loss approximating E \mathcal{E} E . This leads to the problem
Definition 3 [PROBABILISTIC DEEP NEURAL NETWORK INTERPOLATION] Assume that for each ω ∈ Ω \omega\in\Omega ω ∈ Ω the problem
min v ∈ V N E N , ω ( v ) (15) \min_{v\in V_N}\mathcal{E}_{N,\omega}(v) \tag*{(15)} v ∈ V N min E N , ω ( v ) (15) has a solution u ⋆ ( ω , ⋅ ) ∈ V N u^\star(\omega,\cdot)\in V_N u ⋆ ( ω , ⋅ ) ∈ V N . We denote by u X ( ω ) = u ⋆ ( ω , ⋅ ) u_{\mathbf{X}}(\omega)=u^\star(\omega,\cdot) u X ( ω ) = u ⋆ ( ω , ⋅ ) the V N V_N V N -probabilistic deep neural network interpolant of f f f at X = ( X 1 , … , X N ) \mathbf{X}=(X_1,\ldots,X_N) X = ( X 1 , … , X N ) .
We assume that the minimiser can be selected so that ω ↦ u ⋆ ( ω , ⋅ ) \omega\mapsto u^\star(\omega,\cdot) ω ↦ u ⋆ ( ω , ⋅ ) is measurable, which is the case, for instance, when the parameters range over a compact set and the loss depends continuously on them.
A key challenge is the following. For a fixed function g g g , the quadrature error
1 N ∑ i = 1 N g ( X i ) − ∫ Ω g ( x ) d μ ( x ) \frac{1}{N}\sum_{i=1}^{N}g(X_i)-\int_{\Omega}g(x)\,\mathrm{d}\mu(x) N 1 i = 1 ∑ N g ( X i ) − ∫ Ω g ( x ) d μ ( x )
∫ Ω g ( x ) d μ ( x ) = ∫ Ω g ( X i ( ω ) ) d P ( ω ) = ∫ Ω g ( Y ( ω ) ) d P ( ω ) = E [ g ( Y ) ] . (16) \int_{\Omega}g(x)\,\mathrm{d}\mu(x)=\int_{\Omega}g(X_i(\omega))\,\mathrm{d}\mathbb{P}(\omega)=\int_{\Omega}g(Y(\omega))\,\mathrm{d}\mathbb{P}(\omega)=\mathbb{E}[g(Y)]. \tag*{(16)} ∫ Ω g ( x ) d μ ( x ) = ∫ Ω g ( X i ( ω )) d P ( ω ) = ∫ Ω g ( Y ( ω )) d P ( ω ) = E [ g ( Y )] . (16)
can be controlled by standard tools, such as the central limit theorem or large deviations. These tools do not apply directly to
1 N ∑ i = 1 N u X ( X i ) − ∫ Ω u X ( x ) d μ ( x ) , \frac{1}{N}\sum_{i=1}^{N}u_X(X_i)-\int_{\Omega}u_X(x)\,\mathrm{d}\mu(x), N 1 i = 1 ∑ N u X ( X i ) − ∫ Ω u X ( x ) d μ ( x ) ,
since the interpolant u X u_X u X depends on the sample points themselves. In statistical learning this difficulty is addressed by uniform laws of large numbers over the class V N V_N V N , through Rademacher- or VC-type complexity bounds; an alternative approach, based on the convergence of empirical measures, is developed in Sections 5 and 6.
Function learning in infinite dimensions: operator learning
The formulation of Model Problem 1 can be extended to infinite dimensional domains instead of subsets of R d \mathbb{R}^d R d . Let X X X and Y Y Y be separable Banach spaces of functions, for instance X = L 2 ( D ) X=L^2(D) X = L 2 ( D ) or X = C ( D ‾ ) X=C(\overline{D}) X = C ( D ) and Y = H 0 1 ( D ) Y=H_0^1(D) Y = H 0 1 ( D ) for a bounded domain D ⊂ R d D\subset\mathbb{R}^d D ⊂ R d , and let G : X → Y \mathcal{G}:X\to Y G : X → Y be a given operator. A typical example is the solution operator of a parametric PDE, such as a ↦ u a a\mapsto u_a a ↦ u a , where u a u_a u a solves − div ( a ∇ u a ) = f -\operatorname{div}(a\nabla u_a)=f − div ( a ∇ u a ) = f in D D D with homogeneous Dirichlet conditions, in which case X X X is a space of coefficient fields. The learning of G \mathcal{G} G , known as operator learning , is function learning with Ω \Omega Ω replaced by X X X : we fix a probability measure μ \mu μ on X X X , which models the inputs of interest (for example a Gaussian measure, or the law of random coefficient fields), and consider the continuous functional
E ( G ) = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ ( a ) , G ∈ V : = L p ( X , μ ; Y ) , \mathcal{E}(G)=\int_X\|G(a)-\mathcal{G}(a)\|_Y^p\,\mathrm{d}\mu(a),\qquad G\in V:=L^p(X,\mu;Y), E ( G ) = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ ( a ) , G ∈ V := L p ( X , μ ; Y ) ,
whose unique minimiser is G \mathcal{G} G . The role of V N V_N V N is played by a class of neural operators , maps G θ : X → Y G_\theta:X\to Y G θ : X → Y of a prescribed architecture, such as deep operator networks or Fourier neural operators, see e.g., [128 , 120 , 115 , 153 ] . Every such architecture combines an finite dimensional approximation of the input a a a (encoding into finitely many numbers such as point values on a grid, Fourier or other coefficients), a neural network acting on these coefficients, and a decoding of the output into a function in Y Y Y . The semidiscrete problem is min G ∈ V N E ( G ) \min_{G\in V_N}\mathcal{E}(G) min G ∈ V N E ( G ) , and training is based on data ( a i , G ( a i ) ) (a_i,\mathcal{G}(a_i)) ( a i , G ( a i )) , i = 1 , … , N i=1,\ldots,N i = 1 , … , N , with a i = X i ( ω ) a_i=X_i(\omega) a i = X i ( ω ) i.i.d. samples from μ \mu μ , through the loss
E N , ω ( G ) = 1 N ∑ i = 1 N ∥ G ( X i ( ω ) ) − G ( X i ( ω ) ) ∥ Y p . \mathcal{E}_{N,\omega}(G)=\frac{1}{N}\sum_{i=1}^{N}\|G(X_i(\omega))-\mathcal{G}(X_i(\omega))\|_Y^p. E N , ω ( G ) = N 1 i = 1 ∑ N ∥ G ( X i ( ω )) − G ( X i ( ω )) ∥ Y p .
In practice the data G ( a i ) \mathcal{G}(a_i) G ( a i ) are computed by a numerical solver and the norm of Y Y Y is evaluated by quadrature on D D D , so that a second level of discretisation is present; we do not pursue this here.
One feature distinguishes operator learning from the finite-dimensional case. Since there are no quadrature rules on an infinite-dimensional space, training is necessarily probabilistic. When the inputs depend on finitely many parameters, as PDEs with a = a ( x ; ξ ) a=a(x;\xi) a = a ( x ; ξ ) , ξ ∈ R m \xi\in\mathbb{R}^{m} ξ ∈ R m , the problem reduces to function learning on R m \mathbb{R}^{m} R m , and deterministic training becomes possible again.
Model Problem 2: Solving elliptic PDEs
We consider simple boundary value problems of the form,
{ L u = f in Ω u = 0 on ∂ Ω (17) \begin{cases}
Lu=f & \text{in }\Omega\\
u=0 & \text{on }\partial\Omega \tag*{(17)}
\end{cases} { Lu = f u = 0 in Ω on ∂ Ω (17)
where u : Ω ⊂ R d → R u:\Omega\subset\mathbb{R}^{d}\to\mathbb{R} u : Ω ⊂ R d → R , Ω \Omega Ω is an open, bounded set with Lipschitz boundary, f ∈ L 2 ( Ω ) f\in L^{2}(\Omega) f ∈ L 2 ( Ω ) and L L L a self-adjoint elliptic operator of the form L u : = − ∑ 1 ≤ i , j ≤ d ( a i j u x i ) x j + c u Lu:=-\sum_{1\leq i,j\leq d}(a_{ij}u_{x_i})_{x_j}+cu Lu := − ∑ 1 ≤ i , j ≤ d ( a ij u x i ) x j + c u , c > 0 c>0 c > 0 , and where a i j a_{ij} a ij are smooth enough and satisfy standard ellipticity and positivity assumptions. More general elliptic operators and alternative boundary conditions can be considered as well. There are two main approaches to discretising this problem, motivated by either minimising the Dirichlet energy (the Deep Ritz method) or minimising the L 2 L^{2} L 2 residual (PINN methods). As in the case of function learning, these neural network methods can ultimately be formulated by introducing an appropriate quadrature for the corresponding functionals and seeking minimisers of the resulting loss functionals over suitable neural network spaces.
Deep Ritz method
The (idealised without training/quadrature ) Deep Ritz method corresponds to the loss
E D ( u ) = 1 2 B ( u , u ) − ∫ Ω f u d x ; \mathcal{E}_{D}(u)=\frac{1}{2}B(u,u)-\int_{\Omega}fu\,\mathrm{d}x; E D ( u ) = 2 1 B ( u , u ) − ∫ Ω f u d x ;
where
B ( u , v ) : = ∫ Ω a ( u , v ) d x : = ∫ Ω ( ∑ 1 ≤ i , j ≤ d a i j u x i v x j + c u v ) d x , B(u,v):=\int_{\Omega}a(u,v)\,\mathrm{d}x:=\int_{\Omega}\left(\sum_{1\leq i,j\leq d}a_{ij}u_{x_i}v_{x_j}+cuv\right)\,\mathrm{d}x, B ( u , v ) := ∫ Ω a ( u , v ) d x := ∫ Ω 1 ≤ i , j ≤ d ∑ a ij u x i v x j + c uv d x ,
is the standard bilinear form corresponding to L L L . Here
a ( u , v ) ( x ) : = ∑ 1 ≤ i , j ≤ d a i j ( x ) u x i ( x ) v x j ( x ) + c ( x ) u ( x ) v ( x ) a(u,v)(x):=\sum_{1\leq i,j\leq d}a_{ij}(x)u_{x_i}(x)v_{x_j}(x)+c(x)u(x)v(x) a ( u , v ) ( x ) := 1 ≤ i , j ≤ d ∑ a ij ( x ) u x i ( x ) v x j ( x ) + c ( x ) u ( x ) v ( x )
denotes the pointwise form, so that B ( u , v ) = ∫ Ω a ( u , v ) ( x ) d x B(u,v)=\int_{\Omega}a(u,v)(x)\,\mathrm{d}x B ( u , v ) = ∫ Ω a ( u , v ) ( x ) d x . When L L L is self-adjoint the solution of (17) is the unique minimiser of the problem
min v ∈ H 0 1 ( Ω ) E D ( v ) . (18) \min_{v\in H_{0}^{1}(\Omega)}\mathcal{E}_{D}(v). \tag*{(18)} v ∈ H 0 1 ( Ω ) min E D ( v ) . (18)
As before, to define the loss functional one may approximate integrals through Monte-Carlo integration. If X i X_i X i , i = 1 , … , N i = 1,\ldots,N i = 1 , … , N , i.i.d. random variables, each one corresponding to a random point x i x_i x i of Ω \Omega Ω . The integrals are approximated, up to the constant factor ∣ Ω ∣ |\Omega| ∣Ω∣ , which is irrelevant for the minimisation, by
1 N ∑ i = 1 N F ( x i ) ≈ ∫ Ω F ( x ) d x . \frac{1}{N}\sum_{i=1}^{N} F(x_i) \approx\int_{\Omega} F(x)\,\mathrm{d}x. N 1 i = 1 ∑ N F ( x i ) ≈ ∫ Ω F ( x ) d x .
and the Deep Ritz method with probabilistic training is based on the loss functional
E D , N , ω ( g ) = 1 N ∑ i = 1 N ( 1 2 a ( g , g ) ( X i ( ω ) ) − f ( X i ( ω ) ) g ( X i ( ω ) ) ) . \mathcal{E}_{D,N,\omega}(g)=\frac{1}{N}\sum_{i=1}^{N}\left(\frac{1}{2}a(g,g)(X_i(\omega))-f(X_i(\omega))g(X_i(\omega))\right). E D , N , ω ( g ) = N 1 i = 1 ∑ N ( 2 1 a ( g , g ) ( X i ( ω )) − f ( X i ( ω )) g ( X i ( ω )) ) .
leading to the discrete minimisation problem (for each instance ω ∈ Ω \omega\in\Omega ω ∈ Ω ),
min v ∈ V N E D , N , ω ( v ) . \min_{v\in V_N}\mathcal{E}_{D,N,\omega}(v). v ∈ V N min E D , N , ω ( v ) .
Notice that the requirement V N ⊂ H 0 1 ( Ω ) V_N\subset H^1_0(\Omega) V N ⊂ H 0 1 ( Ω ) is subtle and may, in fact, lead to computational complications. It is assumed here for simplicity of the exposition. Notice also that, in contrast to the continuous energy, the sampled energy E D , N , ω \mathcal{E}_{D,N,\omega} E D , N , ω controls g g g and ∇ g \nabla g ∇ g only at the sample points, and this control depends on the quadrature, that is, on the sample points and their number. Nothing in the loss constrains g g g outside the sample points, so the coercivity of E D \mathcal{E}_D E D on H 0 1 ( Ω ) H^1_0(\Omega) H 0 1 ( Ω ) is not automatically inherited by E D , N , ω \mathcal{E}_{D,N,\omega} E D , N , ω on V N V_N V N . Whether, and in which sense, a discrete loss retains the coercivity of the continuous functional is precisely the question of discrete variational stability addressed in § 2 and, for Deep Ritz methods trained with finite elements, in § 2.20.0.1 .
Alternatively, one may employ quadrature-collocation training to approximate the integrals, yielding different loss functionals. Utilising a quadrature over a set K h K_h K h of discrete points z ∈ K h z\in K_h z ∈ K h and corresponding weights w z w_z w z such that ∑ z ∈ K h w z F ( z ) ≈ ∫ Ω F ( x ) d x \sum_{z\in K_h}w_zF(z)\approx\int_{\Omega}F(x)\,\mathrm{d}x ∑ z ∈ K h w z F ( z ) ≈ ∫ Ω F ( x ) d x , we may define
E D , Q , h ( g ) = ∑ z ∈ K h w z ( 1 2 a ( g , g ) ( z ) − f ( z ) g ( z ) ) . (19) \mathcal{E}_{D,Q,h}(g)=\sum_{z\in K_h}w_z\left(\frac{1}{2}a(g,g)(z)-f(z)g(z)\right). \tag*{(19)} E D , Q , h ( g ) = z ∈ K h ∑ w z ( 2 1 a ( g , g ) ( z ) − f ( z ) g ( z ) ) . (19)
Then the discrete minimisation problem becomes
min v ∈ V N E D , Q , h ( v ) . \min_{v\in V_N}\mathcal{E}_{D,Q,h}(v). v ∈ V N min E D , Q , h ( v ) .
PINN methods
Although methods based on the discretisation of the Dirichlet energy have a solid physical foundation, they can only be used for elliptic problems with self-adjoint operators L L L . Residual-based methods are more general and are based on the minimisation of the functional
min v ∈ V N E R ( v ) \min_{v\in V_N} \mathcal{E}_R(v) v ∈ V N min E R ( v )
where
E R ( v ) = ∫ Ω ∣ L v − f ∣ 2 d x . \mathcal{E}_R(v)=\int_{\Omega}|Lv-f|^2\,dx. E R ( v ) = ∫ Ω ∣ Lv − f ∣ 2 d x .
The Monte Carlo approximation of the integral yields loss functionals whose minimisation leads to what are commonly referred to as Physics-Informed Neural Networks (PINNs) . To this end, by employing the same notation used previously one may define the loss functional
E R , N , ω ( g ) = 1 N ∑ i = 1 N ∣ ( L g ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ 2 , \mathcal{E}_{R,N,\omega}(g)=\frac{1}{N}\sum_{i=1}^{N}\left|(Lg)(X_i(\omega))-f(X_i(\omega))\right|^2, E R , N , ω ( g ) = N 1 i = 1 ∑ N ∣ ( Lg ) ( X i ( ω )) − f ( X i ( ω )) ∣ 2 ,
and the PINN method is
min v ∈ V N E R , N , ω ( v ) . \min_{v\in V_N}\mathcal{E}_{R,N,\omega}(v). v ∈ V N min E R , N , ω ( v ) .
Here we need to select neural network spaces V N V_N V N with higher regularity. The direct imposition of boundary conditions then becomes more intricate, especially in Lipschitz domains, where singular solutions may arise. In the definition of E R \mathcal{E}_R E R we have assumed that the functions in V N V_N V N satisfy the boundary condition exactly, so that V N ⊂ H 2 ( Ω ) ∩ H 0 1 ( Ω ) V_N\subset H^2(\Omega)\cap H^1_0(\Omega) V N ⊂ H 2 ( Ω ) ∩ H 0 1 ( Ω ) ; otherwise an appropriate discretised boundary term, such as ∫ ∂ Ω ∣ v ∣ 2 d S \int_{\partial\Omega}|v|^2\,dS ∫ ∂ Ω ∣ v ∣ 2 d S or a stronger norm of v v v , has to be added to the loss.
The two approaches illustrate a central theme of these notes: the same boundary value problem (17) admits several variational principles with different mathematical properties. Which of the two leads to stable neural network discretisations, and under which training, is to be investigated. Elliptic problems in this setting are quite simple; however, considering alternative variational principles for more complicated learning tasks might have a significant influence on the behaviour of the algorithm.
Model Problem 3: Linear Parabolic case
Let as before Ω ⊂ R d \Omega\subset\mathbb{R}^d Ω ⊂ R d , open, bounded and set Ω T = Ω × ( 0 , T ] \Omega_T=\Omega\times(0,T] Ω T = Ω × ( 0 , T ] for some fixed time T > 0 T>0 T > 0 . We consider the parabolic problem
{ u t + L u = f , in Ω T , u = 0 , on ∂ Ω × ( 0 , T ] , u = u 0 , on Ω × { t = 0 } . (20) \begin{cases}
u_t+Lu=f, & \text{in }\Omega_T,\\
u=0, & \text{on }\partial\Omega\times(0,T],\\
u=u^0, & \text{on }\Omega\times\{t=0\}. \tag*{(20)}
\end{cases} ⎩ ⎨ ⎧ u t + Lu = f , u = 0 , u = u 0 , in Ω T , on ∂ Ω × ( 0 , T ] , on Ω × { t = 0 } . (20)
where L L L is an elliptic operator as in § 1.3.0.1 . In this section we formulate approximations of (20) obtained by minimisation of continuous and time-discrete energy functionals over appropriate sets of neural network functions; their convergence properties are studied in § 2.11.0.1 .
For simplicity in the exposition we shall assume that Ω \Omega Ω is a convex Lipschitz domain; the general case of a non-convex domain can be treated as well.
Exact time integrals and probabilistic training
So now we define G : H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) → R \mathcal{G}: H^{1}(0,T;L^{2}(\Omega)) \cap L^{2}(0,T;H^{2}(\Omega) \cap H_{0}^{1}(\Omega)) \to\mathbb{R} G : H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) → R as follows
G ( v ) = ∫ 0 T ∥ v t ( t ) + L v ( t ) − f ( t ) ∥ L 2 ( Ω ) 2 d t + ∣ v ( 0 ) − u 0 ∣ H 0 1 ( Ω ) 2 . (21) \mathcal{G}(v) = \int_{0}^{T} \lVert v_{t}(t) + Lv(t) - f(t) \rVert_{L^{2}(\Omega)}^{2}\,\mathrm{d}t + \lvert v(0) - u^{0} \rvert_{H_{0}^{1}(\Omega)}^{2}. \tag*{(21)} G ( v ) = ∫ 0 T ∥ v t ( t ) + Lv ( t ) − f ( t ) ∥ L 2 ( Ω ) 2 d t + ∣ v ( 0 ) − u 0 ∣ H 0 1 ( Ω ) 2 . (21)
Treating boundary conditions is typically complex; since we would like to focus on the general ideas, for simplicity we select neural network spaces that exactly satisfy the boundary conditions, see e.g., [166 ] . The space-time versions of the neural spaces V N , 0 ⊂ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) V_{N,0} \subset H^{1}(0,T;L^{2}(\Omega)) \cap L^{2}(0,T;H^{2}(\Omega) \cap H_{0}^{1}(\Omega)) V N , 0 ⊂ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) are still denoted by V N V_N V N and V N , 0 V_{N,0} V N , 0 (the 0 in the latter indicates that the boundary conditions are enforced strongly). As in the elliptic case, residual-based methods are then based on the minimisation of the functional
min v ∈ V N , 0 G ( v ) . \min_{v \in V_{N,0}} \mathcal{G}(v). v ∈ V N , 0 min G ( v ) .
The standard PINN method requires a Monte Carlo approximation of the space-time integral:
G Ω T , N , ω ( g ) = 1 N ∑ i = 1 N ∣ g t ( X ‾ i ( ω ) ) + ( L g ) ( X ‾ i ( ω ) ) − f ( X ‾ i ( ω ) ) ∣ 2 , \mathcal{G}_{\Omega_T,N,\omega}(g) = \frac{1}{N}\sum_{i=1}^{N} \left|g_t(\overline{X}_i(\omega)) + (Lg)(\overline{X}_i(\omega)) - f(\overline{X}_i(\omega))\right|^{2}, G Ω T , N , ω ( g ) = N 1 i = 1 ∑ N g t ( X i ( ω )) + ( Lg ) ( X i ( ω )) − f ( X i ( ω )) 2 ,
and of the spatial integral corresponding to the initial condition
G Ω , N , ω ( g ) = 1 N ∑ i = 1 N ∣ ∇ g ( X i ( ω ) , 0 ) − ∇ u 0 ( X i ( ω ) ) ∣ 2 , \mathcal{G}_{\Omega,N,\omega}(g) = \frac{1}{N}\sum_{i=1}^{N} \left|\nabla g(X_i(\omega),0) - \nabla u^{0}(X_i(\omega))\right|^{2}, G Ω , N , ω ( g ) = N 1 i = 1 ∑ N ∇ g ( X i ( ω ) , 0 ) − ∇ u 0 ( X i ( ω )) 2 ,
where X ‾ i ( ω ) \overline{X}_i(\omega) X i ( ω ) correspond to random points of the space-time domain Ω T = Ω × ( 0 , T ] \Omega_T = \Omega\times(0,T] Ω T = Ω × ( 0 , T ] and X i ( ω ) X_i(\omega) X i ( ω ) correspond to random points of the spatial domain Ω \Omega Ω . Then, denoting G R , N , ω ( g ) : = G Ω T , N , ω ( g ) + G Ω , N , ω ( g ) \mathcal{G}_{R,N,\omega}(g) := \mathcal{G}_{\Omega_T,N,\omega}(g) + \mathcal{G}_{\Omega,N,\omega}(g) G R , N , ω ( g ) := G Ω T , N , ω ( g ) + G Ω , N , ω ( g ) we seek minimisers of the problem
min v ∈ V N , 0 G R , N , ω ( v ) . \min_{v \in V_{N,0}} \mathcal{G}_{R,N,\omega}(v). v ∈ V N , 0 min G R , N , ω ( v ) .
Time discrete Training
Applying quadrature only to the time integral yields methods based on time-discrete training . This framework is particularly well suited both for analysing the stability of the method and for developing alternative algorithmic designs. Let 0 = t 0 < t 1 < ⋯ < t N = T 0=t^{0}<t^{1}<\cdots<t^{N}=T 0 = t 0 < t 1 < ⋯ < t N = T define a partition of [ 0 , T ] [0,T] [ 0 , T ] and I n : = ( t n − 1 , t n ] I_n := (t^{n-1},t^n] I n := ( t n − 1 , t n ] , k n : = t n − t n − 1 k_n := t^n-t^{n-1} k n := t n − t n − 1 . We shall denote by v m ( ⋅ ) v^m(\cdot) v m ( ⋅ ) and f m ( ⋅ ) f^m(\cdot) f m ( ⋅ ) the values v ( ⋅ , t m ) v(\cdot,t^m) v ( ⋅ , t m ) and f ( ⋅ , t m ) f(\cdot,t^m) f ( ⋅ , t m ) . Then we define the discrete in time quadrature by
∑ n = 1 N k n g ( t n ) ≈ ∫ 0 T g ( t ) d t . \sum_{n=1}^{N} k_n\,g(t^n) \approx\int_{0}^{T} g(t)\,\mathrm{d}t. n = 1 ∑ N k n g ( t n ) ≈ ∫ 0 T g ( t ) d t .
We then define the time-discrete version of the functional (21) as
G k , I E ( v ) = ∑ n = 1 N k n ∫ Ω ∣ v n − v n − 1 k n + L v n − f n ∣ 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 (22) \mathcal{G}_{k,IE}(v)=\sum_{n=1}^{N} k_n\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^n-f^n\right|^2\,\mathrm{d}x+\left|v^0-u^0\right|_{H^1(\Omega)}^2 \tag*{(22)} G k , I E ( v ) = n = 1 ∑ N k n ∫ Ω k n v n − v n − 1 + L v n − f n 2 d x + v 0 − u 0 H 1 ( Ω ) 2 (22)
Then the corresponding minimisation problem over V N , 0 V_{N,0} V N , 0
min v ∈ V N , 0 G k , I E ( v ) , (23) \min_{v\in V_{N,0}}\mathcal{G}_{k,IE}(v), \tag*{(23)} v ∈ V N , 0 min G k , I E ( v ) , (23)
forms the core algorithmic component of the time-discrete training approach. Fully discrete formulations are then obtained by approximating the spatial integrals with suitable quadrature rules, which may be either probabilistic or deterministic.
From the approximation point of view, an equally natural choice is the discrete functional
G k , E E ( v ) = ∑ n = 1 N k n ∫ Ω ∣ v n − v n − 1 k n + L v n − 1 − f n − 1 ∣ 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 . (24) \mathcal{G}_{k,EE}(v)=\sum_{n=1}^{N} k_n\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^{n-1}-f^{n-1}\right|^2\,\mathrm{d}x+\left|v^0-u^0\right|_{H^1(\Omega)}^2. \tag*{(24)} G k , E E ( v ) = n = 1 ∑ N k n ∫ Ω k n v n − v n − 1 + L v n − 1 − f n − 1 2 d x + v 0 − u 0 H 1 ( Ω ) 2 . (24)
In § 2.11.0.1 we compare its properties with those of the functional G k , I E \mathcal{G}_{k,IE} G k , I E and the associated minimisers over V N , 0 V_{N,0} V N , 0 . This comparison demonstrates that the stability of the algorithms is intrinsically linked to the coercivity of the loss functional.
Generating probability measures
One of the key successes of neural network methods is their remarkable ability to effectively represent and approximate probability distributions. This capability lies at the heart of many modern machine learning applications, where the objective is not merely to approximate a deterministic function but rather to learn the underlying probability distribution from which the observed data are drawn. In many problems of practical interest, the available data consist only of a finite random sample, viewed as specific realisations of an unknown probability distribution. The goal is then to infer or generate this underlying distribution in a way that faithfully captures its essential statistical properties and can be used to produce a new sample with similar characteristics. To be more precise, suppose that the data is a random sample X 1 , … , X N X_1,\ldots,X_N X 1 , … , X N of an unknown probability measure ν t r u e ∈ P ( R k ) \nu_{\mathrm{true}}\in\mathcal{P}(\mathbb{R}^k) ν true ∈ P ( R k ) , represented by the empirical measure
ν d a t a = 1 N ∑ i = 1 N δ X i . (25) \nu_{\mathrm{data}}=\frac{1}{N}\sum_{i=1}^{N}\delta_{X_i}. \tag*{(25)} ν data = N 1 i = 1 ∑ N δ X i . (25)
Following the pattern of the previous model problems, we distinguish three levels. The continuous problem is
min μ ∈ P ( R k ) d M ( μ , ν t r u e ) , \min_{\mu\in\mathcal{P}(\mathbb{R}^k)} d_{\mathcal{M}}(\mu,\nu_{\mathrm{true}}), μ ∈ P ( R k ) min d M ( μ , ν true ) ,
where d M ( ⋅ , ⋅ ) d_{\mathcal{M}}(\cdot,\cdot) d M ( ⋅ , ⋅ ) is a specified distance (or divergence) on P ( R k ) \mathcal{P}(\mathbb{R}^k) P ( R k ) ; its unique minimiser is ν t r u e \nu_{\mathrm{true}} ν true itself. The semidiscrete problem restricts the minimisation to a neural measure space V Θ ⊂ P ( R k ) V_{\Theta}\subset\mathcal{P}(\mathbb{R}^k) V Θ ⊂ P ( R k ) , a parametrised family of measures determined by neural networks of a given architecture, defined below:
min μ ∈ V Θ d M ( μ , ν t r u e ) . \min_{\mu\in V_{\Theta}} d_{\mathcal{M}}(\mu,\nu_{\mathrm{true}}). μ ∈ V Θ min d M ( μ , ν true ) .
Finally, since ν t r u e \nu_{\mathrm{true}} ν true is known only through the data, training replaces it by ν d a t a \nu_{\mathrm{data}} ν data , in the sense of § 1.0.1.1 :
min μ ∈ V Θ d M ( μ , ν d a t a ) , (26) \min_{\mu\in V_{\Theta}} d_{\mathcal{M}}(\mu,\nu_{\mathrm{data}}), \tag*{(26)} μ ∈ V Θ min d M ( μ , ν data ) , (26)
and we hope that
μ θ ∗ ≃ ν t r u e , where μ θ ∗ ∈ a r g m i n μ ∈ V Θ d M ( μ , ν d a t a ) . (27) \mu_{\theta^*}\simeq\nu_{\mathrm{true}},
\qquad
\text{where }\mu_{\theta^*}\in\mathop{\mathrm{argmin}}_{\mu\in V_{\Theta}}d_{\mathcal{M}}(\mu,\nu_{\mathrm{data}}). \tag*{(27)} μ θ ∗ ≃ ν true , where μ θ ∗ ∈ argmin μ ∈ V Θ d M ( μ , ν data ) . (27)
In practice d M ( μ θ , ν d a t a ) d_{\mathcal{M}}(\mu_{\theta},\nu_{\mathrm{data}}) d M ( μ θ , ν data ) is itself evaluated through samples of μ θ \mu_{\theta} μ θ , so that a further empirical approximation is present; we do not pursue this here.
We note that over the whole of P ( R k ) \mathcal{P}(\mathbb{R}^k) P ( R k ) the trained problem is minimised by ν d a t a \nu_{\mathrm{data}} ν data itself, an atomic measure which reproduces the data. The ability of the model to generalise therefore rests on the restriction to V Θ V_{\Theta} V Θ , and the relevant question is, as before, the behaviour of the minimisers as N → ∞ N\to\infty N → ∞ .
We refer to the parameterised families V Θ ⊂ P ( R k ) V_{\Theta}\subset\mathcal{P}(\mathbb{R}^k) V Θ ⊂ P ( R k ) , induced by suitable classes of neural networks, as neural measure spaces. As we shall see, although this formulation provides a natural framework for probability learning, it gives rise to a broad spectrum of methods, depending on two fundamental choices: the distance used to compare probability measures and the choice of the neural measure space itself.
In all cases considered here, the measures in V Θ V_{\Theta} V Θ are generated from a fixed, known reference measure γ 0 \gamma_0 γ 0 on some R m \mathbb{R}^m R m , for instance a standard Gaussian, which is easy to sample. In the simplest case,
V Θ = { ( T θ ) # γ 0 : θ ∈ Θ } , V_{\Theta}=\{(T_{\theta})_{\#}\gamma_0:\theta\in\Theta\}, V Θ = {( T θ ) # γ 0 : θ ∈ Θ } ,
where T θ : R m → R k T_{\theta}:\mathbb{R}^m\to\mathbb{R}^k T θ : R m → R k is a neural network and ( T θ ) # γ 0 (T_{\theta})_{\#}\gamma_0 ( T θ ) # γ 0 denotes the push-forward of γ 0 \gamma_0 γ 0 through T θ T_{\theta} T θ , defined below; new samples are then produced by sampling γ 0 \gamma_0 γ 0 and applying T θ T_{\theta} T θ . We call such spaces static neural measure spaces . Of particular interest for these notes are the flow-based neural measure spaces , generated by an evolution process on [ 0 , T ] [0,T] [ 0 , T ] started from γ 0 \gamma_0 γ 0 and driven by suitable neural networks: in the deterministic case T θ T_{\theta} T θ is the time-T T T flow map of the process, while in the stochastic case the measure is the law of its terminal value, and samples are produced by sampling γ 0 \gamma_0 γ 0 and simulating the process. The presence of an evolution introduces a time discretisation, and with it stability questions of the kind encountered in § 1.4.0.1 ; these spaces are discussed separately below.
Wasserstein distance
A popular choice of distance between probability measures is the Wasserstein distance, [176 ] , which leads naturally to the formulation and computation of a wide range of quantities of interest within the framework of optimal transport. Let p ≥ 1 p \ge1 p ≥ 1 and μ \mu μ , ν \nu ν probability measures on R k \mathbb{R}^{k} R k with finite p p p moments. The Wasserstein distance of order p p p between μ \mu μ and ν \nu ν is defined by
W p ( μ , ν ) = { min π ∈ A ( μ , ν ) ∫ R k × R k ∣ x − y ∣ p d π ( x , y ) } 1 / p . (28) W_p(\mu,\nu)=\left\{\min_{\pi\in A(\mu,\nu)}\int_{\mathbb{R}^{k}\times\mathbb{R}^{k}}|x-y|^p\,\mathrm{d}\pi(x,y)\right\}^{1/p}. \tag*{(28)} W p ( μ , ν ) = { π ∈ A ( μ , ν ) min ∫ R k × R k ∣ x − y ∣ p d π ( x , y ) } 1/ p . (28)
where A ( μ , ν ) A(\mu,\nu) A ( μ , ν ) denotes the set of transport plans between μ \mu μ and ν \nu ν , namely the Borel probability measures on R k × R k \mathbb{R}^{k}\times\mathbb{R}^{k} R k × R k whose first and second marginals are μ \mu μ and ν \nu ν , respectively. For μ \mu μ a probability measure on R k \mathbb{R}^{k} R k , and ξ : R k → R \xi:\mathbb{R}^{k}\to\mathbb{R} ξ : R k → R a Borel measurable map, we denote by ξ # μ \xi_{\#}\mu ξ # μ the push-forward of μ \mu μ through ξ \xi ξ , i.e., the probability measure on R \mathbb{R} R defined by
ξ # μ ( B ) : = μ ( ξ − 1 ( B ) ) , Borel B ⊂ R . \xi_{\#}\mu(B):=\mu(\xi^{-1}(B)),\qquad\text{Borel }B\subset\mathbb{R}. ξ # μ ( B ) := μ ( ξ − 1 ( B )) , Borel B ⊂ R .
In particular,
∫ R k ∣ ξ ( x ) ∣ p d μ ( x ) = ∫ R ∣ s ∣ p d ξ # μ ( s ) . (29) \int_{\mathbb{R}^{k}}|\xi(x)|^p\,\mathrm{d}\mu(x)=\int_{\mathbb{R}}|s|^p\,\mathrm{d}\xi_{\#}\mu(s). \tag*{(29)} ∫ R k ∣ ξ ( x ) ∣ p d μ ( x ) = ∫ R ∣ s ∣ p d ξ # μ ( s ) . (29)
With the obvious modification in the definition of W p W_p W p , we have,
W p ( ξ # μ , ξ # ν ) = { min π ∈ A ( μ , ν ) ∫ R k × R k ∣ ξ ( x ) − ξ ( y ) ∣ p d π ( x , y ) } 1 / p . (30) W_p(\xi_{\#}\mu,\xi_{\#}\nu)=\left\{\min_{\pi\in A(\mu,\nu)}\int_{\mathbb{R}^{k}\times\mathbb{R}^{k}}|\xi(x)-\xi(y)|^p\,\mathrm{d}\pi(x,y)\right\}^{1/p}. \tag*{(30)} W p ( ξ # μ , ξ # ν ) = { π ∈ A ( μ , ν ) min ∫ R k × R k ∣ ξ ( x ) − ξ ( y ) ∣ p d π ( x , y ) } 1/ p . (30)
Wasserstein distances between empirical measures can be computed efficiently, for instance by the Sinkhorn algorithm, which solves an entropically regularised, and hence approximate, optimal transport problem; see [150 ] for this and other computational approaches.
Generative Adversarial Networks
Generative Adversarial Networks (GANs) provide a flexible variational framework for approximating probability distributions by minimising suitable statistical distances. These distances include Integral Probability Metrics (IPMs) and, under appropriate conditions, f f f -divergences. In the case of Integral Probability Metrics we have for an appropriate class of measurable test functions F \mathcal{F} F (denoted by φ \varphi φ , to distinguish them from the data f f f of the previous model problems),
d F ( μ , ν ) : = sup φ ∈ F ∣ ∫ φ d μ − ∫ φ d ν ∣ . (31) d_{\mathcal{F}}(\mu,\nu):=\sup_{\varphi\in\mathcal{F}}\left|\int\varphi\,\mathrm{d}\mu-\int\varphi\,\mathrm{d}\nu\right|. \tag*{(31)} d F ( μ , ν ) := φ ∈ F sup ∫ φ d μ − ∫ φ d ν . (31)
Many important distances between probability measures are of the form (31) . These include for example the total variation distance, the 1-Wasserstein distance, the Maximum Mean Discrepancy among others.
Considering such distances in (26) we naturally arrive to a saddle point formulation. Indeed, if
V ‾ N = { φ θ : θ ∈ Θ } \overline{V}_N = \{\varphi_\theta: \theta\in\Theta\} V N = { φ θ : θ ∈ Θ }
is a neural-network-based parameterised family of functions that provides a sufficiently rich approximation of the class F \mathcal{F} F , then the approximation of (26) takes the form
min μ ∈ V Θ sup φ ∈ V ‾ N ∣ ∫ φ d μ − ∫ φ d ν d a t a ∣ (32) \min_{\mu\in V_\Theta}\sup_{\varphi\in\overline{V}_N}\left|\int\varphi\,\mathrm{d}\mu-\int\varphi\,\mathrm{d}\nu_{\mathrm{data}}\right| \tag*{(32)} μ ∈ V Θ min φ ∈ V N sup ∫ φ d μ − ∫ φ d ν data (32)
which forms the basis of adversarial methods. In Generative Adversarial Networks (GANs) [86 ] , the neural measure space is static, V Θ = { ( g θ ) ♯ γ 0 : θ ∈ Θ } V_\Theta=\{(g_\theta)_\sharp\gamma_0:\theta\in\Theta\} V Θ = {( g θ ) ♯ γ 0 : θ ∈ Θ } , generated by a family of generator networks g θ ∈ V N g_\theta\in V_N g θ ∈ V N ; the original GANs correspond to the Jensen–Shannon divergence rather than to an IPM.
An example of this framework is provided by Wasserstein GANs (WGANs), introduced in [14 ] , where the underlying IPM is given by the Wasserstein-1 distance W 1 W_1 W 1 . By the Kantorovich–Rubinstein duality theorem [176 ] , the Wasserstein-1 distance admits the dual representation
W 1 ( μ , ν ) = sup φ ∈ F 1 ∫ φ d ν − ∫ φ d μ W_1(\mu,\nu)=\sup_{\varphi\in\mathcal{F}_1}\int\varphi\,\mathrm{d}\nu-\int\varphi\,\mathrm{d}\mu W 1 ( μ , ν ) = φ ∈ F 1 sup ∫ φ d ν − ∫ φ d μ
where the class of test functions is given by
F 1 : = { φ : K → R : φ is Lipschitz with ∥ φ ∥ L ≤ 1 } , \mathcal{F}_1:=\{\varphi:K\to\mathbb{R}:\varphi\text{ is Lipschitz with }\|\varphi\|_L\le1\}, F 1 := { φ : K → R : φ is Lipschitz with ∥ φ ∥ L ≤ 1 } ,
for a compact set K ⊂ R k K\subset\mathbb{R}^k K ⊂ R k containing the supports of the measures. Hence, the Wasserstein distance can be interpreted as an IPM associated with the class F 1 \mathcal{F}_1 F 1 of Lipschitz test functions. In the WGAN framework we aim to optimise
min μ ∈ V Θ sup φ ∈ V ‾ N ∫ φ d ν d a t a − ∫ φ d μ (33) \min_{\mu\in V_\Theta}\sup_{\varphi\in\overline{V}_N}\int\varphi\,\mathrm{d}\nu_{\mathrm{data}}-\int\varphi\,\mathrm{d}\mu \tag*{(33)} μ ∈ V Θ min φ ∈ V N sup ∫ φ d ν data − ∫ φ d μ (33)
where the discriminator class V ‾ N \overline{V}_N V N is selected as a suitable neural-network-based approximation of the class F 1 \mathcal{F}_1 F 1 .
Flow based Generative Modelling
Most modern generative models, such as normalising flows, score-based and diffusion models, involve flows of measures that transform a simple reference measure into a complex one, or vice versa. In this case the neural measure space is flow-based: for each θ \theta θ an evolution on [ 0 , T ] [0,T] [ 0 , T ] generates a curve of measures μ θ ( t ) \mu_\theta(t) μ θ ( t ) with μ θ ( 0 ) = γ 0 \mu_\theta(0)=\gamma_0 μ θ ( 0 ) = γ 0 , and
V N , P = { μ θ ( T ) : θ ∈ Θ } . V_{N,P}=\{\mu_\theta(T):\theta\in\Theta\}. V N , P = { μ θ ( T ) : θ ∈ Θ } .
In the deterministic case μ θ ( t ) = ( Φ θ ( t ) ) # γ 0 \mu_\theta(t)=(\Phi_\theta(t))_{\#}\gamma_0 μ θ ( t ) = ( Φ θ ( t ) ) # γ 0 , where Φ θ ( t ) \Phi_\theta(t) Φ θ ( t ) is the flow map of an ordinary differential equation whose velocity field is a neural network; in the stochastic case μ θ ( t ) \mu_\theta(t) μ θ ( t ) is the law at time t t t of a stochastic differential equation (Markovian flow), and the flow of measures is described by the corresponding Fokker–Planck equation. The trained problem is again
min μ ∈ V N , P d M ( μ , ν d a t a ) . (34) \min_{\mu\in\mathcal{V}_{N,P}}d_{\mathcal{M}}(\mu,\nu_{\mathrm{data}}). \tag*{(34)} μ ∈ V N , P min d M ( μ , ν data ) . (34)
This interpretation is motivated by the approach in [183 ] , where the main mathematical models suggested are mean field games.
The space V N , P \mathcal{V}_{N,P} V N , P must be sufficiently expressive, despite the fact that all its elements are obtained from the single reference measure γ 0 \gamma_0 γ 0 . If successful, this approach links γ 0 \gamma_0 γ 0 to
μ θ ∗ ≃ ν t r u e , where μ θ ∗ ∈ argmin μ ∈ V N , P d M ( μ , ν d a t a ) . (35) \mu_{\theta^*}\simeq\nu_{\mathrm{true}},\qquad\text{where }\mu_{\theta^*}\in\operatorname*{argmin}_{\mu\in\mathcal{V}_{N,P}}d_{\mathcal{M}}(\mu,\nu_{\mathrm{data}}). \tag*{(35)} μ θ ∗ ≃ ν true , where μ θ ∗ ∈ μ ∈ V N , P argmin d M ( μ , ν data ) . (35)
Solving (34) determines both μ θ ∗ \mu_{\theta^*} μ θ ∗ and the evolution that produces it, and the latter provides the generative mechanism: in the deterministic case, if X ∼ γ 0 X\sim\gamma_0 X ∼ γ 0 then Φ θ ∗ ( T ) ( X ) ∼ μ θ ∗ \Phi_{\theta^*}(T)(X)\sim\mu_{\theta^*} Φ θ ∗ ( T ) ( X ) ∼ μ θ ∗ , so that arbitrarily many synthetic data are obtained by sampling γ 0 \gamma_0 γ 0 and transporting the samples through the learned flow. In practice the evolution is discretised in time and the distance is replaced by a numerical approximation, which yields a fully discrete problem; the evolution structure makes the time discretisation a central issue. Some important models arising from this framework are outlined below.
Normalising flows. A deterministic flow is generated by the ordinary differential equation
d X ( t ) d t = v θ ( t , X ( t ) ) , X 0 ∼ γ 0 , (36) \frac{\mathrm{d}X(t)}{\mathrm{d}t}=v_\theta(t,X(t)),\qquad X_0\sim\gamma_0, \tag*{(36)} d t d X ( t ) = v θ ( t , X ( t )) , X 0 ∼ γ 0 , (36)
where the velocity field v θ v_\theta v θ is represented by a neural network, i.e., is an element of an appropriate V N \mathcal{V}_N V N . The associated probability measures are given by
μ θ ( t ) = ( Φ θ ( t ) ) # γ 0 , \mu_\theta(t)=(\Phi_\theta(t))_{\#}\gamma_0, μ θ ( t ) = ( Φ θ ( t ) ) # γ 0 ,
where Φ θ ( t ) \Phi_\theta(t) Φ θ ( t ) denotes the flow map generated by (36) . The corresponding densities satisfy the continuity equation (for simplicity we use equations for densities; the equations of flows of measures are defined in the sense of distributions, see [9 ] [Chapter 8])
∂ t ρ ( t ) + ∇ ⋅ ( ρ ( t ) v θ ) = 0. (37) \partial_t\rho(t)+\nabla\cdot(\rho(t)v_\theta)=0. \tag*{(37)} ∂ t ρ ( t ) + ∇ ⋅ ( ρ ( t ) v θ ) = 0. (37)
Flows of this type are known as continuous normalising flows; the classical normalising flows use instead compositions of invertible networks. They are trained by maximum likelihood, that is, with d M d_{\mathcal{M}} d M the Kullback–Leibler divergence: since KL ( ν t r u e ∥ μ θ ( T ) ) = − ∫ log ρ θ ( T , x ) d ν t r u e ( x ) + c o n s t \operatorname{KL}(\nu_{\mathrm{true}}\mathbin\Vert\mu_\theta(T))=-\int\log\rho_\theta(T,x)\,\mathrm{d}\nu_{\mathrm{true}}(x)+\mathrm{const} KL ( ν true ∥ μ θ ( T )) = − ∫ log ρ θ ( T , x ) d ν true ( x ) + const , with ρ θ ( T , ⋅ ) \rho_\theta(T,\cdot) ρ θ ( T , ⋅ ) the density of μ θ ( T ) \mu_\theta(T) μ θ ( T ) , replacing ν t r u e \nu_{\mathrm{true}} ν true by ν d a t a \nu_{\mathrm{data}} ν data in the integral gives the trained loss − 1 N ∑ i log ρ θ ( T , X i ) -\frac{1}{N}\sum_i\log\rho_\theta(T,X_i) − N 1 ∑ i log ρ θ ( T , X i ) . The required density is available through the change of variables formula d d t log ρ ( t , X ( t ) ) = − ∇ ⋅ v θ ( t , X ( t ) ) \frac{\mathrm{d}}{\mathrm{d}t}\log\rho(t,X(t))=-\nabla\cdot v_\theta(t,X(t)) d t d log ρ ( t , X ( t )) = − ∇ ⋅ v θ ( t , X ( t )) along the trajectories of (36) .
Diffusion models. Diffusion models employ stochastic dynamics. A fixed forward stochastic differential equation
d X ( t ) = b ( t , X ( t ) ) d t + σ ( t ) d W ( t ) , X ( 0 ) ∼ ν t r u e , (38) \mathrm{d}X(t)=b(t,X(t))\,\mathrm{d}t+\sigma(t)\,\mathrm{d}W(t),\qquad X(0)\sim\nu_{\mathrm{true}}, \tag*{(38)} d X ( t ) = b ( t , X ( t )) d t + σ ( t ) d W ( t ) , X ( 0 ) ∼ ν true , (38)
with no learned parameters, typically an Ornstein–Uhlenbeck process, transports the data distribution over [ 0 , T ] [0,T] [ 0 , T ] into a distribution close to the Gaussian γ 0 \gamma_0 γ 0 ; the density ρ \rho ρ of the law μ ( t ) \mu(t) μ ( t ) is governed by the Fokker–Planck equation
∂ t ρ ( t ) = − ∇ ⋅ ( b ρ ( t ) ) + 1 2 ∇ ⋅ ( σ σ T ∇ ρ ( t ) ) . (39) \partial_t\rho(t)=-\nabla\cdot\bigl(b\,\rho(t)\bigr)+\frac{1}{2}\nabla\cdot\bigl(\sigma\sigma^{\mathsf T}\nabla\rho(t)\bigr). \tag*{(39)} ∂ t ρ ( t ) = − ∇ ⋅ ( b ρ ( t ) ) + 2 1 ∇ ⋅ ( σ σ T ∇ ρ ( t ) ) . (39)
The generative model is the time reversal of this process, which is again a stochastic differential equation, started from γ 0 \gamma_0 γ 0 , whose drift − b + σ σ T ∇ log ρ -b+\sigma\sigma^{\mathsf T}\nabla\log\rho − b + σ σ T ∇ log ρ involves the score ∇ log ρ ( t , ⋅ ) \nabla\log\rho(t,\cdot) ∇ log ρ ( t , ⋅ ) of the forward process, the only unknown quantity. The neural network enters through an approximation s θ ( t , x ) s_\theta(t,x) s θ ( t , x ) of the score: μ θ ( T ) \mu_\theta(T) μ θ ( T ) is the law of the terminal value of the reverse equation with s θ s_\theta s θ in place of the score, started from a sample of γ 0 \gamma_0 γ 0 , and the neural measure space { μ θ ( T ) : θ ∈ Θ } \{\mu_\theta(T):\theta\in\Theta\} { μ θ ( T ) : θ ∈ Θ } does not depend on the data. The distance is again the Kullback–Leibler divergence. In many applications, however, the density of μ θ ( T ) \mu_\theta(T) μ θ ( T ) is computationally intractable, and the loss cannot be evaluated as for normalising flows; training then minimises instead a computable upper bound of KL ( ν t r u e ∥ μ θ ( T ) ) \operatorname{KL}(\nu_{\mathrm{true}}\mathbin\Vert\mu_\theta(T)) KL ( ν true ∥ μ θ ( T )) , the score matching objective, which measures the distance between s θ s_\theta s θ and the score along the forward process and is expressed through the explicit Gaussian transition law of the forward process and the data.
Wasserstein flows. Flows of probability measures play a central role in the geometry of Wasserstein space and are closely related to the generative models discussed above. While the latter typically construct probability measures by transporting a prescribed reference distribution γ 0 \gamma_0 γ 0 through a learned map, Wasserstein flows formulate the evolution directly on the space of probability measures. The strong connection between these two viewpoints motivates the following brief discussion.
The geometry of the Wasserstein space provides a natural framework for the analysis of flows of probability measures, [9 ] , treating probability measures as points of a metric space
( P 2 ( R k ) , W 2 ) , (\mathcal{P}_2(\mathbb{R}^k),W_2), ( P 2 ( R k ) , W 2 ) ,
equipped with the 2-Wasserstein distance. Instead of approximating a single probability measure, one seeks an evolution
( μ ( t ) ) t ∈ [ 0 , T ] (\mu(t))_{t\in[0,T]} ( μ ( t ) ) t ∈ [ 0 , T ]
connecting two probability distributions while remaining optimal with respect to an underlying variational principle. The basic kinematic constraint is the continuity equation for the densities ρ ( x , t ) ≥ 0 \rho(x,t)\ge0 ρ ( x , t ) ≥ 0
∂ t ρ + ∇ ⋅ ( ρ v ) = 0 , (40) \partial_t\rho+\nabla\cdot(\rho v)=0, \tag*{(40)} ∂ t ρ + ∇ ⋅ ( ρ v ) = 0 , (40)
where v = v ( x , t ) ∈ R k v=v(x,t)\in\mathbb{R}^k v = v ( x , t ) ∈ R k denotes the velocity field transporting the probability mass.
The Benamou–Brenier formulation, [27 ] , [176 ] , shows that the squared Wasserstein distance is, up to the factor T T T , the minimal kinetic energy among all admissible flows on [ 0 , T ] [0,T] [ 0 , T ] :
W 2 2 ( μ 0 , μ T ) = inf ρ , v { T ∫ 0 T ∫ R k ∣ v ( x , t ) ∣ 2 ρ ( x , t ) d x d t : ( 3.31 ) holds , μ ( 0 ) = μ 0 , μ ( T ) = μ T } . (41) W_2^2(\mu_0,\mu_T)=\inf_{\rho,v}\left\{T\int_0^T\int_{\mathbb{R}^k}|v(x,t)|^2\rho(x,t)\,\mathrm{d}x\,\mathrm{d}t:\ (3.31)\text{ holds},\ \mu(0)=\mu_0,\ \mu(T)=\mu_T\right\}. \tag*{(41)} W 2 2 ( μ 0 , μ T ) = ρ , v inf { T ∫ 0 T ∫ R k ∣ v ( x , t ) ∣ 2 ρ ( x , t ) d x d t : ( 3.31 ) holds , μ ( 0 ) = μ 0 , μ ( T ) = μ T } . (41)
Thus the Wasserstein distance is obtained by solving an optimisation problem over flows of probability measures rather than over transport maps. In the context of flow-based neural measure spaces this formula has a natural interpretation. The kinetic energy ∫ 0 T ∫ R k ∣ v θ ∣ 2 d μ θ ( t ) d t \int_0^T\int_{\mathbb{R}^k}|v_\theta|^2\,\mathrm{d}\mu_\theta(t)\,\mathrm{d}t ∫ 0 T ∫ R k ∣ v θ ∣ 2 d μ θ ( t ) d t of a flow generated by v θ v_\theta v θ is, by (41) , bounded from below by W 2 2 ( γ 0 , μ θ ( T ) ) / T W_2^2(\gamma_0,\mu_\theta(T))/T W 2 2 ( γ 0 , μ θ ( T )) / T , with equality exactly for the flows that realise the optimal transport from γ 0 \gamma_0 γ 0 to μ θ ( T ) \mu_\theta(T) μ θ ( T ) . Adding it to the loss as a regularising term,
min θ ∈ Θ { d M ( μ θ ( T ) , ν d a t a ) + λ ∫ 0 T ∫ R k ∣ v θ ( x , t ) ∣ 2 d μ θ ( t ) ( x ) d t } , λ > 0 , (42) \min_{\theta\in\Theta}\left\{d_{\mathcal{M}}(\mu_\theta(T),\nu_{\mathrm{data}})+\lambda\int_0^T\int_{\mathbb{R}^k}|v_\theta(x,t)|^2\,\mathrm{d}\mu_\theta(t)(x)\,\mathrm{d}t\right\},\qquad\lambda>0, \tag*{(42)} θ ∈ Θ min { d M ( μ θ ( T ) , ν data ) + λ ∫ 0 T ∫ R k ∣ v θ ( x , t ) ∣ 2 d μ θ ( t ) ( x ) d t } , λ > 0 , (42)
therefore favours, among the flows with a good terminal fit, those which are close to optimal transport from γ 0 \gamma_0 γ 0 , and generators that are W 2 W_2 W 2 -close to the reference measure. Note that the terminal loss alone does not determine the flow: many velocity fields transport γ 0 \gamma_0 γ 0 to the same terminal measure, so that the minimisation over flows has many minimisers, and the kinetic energy term favours among them those of minimal energy. Flows obtained in this way are closely related to Wasserstein gradient flows, in which the evolution is itself determined by a variational principle on ( P 2 ( R k ) , W 2 ) (\mathcal{P}_2(\mathbb{R}^k),W_2) ( P 2 ( R k ) , W 2 ) [9 ] .
Wasserstein gradient flows of the loss. In the models above the evolution that generates the neural measure space is prescribed in advance. Alternatively, it can be generated by an energy F F F on P 2 ( R k ) \mathcal{P}_2(\mathbb{R}^k) P 2 ( R k ) through the minimizing movement scheme, introduced by De Giorgi for gradient flows in general metric spaces and first applied to the space of probability measures with the Wasserstein metric by Jordan, Kinderlehrer and Otto [107 ] , see [9 ] :
μ n + 1 ∈ argmin μ ∈ P 2 ( R k ) { F ( μ ) + 1 2 τ W 2 2 ( μ , μ n ) } , (43) \mu^{n+1}\in\mathop{\operatorname{argmin}}_{\mu\in\mathcal{P}_2(\mathbb{R}^k)}\left\{F(\mu)+\frac{1}{2\tau}W_2^2(\mu,\mu^n)\right\}, \tag*{(43)} μ n + 1 ∈ argmin μ ∈ P 2 ( R k ) { F ( μ ) + 2 τ 1 W 2 2 ( μ , μ n ) } , (43)
an analogue of the implicit Euler discretisation, with time step τ \tau τ , of the Wasserstein gradient flow of F F F ; the W 2 2 W_2^2 W 2 2 term plays the role of the proximal term in § 0.2.0.1 . By the Benamou–Brenier formula, 1 2 τ W 2 2 ( μ , μ n ) \frac{1}{2\tau}W_2^2(\mu,\mu^n) 2 τ 1 W 2 2 ( μ , μ n ) is the minimal kinetic energy 1 2 ∫ 0 τ ∫ R k ∣ v ∣ 2 ρ d x d t \frac{1}{2}\int_0^\tau\int_{\mathbb{R}^k}|v|^2\rho\,\mathrm{d}x\,\mathrm{d}t 2 1 ∫ 0 τ ∫ R k ∣ v ∣ 2 ρ d x d t among flows from μ n \mu^n μ n to μ \mu μ on [ 0 , τ ] [0,\tau] [ 0 , τ ] , so that (43) can be written over flows with a free end, and the velocity field becomes the neural object:
θ n ∈ argmin θ ∈ Θ , ∂ t ρ θ + ∇ ⋅ ( ρ θ v θ ) = 0 , ρ θ ( 0 ) = μ n { F ( ρ θ ( τ ) ) + 1 2 ∫ 0 τ ∫ R k ∣ v θ ∣ 2 ρ θ d x d t } , (44) \theta^n\in\underset{\theta\in\Theta,\ \partial_t\rho_\theta+\nabla\cdot(\rho_\theta v_\theta)=0,\ \rho_\theta(0)=\mu^n}{\operatorname{argmin}}\left\{F(\rho_\theta(\tau))+\frac{1}{2}\int_0^\tau\int_{\mathbb{R}^k}|v_\theta|^2\rho_\theta\,\mathrm{d}x\,\mathrm{d}t\right\}, \tag*{(44)} θ n ∈ θ ∈ Θ , ∂ t ρ θ + ∇ ⋅ ( ρ θ v θ ) = 0 , ρ θ ( 0 ) = μ n argmin { F ( ρ θ ( τ )) + 2 1 ∫ 0 τ ∫ R k ∣ v θ ∣ 2 ρ θ d x d t } , (44)
and μ n + 1 = ρ θ n ( τ ) \mu^{n+1}=\rho_{\theta^n}(\tau) μ n + 1 = ρ θ n ( τ ) . A scheme of this form, with an additional Fisher information regularisation, is considered in [125 ] . The resulting neural measure space is flow-based in discrete time, and the levels of approximation are the time step τ \tau τ , the restriction of each step to the velocity fields v θ v_\theta v θ , and the samples through which every quantity is evaluated. Several choices of F F F and of the starting point are of interest. For example, if F = d M ( ⋅ , ν d a t a ) F=d_{\mathcal{M}}(\cdot,\nu_{\mathrm{data}}) F = d M ( ⋅ , ν data ) and μ 0 = γ 0 \mu^0=\gamma_0 μ 0 = γ 0 the flow moves from the reference measure towards ν d a t a \nu_{\mathrm{data}} ν data , i.e., can be seen as the Wasserstein gradient flow analog of (26) . For F = KL ( ⋅ ∥ γ 0 ) F = \operatorname{KL}(\cdot\mathbin\Vert\gamma_0) F = KL ( ⋅ ∥ γ 0 ) and μ 0 = ν d a t a \mu^0 = \nu_{\mathrm{data}} μ 0 = ν data the gradient flow is the Fokker–Planck equation, which is the original motivation of (43) ; the scheme is then a time-discrete, variational construction of the forward process of a diffusion model, whose reversal is the generative model, and score-based models can indeed be interpreted as Wasserstein proximal operators of this type [184 ] . Finally, the gradient flow of F = d M ( ⋅ , ν d a t a ) F = d_{\mathcal{M}}(\cdot,\nu_{\mathrm{data}}) F = d M ( ⋅ , ν data ) converges, as t → ∞ t \to\infty t → ∞ , to ν d a t a \nu_{\mathrm{data}} ν data itself, so that memorisation appears here as the long-time limit.
In summary, the models above are all instances of the trained problem (26) . The analytical framework developed in these notes can, in principle, be applied to all of these models. As an illustration, we consider in § 2 and § 2.13.1 the simplest case, a static neural measure space with d M = W p d_{\mathcal{M}} = W_p d M = W p . Flow-based models are considerably more involved and are left for future work.
Beyond the classification, the framework makes visible the successive levels of approximation involved in a flow-based generative model: the continuous and the semidiscrete problems, the replacement of ν t r u e \nu_{\mathrm{true}} ν true by the data, the time discretisation of the evolution, and the approximation of the distance, by a discriminator, by entropic regularisation or by score matching, together with the sampling of μ θ \mu_\theta μ θ . Separating these levels is the counterpart, for generative models, of the hierarchy discussed in § 0.2.0.1 , and it allows the questions of consistency and stability to be posed at each level separately; this is the perspective adopted in these notes.
Bibliography and comments
The notation and terminology for the function learning problem is from [127 ] . The probabilistic function learning problem is a central problem in Statistical Learning and ML, see the review [24 ] and its references. Other works include [22 , 145 , 182 , 23 , 106 , 83 ] , [26 ] , [77 ] . For operator learning, that is, the learning of maps between function spaces, see e.g., [128 , 114 , 120 , 115 , 152 ] .
Numerical solution of PDEs utilising neural networks has received a lot of attention. Deep Ritz methods [70 ] and Physics Informed Neural Networks (PINNs) [151 ] have become very influential. Residual based methods were considered in [117 ] , [29 ] , [161 ] and their references. Other neural network methods for differential equations and related problems include, for example, [154 ] , [112 ] , [181 ] , [49 ] , [82 ] , [92 ] , [130 ] , [73 ] . For a broader perspective of the related methodologies, see e.g., [110 ] . The formulation of time-discrete training method for parabolic problems follows [79 ] .
Representative works considering various ML approaches on generating probability distributions include [2 , 86 , 14 , 185 , 54 , 108 , 46 , 47 ] . The formulation of § 1.6.0.1 , the minimisation of a distance to the empirical measure over a parametrised family, is in statistical terms a minimum distance estimation problem; for GANs, large-sample properties of the resulting estimators are studied in [32 ] . Generating measures by transporting a reference measure through parametrised maps, the viewpoint underlying the neural measure spaces, goes back to [167 ] , and a mathematical introduction to generative models from this viewpoint, with emphasis on its relation to optimal transport, is given in [156 ] . Continuous normalising flows originate in [48 ] , and the formulation of diffusion models through a forward stochastic differential equation and its time reversal in [162 ] . For Wasserstein gradient flows and the minimizing movement scheme see [107 , 9 ] ; the dynamic form of the scheme, in which each step is written through the Benamou–Brenier formula, is used computationally in [28 , 44 , 125 ] . A broad survey of the role of flows of probability measures in machine learning is given in [149 ] , where the models are unified through the Eulerian and Lagrangian descriptions of an evolution of measures and the non-uniqueness of the velocity fields that generate it is identified as both an obstacle and a design opportunity. A unified treatment of flow-based and diffusion-based models, different in perspective from the one adopted here, in which both arise from a single stochastic process interpolating between the reference and the data distribution, is given in [8 , 7 ] . The work [183 ] provides a modelling perspective that interprets various generative models as mean field games, see also [184 ] . Spaces based on neural measures were used to approximate randon differential equations in [13 ] . Unifying viewpoints on generative models exist, in particular through push-forwards of a reference measure; the organisation by levels of approximation adopted here appears, to our knowledge, to be new.
Stability, a priori, a posteriori estimates in numerical analysis
Error analysis
Stability of the PDE vs stability of the numerical scheme
We briefly outline the main principles underlying the derivation of error estimates for numerical methods for differential equations and PDEs. Although the general strategy is relatively transparent, its rigorous implementation can be technically involved and far from straightforward. Consider the abstract problem
A u = 0 , \mathcal{A}u = 0, A u = 0 ,
u ∈ V u \in\mathcal{V} u ∈ V and its discretisation
A h u h = 0 , u h ∈ V h . \mathcal{A}_h u_h = 0,\qquad u_h \in\mathcal{V}_h. A h u h = 0 , u h ∈ V h .
Assume for simplicity that both are linear. Then PDE stability can be roughly expressed as
A v = g ⟹ ∥ v ∥ N 1 ≤ C p d e ∥ g ∥ N 2 , \mathcal{A}v = g \quad\Longrightarrow\quad\lVert v\rVert_{N_1} \le C_{pde}\lVert g\rVert_{N_2}, A v = g ⟹ ∥ v ∥ N 1 ≤ C p d e ∥ g ∥ N 2 ,
where ∥ ⋅ ∥ N 1 \lVert\cdot\rVert_{N_1} ∥ ⋅ ∥ N 1 , ∥ ⋅ ∥ N 2 \lVert\cdot\rVert_{N_2} ∥ ⋅ ∥ N 2 , are appropriate norms not specified.
On the other hand, discrete stability or stability of the numerical scheme, typically can be expressed as
A h v h = g h ⟹ ∥ v h ∥ N h , 1 ≤ C d i s c r ∥ g h ∥ N h , 2 ≤ C , \mathcal{A}_h v_h = g_h \quad\Longrightarrow\quad\lVert v_h\rVert_{N_{h,1}} \le C_{discr}\lVert g_h\rVert_{N_{h,2}} \le C, A h v h = g h ⟹ ∥ v h ∥ N h , 1 ≤ C d i scr ∥ g h ∥ N h , 2 ≤ C ,
where ∥ ⋅ ∥ N h , 1 \lVert\cdot\rVert_{N_{h,1}} ∥ ⋅ ∥ N h , 1 , ∥ ⋅ ∥ N h , 2 \lVert\cdot\rVert_{N_{h,2}} ∥ ⋅ ∥ N h , 2 , are appropriate discrete norms, which may be related to ∥ ⋅ ∥ N 1 \lVert\cdot\rVert_{N_1} ∥ ⋅ ∥ N 1 , ∥ ⋅ ∥ N 2 \lVert\cdot\rVert_{N_2} ∥ ⋅ ∥ N 2 .
A priori estimates
A priori estimates are based on the stability of the numerical scheme and yield convergence, provided the exact solution is smooth enough. To achieve this one has to define first an appropriate projection operator P h : V → V h P_h:\mathcal{V}\to\mathcal{V}_h P h : V → V h and to evaluate
A h P h u , \mathcal{A}_h P_hu, A h P h u ,
which is called the consistency error , and quantifies the extent to which u u u , or more precisely P h u P_hu P h u , fails to satisfy the equation defining the numerical scheme. Consistency error may be of high-order of accuracy, depending on the design of the scheme. Consistency error and discrete stability yield a priori error bounds:
A h ( P h u − u h ) = ( A h P h u ) ⟹ ∥ ( P h u − u h ) ∥ N h , 1 ≤ C d i s c r ∥ A h P h u ∥ N h , 2 . \mathcal{A}_h(P_hu-u_h)=(\mathcal{A}_hP_hu)\quad\Longrightarrow\quad\lVert(P_hu-u_h)\rVert_{N_{h,1}}\le C_{discr}\lVert\mathcal{A}_hP_hu\rVert_{N_{h,2}}. A h ( P h u − u h ) = ( A h P h u ) ⟹ ∥( P h u − u h ) ∥ N h , 1 ≤ C d i scr ∥ A h P h u ∥ N h , 2 .
The principle that consistency and discrete stability imply convergence is the content of the Lax equivalence theorem [121 ] . The paper did more than prove an implication: it introduced the very notion of stability of a numerical scheme, as the uniform boundedness of the family of discrete solution operators with respect to the discretisation parameters, and showed that for well-posed linear problems this notion is exactly what separates consistent schemes that converge from those that do not. Earlier, stability had been a property to be tested case by case, for instance by von Neumann’s Fourier analysis; after [121 ] it became a structural concept, with its own meaning independently of any particular scheme. The concept is now so standard that it is often applied mechanically, as a condition to be verified, and its depth tends to be forgotten: discrete stability is a statement about the discretised problem alone, which is a requirement in any scheme design process. It is precisely in this sense that we shall use it. In § 2 the principle reappears in variational form.
A posteriori estimates
A posteriori estimates are based on the stability of the PDE and yield error control which depends solely on the approximate computed solution u h u_h u h . This time one has to define first an appropriate reconstruction operator R : V h → V R : V_h \to V R : V h → V . Then, the quantity
A ( R u h ) , \mathcal{A}(Ru_h), A ( R u h ) ,
which is often called residual , and quantifies the extent to which R u h Ru_h R u h fails to be the solution of the PDE, controls the error. Residual and PDE stability yield a posteriori error bounds:
A ( R u h − u ) = ( A ( R u h ) ) ⟹ ∥ R u h − u ∥ N 1 ≤ C P D E ∥ A ( R u h ) ∥ N 2 . \mathcal{A}(Ru_h-u) = (\mathcal{A}(Ru_h)) \Longrightarrow\lVert Ru_h-u\rVert_{N_1} \le C_{PDE}\lVert\mathcal{A}(Ru_h)\rVert_{N_2}. A ( R u h − u ) = ( A ( R u h )) ⟹ ∥ R u h − u ∥ N 1 ≤ C P D E ∥ A ( R u h ) ∥ N 2 .
A linear parabolic model problem
The notion of stability in numerical analysis takes several forms and depends on the numerical method and on the continuous problem being discretised. For the sequel, it will be important to discuss a very elementary example in order to reveal the hidden structures of the discretisation that govern stability. To this end, consider the Evolution Problem : Find u : [ 0 , T ] → D ( A ) u : [0,T] \to D(A) u : [ 0 , T ] → D ( A ) satisfying
u ′ ( t ) + A u ( t ) = f ( t ) , 0 < t < T , u'(t) + Au(t) = f(t), \qquad0 < t < T, u ′ ( t ) + A u ( t ) = f ( t ) , 0 < t < T ,
u ( 0 ) = u 0 , u(0) = u^0, u ( 0 ) = u 0 ,
with A A A a positive definite, self-adjoint, linear operator on a Hilbert space ( H , ⟨ ⋅ , ⋅ ⟩ ) (H,\langle\cdot,\cdot\rangle) ( H , ⟨ ⋅ , ⋅ ⟩) with domain D ( A ) D(A) D ( A ) dense in H H H . We discretise in time this equation by considering a partition 0 = t 0 < t 1 < ⋯ < t N = T 0=t^0<t^1<\cdots<t^N=T 0 = t 0 < t 1 < ⋯ < t N = T of [ 0 , T ] [0,T] [ 0 , T ] and, as in § 1.4.0.1 , I n : = ( t n − 1 , t n ] I_n := (t^{n-1},t^n] I n := ( t n − 1 , t n ] , k n : = t n − t n − 1 k_n := t^n-t^{n-1} k n := t n − t n − 1 , n = 1 , … , N n=1,\ldots,N n = 1 , … , N . A form of the Backward Euler discretisation is:
1 k n ( U n − U n − 1 ) + A U n = f ˉ n , n = 1 , … , N , \frac{1}{k_n}(U^n-U^{n-1})+AU^n=\bar{f}^n,\qquad n=1,\ldots,N, k n 1 ( U n − U n − 1 ) + A U n = f ˉ n , n = 1 , … , N ,
where f ˉ n = 1 k n ∫ I n f ( s ) d s \bar{f}^n=\frac{1}{k_n}\int_{I_n}f(s)\,\mathrm{d}s f ˉ n = k n 1 ∫ I n f ( s ) d s . It will be useful to consider the forward Euler discretisation as well:
1 k n ( U n − U n − 1 ) + A U n − 1 = f ( t n − 1 ) , n = 1 , … , N . \frac{1}{k_n}(U^n-U^{n-1})+AU^{n-1}=f(t^{n-1}),\qquad n=1,\ldots,N. k n 1 ( U n − U n − 1 ) + A U n − 1 = f ( t n − 1 ) , n = 1 , … , N .
It is well known that these two schemes have fundamentally different properties and computational behaviour.
Reconstructions
Our aim is to rewrite the scheme as a perturbation of the evolution equation. This will be useful for both the stability and a posteriori analysis. We shall introduce the time reconstruction U ^ \widehat{U} U of a time dependent function U U U to be the piecewise linear approximation of U U U defined by linearly interpolating between the nodal values U n − 1 U^{n-1} U n − 1 and U n U^n U n :
U ^ ( t ) : = ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n , t ∈ I n , (45) \widehat{U}(t):=\ell_0^n(t)U^{n-1}+\ell_1^n(t)U^n,\qquad t\in I_n, \tag*{(45)} U ( t ) := ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n , t ∈ I n , (45)
here
ℓ 0 n ( t ) : = t n − t k n and ℓ 1 n ( t ) : = t − t n − 1 k n . \ell_0^n(t):=\frac{t^n-t}{k_n}\qquad\text{and}\qquad\ell_1^n(t):=\frac{t-t^{n-1}}{k_n}. ℓ 0 n ( t ) := k n t n − t and ℓ 1 n ( t ) := k n t − t n − 1 .
Correspondingly, the piecewise constant interpolant of U j U^j U j is denoted by U ‾ \overline{U} U ,
U ‾ ( t ) : = U n , t ∈ I n . \overline{U}(t):=U^n,\qquad t\in I_n. U ( t ) := U n , t ∈ I n .
Later we shall need the lower piecewise constant interpolant of U j U^j U j
U ‾ ( t ) : = U n − 1 , t ∈ I n . \underline{U}(t):=U^{n-1},\qquad t\in I_n. U ( t ) := U n − 1 , t ∈ I n .
Then we rewrite the Backward Euler scheme: U ^ , U ‾ : [ 0 , T ] → D ( A ) \widehat{U},\overline{U}:[0,T]\to D(A) U , U : [ 0 , T ] → D ( A )
U ^ ′ ( t ) + A U ‾ ( t ) = f ‾ ( t ) , f ‾ ( t ) : = f ˉ n , t ∈ I n . \widehat{U}'(t)+A\overline{U}(t)=\overline{f}(t),\qquad\overline{f}(t):=\bar{f}^n,\qquad t\in I_n. U ′ ( t ) + A U ( t ) = f ( t ) , f ( t ) := f ˉ n , t ∈ I n .
Correspondingly, the forward Euler scheme is
U ^ ′ ( t ) + A U ‾ ( t ) = f ‾ ( t ) , f ‾ ( t ) : = f ( t n − 1 ) , t ∈ I n . \widehat{U}'(t)+A\underline{U}(t)=\underline{f}(t),\qquad\underline{f}(t):=f(t^{n-1}),\qquad t\in I_n. U ′ ( t ) + A U ( t ) = f ( t ) , f ( t ) := f ( t n − 1 ) , t ∈ I n .
Stability and a priori analysis
To avoid some technicalities we assume in this section that f = 0 f=0 f = 0 . Then the Backward Euler method seeks U ^ , U ‾ : [ 0 , T ] → D ( A ) \widehat{U},\overline{U}:[0,T]\to D(A) U , U : [ 0 , T ] → D ( A ) such that
U ^ ′ ( t ) + A U ‾ ( t ) = 0. \widehat{U}'(t)+A\overline{U}(t)=0. U ′ ( t ) + A U ( t ) = 0.
A first important remark is that by solving 1 k n ( U n − U n − 1 ) + A U n = 0 \frac{1}{k_n}(U^n-U^{n-1})+AU^n=0 k n 1 ( U n − U n − 1 ) + A U n = 0 , we obtain
[ I + k n A ] U n = U n − 1 . [I + k_n A]U^n = U^{n-1}. [ I + k n A ] U n = U n − 1 .
Thus, at every time step, U n U^n U n is the solution of a stationary (elliptic) problem. This explains why the backward scheme exhibits a rapid increase in regularity as time evolves:
if U 0 ∈ H then U 1 ∈ D ( A ) , … , U j ∈ D ( A j ) . \text{if } U^0 \in H \text{ then } U^1 \in D(A),\ldots,U^j \in D(A^j). if U 0 ∈ H then U 1 ∈ D ( A ) , … , U j ∈ D ( A j ) .
This fundamental property is the discrete analogue of the smoothing effect inherent in the continuous evolution problem.
Stability
Next, we multiply by U ‾ ( t ) \overline{U}(t) U ( t ) to obtain,
∫ 0 T ⟨ U ^ ′ ( t ) , U ‾ ( t ) ⟩ + ∫ 0 T ⟨ A U ‾ ( t ) , U ‾ ( t ) ⟩ = 0. \int_0^T \langle\widehat{U}'(t),\overline{U}(t)\rangle+\int_0^T\langle A\overline{U}(t),\overline{U}(t)\rangle=0. ∫ 0 T ⟨ U ′ ( t ) , U ( t )⟩ + ∫ 0 T ⟨ A U ( t ) , U ( t )⟩ = 0.
then
∑ n = 1 N ∫ I n ⟨ U ^ ′ , U ‾ ⟩ d t = ∑ n = 1 N ∫ I n ⟨ U n − U n − 1 k n , U n ⟩ d t = 1 2 ∥ U N ∥ H 2 + 1 2 ∑ n = 1 N ∥ U n − U n − 1 ∥ H 2 − 1 2 ∥ U 0 ∥ H 2 . (46) \begin{aligned}
\sum_{n=1}^{N}\int_{I_n}\langle\widehat{U}',\overline{U}\rangle\,dt
&=\sum_{n=1}^{N}\int_{I_n}\left\langle\frac{U^n-U^{n-1}}{k_n},U^n\right\rangle\,dt\\
&=\frac{1}{2}\lVert U^N\rVert_H^2+\frac{1}{2}\sum_{n=1}^{N}\lVert U^n-U^{n-1}\rVert_H^2-\frac{1}{2}\lVert U^0\rVert_H^2. \tag*{(46)}
\end{aligned} n = 1 ∑ N ∫ I n ⟨ U ′ , U ⟩ d t = n = 1 ∑ N ∫ I n ⟨ k n U n − U n − 1 , U n ⟩ d t = 2 1 ∥ U N ∥ H 2 + 2 1 n = 1 ∑ N ∥ U n − U n − 1 ∥ H 2 − 2 1 ∥ U 0 ∥ H 2 . (46)
Hence the discrete stability follows:
1 2 ∥ U N ∥ H 2 + 1 2 ∑ n = 1 N ∥ U n − U n − 1 ∥ H 2 + ∑ n = 1 N k n ∥ A 1 / 2 U n ∥ H 2 ≤ 1 2 ∥ U 0 ∥ H 2 . \frac{1}{2}\lVert U^N\rVert_H^2+\frac{1}{2}\sum_{n=1}^{N}\lVert U^n-U^{n-1}\rVert_H^2+\sum_{n=1}^{N}k_n\lVert A^{1/2}U^n\rVert_H^2\leq\frac{1}{2}\lVert U^0\rVert_H^2. 2 1 ∥ U N ∥ H 2 + 2 1 n = 1 ∑ N ∥ U n − U n − 1 ∥ H 2 + n = 1 ∑ N k n ∥ A 1/2 U n ∥ H 2 ≤ 2 1 ∥ U 0 ∥ H 2 .
This expression can be written differently by using the globally defined functions U ^ \widehat{U} U and U ‾ \overline{U} U :
1 2 ∥ U ^ ( T ) ∥ H 2 + 1 2 ∑ n = 1 N ∫ I n k n ∥ U ^ ′ ( t ) ∥ H 2 + ∫ 0 T ∥ A 1 / 2 U ‾ ( t ) ∥ H 2 ≤ 1 2 ∥ U 0 ∥ H 2 . \frac{1}{2}\lVert\widehat{U}(T)\rVert_H^2+\frac{1}{2}\sum_{n=1}^{N}\int_{I_n}k_n\lVert\widehat{U}'(t)\rVert_H^2+\int_0^T\lVert A^{1/2}\overline{U}(t)\rVert_H^2\leq\frac{1}{2}\lVert U^0\rVert_H^2. 2 1 ∥ U ( T ) ∥ H 2 + 2 1 n = 1 ∑ N ∫ I n k n ∥ U ′ ( t ) ∥ H 2 + ∫ 0 T ∥ A 1/2 U ( t ) ∥ H 2 ≤ 2 1 ∥ U 0 ∥ H 2 .
Error estimate
Let u ^ \widehat{u} u and u ‾ \overline{u} u denote the piecewise linear and piecewise constant interpolants of the exact solution at the nodes, defined as U ^ \widehat{U} U and U ‾ \overline{U} U with U n U^n U n replaced by u ( t n ) u(t^n) u ( t n ) ; in the terminology of § 1.9.1.1 they play the role of P h u P_hu P h u . Let e ^ = u ^ − U ^ \widehat{e}=\widehat{u}-\widehat{U} e = u − U , e ‾ = u ‾ − U ‾ \overline{e}=\overline{u}-\overline{U} e = u − U . Since U ^ ′ + A U ‾ = 0 \widehat{U}'+A\overline{U}=0 U ′ + A U = 0 , the error satisfies e ^ ′ + A e ‾ = u ^ ′ + A u ‾ \widehat{e}'+A\overline{e}=\widehat{u}'+A\overline{u} e ′ + A e = u ′ + A u , and the stability estimate above, applied to e ^ , e ‾ \widehat{e},\overline{e} e , e with this right-hand side, yields
∥ e ^ ( T ) ∥ H 2 + ∑ n = 1 N ∫ I n k n ∥ e ^ ′ ( t ) ∥ H 2 d t + ∫ 0 T ∥ A 1 / 2 e ‾ ( t ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 + ∫ 0 T ∥ A − 1 / 2 [ u ^ ′ + A u ‾ ] ∥ H 2 . \|\widehat{e}(T)\|_{H}^{2}+\sum_{n=1}^{N}\int_{I_n}k_n\|\widehat{e}'(t)\|_{H}^{2}\,\mathrm{d}t+\int_{0}^{T}\|A^{1/2}\overline{e}(t)\|_{H}^{2}\,\mathrm{d}t\leq\|U^{0}-u^{0}\|_{H}^{2}+\int_{0}^{T}\|A^{-1/2}[\widehat{u}'+A\overline{u}]\|_{H}^{2}. ∥ e ( T ) ∥ H 2 + n = 1 ∑ N ∫ I n k n ∥ e ′ ( t ) ∥ H 2 d t + ∫ 0 T ∥ A 1/2 e ( t ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 + ∫ 0 T ∥ A − 1/2 [ u ′ + A u ] ∥ H 2 .
This is an a priori error estimate, which can be used to show convergence and corresponding rates: the right-hand side involves only the data and the consistency error ρ k ( u ) : = u ^ ′ + A u ‾ \rho_k(u):=\widehat{u}'+A\overline{u} ρ k ( u ) := u ′ + A u , and ρ k ( u ) → 0 \rho_k(u)\to0 ρ k ( u ) → 0 as the maximal step k : = max n k n → 0 k:=\max_n k_n\to0 k := max n k n → 0 , provided u u u is smooth enough.
Forward Euler for f = 0 f=0 f = 0
Using the reconstructions U ^ , U ‾ : [ 0 , T ] → D ( A ) \widehat{U},\overline{U}:[0,T]\to D(A) U , U : [ 0 , T ] → D ( A ) the forward Euler scheme takes the form
U ^ ′ ( t ) + A U ‾ ( t ) = 0. \widehat{U}'(t)+A\overline{U}(t)=0. U ′ ( t ) + A U ( t ) = 0.
By solving 1 k n ( U n − U n − 1 ) + A U n − 1 = 0 \frac{1}{k_n}(U^n-U^{n-1})+AU^{n-1}=0 k n 1 ( U n − U n − 1 ) + A U n − 1 = 0 we observe that this method has a de-smoothing effect , in fact,
U n = [ I − k n A ] U n − 1 . U^n=[I-k_nA]U^{n-1}. U n = [ I − k n A ] U n − 1 .
Thus, it is required that U n − 1 ∈ D ( A ) U^{n-1}\in D(A) U n − 1 ∈ D ( A ) in order to define U n ∈ H U^n\in H U n ∈ H . Hence, for U N U^N U N to be well defined, one needs to assume that U 0 ∈ D ( A N ) U^0\in D(A^N) U 0 ∈ D ( A N ) . An alternative calculation, which reveals the well-known instability of the forward Euler scheme, is given by the estimate obtained by multiplication by U ‾ ( t ) \overline{U}(t) U ( t ) :
∫ 0 T ⟨ U ^ ′ ( t ) , U ‾ ( t ) ⟩ d t + ∫ 0 T ⟨ A U ‾ ( t ) , U ‾ ( t ) ⟩ d t = 0. \int_{0}^{T}\langle\widehat{U}'(t),\overline{U}(t)\rangle\,\mathrm{d}t+\int_{0}^{T}\langle A\overline{U}(t),\overline{U}(t)\rangle\,\mathrm{d}t=0. ∫ 0 T ⟨ U ′ ( t ) , U ( t )⟩ d t + ∫ 0 T ⟨ A U ( t ) , U ( t )⟩ d t = 0.
then
∑ n = 1 N ∫ I n ⟨ U ^ ′ , U ‾ ⟩ d t = ∑ n = 1 N ∫ I n ⟨ U n − U n − 1 k n , U n − 1 ⟩ d t = 1 2 ∥ U N ∥ H 2 − 1 2 ∑ n = 1 N ∥ U n − U n − 1 ∥ H 2 − 1 2 ∥ U 0 ∥ H 2 . \begin{aligned}
\sum_{n=1}^{N}\int_{I_n}\langle\widehat{U}',\overline{U}\rangle\,\mathrm{d}t
&=\sum_{n=1}^{N}\int_{I_n}\left\langle\frac{U^n-U^{n-1}}{k_n},U^{n-1}\right\rangle\,\mathrm{d}t\\
&=\frac{1}{2}\|U^N\|_{H}^{2}
-\frac{1}{2}\sum_{n=1}^{N}\|U^n-U^{n-1}\|_{H}^{2}
-\frac{1}{2}\|U^0\|_{H}^{2}.
\end{aligned} n = 1 ∑ N ∫ I n ⟨ U ′ , U ⟩ d t = n = 1 ∑ N ∫ I n ⟨ k n U n − U n − 1 , U n − 1 ⟩ d t = 2 1 ∥ U N ∥ H 2 − 2 1 n = 1 ∑ N ∥ U n − U n − 1 ∥ H 2 − 2 1 ∥ U 0 ∥ H 2 .
and, since U n − U n − 1 = − k n A U n − 1 U^n-U^{n-1}=-k_nAU^{n-1} U n − U n − 1 = − k n A U n − 1 , this leads to the conditional discrete stability
1 2 ∥ U N ∥ H 2 + ∑ n = 1 N { k n ∥ A 1 / 2 U n − 1 ∥ H 2 − 1 2 k n 2 ∥ A U n − 1 ∥ H 2 } ≤ 1 2 ∥ U 0 ∥ H 2 . \frac{1}{2}\lVert U^N\rVert_H^2+\sum_{n=1}^{N}\left\{k_n\lVert A^{1/2}U^{n-1}\rVert_H^2-\frac{1}{2}k_n^2\lVert AU^{n-1}\rVert_H^2\right\}\leq\frac{1}{2}\lVert U^0\rVert_H^2. 2 1 ∥ U N ∥ H 2 + n = 1 ∑ N { k n ∥ A 1/2 U n − 1 ∥ H 2 − 2 1 k n 2 ∥ A U n − 1 ∥ H 2 } ≤ 2 1 ∥ U 0 ∥ H 2 .
The term in braces is nonnegative on the eigenmodes of A A A with eigenvalue λ ≤ 2 / k n \lambda\leq2/k_n λ ≤ 2/ k n and negative on the others; for an unbounded operator A A A the scheme is therefore unstable, and for a spatial discretisation A h A_h A h of A A A , whose largest eigenvalue is of order h − 2 h^{-2} h − 2 , one obtains the very strict mesh condition k n ≤ C h 2 k_n\leq Ch^2 k n ≤ C h 2 , which is required for the stability of fully discrete forward Euler schemes for parabolic problems. This is the same mechanism as the condition η n < 2 / λ max \eta_n<2/\lambda_{\max} η n < 2/ λ m a x for gradient descent in § 0.2.0.1 , gradient descent being the forward Euler method for the gradient flow of the loss.
A posteriori estimates
Such estimates are very important for several reasons. In our setting, simple stability of the evolution problem yields a posteriori error control, i.e., estimates in which the upper bound depends solely on the computed approximate solution and the data of the problem. To this end, notice that the Backward Euler scheme for f = 0 f=0 f = 0 consists in finding U ^ , U ‾ : [ 0 , T ] → D ( A ) \widehat U,\overline U:[0,T]\to D(A) U , U : [ 0 , T ] → D ( A ) such that U ^ ′ ( t ) + A U ‾ ( t ) = 0 \widehat U'(t)+A\overline U(t)=0 U ′ ( t ) + A U ( t ) = 0 . or
U ^ ′ ( t ) + A U ^ ( t ) = A [ U ^ ( t ) − U ‾ ( t ) ] = : R ( U ^ , U ‾ ) . \widehat U'(t)+A\widehat U(t)=A[\widehat U(t)-\overline U(t)]=:R(\widehat U,\overline U). U ′ ( t ) + A U ( t ) = A [ U ( t ) − U ( t )] =: R ( U , U ) .
Then the error estimate for u − U ^ u-\widehat U u − U is immediate:
∥ u − U ^ ∥ H 2 + ∫ 0 T ∥ A 1 / 2 ( u − U ^ ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 \lVert u-\widehat U\rVert_H^2+\int_0^T\lVert A^{1/2}(u-\widehat U)\rVert_H^2\,dt\leq\lVert U^0-u^0\rVert_H^2 ∥ u − U ∥ H 2 + ∫ 0 T ∥ A 1/2 ( u − U ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2
+ ∫ 0 T ∥ A 1 / 2 [ U ^ ( t ) − U ‾ ( t ) ] ∥ H 2 d t . \qquad+\int_0^T\lVert A^{1/2}[\widehat U(t)-\overline U(t)]\rVert_H^2\,dt. + ∫ 0 T ∥ A 1/2 [ U ( t ) − U ( t )] ∥ H 2 d t .
It is very interesting that a similar bound holds for the Forward Euler scheme as well. The scheme is now: Seek U ^ , U ‾ : [ 0 , T ] → D ( A ) \widehat U,\underline U:[0,T]\to D(A) U , U : [ 0 , T ] → D ( A ) such that U ^ ′ ( t ) + A U ‾ ( t ) = 0 \widehat U'(t)+A\underline U(t)=0 U ′ ( t ) + A U ( t ) = 0 . or
U ^ ′ ( t ) + A U ^ ( t ) = A [ U ^ ( t ) − U ‾ ( t ) ] = : R ( U ^ , U ‾ ) \widehat U'(t)+A\widehat U(t)=A[\widehat U(t)-\underline U(t)]=:R(\widehat U,\underline U) U ′ ( t ) + A U ( t ) = A [ U ( t ) − U ( t )] =: R ( U , U )
which leads to the error estimate for u − U ^ u-\widehat U u − U :
∥ u − U ^ ∥ H 2 + ∫ 0 T ∥ A 1 / 2 ( u − U ^ ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 \lVert u-\widehat U\rVert_H^2+\int_0^T\lVert A^{1/2}(u-\widehat U)\rVert_H^2\,dt\leq\lVert U^0-u^0\rVert_H^2 ∥ u − U ∥ H 2 + ∫ 0 T ∥ A 1/2 ( u − U ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2
+ ∫ 0 T ∥ A 1 / 2 [ U ^ ( t ) − U ‾ ( t ) ] ∥ H 2 d t . \qquad+\int_0^T\lVert A^{1/2}[\widehat U(t)-\underline U(t)]\rVert_H^2\,dt. + ∫ 0 T ∥ A 1/2 [ U ( t ) − U ( t )] ∥ H 2 d t .
Recall that U ^ ( t ) = ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n \widehat U(t)=\ell_0^n(t)U^{n-1}+\ell_1^n(t)U^n U ( t ) = ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n , and thus U ^ ( t ) − U ‾ ( t ) = ℓ 0 n ( t ) ( U n − 1 − U n ) \widehat U(t)-\overline U(t)=\ell_0^n(t)(U^{n-1}-U^n) U ( t ) − U ( t ) = ℓ 0 n ( t ) ( U n − 1 − U n ) , while U ^ ( t ) − U ‾ ( t ) = ℓ 1 n ( t ) ( U n − U n − 1 ) \widehat U(t)-\underline U(t)=\ell_1^n(t)(U^n-U^{n-1}) U ( t ) − U ( t ) = ℓ 1 n ( t ) ( U n − U n − 1 ) , for t ∈ I n t\in I_n t ∈ I n . Since ∫ I n ∣ ℓ 0 n ∣ 2 d t = ∫ I n ∣ ℓ 1 n ∣ 2 d t = k n / 3 \int_{I_n}|\ell_0^n|^2\,dt=\int_{I_n}|\ell_1^n|^2\,dt=k_n/3 ∫ I n ∣ ℓ 0 n ∣ 2 d t = ∫ I n ∣ ℓ 1 n ∣ 2 d t = k n /3 , this leads to the same a posteriori error estimate for u − U ^ u-\widehat U u − U :
max t ∈ [ 0 , T ] ∥ u − U ~ ∥ H 2 + ∫ 0 T ∥ A 1 / 2 ( u − U ~ ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 + ∑ n = 1 N k n 3 ∥ A 1 / 2 [ U n − U n − 1 ] ∥ H 2 . \max_{t \in[0,T]} \lVert u-\widetilde{U}\rVert_H^2+\int_0^T \lVert A^{1/2}(u-\widetilde{U})\rVert_H^2 \,\mathrm{d}t \le\lVert U^0-u^0\rVert_H^2
+\sum_{n=1}^{N}\frac{k_n}{3}\lVert A^{1/2}[U^n-U^{n-1}]\rVert_H^2. t ∈ [ 0 , T ] max ∥ u − U ∥ H 2 + ∫ 0 T ∥ A 1/2 ( u − U ) ∥ H 2 d t ≤ ∥ U 0 − u 0 ∥ H 2 + n = 1 ∑ N 3 k n ∥ A 1/2 [ U n − U n − 1 ] ∥ H 2 .
This estimate holds for both backward and forward Euler schemes. We note finally that the two schemes are precisely the time discretisations underlying the time-discrete training functionals G k , I E G_{k,\mathrm{IE}} G k , IE and G k , E E G_{k,\mathrm{EE}} G k , EE of § 1.4.0.1 . As we shall see in § 2.11.0.1 , the difference in stability exhibited above is inherited by the corresponding losses: only the implicit one is coercive.
Relevance for ML algorithms
Error estimates, whether of a priori or a posteriori type, provide fundamental tools for assessing the quality and performance of numerical algorithms. A priori estimates rely on the stability of the discrete scheme, with bounds depending only on properties of the exact solution. It is important to emphasise that discrete stability is relevant even in the pre-asymptotic regime. Indeed, it is well known that when restrictions on the mesh size or time step, such as those imposed by stability or CFL conditions, are violated, the resulting methods can exhibit poor numerical performance.
A posteriori estimates, on the other hand, can be particularly valuable even when a complete convergence theory is unavailable. In the context of machine learning, upper bounds for the generalisation error may be computable from quantities available during the training process. If these bounds remain consistently small, they provide a posteriori evidence that the resulting approximation is accurate, without requiring a complete a priori convergence theory for the algorithm.
A central approach in both statistical learning and ML for PDEs is to derive estimates of hybrid type, combining a posteriori computable quantities with an a priori assumption — typically that the discrete minimisers have bounded derivatives, or that all members of the neural-network space satisfy a similar uniform bound. Such estimates can be useful, and are sometimes the only available means of bounding the generalisation error. However, the analysis of § 1.9.2.1 reveals that this approach deserves careful scrutiny. Since the boundedness assumption effectively replaces discrete stability as a hypothesis, hybrid estimates do not, in general, yield information about whether the underlying algorithm is stable. An alternative, which avoids uniform bounds over the network class, is developed in § 2.13.1 .
There is, moreover, a less familiar point revealed by the same analysis. A posteriori estimates can remain valid even for unstable schemes. For example, the estimate for the Forward Euler method remains valid regardless of whether the scheme is stable. Moreover, if the corresponding discrete time derivative is uniformly bounded, in the sense that ∑ n k n ∥ A 1 / 2 ( U n − U n − 1 ) / k n ∥ H 2 ≤ C \sum_n k_n\lVert A^{1/2}(U^n-U^{n-1})/k_n\rVert_H^2 \le C ∑ n k n ∥ A 1/2 ( U n − U n − 1 ) / k n ∥ H 2 ≤ C , the right-hand side of the estimate is of order k 2 k^2 k 2 , and the estimate itself implies convergence. In view of the above, this observation may have important implications for the analysis of ML algorithms, since imposing such bounds a priori on the neural-network space is itself a way of enforcing stability, rather than deriving it from the scheme.
Bibliography and comments
A modern accessible account with interesting historical references on stability, consistency, and convergence of numerical methods can be found in [15 ] . For the error analysis of time discretisations of parabolic problems in this spirit see [172 ] . A posteriori error control in finite elements was pioneered by I. Babuška, see e.g., [16 ] , and is now a central tool for error control and adaptivity in many areas of numerical PDEs. The first proofs of optimal convergence rates for adaptive methods were obtained in the wavelet setting by Cohen, Dahmen and DeVore [52 ] . For the theory of adaptive finite element methods we refer to [35 ] and its references.
The time reconstruction U ^ \widehat{U} U of the discrete solution has been proven useful in various instances, see [17 ] , [144 ] , [66 ] , and [134 ] for higher-order versions; the corresponding reconstruction in space, the elliptic reconstruction, is introduced in [133 ] , see also [118 ] , and [4 , 5 ] for the extension to higher-order time discretisations; for a posteriori error estimation for elliptic problems see [175 ] .
The derivation of a posteriori estimates for the implicit Euler scheme follows the ideas of the seminal work [144 ] , where nonlinear evolution problems, including gradient flows, are considered. The resulting bounds provide a fundamental ingredient in the analysis of minimizing movement schemes within the framework developed in [9 ] .
Analysis: Stability and Convergence
In this section, we focus on the stability and convergence of machine learning algorithms. We begin with a somewhat abstract discussion, introducing the main concepts in an informal manner without aiming for complete mathematical precision. We then illustrate how this analytical framework can be applied to several of the examples presented in the previous section.
Analysis at an abstract level
Our aim is to investigate to what extent a machine learning algorithm can converge to the exact solution of the underlying problem. Such convergence is, of course, only possible if the corresponding neural network spaces are sufficiently expressive. In mathematical terms, this requires that, for every function u u u belonging to an appropriate function space and for every prescribed tolerance ε > 0 \varepsilon> 0 ε > 0 , there exists a neural network function whose approximation error is smaller than ε \varepsilon ε in the norm relevant to the problem under consideration; Such approximation results are now well established and are commonly referred to as Universal Approximation Theorems (UATs).
However, this property alone is not sufficient to capture the notion of approximability that underlies the convergence of an algorithm. It is also necessary that the approximation quality improves systematically as the complexity of the neural network increases. More precisely, one should be able to construct a sequence of neural network spaces, with an increasing number of parameters, together with corresponding approximations whose error tends to zero as the expressive power of the networks grows. This approximation property is one of the fundamental ingredients in the mathematical analysis of machine learning algorithms and provides the basis upon which convergence results can be established.
Following the classical paradigm of numerical analysis, we need to introduce an appropriate notion of stability for the algorithm. Stability properties of machine learning algorithms have received comparatively little attention, and identifying a suitable notion of stability in this context is far from straightforward. One first needs to determine the appropriate functional framework within which the convergence analysis can be carried out. Our choice is the De Giorgi core liminf–limsup framework, a fundamental ingredient of Γ \Gamma Γ -convergence, a key analytical tool in the calculus of variations [64 , 61 ] .
As we shall see, this approach allows us to establish convergence results without requiring structural assumptions to hold uniformly for all elements of the neural network spaces. In this way, it provides a flexible framework for identifying stable algorithmic procedures while avoiding restrictive assumptions on the underlying network architectures.
Next, we describe the main ingredients needed for our abstract setting.
The three core minimisation problems
The starting point is a generic ML algorithm of the form
min v ∈ V N E h ( v ) , (47) \min_{v\in V_N} \mathcal{E}_h(v), \tag*{(47)} v ∈ V N min E h ( v ) , (47)
where V N V_N V N is the NN space and E h \mathcal{E}_h E h is the loss functional. We use the term liminf–limsup framework rather than Γ \Gamma Γ -convergence on purpose: the standard Γ \Gamma Γ -convergence theorems are not invoked here, because the topology in which the limits are taken changes with the discretisation, the energies change with the training, and the results on approximate local minimisers use only the liminf part of the argument.
Typically there is a corresponding “continuous” minimisation problem, posed on a space V V V :
min v ∈ V E ( v ) . (48) \min_{v\in V} \mathcal{E}(v). \tag*{(48)} v ∈ V min E ( v ) . (48)
Ideally, minimisers of (47) should provide approximations to the minimisers of (48) , which we assume to exist. It will be useful to consider the (idealised) semi-discrete problem
min v ∈ V N E ( v ) . (49) \min_{v\in V_N} \mathcal{E}(v). \tag*{(49)} v ∈ V N min E ( v ) . (49)
The minimisation problem (49) is called idealised, since in practice the loss E ( v ) \mathcal{E}(v) E ( v ) cannot typically be computed exactly over V N V_N V N , and a further approximation step is required, leading to (47) . Notice that, in general, the two sources of discretisation, namely the replacement of V V V by V N V_N V N and the approximation of E ( v ) \mathcal{E}(v) E ( v ) by E h ( v ) \mathcal{E}_h(v) E h ( v ) , are independent and need not be related.
Next, we aim to justify the following claim: if the continuous problem is “well behaved” and E h \mathcal{E}_h E h is a “stable and accurate” approximation of E \mathcal{E} E , then the corresponding machine learning algorithm produces accurate predictions.
Expressiveness of V N V_N V N
As mentioned above, a fundamental question in the mathematical analysis of machine learning algorithms is the following:
How well can elements of the neural network space V N V_N V N approximate elements of the underlying function space V V V ?
Throughout this discussion we regard the neural network space as a finite-dimensional approximation of the continuous space,
V N ⊂ V . V_N \subset V. V N ⊂ V .
The approximation properties of the family V N V_N V N play a central role in determining whether a machine learning algorithm can converge to the exact solution of the underlying problem.
Over the past twenty-five years, significant progress has been made in understanding the approximation capabilities of neural networks. A large body of results, commonly referred to as Universal Approximation Theorems , establishes that neural networks are capable of approximating arbitrary functions in a variety of function spaces to any prescribed accuracy, provided that the network architecture is sufficiently expressive. More recently, quantitative approximation results have shown that suitably designed neural network spaces exhibit approximation properties comparable to those of the most advanced finite element spaces, particularly for functions with low-dimensional structure, anisotropic features, or singularities.
Despite this remarkable progress, many important questions remain open. Most available approximation results are of an existential nature: they guarantee the existence of a neural network achieving a prescribed accuracy but provide only limited information about how such a network can be constructed or trained efficiently. Moreover, in contrast to the classical theory of finite element methods and other approximation schemes, where sharp error estimates are available in terms of the regularity of the target function, the geometry of the domain, and the discretisation parameters, comparable quantitative estimates for neural network approximations are still available only in relatively restricted settings.
Consistency and stability of the semidiscrete problem
Next, we assume that V ℓ V_\ell V ℓ is a sequence of increasingly rich neural network spaces that provide progressively more accurate approximations of the underlying function space V V V . We denote by u ℓ u_\ell u ℓ a minimiser of the corresponding semidiscrete problem
min v ∈ V ℓ E ( v ) . \min_{v\in V_\ell} \mathcal{E}(v). v ∈ V ℓ min E ( v ) .
The first fundamental question is whether
where u u u is a minimiser of the continuous problem
min v ∈ V E ( v ) . \min_{v\in V} \mathcal{E}(v). v ∈ V min E ( v ) .
This question is of central importance. Although, as we shall see later, it does not by itself provide a complete convergence theory, an affirmative answer is a necessary prerequisite for the reliable performance of the learning algorithm. Indeed, if the semidiscrete minimisers fail to converge even when the exact functional E \mathcal{E} E is minimised over increasingly expressive neural network spaces, then no subsequent training or numerical approximation can be expected to recover the correct solution. The question remains relevant even though, in practice, the optimisation procedure rarely returns a global minimiser. Indeed, the behaviour of the global minimisers of the exact functional isolates the roles of the energy and of the neural network spaces from that of the optimisation, and is the natural benchmark against which the computed approximations are to be judged.
Our main claim is that, for a broad class of machine learning models, the answer to this question depends essentially only on the stability properties of the continuous functional E \mathcal{E} E , and not on the nonconvex nature of the neural network parameterisation. More precisely, whenever E \mathcal{E} E satisfies suitable convexity or variational stability assumptions, one can establish the convergence
A particularly striking aspect of this result is that the intrinsic nonconvexity of the semidiscrete optimisation problem does not obstruct the convergence analysis . Instead, it is effectively bypassed through variational arguments at the level of the functionals, showing that the convergence mechanism is governed primarily by the structure of the continuous problem rather than by the nonlinear parameterisation of the neural network spaces.
Stability / the role of training / quadrature
The final computations are performed using a computable loss functional
E h ( v ) ≈ E ( v ) \mathcal{E}_h(v) \approx\mathcal{E}(v) E h ( v ) ≈ E ( v )
We now denote by u ℓ u_\ell u ℓ the corresponding minimiser of
min v ∈ V ℓ E h ( ℓ ) ( v ) . \min_{v\in V_\ell} \mathcal{E}_{h(\ell)}(v). v ∈ V ℓ min E h ( ℓ ) ( v ) .
The resulting question is whether we can show that
where u u u is a minimiser of the continuous problem
min v ∈ V E ( v ) . \min_{v\in V} \mathcal{E}(v). v ∈ V min E ( v ) .
The answer is affirmative, provided that E h ( v ) \mathcal{E}_h(v) E h ( v ) is a “stable and accurate” approximation of E ( v ) \mathcal{E}(v) E ( v ) . Clearly, E h ( v ) \mathcal{E}_h(v) E h ( v ) must approximate E ( v ) \mathcal{E}(v) E ( v ) on an appropriate class of elements of V V V containing the exact solution. The precise meaning of stability, however, requires a more careful formulation taking into account the fact that the variational properties of E h \mathcal{E}_h E h might change as h h h varies:
Discrete Variational Stability. A family of discrete energies E h \mathcal{E}_h E h is called V V V -stable if there exist discrete seminorms ∥ ⋅ ∥ V h \|\cdot\|_{V_h} ∥ ⋅ ∥ V h such that:
E h ( v ) ≥ α ∥ v ∥ V h p − C \mathcal{E}_h(v) \ge\alpha\|v\|_{V_h}^{p}-C E h ( v ) ≥ α ∥ v ∥ V h p − C (discrete coercivity)
uniformly bounded sequences in ∥ v h ∥ V h \|v_h\|_{V_h} ∥ v h ∥ V h have convergent subsequences in a weaker topology H H H of V V V
the lower semicontinuity property holds: If v h → v v_h \to v v h → v in H H H as h → 0 h \to0 h → 0 then
E ( v ) ≤ lim inf h → 0 E h ( v h ) . \mathcal{E}(v) \le\liminf_{h \to0} \mathcal{E}_h(v_h). E ( v ) ≤ h → 0 lim inf E h ( v h ) .
In other words, we require a suitable form of discrete compactness that guarantees the existence of convergent subsequences together with the lower semicontinuity needed to identify the limiting minimiser. The relative weight of the three requirements varies with the application: in some cases coercivity is not needed, compactness being available for other reasons, while in others lower semicontinuity follows immediately from coercivity and convexity.
As in the semidiscrete problem, the discrete optimisation problems may remain highly nonconvex due to the neural network parameterisation. Nevertheless, the essential variational properties, such as lower semicontinuity and compactness, are inherited from the underlying continuous energies and remain the key ingredients in the convergence analysis.
This viewpoint contrasts with approaches that focus primarily on the nonconvexity of the discrete optimisation problem while overlooking the variational structure and stability properties of the underlying continuous functional. The analysis suggests that, for convergence purposes, the properties of the parent continuous energy may be more fundamental than the nonconvex character of the discrete neural network optimisation problem.
A Numerical Analysis perspective on the liminf–limsup framework
As explained at the end of this subsection, a uniform bound for the energies of the discrete minimisers follows from the limsup inequality introduced below. Therefore, if the method is stable, meaning it satisfies the Discrete Variational Stability property discussed above, we can conclude that there exists an u ~ ∈ V \tilde{u} \in V u ~ ∈ V such that u ℓ → u ~ u_\ell\to\tilde{u} u ℓ → u ~ in H H H up to a subsequence not relabelled.
Next, to fix ideas, assume that the continuous problem (48) has a unique solution u u u and we prove that u ~ \tilde{u} u ~ is a global minimiser of E \mathcal{E} E , i.e., u ~ = u \tilde{u} = u u ~ = u , and the convergence of the entire sequence to u u u .
To this end, assume that given an element w ∈ V w \in V w ∈ V we can construct a sequence w ℓ ∈ V ℓ w_\ell\in V_\ell w ℓ ∈ V ℓ such that
lim sup ℓ → ∞ E ℓ [ w ℓ ] ≤ E [ w ] , (50) \limsup_{\ell\to\infty} \mathcal{E}_\ell[w_\ell] \le\mathcal{E}[w], \tag*{(50)} ℓ → ∞ lim sup E ℓ [ w ℓ ] ≤ E [ w ] , (50)
where E ℓ : = E h ( ℓ ) \mathcal{E}_\ell:= \mathcal{E}_{h(\ell)} E ℓ := E h ( ℓ ) and h ( ℓ ) → 0 h(\ell) \to0 h ( ℓ ) → 0 as ℓ → ∞ \ell\to\infty ℓ → ∞ . In fact, in most applications one can show lim ℓ → ∞ E ℓ [ w ℓ ] = E [ w ] \lim_{\ell\to\infty} \mathcal{E}_\ell[w_\ell] = \mathcal{E}[w] lim ℓ → ∞ E ℓ [ w ℓ ] = E [ w ] . Then by the fact that u ℓ u_\ell u ℓ are minimisers of the discrete problems we finally obtain
E [ u ~ ] ≤ lim inf ℓ → ∞ E ℓ [ u ℓ ] ≤ lim sup ℓ → ∞ E ℓ [ u ℓ ] ≤ lim sup ℓ → ∞ E ℓ [ w ℓ ] ≤ E [ w ] , (51) \mathcal{E}[\tilde{u}] \le\liminf_{\ell\to\infty} \mathcal{E}_\ell[u_\ell] \le\limsup_{\ell\to\infty} \mathcal{E}_\ell[u_\ell] \le\limsup_{\ell\to\infty} \mathcal{E}_\ell[w_\ell] \le\mathcal{E}[w], \tag*{(51)} E [ u ~ ] ≤ ℓ → ∞ lim inf E ℓ [ u ℓ ] ≤ ℓ → ∞ lim sup E ℓ [ u ℓ ] ≤ ℓ → ∞ lim sup E ℓ [ w ℓ ] ≤ E [ w ] , (51)
for all w ∈ V w \in V w ∈ V . Therefore u ~ \tilde{u} u ~ is an absolute minimiser of E \mathcal{E} E , and u ~ = u \tilde{u} = u u ~ = u . Since all weakly convergent subsequences of { u ℓ } \{u_\ell\} { u ℓ } can converge only to u u u , the entire sequence converges to u u u .
Stability and approximability. The above argument can be interpreted from a Numerical Analysis viewpoint as another application of the principle
stability + consistency/approximability ⟹ convergence . \textit{stability}+\textit{consistency/approximability}\Longrightarrow\textit{convergence}. stability + consistency/approximability ⟹ convergence .
In fact, stability in the sense of Discrete Variational Stability implies the existence of u ~ \tilde{u} u ~ and the liminf inequality stated above. As we shall see later in this section, although this may not be apparent at first sight, this is indeed an appropriate notion of stability for the minimisation problems under consideration. It captures, uniformly with respect to the discretisation parameters, the boundedness of the corresponding solution operators, which is precisely the notion of stability of Lax and Richtmyer discussed in § 1.9.1.1 . Moreover, whenever a connection with classical notions of stability can be established, it provides a clear link between the two frameworks. In particular, methods that fail to satisfy this stability property exhibit poor pre-asymptotic behaviour and, in numerical experiments, appear to diverge.
The limsup inequality provides a clear analogue of the classical notions of consistency and approximability in numerical analysis. It applies to all sufficiently smooth elements of V V V and, in particular, to the exact solution u u u . More precisely, it is sufficient to construct, for every such w ∈ V w\in V w ∈ V , a sequence w ℓ ∈ V ℓ w_\ell\in V_\ell w ℓ ∈ V ℓ such that
lim ℓ → ∞ E ℓ [ w ℓ ] = E [ w ] . \lim_{\ell\to\infty}\mathcal{E}_\ell[w_\ell]=\mathcal{E}[w]. ℓ → ∞ lim E ℓ [ w ℓ ] = E [ w ] .
The sequence w ℓ w_\ell w ℓ can be viewed as a suitable discrete approximation or recovery sequence for w w w . Thus, the limsup condition expresses the requirement that the discrete spaces and discrete energies are sufficiently rich and accurate respectively, to reproduce, in the limit, the energy of the continuous problem.
The analogy with classical numerical methods is particularly transparent. For example, in finite difference methods, if E \mathcal{E} E represents a differential operator and E ℓ \mathcal{E}_\ell E ℓ its discrete approximation, consistency requires that the discrete operator applied to suitable discrete representations w ℓ w_\ell w ℓ of a smooth function w w w converges to the corresponding continuous quantity. Typically, w ℓ w_\ell w ℓ is obtained by evaluating w w w at the grid points. In finite element methods, the corresponding sequence w ℓ w_\ell w ℓ is usually constructed by means of an appropriate interpolation or projection operator onto the finite element space.
The limsup condition therefore plays the role of an abstract consistency requirement that is independent of the particular mechanism used to construct the discrete approximation. In the present setting, this is particularly useful since the spaces V ℓ V_\ell V ℓ are neural network spaces and the appropriate approximation or recovery sequence need not be given by a conventional interpolation or projection operator. What is essential is the existence of a sequence of neural network functions whose discrete energies converge to the energy of the target function.
What the framework delivers
Although the discussion above is deliberately informal, with the precise meaning of each ingredient supplied by the application at hand, the framework it describes has fixed consequences. First, the uniform bound on the energies of the discrete minimisers, which starts the argument, is not an additional assumption: it follows from the limsup inequality applied to a single recovery sequence, for instance that of the exact solution. Second, the two parts of the framework can be used separately. The liminf inequality alone, applied to any sequence with uniformly bounded losses, shows that every accumulation point has energy bounded by the computed losses; this is an a posteriori statement, and it applies to the approximate local minimisers that training actually produces. Combined with the limsup inequality, it shows that accumulation points are minimisers of E \mathcal{E} E , and when only one discretisation parameter tends to infinity, for instance the number of samples with the network space fixed, their error is bounded by the best approximation error of that space. Both statements are made precise, for function learning, in § 2.7.0.1 , and, for the generation of probability measures, in § 2.9.0.1 .
Implicit in this is a partial answer to the question of why machine learning algorithms work. If, for a given application, the requirements of the framework are met, that is, the loss retains the coercivity and lower semicontinuity of the continuous functional and the network spaces are expressive enough to provide recovery sequences, then reliable predictions are to be expected, and small computed losses (or, more generally, losses approaching the minimal value of the exact energy) verify this fact. Notice that the good behaviour is established at the level of the function space, where the energies live, and not at the level of the parameter space, where the optimisation takes place: the nonconvexity in parameter space, discussed in § 0.1.1 , is not relevant here. The answer is partial because this approach does not provide information about whether the optimisation procedure will find minimisers with small loss; however, if the procedure does, the framework provides guarantees for the reliability of the resulting approximations.
Finally, nothing in the approach requires V V V to be a space of functions or V N V_N V N to be a linear subspace of it. A set equipped with a weak notion of convergence, loss functionals with the coercivity and lower semicontinuity properties above, and recovery sequences are the main ingredients. This is what allows the same approach to be followed for spaces of probability measures, in the generative models of § 1.6.0.1 , and for operator learning, where Ω \Omega Ω is replaced by a space of functions.
A simple application: function learning with deterministic interpolation
Recall the function learning problem (3.1) and the corresponding the continuous minimisation problem
min v ∈ V E ( v ) , (52) \min_{v\in V} \mathcal{E}(v), \tag*{(52)} v ∈ V min E ( v ) , (52)
where V = L p ( Ω ) V=L^p(\Omega) V = L p ( Ω ) and
E ( u ) = ∫ Ω ∣ u − f ∣ p d x . \mathcal{E}(u)=\int_{\Omega}|u-f|^{p}\,\mathrm{d}x. E ( u ) = ∫ Ω ∣ u − f ∣ p d x .
The functional E \mathcal{E} E is convex and the unique minimiser of (52) is obviously f f f . The semidiscrete problem is
min v ∈ V N E ( v ) (53) \min_{v\in V_N}\mathcal{E}(v) \tag*{(53)} v ∈ V N min E ( v ) (53)
and we denote by v ∗ ∈ V N v^{*}\in V_N v ∗ ∈ V N a N \mathcal{N} N -DNN minimiser of E \mathcal{E} E . Before considering further discretisations we shall examine whether minimisers of the semidiscrete problem (53) converge to f f f . First we would like to pose this question, on a sequence of neural network spaces V ℓ V_{\ell} V ℓ which have been chosen such that for each ℓ \ell ℓ there exists a w ℓ ∈ V ℓ w_{\ell}\in V_{\ell} w ℓ ∈ V ℓ such that as ℓ → ∞ \ell\to\infty ℓ → ∞ ,
w ℓ → f in L p ( Ω ) . (54) w_{\ell}\to f\quad\text{in }L^{p}(\Omega). \tag*{(54)} w ℓ → f in L p ( Ω ) . (54)
In this case, the convergence is immediate in view of the direct estimate
∫ Ω ∣ u ℓ − f ∣ p d x = E [ u ℓ ] ≤ E [ w ℓ ] . (55) \int_{\Omega}|u_{\ell}-f|^{p}\,\mathrm{d}x=\mathcal{E}[u_{\ell}]\leq\mathcal{E}[w_{\ell}]. \tag*{(55)} ∫ Ω ∣ u ℓ − f ∣ p d x = E [ u ℓ ] ≤ E [ w ℓ ] . (55)
As we shall see, it is not always possible to extend this estimate when training takes place, i.e., when E \mathcal{E} E is replaced by a computable approximation E h \mathcal{E}_{h} E h .
To see why the approach described in § 2.1 is readily applicable, notice that the minimisers have uniformly bounded energies, since,
E [ u ℓ ] ≤ E [ w ℓ ] ≤ C , (56) \mathcal{E}[u_{\ell}]\leq\mathcal{E}[w_{\ell}]\leq C, \tag*{(56)} E [ u ℓ ] ≤ E [ w ℓ ] ≤ C , (56)
in view of (54) . Then there exists a subsequence, still denoted by { u ℓ } \{u_{\ell}\} { u ℓ } , and an element u ~ \tilde{u} u ~ such that u ℓ ⇀ u ~ u_{\ell}\rightharpoonup\tilde{u} u ℓ ⇀ u ~ in L p ( Ω ) L^{p}(\Omega) L p ( Ω ) . Furthermore, since E \mathcal{E} E is convex, weak lower semicontinuity implies
lim inf ℓ → ∞ ∫ Ω ∣ u ℓ − f ∣ p d x ≥ ∫ Ω ∣ u ~ − f ∣ p d x . \liminf_{\ell\to\infty}\int_{\Omega}|u_{\ell}-f|^{p}\,\mathrm{d}x\geq\int_{\Omega}|\tilde{u}-f|^{p}\,\mathrm{d}x. ℓ → ∞ lim inf ∫ Ω ∣ u ℓ − f ∣ p d x ≥ ∫ Ω ∣ u ~ − f ∣ p d x .
These arguments confirm that in this case the Discrete Variational Stability holds with H \mathcal{H} H being the topology of weak L p L^{p} L p -convergence. The inequalities in (51) imply E [ u ~ ] ≤ E [ f ] = 0 \mathcal{E}[\tilde{u}]\leq\mathcal{E}[f]=0 E [ u ~ ] ≤ E [ f ] = 0 , and thus u ~ = f \tilde{u}=f u ~ = f . Since all weakly convergent subsequences of { u ℓ } \{u_{\ell}\} { u ℓ } can converge only to f f f , the entire sequence converges to f f f . For global minimisers the direct estimate (55) already gives strong convergence; the weak argument is nevertheless the one that survives training and applies to approximate local minimisers, as we shall see.
Deterministic Training
As discussed in § 1.0.1.1 we approximate E h ( v ) ≃ E ( v ) \mathcal{E}_{h}(v)\simeq\mathcal{E}(v) E h ( v ) ≃ E ( v ) by assuming that f f f is known at a finite set of points z ∈ K h z\in K_{h} z ∈ K h , where K h K_{h} K h is a set of points linked to a quadrature rule. Then the loss functional
E Q , h ( g ) = ∑ z ∈ K h w z ∣ g ( z ) − f ( z ) ∣ p , \mathcal{E}_{Q,h}(g)=\sum_{z\in K_{h}}w_{z}\left|g(z)-f(z)\right|^{p}, E Q , h ( g ) = z ∈ K h ∑ w z ∣ g ( z ) − f ( z ) ∣ p ,
leads to the minimisation problem
min v ∈ V N E Q , h ( v ) . (57) \min_{v\in V_N} \mathcal{E}_{Q,h}(v). \tag*{(57)} v ∈ V N min E Q , h ( v ) . (57)
Problem (53) is the semidiscrete analogue of (57) . As we shall see, a crucial observation is that there exist appropriate interpolation operators I V h : V S → L p ( Ω ) I_{V_h}:V_S\to L^p(\Omega) I V h : V S → L p ( Ω ) , where here V S ⊂ V V_S\subset V V S ⊂ V consists of functions with appropriate smoothness, such that
E Q , h ( g ) = ∫ Ω ∣ I V h [ g − f p ] ( x ) ∣ d x . \mathcal{E}_{Q,h}(g)=\int_{\Omega}\left|I_{V_h}\left[g-f^p\right](x)\right|\,\mathrm{d}x. E Q , h ( g ) = ∫ Ω ∣ I V h [ g − f p ] ( x ) ∣ d x .
An alternative loss functional which still uses interpolation at the points z ∈ K h z\in K_h z ∈ K h , is
E ~ Q , h ( g ) = ∫ Ω ∣ I V h ( g ( x ) − f ( x ) ) ∣ p d x . (58) \widetilde{\mathcal{E}}_{Q,h}(g)=\int_{\Omega}\left|I_{V_h}(g(x)-f(x))\right|^p\,\mathrm{d}x. \tag*{(58)} E Q , h ( g ) = ∫ Ω ∣ I V h ( g ( x ) − f ( x )) ∣ p d x . (58)
Still, E ~ Q , h ≃ E ( v ) \widetilde{\mathcal{E}}_{Q,h}\simeq\mathcal{E}(v) E Q , h ≃ E ( v ) , and the new loss, allows more general choices for the operators I V h I_{V_h} I V h . The corresponding minimisation problem is
min v ∈ V N E ~ Q , h ( v ) . (59) \min_{v\in V_N}\widetilde{\mathcal{E}}_{Q,h}(v). \tag*{(59)} v ∈ V N min E Q , h ( v ) . (59)
The analysis of the problem (57) is postponed to the Section 5.3.4. The main steps of the convergence for the problem (59) are as follows: First we would like to pose this question, on a sequence of neural network spaces V ℓ V_\ell V ℓ which have been chosen such that for each ℓ \ell ℓ there exists a w ℓ ∈ V ℓ w_\ell\in V_\ell w ℓ ∈ V ℓ such that as ℓ → ∞ \ell\to\infty ℓ → ∞ , and h → 0 h\to0 h → 0 ,
I V h w ℓ → f in L p ( Ω ) . (60) I_{V_h}w_\ell\to f\quad\text{in }L^p(\Omega). \tag*{(60)} I V h w ℓ → f in L p ( Ω ) . (60)
We also require that as h → 0 h\to0 h → 0 ,
I V h f → f in L p ( Ω ) . (61) I_{V_h}f\to f\quad\text{in }L^p(\Omega). \tag*{(61)} I V h f → f in L p ( Ω ) . (61)
For convenience we link the discretisation parameters by choosing h = h ( ℓ ) h=h(\ell) h = h ( ℓ ) where h ( ℓ ) → 0 h(\ell)\to0 h ( ℓ ) → 0 as ℓ → ∞ \ell\to\infty ℓ → ∞ . We denote by u ℓ u_\ell u ℓ a minimiser of (59) written as
min v ∈ V ℓ E ~ Q , h ( ℓ ) ( v ) . (62) \min_{v\in V_\ell}\widetilde{\mathcal{E}}_{Q,h(\ell)}(v). \tag*{(62)} v ∈ V ℓ min E Q , h ( ℓ ) ( v ) . (62)
The approach described in Section 5.1 can be applied in this setting. First we observe that
E ~ Q , h ( ℓ ) [ u ℓ ] ≤ E ~ Q , h ( ℓ ) [ w ℓ ] ≤ C , (63) \widetilde{\mathcal{E}}_{Q,h(\ell)}[u_\ell]\leq\widetilde{\mathcal{E}}_{Q,h(\ell)}[w_\ell]\leq C, \tag*{(63)} E Q , h ( ℓ ) [ u ℓ ] ≤ E Q , h ( ℓ ) [ w ℓ ] ≤ C , (63)
in view of (60) and (61) . Then, taking into account (61) , there exists a subsequence, still denoted by { u ℓ } \{u_\ell\} { u ℓ } and an element u ~ ∈ V \widetilde{u}\in V u ∈ V such that I V h ( ℓ ) ( u ℓ − f ) ⇀ ( u ~ − f ) I_{V_{h(\ell)}}(u_\ell-f)\rightharpoonup(\widetilde{u}-f) I V h ( ℓ ) ( u ℓ − f ) ⇀ ( u − f ) in L p ( Ω ) L^p(\Omega) L p ( Ω ) . By weak lower semicontinuity we get
lim inf ℓ → ∞ ∫ Ω ∣ I V h ( ℓ ) ( u ℓ − f ) ∣ p ≥ ∫ Ω ∣ u ~ − f ∣ p . \liminf_{\ell\to\infty}\int_{\Omega}\left|I_{V_{h(\ell)}}(u_\ell-f)\right|^p\geq\int_{\Omega}\left|\widetilde{u}-f\right|^p. ℓ → ∞ lim inf ∫ Ω I V h ( ℓ ) ( u ℓ − f ) p ≥ ∫ Ω ∣ u − f ∣ p .
These arguments confirm that in this case the Discrete Variational Stability holds with H H H being the topology of weak L p L^p L p -convergence and choosing the discrete seminorms as ∥ v ∥ V h = ∥ I V h v ∥ L p \|v\|_{V_h}=\|I_{V_h}v\|_{L^p} ∥ v ∥ V h = ∥ I V h v ∥ L p . Then, in view of (60) and (61) , the inequalities in (51) imply E [ u ~ ] ≤ E [ f ] = 0 \mathcal{E}[\tilde{u}] \le\mathcal{E}[f] = 0 E [ u ~ ] ≤ E [ f ] = 0 , and thus u ~ = f \tilde{u}=f u ~ = f . Therefore the sequence { u ℓ } \{u_\ell\} { u ℓ } satisfies, I V h ( ℓ ) u ℓ → f I_{V_{h(\ell)}}u_\ell\to f I V h ( ℓ ) u ℓ → f .
Function learning through MC Interpolation
We consider now the typical function learning problem. Our aim is to investigate its convergence properties from various perspectives, and without any structural hypotheses on the nonlinear parametric spaces other than their expressiveness/approximability. As introduced earlier, the problem of MC-Deep neural network interpolation is to optimise
min v ∈ V N E N , ω ( v ) . (64) \min_{v\in V_N}\mathcal{E}_{N,\omega}(v). \tag*{(64)} v ∈ V N min E N , ω ( v ) . (64)
The minimisers are denoted by u X ∈ V N u_X\in V_N u X ∈ V N and X = ( X 1 , X 2 , … , X N ) X=(X_1,X_2,\ldots,X_N) X = ( X 1 , X 2 , … , X N ) are i.i.d. random variables, each one corresponding to a random point x i x_i x i of Ω \Omega Ω . A key mathematical challenge is that although for a fixed function g g g the error
1 N ∑ i = 1 N g ( X i ( ω ) ) − ∫ Ω g ( x ) d x , \frac{1}{N}\sum_{i=1}^{N}g(X_i(\omega))-\int_{\Omega}g(x)\,\mathrm{d}x, N 1 i = 1 ∑ N g ( X i ( ω )) − ∫ Ω g ( x ) d x ,
can be controlled using standard tools, these are not applicable to control
1 N ∑ i = 1 N u X ( X i ( ω ) ) − ∫ Ω u X ( x ) d x , \frac{1}{N}\sum_{i=1}^{N}u_X(X_i(\omega))-\int_{\Omega}u_X(x)\,\mathrm{d}x, N 1 i = 1 ∑ N u X ( X i ( ω )) − ∫ Ω u X ( x ) d x ,
since u X u_X u X depends on the random variables X i X_i X i through (64) , and thus they change as we increase the resolution of the Monte-Carlo quadrature. We are interested to study the behaviour of the generalisation error:
∥ f − u X ∥ p . \|f-u_X\|_p. ∥ f − u X ∥ p .
It will be useful to consider the application of quadrature as an empirical measure approximation of the continuous integral with respect to the measure μ \mu μ . Indeed one may rewrite the loss functional for ω ∈ Ω \omega\in\Omega ω ∈ Ω ,
E N , ω ( g ) = 1 N ∑ i ∣ g ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p \mathcal{E}_{N,\omega}(g)=\frac{1}{N}\sum_i\left|g(X_i(\omega))-f(X_i(\omega))\right|^p E N , ω ( g ) = N 1 i ∑ ∣ g ( X i ( ω )) − f ( X i ( ω )) ∣ p
using the empirical measures on Ω \Omega Ω ,
μ N , X ( ω ) = 1 N ∑ i δ X i ( ω ) , \mu_{N,X}(\omega)=\frac{1}{N}\sum_i\delta_{X_i(\omega)}, μ N , X ( ω ) = N 1 i ∑ δ X i ( ω ) ,
as
E N , ω ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ N , X ( ω ) ( x ) \mathcal{E}_{N,\omega}(g)=\int_{\Omega}|g(x)-f(x)|^p\,\mathrm{d}\mu_{N,X(\omega)}(x) E N , ω ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ N , X ( ω ) ( x )
then
E M C ( u X ( ω ) ) = ∫ Ω ∣ u X ( ω ) − f ∣ p d x − ∫ Ω ∣ u X ( ω ) − f ∣ p d μ N , X ( ω ) E_{MC}(u_{X(\omega)})=\int_{\Omega}|u_{X(\omega)}-f|^p\,\mathrm{d}x-\int_{\Omega}|u_{X(\omega)}-f|^p\,\mathrm{d}\mu_{N,X(\omega)} E M C ( u X ( ω ) ) = ∫ Ω ∣ u X ( ω ) − f ∣ p d x − ∫ Ω ∣ u X ( ω ) − f ∣ p d μ N , X ( ω )
Weak convergence of measures and functions
Interpreting quadrature through measure approximation naturally provides tools to study the limiting behaviour of discrete minimisers. We shall use therefore standard notions of weak convergence of measures. For consistency we follow the notation and terminology of [9 ] :
lim n → ∞ ∫ D g ( x ) d ν n ( x ) = ∫ D g ( x ) d ν ( x ) . \lim_{n\to\infty}\int_D g(x)\,\mathrm{d}\nu_n(x)=\int_D g(x)\,\mathrm{d}\nu(x). n → ∞ lim ∫ D g ( x ) d ν n ( x ) = ∫ D g ( x ) d ν ( x ) .
A sequence of functions v n ∈ L 1 ( D , ν n ) v_n\in L^1(D,\nu_n) v n ∈ L 1 ( D , ν n ) is said that weakly converges to v ∈ L 1 ( D , ν ) v\in L^1(D,\nu) v ∈ L 1 ( D , ν ) with respect to ( ν n , ν ) (\nu_n,\nu) ( ν n , ν ) , [9 Definition 5.4.3] if (a) ν n \nu_n ν n weakly converges to ν \nu ν (b) and
lim n → ∞ ∫ D ζ ( x ) v n ( x ) d ν n ( x ) = ∫ D ζ ( x ) v ( x ) d ν ( x ) , for all ζ ∈ C 0 ∞ ( D ) . \lim_{n\to\infty}\int_D\zeta(x)v_n(x)\,\mathrm{d}\nu_n(x)=\int_D\zeta(x)v(x)\,\mathrm{d}\nu(x),\qquad\text{for all }\zeta\in C_0^\infty(D). n → ∞ lim ∫ D ζ ( x ) v n ( x ) d ν n ( x ) = ∫ D ζ ( x ) v ( x ) d ν ( x ) , for all ζ ∈ C 0 ∞ ( D ) .
We also say that v n v_n v n strongly converges to v v v in L p L_p L p , p > 1 p>1 p > 1 , with respect to ( ν n , ν ) (\nu_n,\nu) ( ν n , ν ) , if in addition,
lim sup n → ∞ ∥ v n ∥ L p ( D , ν n ) ≤ ∥ v ∥ L p ( D , ν ) . \limsup_{n\to\infty}\|v_n\|_{L_p(D,\nu_n)}\leq\|v\|_{L_p(D,\nu)}. n → ∞ lim sup ∥ v n ∥ L p ( D , ν n ) ≤ ∥ v ∥ L p ( D , ν ) .
A standard useful starting point is that the empirical measures weakly converge to μ \mu μ in the sense that, [174 ] ,
μ N , X N ( ω ) → μ , for all ω ∈ Ω 1 , \mu_{N,X_N(\omega)}\to\mu,\qquad\text{for all }\omega\in\Omega_1, μ N , X N ( ω ) → μ , for all ω ∈ Ω 1 ,
where X 1 , X 2 , … X_1,X_2,\ldots X 1 , X 2 , … is a sequence of i.i.d. random variables with common law μ \mu μ and Ω 1 ⊂ Ω \Omega_1\subset\Omega Ω 1 ⊂ Ω with P ( Ω ∖ Ω 1 ) = 0 \mathbb{P}(\Omega\setminus\Omega_1)=0 P ( Ω ∖ Ω 1 ) = 0 . This follows since there exists a fixed countable subset G \mathcal{G} G of the set of bounded continuous functions on D D D , and for g ∈ G g\in\mathcal{G} g ∈ G , there holds
∫ Ω g ( x ) d μ N , X N ( ω ) ( x ) = 1 N ∑ i = 1 N g ( X i ) ⟶ ∫ Ω g ( x ) d μ ( x ) , P –a.s. , \int_{\Omega}g(x)\,\mathrm{d}\mu_{N,X_N(\omega)}(x)=\frac{1}{N}\sum_{i=1}^{N}g(X_i)\longrightarrow\int_{\Omega}g(x)\,\mathrm{d}\mu(x),\qquad\mathbb{P}\text{--a.s.}, ∫ Ω g ( x ) d μ N , X N ( ω ) ( x ) = N 1 i = 1 ∑ N g ( X i ) ⟶ ∫ Ω g ( x ) d μ ( x ) , P –a.s. ,
by the strong law of large numbers. Since any countable union of sets of measure zero has measure zero, the assertion follows.
Stability via inequality
The following result forms the backbone of the stability analysis of the probabilistic learning algorithm. It relies on the fact that the empirical measures converge weakly to μ \mu μ and yields several intermediate results concerning not only global minimisers, but also approximate local minimisers, provided that their losses remain uniformly bounded.
For a fixed DNN space V N V_N V N the problem under consideration is
min v ∈ V N E N , ω ( v ) , (65) \min_{v\in V_N} \mathcal{E}_{N,\omega}(v), \tag*{(65)} v ∈ V N min E N , ω ( v ) , (65)
and we recall that no minimality property is used in the following lemma.
Lemma 1 (The lim inf inequality). Let p > 1 p > 1 p > 1 , f ∈ L p ( Ω , μ ) f \in L^p(\Omega,\mu) f ∈ L p ( Ω , μ ) , and V N V_N V N a fixed DNN space. For ω ∈ Ω \omega\in\Omega ω ∈ Ω , let ( u X N ( ω ) ) N (u_{X_N}(\omega))_N ( u X N ( ω ) ) N be a sequence of elements of V N V_N V N , where X N = ( X 1 , … , X N ) X_N = (X_1,\ldots,X_N) X N = ( X 1 , … , X N ) , and assume that there exists a subset Ω 2 ⊂ Ω \Omega_2 \subset\Omega Ω 2 ⊂ Ω with P ( Ω \ Ω 2 ) = 0 \mathbb{P}(\Omega\backslash\Omega_2) = 0 P ( Ω\ Ω 2 ) = 0 such that
E N , ω ( u X N ( ω ) ) ≤ M ( ω ) < + ∞ , for all ω ∈ Ω 2 . (66) \mathcal{E}_{N,\omega}(u_{X_N}(\omega)) \le M(\omega) < +\infty,\qquad\text{for all }\omega\in\Omega_2. \tag*{(66)} E N , ω ( u X N ( ω )) ≤ M ( ω ) < + ∞ , for all ω ∈ Ω 2 . (66) Then, for P \mathbb{P} P -a.e. ω ∈ Ω \omega\in\Omega ω ∈ Ω , the sequence ( u X N ( ω ) ) N (u_{X_N}(\omega))_N ( u X N ( ω ) ) N has weak limits along subsequences with respect to ( μ N , X N ( ω ) , μ ) (\mu_{N,X_N(\omega)},\mu) ( μ N , X N ( ω ) , μ ) , and every such weak limit u ω N u_\omega^N u ω N belongs to L p ( Ω , μ ) L^p(\Omega,\mu) L p ( Ω , μ ) and satisfies
E ( u ω N ) ≤ lim inf N → ∞ E N , ω ( u X N ( ω ) ) . \mathcal{E}(u_\omega^N) \le\liminf_{N\to\infty} \mathcal{E}_{N,\omega}(u_{X_N}(\omega)). E ( u ω N ) ≤ N → ∞ lim inf E N , ω ( u X N ( ω )) .
Remark 1 No minimality property of u X N ( ω ) u_{X_N}(\omega) u X N ( ω ) is assumed: the lemma applies to global minimisers of (65) as well as to approximate local minimisers, as long as their losses are uniformly bounded in the sense of (66) . Likewise, the DNN structure of V N V_N V N plays no role in the proof, which only uses that the u X N ( ω ) u_{X_N}(\omega) u X N ( ω ) are measurable functions with bounded losses; the conclusion therefore holds verbatim when the spaces vary with N N N , i.e. for sequences u X N ( ω ) ∈ V N ( N ) u_{X_N}(\omega) \in V_N(N) u X N ( ω ) ∈ V N ( N ) . This is the form in which the lemma is used in Theorem 2.
The proof is an adaptation to our present setting of [9 Theorem 5.4.4] . The main steps are the following, where we set v N ( ω ) : = u X N ( ω ) − f v_N(\omega) := u_{X_N}(\omega)-f v N ( ω ) := u X N ( ω ) − f and write μ N \mu_N μ N for μ N , X N ( ω ) \mu_{N,X_N(\omega)} μ N , X N ( ω ) .
∫ Ω ∣ v N ( ω ) ( x ) ∣ p d μ N ( x ) = E N , ω ( u X N ( ω ) ) ≤ M ( ω ) , ω ∈ Ω 2 . \int_{\Omega} |v_N(\omega)(x)|^p \, \mathrm{d}\mu_N(x) = \mathcal{E}_{N,\omega}(u_{X_N}(\omega)) \le M(\omega),\qquad\omega\in\Omega_2. ∫ Ω ∣ v N ( ω ) ( x ) ∣ p d μ N ( x ) = E N , ω ( u X N ( ω )) ≤ M ( ω ) , ω ∈ Ω 2 .
The sequence of measures ( [ v N ( ω ) ] # μ N ) N \left([v_N(\omega)]_\#\mu_N\right)_N ( [ v N ( ω ) ] # μ N ) N on R \mathbb{R} R has p p p -th moments bounded by M ( ω ) M(\omega) M ( ω ) , by the previous step; it is therefore tight, by Markov’s inequality, and relatively compact with respect to weak convergence, by Prokhorov’s theorem.
Define the plans γ N = ( i × v N ) # μ N \gamma_N = (\mathcal{i}\times v_N)_\#\mu_N γ N = ( i × v N ) # μ N on Ω × R \Omega\times\mathbb{R} Ω × R , where i : Ω → Ω \mathcal{i}:\Omega\to\Omega i : Ω → Ω is the identity map. The first marginal of γ N \gamma_N γ N is π # 1 γ N = μ N \pi^1_\#\gamma_N = \mu_N π # 1 γ N = μ N and the second is π # 2 γ N = ( v N ) # μ N \pi^2_\#\gamma_N = (v_N)_\#\mu_N π # 2 γ N = ( v N ) # μ N .
tight, ( γ N ) N (\gamma_N)_N ( γ N ) N is relatively compact for ω ∈ Ω 1 ∩ Ω 2 \omega\in\Omega_1 \cap\Omega_2 ω ∈ Ω 1 ∩ Ω 2 , a set of full measure. Let γ \gamma γ be the limit of a subsequence, not relabelled.
The limit points γ \gamma γ need not be concentrated on the graph of a function: if the v N v_N v N oscillate, the disintegration γ = ∫ Ω γ x d μ ( x ) \gamma= \int_{\Omega} \gamma_x\,\mathrm{d}\mu(x) γ = ∫ Ω γ x d μ ( x ) of γ \gamma γ with respect to its first marginal, which is μ \mu μ , has fibres γ x \gamma_x γ x that are not Dirac masses. The weak limit of v N v_N v N is the barycentre of the fibres,
γ ‾ 1 ( x ) : = ∫ R y d γ x ( y ) , \overline{\gamma}_1(x) := \int_{\mathbb{R}} y\,\mathrm{d}\gamma_x(y), γ 1 ( x ) := ∫ R y d γ x ( y ) ,
which is well defined for μ \mu μ -a.e. x x x since ∫ Ω × R ∣ y ∣ d γ < ∞ \int_{\Omega\times\mathbb{R}} |y|\,\mathrm{d}\gamma< \infty ∫ Ω × R ∣ y ∣ d γ < ∞ by the moment bound.
∫ Ω ζ ( x ) v N ( x ) d μ N ( x ) = ∫ Ω × R ζ ( x ) y d γ N ( x , y ) . \int_{\Omega} \zeta(x)v_N(x)\,\mathrm{d}\mu_N(x) = \int_{\Omega\times\mathbb{R}} \zeta(x)y\,\mathrm{d}\gamma_N(x,y). ∫ Ω ζ ( x ) v N ( x ) d μ N ( x ) = ∫ Ω × R ζ ( x ) y d γ N ( x , y ) .
The integrand ζ ( x ) y \zeta(x)y ζ ( x ) y is continuous but unbounded in y y y , so weak convergence alone does not allow passage to the limit; however, since ∫ ∣ y ∣ p d γ N ≤ M ( ω ) \int|y|^p\,\mathrm{d}\gamma_N \le M(\omega) ∫ ∣ y ∣ p d γ N ≤ M ( ω ) with p > 1 p > 1 p > 1 , the function y y y is uniformly integrable with respect to ( γ N ) N (\gamma_N)_N ( γ N ) N , and [9 Lemma 5.1.7] yields
lim N → ∞ ∫ Ω ζ ( x ) v N ( x ) d μ N ( x ) = ∫ Ω × R ζ ( x ) y d γ ( x , y ) = ∫ Ω ζ ( x ) γ ‾ 1 ( x ) d μ ( x ) , \lim_{N \to\infty} \int_{\Omega} \zeta(x)v_N(x)\,\mathrm{d}\mu_N(x) = \int_{\Omega\times\mathbb{R}} \zeta(x)y\,\mathrm{d}\gamma(x,y) = \int_{\Omega} \zeta(x)\overline{\gamma}_1(x)\,\mathrm{d}\mu(x), N → ∞ lim ∫ Ω ζ ( x ) v N ( x ) d μ N ( x ) = ∫ Ω × R ζ ( x ) y d γ ( x , y ) = ∫ Ω ζ ( x ) γ 1 ( x ) d μ ( x ) ,
the last equality by the disintegration. This is the weak convergence of v N v_N v N to γ ‾ 1 \overline{\gamma}_1 γ 1 with respect to ( μ N , μ ) (\mu_N,\mu) ( μ N , μ ) . This is the only step where p > 1 p > 1 p > 1 is used.
To pass from v N v_N v N to u X N ( ω ) = v N + f u_{X_N}(\omega) = v_N + f u X N ( ω ) = v N + f , note that ∫ Ω ζ f d μ N → ∫ Ω ζ f d μ \int_{\Omega} \zeta f\,\mathrm{d}\mu_N \to\int_{\Omega} \zeta f\,\mathrm{d}\mu ∫ Ω ζ f d μ N → ∫ Ω ζ f d μ for P \mathbb{P} P -a.e. ω \omega ω , by the strong law of large numbers applied to ζ f ∈ L 1 ( Ω , μ ) \zeta f \in L^1(\Omega,\mu) ζ f ∈ L 1 ( Ω , μ ) ; as in the proof of the weak convergence μ N → μ \mu_N \to\mu μ N → μ , the exceptional set can be chosen independently of ζ \zeta ζ by taking ζ \zeta ζ in a countable dense subset of C 0 ( Ω ) C_0(\Omega) C 0 ( Ω ) and extending by density. Setting u ω N ( x ) : = γ ‾ 1 ( x ) + f ( x ) u^N_\omega(x) := \overline{\gamma}_1(x) + f(x) u ω N ( x ) := γ 1 ( x ) + f ( x ) , we obtain the weak convergence of u X N ( ω ) u_{X_N(\omega)} u X N ( ω ) to u ω N u^N_\omega u ω N with respect to ( μ N , μ ) (\mu_N,\mu) ( μ N , μ ) along the subsequence.
Finally, the lower semicontinuity of γ ↦ ∫ ∣ y ∣ p d γ \gamma\mapsto\int|y|^p\,\mathrm{d}\gamma γ ↦ ∫ ∣ y ∣ p d γ with respect to weak convergence (the integrand is continuous and nonnegative), the disintegration of γ \gamma γ , and Jensen’s inequality for the convex function ∣ ⋅ ∣ p |\cdot|^p ∣ ⋅ ∣ p give
lim inf N → ∞ E N , ω ( u X N ( ω ) ) = lim inf N → ∞ ∫ Ω × R ∣ y ∣ p d γ N ( x , y ) ≥ ∫ Ω × R ∣ y ∣ p d γ ( x , y ) = ∫ Ω ( ∫ R ∣ y ∣ p d γ x ( y ) ) d μ ( x ) ≥ ∫ Ω ∣ γ ‾ 1 ( x ) ∣ p d μ ( x ) = E ( u ω N ) , \begin{aligned}
\liminf_{N \to\infty} \mathcal{E}_{N,\omega}(u_{X_N(\omega)}) = \liminf_{N \to\infty} \int_{\Omega\times\mathbb{R}} |y|^p\,\mathrm{d}\gamma_N(x,y) \ge\int_{\Omega\times\mathbb{R}} |y|^p\,\mathrm{d}\gamma(x,y) \\
&= \int_{\Omega} \left(\int_{\mathbb{R}} |y|^p\,\mathrm{d}\gamma_x(y)\right)\mathrm{d}\mu(x) \ge\int_{\Omega} |\overline{\gamma}_1(x)|^p\,\mathrm{d}\mu(x) = \mathcal{E}(u^N_\omega),
\end{aligned} N → ∞ lim inf E N , ω ( u X N ( ω ) ) = N → ∞ lim inf ∫ Ω × R ∣ y ∣ p d γ N ( x , y ) ≥ ∫ Ω × R ∣ y ∣ p d γ ( x , y ) = ∫ Ω ( ∫ R ∣ y ∣ p d γ x ( y ) ) d μ ( x ) ≥ ∫ Ω ∣ γ 1 ( x ) ∣ p d μ ( x ) = E ( u ω N ) ,
which is the asserted inequality; in particular u ω N − f ∈ L p ( Ω , μ ) u^N_\omega- f \in L^p(\Omega,\mu) u ω N − f ∈ L p ( Ω , μ ) , hence u ω N ∈ L p ( Ω , μ ) u^N_\omega\in L^p(\Omega,\mu) u ω N ∈ L p ( Ω , μ ) .
Approximability and robustness as N → ∞ N \to\infty N → ∞
We turn our attention to the N → ∞ N \to\infty N → ∞ limit. A consequence of the liminf property is that these limits are remarkably robust. This applies to both global minimisers and approximate local minimisers.
Global minimisers
In the case of global minimisers the expressiveness of V N V_N V N through
inf φ ∈ V N ∥ φ − f ∥ p p , \inf_{\varphi\in V_N} \lVert\varphi-f\rVert_p^p, φ ∈ V N inf ∥ φ − f ∥ p p ,
controls the generalisation error even at the limit as N → ∞ N \to\infty N → ∞ . In fact, let V N V_N V N be a fixed DNN space. For ω ∈ Ω \omega\in\Omega ω ∈ Ω consider a sequence ( u X N ( ω ) ) N (u_{X_N}(\omega))_N ( u X N ( ω ) ) N of minimisers of (65) . Then,
lim sup N → ∞ E N , ω ( u X N ( ω ) ) ≤ inf φ ∈ V N ∥ φ − f ∥ p p , for P -a.e. ω ∈ Ω . \limsup_{N\to\infty}\mathcal{E}_{N,\omega}(u_{X_N}(\omega)) \leq\inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p^p,\qquad\text{for }\mathbb{P}\text{-a.e. }\omega\in\Omega. N → ∞ lim sup E N , ω ( u X N ( ω )) ≤ φ ∈ V N inf ∥ φ − f ∥ p p , for P -a.e. ω ∈ Ω.
Indeed this is a consequence of the minimising property of u X N ( ω ) u_{X_N(\omega)} u X N ( ω ) , since obviously,
E N , ω ( u X N ( ω ) ) ≤ E N , ω ( v ) , for all v ∈ V N . \mathcal{E}_{N,\omega}(u_{X_N}(\omega)) \leq\mathcal{E}_{N,\omega}(v), \qquad\text{for all }v\in V_N. E N , ω ( u X N ( ω )) ≤ E N , ω ( v ) , for all v ∈ V N .
Then, for a sequence ( v n ) n (v_n)_n ( v n ) n in V N V_N V N that realises the infimum, i.e.,
lim n → ∞ ∥ v n − f ∥ p = inf φ ∈ V N ∥ φ − f ∥ p . \lim_{n\to\infty}\lVert v_n-f\rVert_p = \inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p. n → ∞ lim ∥ v n − f ∥ p = φ ∈ V N inf ∥ φ − f ∥ p .
we can finally prove that
lim sup N → ∞ E N , ω ( u X N ( ω ) ) ≤ inf n ∥ v n − f ∥ p p = inf φ ∈ V N ∥ φ − f ∥ p p . \limsup_{N\to\infty}\mathcal{E}_{N,\omega}(u_{X_N}(\omega)) \leq\inf_n\lVert v_n-f\rVert_p^p = \inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p^p. N → ∞ lim sup E N , ω ( u X N ( ω )) ≤ n inf ∥ v n − f ∥ p p = φ ∈ V N inf ∥ φ − f ∥ p p .
In the next result, we keep V N V_N V N fixed and let N → ∞ N \to\infty N → ∞ . Remarkably, the minimisers need not converge to a single approximation of f f f , but nevertheless, all possible subsequential limits have a generalisation error controlled by the best approximation error within V N V_N V N . Hence, all such limits provide good approximations of f f f , provided that V N V_N V N is sufficiently expressive .
Theorem 1 (LIMIT BEHAVIOUR OF MINIMISERS AS N → ∞ N \to\infty N → ∞ ). Let p > 1 p>1 p > 1 and V N V_N V N a fixed DNN space. For ω ∈ Ω \omega\in\Omega ω ∈ Ω , consider a sequence ( u X N ( ω ) ) N (u_{X_N}(\omega))_N ( u X N ( ω ) ) N of absolute minimisers of
min v ∈ V N E N , ω ( v ) , \min_{v\in V_N}\mathcal{E}_{N,\omega}(v), v ∈ V N min E N , ω ( v ) , where X N = ( X 1 , … , X N ) X_N=(X_1,\ldots,X_N) X N = ( X 1 , … , X N ) . Then, for P \mathbb{P} P -a.e. ω ∈ Ω \omega\in\Omega ω ∈ Ω , the sequence ( u X N ( ω ) ) N (u_{X_N}(\omega))_N ( u X N ( ω ) ) N has weak limits along subsequences with respect to ( μ N , X N ( ω ) , μ ) (\mu_{N,X_N(\omega)},\mu) ( μ N , X N ( ω ) , μ ) , and for any such weak limit, u ω N u_\omega^N u ω N , we have
∥ u ω N − f ∥ p ≤ inf φ ∈ V N ∥ φ − f ∥ p . \lVert u_\omega^N-f\rVert_p \leq\inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p. ∥ u ω N − f ∥ p ≤ φ ∈ V N inf ∥ φ − f ∥ p .
The proof relies on the liminf-limsup framework discussed in § 2.1 . To invoke the stability through liminf we observe that the uniform bound required follows from the limsup property of global minimisers. Therefore, there exists a u ω N ∈ L p ( D , μ ) u_\omega^N \in L^p(D,\mu) u ω N ∈ L p ( D , μ ) such that u X N ( ω ) u_{X_N(\omega)} u X N ( ω ) converges weakly up to a subsequence to u ω N u_\omega^N u ω N with respect to ( μ N , X N ( ω ) , μ ) (\mu_{N,X_N(\omega)},\mu) ( μ N , X N ( ω ) , μ ) and
E ( u ω N ) ≤ lim inf N → ∞ E N , ω [ u X N ( ω ) ] . \mathcal{E}(u_\omega^N) \le\liminf_{N\to\infty} \mathcal{E}_{N,\omega}[u_{X_N(\omega)}]. E ( u ω N ) ≤ N → ∞ lim inf E N , ω [ u X N ( ω ) ] .
Then,
E ( u ω N ) ≤ lim inf N → ∞ inf u ∈ V N E N , ω ( u X N ( ω ) ) ≤ lim sup N → ∞ E N , ω ( u X N ( ω ) ) ≤ inf φ ∈ V N ∥ φ − f ∥ p p . \mathcal{E}(u_\omega^N) \le\liminf_{N\to\infty} \inf_{u\in V_N} \mathcal{E}_{N,\omega}(u_{X_N(\omega)}) \le\limsup_{N\to\infty} \mathcal{E}_{N,\omega}(u_{X_N(\omega)}) \le\inf_{\varphi\in V_N} \|\varphi-f\|_p^p. E ( u ω N ) ≤ N → ∞ lim inf u ∈ V N inf E N , ω ( u X N ( ω ) ) ≤ N → ∞ lim sup E N , ω ( u X N ( ω ) ) ≤ φ ∈ V N inf ∥ φ − f ∥ p p .
A natural convergence result follows as the neural network spaces become increasingly expressive, in the sense that they satisfy the natural assumption (67) . Here, V ℓ V_\ell V ℓ denotes a suitably chosen sequence of neural network spaces V N V_N V N .
Theorem 2 [CONVERGENCE OF DISCRETE ABSOLUTE MINIMISERS] For f ∈ L p ( Ω , μ ) f \in L^p(\Omega,\mu) f ∈ L p ( Ω , μ ) we assume that there exists a w ℓ ∈ V ℓ w_\ell\in V_\ell w ℓ ∈ V ℓ such that
∥ w ℓ − f ∥ p ≤ β ℓ ( f ) , and β ℓ ( f ) → 0 , ℓ → ∞ . (67) \|w_\ell-f\|_p \le\beta_\ell(f), \qquad\text{and} \qquad\beta_\ell(f)\to0,\quad\ell\to\infty. \tag*{(67)} ∥ w ℓ − f ∥ p ≤ β ℓ ( f ) , and β ℓ ( f ) → 0 , ℓ → ∞. (67) Let ω ∈ Ω \omega\in\Omega ω ∈ Ω and consider a sequence of absolute minimisers of
min v ∈ V ℓ E N ( ℓ ) , ω ( v ) \min_{v\in V_\ell}\mathcal{E}_{N(\ell),\omega}(v) v ∈ V ℓ min E N ( ℓ ) , ω ( v ) denoted by u X N ( ℓ ) ( ω ) u_{X_{N(\ell)}(\omega)} u X N ( ℓ ) ( ω ) , where X N ( ℓ ) = ( X 1 , … , X N ( ℓ ) ) X_{N(\ell)}=(X_1,\ldots,X_{N(\ell)}) X N ( ℓ ) = ( X 1 , … , X N ( ℓ ) ) . Then, a.s. with respect to ω \omega ω the sequence ( u X N ( ℓ ) ( ω ) ) ℓ (u_{X_{N(\ell)}(\omega)})_\ell ( u X N ( ℓ ) ( ω ) ) ℓ converges weakly to f f f , provided N ( ℓ ) → ∞ N(\ell)\to\infty N ( ℓ ) → ∞ sufficiently fast, in the sense made precise below with respect to ( μ ℓ , X N ( ℓ ) ( ω ) , μ ) (\mu_{\ell,X_{N(\ell)}(\omega)},\mu) ( μ ℓ , X N ( ℓ ) ( ω ) , μ ) .
The proof follows the framework of § 2.1 : the liminf inequality is provided by Lemma 1, while the limsup inequality requires E N ( ℓ ) , ω ( w ℓ ) → 0 \mathcal{E}_{N(\ell),\omega}(w_\ell)\to0 E N ( ℓ ) , ω ( w ℓ ) → 0 almost surely. Since the functions w ℓ w_\ell w ℓ change with ℓ \ell ℓ , the strong law of large numbers for a fixed function is not sufficient, and N ( ℓ ) N(\ell) N ( ℓ ) has to grow sufficiently fast; for instance, by Chebyshev’s inequality and the Borel–Cantelli lemma, it suffices that ∑ ℓ N ( ℓ ) − 1 ∥ w ℓ − f ∥ L 2 ( Ω , μ ) 2 < ∞ \sum_\ell N(\ell)^{-1}\|w_\ell-f\|_{L^2(\Omega,\mu)}^2<\infty ∑ ℓ N ( ℓ ) − 1 ∥ w ℓ − f ∥ L 2 ( Ω , μ ) 2 < ∞ . We refer to [127 ] for the precise statement.
Approximate local minimisers
Next, we study the behaviour of approximate local minimisers as the number of samples N N N tends to infinity. Approximate local minimisers may arise naturally from approximate methods for solving the underlying minimisation problem. Typically, in such situations, the value of the corresponding loss is known or can be controlled, but it is not clear a priori how the generalisation error behaves. By an approximate local minimiser we mean any element of V N V_N V N produced by the optimisation procedure; no minimality property is assumed, and the results below use only the values of the loss. We shall therefore assume certain properties of the loss at these points, without requiring that they correspond to global minimisers . The resulting estimates have an a posteriori character and provide a clear mathematical justification for the empirical observation that
“a consistently small loss, combined with stability, implies a small generalisation error.”
Here the extra assumption of stability appears to be necessary and it is linked to the lim-inf stability Lemma 1.
The following result provides a conditional estimate, i.e., it is based on in principle verifiable conditions on the computed losses. Its proof is a simple adaptation of the previous analysis, upon noticing that Lemma 1 still holds, without assuming that the original sequence consists of global minimisers.
Theorem 3 (CONDITIONAL CONVERGENCE OF LOCAL MINIMISERS) Let ω ∈ Ω \omega\in\Omega ω ∈ Ω and V N V_N V N a fixed DNN space. Consider a sequence of approximate local minimisers of
min v ∈ V N E N , ω ( v ) \min_{v \in V_N} \mathcal{E}_{N,\omega}(v) v ∈ V N min E N , ω ( v ) denoted by u X N ( ω ) , l o c u_{X_N(\omega),\mathrm{loc}} u X N ( ω ) , loc , where X N = ( X 1 , … , X N ) X_N = (X_1,\ldots,X_N) X N = ( X 1 , … , X N ) . Assume that there exists M ( ω ) M(\omega) M ( ω ) such that
E N , ω ( u X N ( ω ) , l o c ) ≤ M ( ω ) < + ∞ , for P -a.e. ω ∈ Ω . \mathcal{E}_{N,\omega}(u_{X_N(\omega),\mathrm{loc}}) \le M(\omega) < +\infty,\qquad\text{for } \mathbb{P}\text{-a.e. }\omega\in\Omega. E N , ω ( u X N ( ω ) , loc ) ≤ M ( ω ) < + ∞ , for P -a.e. ω ∈ Ω. Then, for P \mathbb{P} P -a.e. ω ∈ Ω \omega\in\Omega ω ∈ Ω , the sequence ( u X N ( ω ) , l o c ) N (u_{X_N(\omega),\mathrm{loc}})_N ( u X N ( ω ) , loc ) N has weak limits along subsequences with respect to ( μ N , X N ( ω ) , μ ) (\mu_{N,X_N(\omega)},\mu) ( μ N , X N ( ω ) , μ ) , and for any such weak limit, u ω , l o c N u_{\omega,\mathrm{loc}}^N u ω , loc N , the following estimate holds
∥ u ω , l o c N − f ∥ p p ≤ lim inf N → ∞ E N , ω ( u X N ( ω ) , l o c ) , for P -a.e. ω ∈ Ω . \lVert u_{\omega,\mathrm{loc}}^N-f\rVert_p^p \le\liminf_{N\to\infty}\mathcal{E}_{N,\omega}(u_{X_N(\omega),\mathrm{loc}}),\qquad\text{for }\mathbb{P}\text{-a.e. }\omega\in\Omega. ∥ u ω , loc N − f ∥ p p ≤ N → ∞ lim inf E N , ω ( u X N ( ω ) , loc ) , for P -a.e. ω ∈ Ω. Furthermore, if the loss corresponding to u X N ( ω ) , l o c u_{X_N(\omega),\mathrm{loc}} u X N ( ω ) , loc has a limit,
lim N → ∞ E N , ω ( u X N ( ω ) , l o c ) = β ω , l o c N , \lim_{N\to\infty}\mathcal{E}_{N,\omega}(u_{X_N(\omega),\mathrm{loc}})=\beta_{\omega,\mathrm{loc}}^N, N → ∞ lim E N , ω ( u X N ( ω ) , loc ) = β ω , loc N , then
∥ u ω , l o c N − f ∥ p ≤ ( β ω , l o c N ) 1 / p , for P -a.e. ω ∈ Ω . \lVert u_{\omega,\mathrm{loc}}^N-f\rVert_p \le\left(\beta_{\omega,\mathrm{loc}}^N\right)^{1/p},\qquad\text{for }\mathbb{P}\text{-a.e. }\omega\in\Omega. ∥ u ω , loc N − f ∥ p ≤ ( β ω , loc N ) 1/ p , for P -a.e. ω ∈ Ω.
The above result provides conditions, based solely on the loss values at these approximate local minima, under which the error with respect to the target function remains small. One such condition is the consistent observation of small loss values as the number of samples increases. This provides yet another indication of the robustness of the algorithm.
Analysis for quadrature based deterministic training
The ideas developed in the previous section for probabilistic training can also be applied to quadrature-based deterministic training. The key observation is that a deterministic quadrature rule can likewise be associated with an empirical measure. Consequently, the main steps of the preceding analysis can be adapted to this setting as well.
Recall that we assume that f f f is known at a finite set of points z ∈ K h z \in K_h z ∈ K h , where K h K_h K h is a set of points linked to a quadrature rule. The corresponding quadrature is based on this set K h K_h K h of discrete points z ∈ K h z \in K_h z ∈ K h and corresponding nonnegative weights w z w_z w z
∑ z ∈ K h w z G ( z ) ≃ ∫ Ω G ( x ) d x \sum_{z \in K_h} w_z G(z) \simeq\int_{\Omega} G(x)\,\mathrm{d}x z ∈ K h ∑ w z G ( z ) ≃ ∫ Ω G ( x ) d x
The corresponding loss is
E Q , h ( g ) = ∑ z ∈ K h w z ∣ g ( z ) − f ( z ) ∣ p . \mathcal{E}_{Q,h}(g) = \sum_{z \in K_h} w_z \lvert g(z) - f(z) \rvert^p. E Q , h ( g ) = z ∈ K h ∑ w z ∣ g ( z ) − f ( z ) ∣ p .
Consider the empirical measures on Ω \Omega Ω ,
μ Q , h = ∑ z ∈ K h w z δ z , \mu_{Q,h} = \sum_{z \in K_h} w_z \delta_z, μ Q , h = z ∈ K h ∑ w z δ z ,
then
E Q , h ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ Q , h ( x ) . \mathcal{E}_{Q,h}(g) = \int_{\Omega} \lvert g(x) - f(x) \rvert^p \,\mathrm{d}\mu_{Q,h}(x). E Q , h ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ Q , h ( x ) .
We use the notions of weak convergence of measures and of functions with respect to ( ν n , ν ) (\nu_n,\nu) ( ν n , ν ) introduced in § 2.7.0.1.1 .
The role of the almost sure weak convergence of the random empirical measures is now played by an assumption on the quadrature rule, namely that it is convergent for continuous functions, so that the deterministic empirical measures weakly converge to μ \mu μ :
μ Q , h → μ , as h → 0. \mu_{Q,h} \to\mu, \qquad\text{as } h \to0. μ Q , h → μ , as h → 0.
That is, for any bounded and continuous function g g g on Ω \Omega Ω there holds
∫ Ω g ( x ) d μ Q , h ( x ) = ∑ z ∈ K h w z g ( z ) ⟶ ∫ Ω g ( x ) d μ ( x ) , as h → 0. \int_{\Omega} g(x)\,\mathrm{d}\mu_{Q,h}(x) = \sum_{z \in K_h} w_z g(z) \longrightarrow\int_{\Omega} g(x)\,\mathrm{d}\mu(x), \qquad\text{as } h \to0. ∫ Ω g ( x ) d μ Q , h ( x ) = z ∈ K h ∑ w z g ( z ) ⟶ ∫ Ω g ( x ) d μ ( x ) , as h → 0.
The lim inf inequality. A variation of the proof of Lemma 1 yields,
Lemma 2 (The lim inf inequality) Let p > 1 p > 1 p > 1 and V N V_N V N a fixed DNN space. Consider a sequence of absolute minimisers of
min v ∈ V N E Q , h ( v ) \min_{v \in V_N} \mathcal{E}_{Q,h}(v) v ∈ V N min E Q , h ( v )
denoted by u Q , h u_{Q,h} u Q , h . Assume that
E Q , h ( u Q , h ) ≤ M < + ∞ , for all h > 0. (68) \mathcal{E}_{Q,h}(u_{Q,h}) \le M < +\infty, \qquad\text{for all } h > 0. \tag*{(68)} E Q , h ( u Q , h ) ≤ M < + ∞ , for all h > 0. (68)
Then, the sequence ( u Q , h ) h (u_{Q,h})_h ( u Q , h ) h has weak limits along subsequences with respect to ( μ Q , h , μ ) (\mu_{Q,h},\mu) ( μ Q , h , μ ) , and for any such weak limit, u N u^N u N , we have
E ( u N ) ≤ lim inf h → 0 E Q , h ( u Q , h ) . \mathcal{E}(u^N) \le\liminf_{h \to0} \mathcal{E}_{Q,h}(u_{Q,h}). E ( u N ) ≤ h → 0 lim inf E Q , h ( u Q , h ) .
Estimates as h → 0 h \to0 h → 0 . As before we consider the h → 0 h \to0 h → 0 limit. Still in the deterministic case, a consequence of the liminf property is that these limits, for both global minimisers and approximate local minimisers, are robust. We have the following estimate:
lim sup h → 0 E Q , h ( u Q , h ) ≤ inf φ ∈ V N ∥ φ − f ∥ p p . (69) \limsup_{h \to0} \mathcal{E}_{Q,h}(u_{Q,h}) \le\inf_{\varphi\in V_N} \lVert\varphi- f \rVert_p^p. \tag*{(69)} h → 0 lim sup E Q , h ( u Q , h ) ≤ φ ∈ V N inf ∥ φ − f ∥ p p . (69)
As before, the minimisers u Q , h u_{Q,h} u Q , h satisfy
E Q , h ( u Q , h ) ≤ E Q , h ( v ) , for all v ∈ V N . \mathcal{E}_{Q,h}(u_{Q,h}) \le\mathcal{E}_{Q,h}(v), \qquad\text{for all } v \in V_N. E Q , h ( u Q , h ) ≤ E Q , h ( v ) , for all v ∈ V N .
Then, consider a sequence ( v n ) n (v_n)_n ( v n ) n in V N V_N V N such that,
lim n → ∞ ∥ v n − f ∥ p = inf φ ∈ V N ∥ φ − f ∥ p . \lim_{n \to\infty} \lVert v_n - f \rVert_p = \inf_{\varphi\in V_N} \lVert\varphi- f \rVert_p. n → ∞ lim ∥ v n − f ∥ p = φ ∈ V N inf ∥ φ − f ∥ p .
Notice that the sequence ( v n ) n (v_n)_n ( v n ) n depends solely on V N V_N V N and it is fixed as h → 0 h \to0 h → 0 . Then, under some regularity hypotheses on f f f and V N V_N V N , for each n n n we have
lim h → 0 E Q , h ( v n ) = ∥ v n − f ∥ p p . \lim_{h \to0} \mathcal{E}_{Q,h}(v_n) = \lVert v_n - f \rVert_p^p. h → 0 lim E Q , h ( v n ) = ∥ v n − f ∥ p p .
Therefore,
lim sup h → 0 E Q , h ( u Q , h ) ≤ lim sup h → 0 E Q , h ( v n ) = ∥ v n − f ∥ p p , \limsup_{h \to0} \mathcal{E}_{Q,h}(u_{Q,h}) \le\limsup_{h \to0} \mathcal{E}_{Q,h}(v_n) = \lVert v_n - f \rVert_p^p, h → 0 lim sup E Q , h ( u Q , h ) ≤ h → 0 lim sup E Q , h ( v n ) = ∥ v n − f ∥ p p ,
and the estimate (69) follows.
Theorem 4 (LIMIT BEHAVIOUR OF MINIMISERS AS h → 0 h \to0 h → 0 ) Let p > 1 p > 1 p > 1 and V N V_N V N a fixed DNN space. Consider a sequence ( u Q , h ) h (u_{Q,h})_h ( u Q , h ) h of absolute minimisers of
min v ∈ V N E Q , h ( v ) . \min_{v \in V_N} \mathcal{E}_{Q,h}(v). v ∈ V N min E Q , h ( v ) . Then the sequence ( u Q , h ) h (u_{Q,h})_h ( u Q , h ) h has weak limits along subsequences with respect to ( μ Q , h , μ ) (\mu_{Q,h},\mu) ( μ Q , h , μ ) as h → 0 h \to0 h → 0 and for any such weak limit, u N u^N u N , we have
∥ u N − f ∥ p ≤ inf φ ∈ V N ∥ φ − f ∥ p . \lVert u^N - f \rVert_p \le\inf_{\varphi\in V_N} \lVert\varphi- f \rVert_p. ∥ u N − f ∥ p ≤ φ ∈ V N inf ∥ φ − f ∥ p . As before, the proof relies on the liminf-limsup framework discussed in § 2.1 , and the uniform bound required for the liminf part is a consequence of the limsup
property of global minimisers. A similar result to Theorem 2 holds in this case as well.
Approximate local minimisers. Similar conditional estimates for approximate local minimisers still hold yielding a posteriori control, as h → 0 h \to0 h → 0 , of the generalisation error by the computed losses. In fact if we consider a sequence of approximate local minimisers of our problem denoted by u Q , h , l o c u_{Q,h,\mathrm{loc}} u Q , h , loc , and assuming that there exists M M M such that
E Q , h ( u Q , h , l o c ) ≤ M < + ∞ , for h → 0. \mathcal{E}_{Q,h}(u_{Q,h,\mathrm{loc}}) \le M < +\infty,\qquad\text{for } h \to0. E Q , h ( u Q , h , loc ) ≤ M < + ∞ , for h → 0.
Then, the sequence u Q , h , l o c u_{Q,h,\mathrm{loc}} u Q , h , loc has weak limits along subsequences with respect to ( μ Q , h , μ ) (\mu_{Q,h},\mu) ( μ Q , h , μ ) , and for any such weak limit, u l o c N u_{\mathrm{loc}}^N u loc N , the following estimate holds
∥ u l o c N − f ∥ p p ≤ lim inf h → 0 E Q , h ( u Q , h , l o c ) . \lVert u_{\mathrm{loc}}^N-f\rVert_p^p \le\liminf_{h\to0}\mathcal{E}_{Q,h}(u_{Q,h,\mathrm{loc}}). ∥ u loc N − f ∥ p p ≤ h → 0 lim inf E Q , h ( u Q , h , loc ) .
Furthermore, if the loss corresponding to u Q , h , l o c u_{Q,h,\mathrm{loc}} u Q , h , loc has a limit, then this limit controls the generalisation error of the limiting points u l o c N u_{\mathrm{loc}}^N u loc N .
Operator learning
The analysis of this section extends to the operator learning problem of § 1.0.1.1 , with appropriate amendments. Let X X X be a separable metric space of inputs with a probability measure μ ∈ P p ( X ) \mu\in\mathcal{P}_p(X) μ ∈ P p ( X ) , let Y Y Y be a separable Hilbert space, and let G : X → Y \mathcal{G}:X \to Y G : X → Y be measurable with ∫ X ∥ G ( a ) ∥ Y p d μ < ∞ \int_X \lVert\mathcal{G}(a)\rVert_Y^p\,\mathrm{d}\mu< \infty ∫ X ∥ G ( a ) ∥ Y p d μ < ∞ . The energies are
E ( G ) = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ ( a ) \mathcal{E}(G)=\int_X \lVert G(a)-\mathcal{G}(a)\rVert_Y^p\,\mathrm{d}\mu(a) E ( G ) = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ ( a )
and, for i.i.d. samples a i = X i ( ω ) a_i=X_i(\omega) a i = X i ( ω ) of μ \mu μ ,
E N , ω ( G ) = 1 N ∑ i = 1 N ∥ G ( X i ( ω ) ) − G ( X i ( ω ) ) ∥ Y p , \mathcal{E}_{N,\omega}(G)=\frac{1}{N}\sum_{i=1}^{N}\lVert G(X_i(\omega))-\mathcal{G}(X_i(\omega))\rVert_Y^p, E N , ω ( G ) = N 1 i = 1 ∑ N ∥ G ( X i ( ω )) − G ( X i ( ω )) ∥ Y p ,
minimised over a class V N V_N V N of neural operators. To verify the liminf inequality, we first note that the empirical measures μ N , X N ( ω ) \mu_{N,X_N(\omega)} μ N , X N ( ω ) converge weakly to μ \mu μ for P \mathbb{P} P -a.e. ω \omega ω , by Varadarajan’s theorem [174 ] , which holds on any separable metric space. Furthermore, an analogue of Lemma 1 still holds, but with a series of appropriate modifications. We shall briefly discuss them next, without aiming at precise statements in these notes. We start as in the proof of Lemma 1 by considering the measures ( i × v N ) ♯ μ N , X N ( ω ) (\mathord{\mathrm{i}}\times v_N)_\sharp\mu_{N,X_N(\omega)} ( i × v N ) ♯ μ N , X N ( ω ) on X × Y X\times Y X × Y , with v N = G θ N − G v_N=G_{\theta_N}-\mathcal{G} v N = G θ N − G taking values in Y Y Y . A key issue is that a uniform bound on ∫ ∥ v N ∥ Y p d μ N , X N ( ω ) \int\lVert v_N\rVert_Y^p\,\mathrm{d}\mu_{N,X_N(\omega)} ∫ ∥ v N ∥ Y p d μ N , X N ( ω ) no longer yields tightness in the norm topology of Y Y Y , whose bounded sets are not compact. This is precisely the situation treated systematically in [9 Chapter 5] for measures on separable Hilbert spaces. A new norm ∥ ⋅ ∥ ϖ \lVert\cdot\rVert_\varpi ∥ ⋅ ∥ ϖ is introduced in Y Y Y which induces a weaker topology with the property that bounded sets of Y Y Y are relatively compact and metrisable. Then narrow convergence of the plans on X × Y X\times Y X × Y with respect to this topology is used, together with cylindrical test functions ζ ( a ) ⟨ y , e j ⟩ Y \zeta(a)\langle y,e_j\rangle_Y ζ ( a ) ⟨ y , e j ⟩ Y built from an orthonormal basis ( e j ) (e_j) ( e j ) of Y Y Y in place of the test functions ζ ( x ) y \zeta(x)y ζ ( x ) y of the scalar case, and the barycentre γ ˉ 1 ( a ) = ∫ Y y d γ a ( y ) \bar{\gamma}_1(a)=\int_Y y\,d\gamma_a(y) γ ˉ 1 ( a ) = ∫ Y y d γ a ( y ) is well defined. The liminf inequality then follows from the convexity and weak lower semicontinuity of ∥ ⋅ ∥ Y p \|\cdot\|_{Y}^{p} ∥ ⋅ ∥ Y p through Jensen’s inequality, exactly as in the last step of the proof of Lemma 1, see [9 Theorem 5.4.4] for details. With these modifications, the estimates for global minimisers and the conditional estimates for approximate local minimisers hold for operator learning as stated, with the norms of L p ( X , μ ; Y ) L^p(X,\mu;Y) L p ( X , μ ; Y ) in place of those of L p ( Ω , μ ) L^p(\Omega,\mu) L p ( Ω , μ ) . We do not carry out the details here; the point we wish to make is that the abstract approach discussed in this section may be applied to operator learning as well, and that the infinite-dimensional character of Y Y Y requires a careful analysis based on [9 Chapter 5] .
Generating measures: the static Wasserstein case
We now follow the approach of § 2.1 for the simplest of the generative models of § 1.6.0.1 : a static neural measure space, and d M ( ⋅ , ⋅ ) = W p ( ⋅ , ⋅ ) d_{\mathcal{M}}(\cdot,\cdot)=W_p(\cdot,\cdot) d M ( ⋅ , ⋅ ) = W p ( ⋅ , ⋅ ) , the Wasserstein distance. Let p ≥ 1 p\ge1 p ≥ 1 , V = P p ( R k ) V=\mathcal{P}_p(\mathbb{R}^k) V = P p ( R k ) with the metric W p W_p W p , and consider the neural measure space
V Θ = { ( T θ ) ♯ γ 0 : θ ∈ Θ } ⊂ V , V_\Theta=\{(T_\theta)_\sharp\gamma_0:\theta\in\Theta\}\subset V, V Θ = {( T θ ) ♯ γ 0 : θ ∈ Θ } ⊂ V ,
where γ 0 ∈ P p ( R m ) \gamma_0\in\mathcal{P}_p(\mathbb{R}^m) γ 0 ∈ P p ( R m ) is the reference measure and the networks T θ : R m → R k T_\theta:\mathbb{R}^m\to\mathbb{R}^k T θ : R m → R k , T θ ∈ V N T_\theta\in\mathcal{V}_N T θ ∈ V N , are Lipschitz continuous, so that ( T θ ) ♯ γ 0 (T_\theta)_\sharp\gamma_0 ( T θ ) ♯ γ 0 has finite p p p -th moment. The continuous problem is min μ ∈ V W p ( μ , ν t r u e ) \min_{\mu\in V}W_p(\mu,\nu_{\mathrm{true}}) min μ ∈ V W p ( μ , ν true ) , whose minimiser is ν t r u e \nu_{\mathrm{true}} ν true . The semidiscrete problem uses the same loss, but the minimisation is restricted to V Θ V_\Theta V Θ . Further steps of discretisation are needed to arrive at the fully discrete loss used in practice, whose analysis is left for future work. Here we discuss three intermediate discretisations, each adding one level of approximation to the semidiscrete problem, in order to show how such a step by step treatment clarifies the behaviour of the method at each level and where the ingredients of the framework of § 2.1 enter. First consider the problem with data, in which ν d a t a \nu_{\mathrm{data}} ν data replaces ν t r u e \nu_{\mathrm{true}} ν true in the minimisation:
min μ ∈ V Θ W p ( μ , ν d a t a ) , ν d a t a = 1 N ∑ i = 1 N δ X i , X i ∼ ν t r u e i.i.d. , (70) \min_{\mu\in V_\Theta} W_p(\mu,\nu_{\mathrm{data}}),\qquad\nu_{\mathrm{data}}=\frac{1}{N}\sum_{i=1}^{N}\delta_{X_i},\qquad X_i\sim\nu_{\mathrm{true}}\ \text{i.i.d.}, \tag*{(70)} μ ∈ V Θ min W p ( μ , ν data ) , ν data = N 1 i = 1 ∑ N δ X i , X i ∼ ν true i.i.d. , (70)
in which the distance is assumed to be computed exactly; its approximation is discussed in the second and third steps.
The analogue of exact integration
Problem (70) is the counterpart, for measures, of the function learning problem in which f f f is known only through its point values but the integrals are evaluated exactly, as in (58) : the data ν d a t a \nu_{\mathrm{data}} ν data play the role of the point values, and the exactly computed distance that of the integral. As in that case, the estimates are elementary, because $W_p is a metric on V V V and ν d a t a \nu_{\mathrm{data}} ν data is a fixed point of V V V . Indeed, for any minimiser μ N \mu_N μ N of (70) , the triangle inequality implies
W p ( μ N , ν t r u e ) ≤ inf μ ∈ V Θ W p ( μ , ν t r u e ) + 2 W p ( ν d a t a , ν t r u e ) . (71) W_p(\mu_N,\nu_{\mathrm{true}}) \le\inf_{\mu\in V_\Theta} W_p(\mu,\nu_{\mathrm{true}}) + 2W_p(\nu_{\mathrm{data}},\nu_{\mathrm{true}}). \tag*{(71)} W p ( μ N , ν true ) ≤ μ ∈ V Θ inf W p ( μ , ν true ) + 2 W p ( ν data , ν true ) . (71)
Estimate (71) is a Céa-type estimate. Since W p ( ν d a t a , ν t r u e ) → 0 W_p(\nu_{\mathrm{data}},\nu_{\mathrm{true}}) \to0 W p ( ν data , ν true ) → 0 almost surely as N → ∞ N \to\infty N → ∞ (the empirical measures converge weakly and their p p p -th moments converge, by the strong law of large numbers, see [9 Proposition 7.1.5] ), if the spaces V Θ ℓ V_{\Theta_\ell} V Θ ℓ are expressive enough, in the sense that for every μ ∈ V \mu\in V μ ∈ V there exist μ ℓ ∈ V Θ ℓ \mu_\ell\in V_{\Theta_\ell} μ ℓ ∈ V Θ ℓ with W p ( μ ℓ , μ ) → 0 W_p(\mu_\ell,\mu) \to0 W p ( μ ℓ , μ ) → 0 , then (71) shows that minimisers of (70) over V Θ ℓ V_{\Theta_\ell} V Θ ℓ , whenever they exist, converge almost surely to ν t r u e \nu_{\mathrm{true}} ν true in W p W_p W p , for any N ( ℓ ) → ∞ N(\ell) \to\infty N ( ℓ ) → ∞ .
In addition, one may recover an a posteriori type estimate by observing that for an approximate local minimiser μ θ ∗ ∈ V Θ \mu_\theta^* \in V_\Theta μ θ ∗ ∈ V Θ (and in fact for any μ θ ∈ V Θ \mu_\theta\in V_\Theta μ θ ∈ V Θ ) we have trivially
W p ( μ θ ∗ , ν t r u e ) ≤ W p ( μ θ ∗ , ν d a t a ) + W p ( ν d a t a , ν t r u e ) . (72) W_p(\mu_\theta^*,\nu_{\mathrm{true}}) \le W_p(\mu_\theta^*,\nu_{\mathrm{data}}) + W_p(\nu_{\mathrm{data}},\nu_{\mathrm{true}}). \tag*{(72)} W p ( μ θ ∗ , ν true ) ≤ W p ( μ θ ∗ , ν data ) + W p ( ν data , ν true ) . (72)
The first term on the right-hand side is the computed loss, and the second converges to zero almost surely as N → ∞ N \to\infty N → ∞ . Hence, if a sequence ( μ N ∗ ) N (\mu_N^*)_N ( μ N ∗ ) N of approximate local minimisers has consistently small losses, its elements are eventually close to ν t r u e \nu_{\mathrm{true}} ν true , and any accumulation point μ ˉ \bar{\mu} μ ˉ of the sequence, with respect to weak convergence, satisfies, by the lower semicontinuity of W p W_p W p ,
W p ( μ ˉ , ν t r u e ) ≤ lim inf N → ∞ W p ( μ N ∗ , ν d a t a ) , (73) W_p(\bar{\mu},\nu_{\mathrm{true}}) \le\liminf_{N\to\infty} W_p(\mu_N^*,\nu_{\mathrm{data}}), \tag*{(73)} W p ( μ ˉ , ν true ) ≤ N → ∞ lim inf W p ( μ N ∗ , ν data ) , (73)
which is the counterpart of the conditional estimate for approximate local minimisers of § 2.7.0.1 . The liminf–limsup framework itself is needed only for the existence and the identification of accumulation points, and its ingredients are verified as follows: a bound W p ( μ , ν d a t a ) ≤ C W_p(\mu,\nu_{\mathrm{data}}) \le C W p ( μ , ν data ) ≤ C bounds the p p p -th moment of μ \mu μ , hence gives tightness [9 Remark 5.1.5] and weak compactness [9 Theorem 5.1.3] , and W p W_p W p is lower semicontinuous with respect to weak convergence [9 Proposition 7.1.3] , which is the liminf inequality.
Training: sampling the generator measure
Training begins, in this setting, when the distance is no longer computed exactly. The first instance is the replacement of μ θ \mu_\theta μ θ by the empirical measure of M M M generated samples, μ ^ θ , M = ( T θ ) ♯ γ ^ M \widehat{\mu}_{\theta,M} = (T_\theta)_\sharp\widehat{\gamma}_M μ θ , M = ( T θ ) ♯ γ M , where γ ^ M \widehat{\gamma}_M γ M is the empirical measure of M M M i.i.d. samples of γ 0 \gamma_0 γ 0 . The loss W p ( μ ^ θ , M , ν d a t a ) W_p(\widehat{\mu}_{\theta,M},\nu_{\mathrm{data}}) W p ( μ θ , M , ν data ) is a distance between two atomic measures and is computable. The triangle inequality now gives, for any θ \theta θ ,
W p ( μ θ , ν t r u e ) ≤ W p ( μ ^ θ , M , ν d a t a ) + W p ( μ ^ θ , M , μ θ ) + W p ( ν d a t a , ν t r u e ) , (74) W_p(\mu_\theta,\nu_{\mathrm{true}}) \le W_p(\widehat{\mu}_{\theta,M},\nu_{\mathrm{data}}) + W_p(\widehat{\mu}_{\theta,M},\mu_\theta) + W_p(\nu_{\mathrm{data}},\nu_{\mathrm{true}}), \tag*{(74)} W p ( μ θ , ν true ) ≤ W p ( μ θ , M , ν data ) + W p ( μ θ , M , μ θ ) + W p ( ν data , ν true ) , (74)
and the middle term involves the computed θ \theta θ , which depends on the generator samples: this is the key difficulty of § 1.0.1.1 in its generative form. As we shall see in § 2.13.1 , this term can be bounded as
W p ( μ ^ θ , M , μ θ ) ≤ Lip ( T θ ) W p ( γ ^ M , γ 0 ) , (75) W_p(\widehat{\mu}_{\theta,M},\mu_\theta) \leq\operatorname{Lip}(T_\theta) W_p(\widehat{\gamma}_M,\gamma_0), \tag*{(75)} W p ( μ θ , M , μ θ ) ≤ Lip ( T θ ) W p ( γ M , γ 0 ) , (75)
where Lip ( T θ ) \operatorname{Lip}(T_\theta) Lip ( T θ ) is the Lipschitz constant of the computed network; the corresponding rates are also given there.
Training: approximating the distance through entropic regularisation
The second instance of training is the approximation of the distance itself. We shall not pursue further discretisations in these notes but we shall briefly examine an important case, both in practice and for our purposes, namely the entropic regularisation. The regularised problem defined next is strictly convex and its solution is computed by Sinkhorn’s matrix scaling algorithm [58 ] , which is what makes T δ T_\delta T δ an appropriate model for fully discrete losses in Wasserstein based generative modelling [81 ] . For δ > 0 \delta> 0 δ > 0 let
T δ ( μ , ν ) = min π ∈ A ( μ , ν ) { ∫ R k × R k ∣ x − y ∣ 2 d π ( x , y ) + δ KL ( π ∥ μ ⊗ ν ) } , (76) T_\delta(\mu,\nu)=\min_{\pi\in A(\mu,\nu)}\left\{\int_{\mathbb{R}^k\times\mathbb{R}^k}|x-y|^2\,\mathrm{d}\pi(x,y)+\delta\operatorname{KL}(\pi\mathbin\Vert\mu\otimes\nu)\right\}, \tag*{(76)} T δ ( μ , ν ) = π ∈ A ( μ , ν ) min { ∫ R k × R k ∣ x − y ∣ 2 d π ( x , y ) + δ KL ( π ∥ μ ⊗ ν ) } , (76)
where, for probability measures π , σ \pi,\sigma π , σ on R k × R k \mathbb{R}^k\times\mathbb{R}^k R k × R k , the relative entropy is KL ( π ∥ σ ) = ∫ log d π d σ d π \operatorname{KL}(\pi\mathbin\Vert\sigma)=\int\log\frac{\mathrm{d}\pi}{\mathrm{d}\sigma}\,\mathrm{d}\pi KL ( π ∥ σ ) = ∫ log d σ d π d π if π \pi π is absolutely continuous with respect to σ \sigma σ and KL ( π ∥ σ ) = + ∞ \operatorname{KL}(\pi\mathbin\Vert\sigma)=+\infty KL ( π ∥ σ ) = + ∞ otherwise, so that T 0 = W 2 T_0=W_2 T 0 = W 2 . Note that T δ T_\delta T δ is not a metric: T δ ( μ , μ ) > 0 T_\delta(\mu,\mu)>0 T δ ( μ , μ ) > 0 and the triangle inequality fails, so that the direct arguments of the exact case without further training are not available. The trained model problem becomes
min μ ∈ V Θ T δ ( μ , ν d a t a ) , \min_{\mu\in V_\Theta} T_\delta(\mu,\nu_{\mathrm{data}}), μ ∈ V Θ min T δ ( μ , ν data ) ,
and we would like to study what happens as δ → 0 \delta\to0 δ → 0 . This is a question of discrete variational stability for the family of energies T δ ( ⋅ , ν d a t a ) T_\delta(\cdot,\nu_{\mathrm{data}}) T δ ( ⋅ , ν data ) , and the key analytical ingredients are available in the literature.
Coercivity and lower semicontinuity. Since the entropy term is nonnegative and the admissible plans are the same, T δ ≥ W 2 2 T_\delta\geq W_2^2 T δ ≥ W 2 2 for every δ > 0 \delta>0 δ > 0 . A bound T δ ( μ , ν d a t a ) ≤ C T_\delta(\mu,\nu_{\mathrm{data}})\leq C T δ ( μ , ν data ) ≤ C therefore bounds W 2 ( μ , ν d a t a ) W_2(\mu,\nu_{\mathrm{data}}) W 2 ( μ , ν data ) , hence the second moment of μ \mu μ , uniformly in δ \delta δ , and yields tightness. Furthermore, T δ T_\delta T δ is lower semicontinuous with respect to weak convergence, as the cost is lower semicontinuous and the relative entropy is jointly weakly lower semicontinuous. Combined with T δ ≥ W 2 2 T_\delta\geq W_2^2 T δ ≥ W 2 2 and the lower semicontinuity of W 2 W_2 W 2 , this gives the liminf inequality: if μ δ ⇀ μ \mu_\delta\rightharpoonup\mu μ δ ⇀ μ as δ → 0 \delta\to0 δ → 0 then lim inf δ → 0 T δ ( μ δ , ν ) ≥ W 2 2 ( μ , ν ) \liminf_{\delta\to0}T_\delta(\mu_\delta,\nu)\geq W_2^2(\mu,\nu) lim inf δ → 0 T δ ( μ δ , ν ) ≥ W 2 2 ( μ , ν ) .
Limsup. For fixed μ , ν \mu,\nu μ , ν with finite second moments, T δ ( μ , ν ) → W 2 2 ( μ , ν ) T_\delta(\mu,\nu)\to W_2^2(\mu,\nu) T δ ( μ , ν ) → W 2 2 ( μ , ν ) as δ → 0 \delta\to0 δ → 0 , and for compactly supported measures T δ − W 2 2 = O ( δ log ( 1 / δ ) ) T_\delta-W_2^2=O(\delta\log(1/\delta)) T δ − W 2 2 = O ( δ log ( 1/ δ )) . For the δ \delta δ -limit the recovery sequence is thus trivial, the constant sequence μ \mu μ ; for the limit over increasingly expressive spaces V Θ ℓ V_{\Theta_\ell} V Θ ℓ can be provided by the approximation property of the neural measure spaces.
The main results required to establish the above claims rigorously can be traced back to the Γ \Gamma Γ -convergence of entropic optimal transport to the Monge–Kantorovich problem, due to Léonard [124 ] in the setting of the Schrödinger problem, and established in the present form in [43 ] .
Finally, note that a posteriori type guarantees for accumulation points of minimisers and approximate local minimisers can be derived from
W 2 ( μ θ , ν t r u e ) ≤ T δ ( μ θ , ν d a t a ) 1 / 2 + W 2 ( ν d a t a , ν t r u e ) , (77) W_2(\mu_\theta,\nu_{\mathrm{true}}) \leq\mathcal{T}_\delta(\mu_\theta,\nu_{\mathrm{data}})^{1/2} + W_2(\nu_{\mathrm{data}},\nu_{\mathrm{true}}), \tag*{(77)} W 2 ( μ θ , ν true ) ≤ T δ ( μ θ , ν data ) 1/2 + W 2 ( ν data , ν true ) , (77)
for any computed μ θ ∈ V Θ \mu_\theta\in V_\Theta μ θ ∈ V Θ . This is just a straightforward consequence of T δ ≥ W 2 2 \mathcal{T}_\delta\geq W_2^2 T δ ≥ W 2 2 , and implies that the computed regularised loss controls the error, for every δ \delta δ . The convergence of the minimisers over V Θ V_\Theta V Θ as δ → 0 \delta\to0 δ → 0 and N → ∞ N \to\infty N → ∞ involves the same complications as in the exact case, now for minimisers depending on both parameters, and is not pursued here. We also note that T δ ( μ , μ ) > 0 \mathcal{T}_\delta(\mu,\mu) > 0 T δ ( μ , μ ) > 0 , so that the minimiser of T δ ( ⋅ , ν d a t a ) \mathcal{T}_\delta(\cdot,\nu_{\mathrm{data}}) T δ ( ⋅ , ν data ) is not ν d a t a \nu_{\mathrm{data}} ν data but an entropically smoothed version of it: the regularisation can be viewed as a selection principle, compare to § 0.2.0.2 .
PINNs for parabolic PDEs
Recall the notation used in the parabolic case: Ω ⊂ R d \Omega\subset\mathbb{R}^d Ω ⊂ R d , is an open and bounded and Ω T = Ω × ( 0 , T ] \Omega_T = \Omega\times(0,T] Ω T = Ω × ( 0 , T ] denotes the space-time domain for some fixed time T > 0 T > 0 T > 0 . This section is devoted to problems of the form
{ u t + L u = f , in Ω T , u = 0 , on ∂ Ω × ( 0 , T ] , u = u 0 , on Ω × { t = 0 } . (78) \begin{cases}
u_t + Lu = f, & \text{in } \Omega_T,\\
u = 0, & \text{on } \partial\Omega\times(0,T],\\
u = u^0, & \text{on } \Omega\times\{t=0\}. \tag*{(78)}
\end{cases} ⎩ ⎨ ⎧ u t + Lu = f , u = 0 , u = u 0 , in Ω T , on ∂ Ω × ( 0 , T ] , on Ω × { t = 0 } . (78)
where L L L is an elliptic operator defined in § 1.3.0.1 . In this section we discuss convergence properties of approximations of (78) obtained by minimisation time-discrete energy functionals over appropriate sets of neural network functions. For simplicity in the exposition we shall assume that Ω \Omega Ω is a convex Lipschitz domain; the general case of a non-convex domain can be treated as well.
Consider the space-time energy functional G : H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) → R \mathcal{G} : H^1(0,T;L^2(\Omega)) \cap L^2(0,T;H^2(\Omega) \cap H_0^1(\Omega)) \to\mathbb{R} G : H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) → R as follows
G ( v ) = ∫ 0 T ∥ v t ( t ) + L v ( t ) − f ( t ) ∥ L 2 ( Ω ) 2 d t + ∣ v ( 0 ) − u 0 ∣ H 1 ( Ω ) 2 . (79) \mathcal{G}(v) = \int_0^T \left\|v_t(t) + Lv(t) - f(t)\right\|_{L^2(\Omega)}^2 \,\mathrm{d}t + \left|v(0) - u^0\right|_{H^1(\Omega)}^2. \tag*{(79)} G ( v ) = ∫ 0 T ∥ v t ( t ) + Lv ( t ) − f ( t ) ∥ L 2 ( Ω ) 2 d t + v ( 0 ) − u 0 H 1 ( Ω ) 2 . (79)
Following the notation and the assumptions on the problem formulation of § 1.4.0.1 , we consider the neural network approximating spaces V N , 0 ⊂ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) V_{N,0} \subset H^1(0,T;L^2(\Omega)) \cap L^2(0,T;H^2(\Omega) \cap H_0^1(\Omega)) V N , 0 ⊂ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) are still denoted by V N V_N V N and V N , 0 V_{N,0} V N , 0 (the 0 in the latter indicates that the boundary conditions are enforced strongly). Residual-based methods are based on the minimisation of the functional
min v ∈ V N , 0 G ( v ) . \min_{v \in V_{N,0}} \mathcal{G}(v). v ∈ V N , 0 min G ( v ) .
In this section we consider only methods based on time-discrete training . In particular we consider
G k , I E ( v ) = ∑ n = 1 N k n [ ∫ Ω ∣ v n − v n − 1 k n + L v n − f n ∣ 2 d x + ∣ v g 0 − u 0 ∣ H 0 1 ( Ω ) 2 ] (80) \mathcal{G}_{k,IE}(v)=\sum_{n=1}^{N} k_n\left[\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^n-f^n\right|^2\,dx+\left|vg^0-u^0\right|_{H_0^1(\Omega)}^2\right] \tag*{(80)} G k , I E ( v ) = n = 1 ∑ N k n [ ∫ Ω k n v n − v n − 1 + L v n − f n 2 d x + v g 0 − u 0 H 0 1 ( Ω ) 2 ] (80)
and the corresponding minimisation problem over V N , 0 V_{N,0} V N , 0
min v ∈ V N , 0 G k , I E ( v ) , (81) \min_{v\in V_{N,0}}\mathcal{G}_{k,IE}(v), \tag*{(81)} v ∈ V N , 0 min G k , I E ( v ) , (81)
We shall compare the above method to the corresponding explicit-Euler-type discretisation
G k , E E ( v ) = ∑ n = 1 N k n [ ∫ Ω ∣ v n − v n − 1 k n + L v n − 1 − f n − 1 ∣ 2 d x + ∣ v g 0 − u 0 ∣ H 0 1 ( Ω ) 2 ] . (82) \mathcal{G}_{k,EE}(v)=\sum_{n=1}^{N} k_n\left[\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^{n-1}-f^{n-1}\right|^2\,dx+\left|vg^0-u^0\right|_{H_0^1(\Omega)}^2\right]. \tag*{(82)} G k , E E ( v ) = n = 1 ∑ N k n [ ∫ Ω k n v n − v n − 1 + L v n − 1 − f n − 1 2 d x + v g 0 − u 0 H 0 1 ( Ω ) 2 ] . (82)
which, from the point of view of approximation, is equally natural and equally consistent as G k , I E \mathcal{G}_{k,IE} G k , I E ; notice that, as a minimisation problem over space-time neural network functions, it is just as implicit as G k , I E \mathcal{G}_{k,IE} G k , I E . As mentioned earlier, the comparison of these two functionals and their minimisers demonstrates that the stability of the algorithms is intrinsically linked to the coercivity of the loss functional. It also highlights the potentially decisive role of the training process in ensuring coercivity and, consequently, the stability of the algorithm.
Discrete variational stability
Before studying the time-discrete case let us mention briefly that the variational stability of the semidiscrete problem, in which G \mathcal{G} G is minimised over the spaces V ℓ , 0 V_{\ell,0} V ℓ , 0 of Section 3.3, hinges on the maximal regularity of the parabolic problem, Theorem 5, p. 382 in [72 ] , and on the Aubin–Lions theorem (an analogue of the Rellich–Kondrachov theorem in the parabolic case), see for example [186 ] .
If G ( u ) ≤ C \mathcal{G}(u)\leq C G ( u ) ≤ C for some C > 0 C>0 C > 0 , we have
∥ u ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ u t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) ≤ C 1 . (83) \|u\|_{L^2(0,T;H^2(\Omega))}+\|u_t\|_{L^2(0,T;L^2(\Omega))}\leq C_1. \tag*{(83)} ∥ u ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ u t ∥ L 2 ( 0 , T ; L 2 ( Ω )) ≤ C 1 . (83)
This is the maximal regularity estimate for the parabolic problem; the initial term of G \mathcal{G} G is measured in the H 1 H^1 H 1 seminorm precisely because this estimate requires u ( 0 ) ∈ H 0 1 ( Ω ) u(0)\in H_0^1(\Omega) u ( 0 ) ∈ H 0 1 ( Ω ) . This coercivity bound implies the liminf inequality: For a sequence, u ℓ u_\ell u ℓ , such that G ℓ ( u ℓ ) ≤ C \mathcal{G}_\ell(u_\ell)\leq C G ℓ ( u ℓ ) ≤ C uniformly in ℓ \ell ℓ , (5.37) implies that ( u ℓ ′ : = u ℓ , t ) (u_\ell' := u_{\ell,t}) ( u ℓ ′ := u ℓ , t ) : ∥ u ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ u ℓ , t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) \|u_\ell\|_{L^2(0,T;H^2(\Omega))}+\|u_{\ell,t}\|_{L^2(0,T;L^2(\Omega))} ∥ u ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ u ℓ , t ∥ L 2 ( 0 , T ; L 2 ( Ω )) are uniformly bounded. This leads to u ℓ ′ + L u ℓ − f ⇀ u ′ + L u − f u_\ell' + Lu_\ell-f \rightharpoonup u' + Lu-f u ℓ ′ + L u ℓ − f ⇀ u ′ + Lu − f , and the convexity of ∫ Ω T ∣ u ℓ ′ + L u ℓ − f ∣ 2 \int_{\Omega_T}|u_\ell' + Lu_\ell-f|^2 ∫ Ω T ∣ u ℓ ′ + L u ℓ − f ∣ 2 implies weak lower semicontinuity, that is
∫ Ω T ∣ u ′ + L u − f ∣ 2 ≤ lim inf ℓ → ∞ ∫ Ω T ∣ u ℓ ′ + L u ℓ − f ∣ 2 (84) \int_{\Omega_T}|u' + Lu-f|^2\leq\liminf_{\ell\to\infty}\int_{\Omega_T}|u_\ell' + Lu_\ell-f|^2 \tag*{(84)} ∫ Ω T ∣ u ′ + Lu − f ∣ 2 ≤ ℓ → ∞ lim inf ∫ Ω T ∣ u ℓ ′ + L u ℓ − f ∣ 2 (84)
and therefore we conclude that G ( u ) ≤ lim inf ℓ → ∞ G ℓ ( u ℓ ) G(u) \le\liminf_{\ell\to\infty} G_{\ell}(u_{\ell}) G ( u ) ≤ lim inf ℓ → ∞ G ℓ ( u ℓ ) .
We turn now our attention to the functional G k , I E G_{k,IE} G k , I E . Next we utilise the time reconstruction introduced earlier in § 1.9.1 U ^ \widehat{U} U to be the piecewise linear interpolant of U U U defined as:
U ^ ( t ) : = ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n , t ∈ I n , \widehat{U}(t) := \ell_0^n(t)U^{n-1} + \ell_1^n(t)U^n, \qquad t \in I_n, U ( t ) := ℓ 0 n ( t ) U n − 1 + ℓ 1 n ( t ) U n , t ∈ I n ,
with ℓ 0 n ( t ) : = ( t n − t ) / k n \ell_0^n(t) := (t^n-t)/k_n ℓ 0 n ( t ) := ( t n − t ) / k n and ℓ 1 n ( t ) : = ( t − t n − 1 ) / k n \ell_1^n(t) := (t-t^{n-1})/k_n ℓ 1 n ( t ) := ( t − t n − 1 ) / k n . The piecewise constant interpolant of U j U^j U j is denoted by U ‾ \overline{U} U ,
U ‾ ( t ) : = U n , t ∈ I n . \overline{U}(t) := U^n, \qquad t \in I_n. U ( t ) := U n , t ∈ I n .
Now, the discrete energy G I E , k G_{IE,k} G I E , k can be written as follows
G I E , k ( U ) = ∥ U ^ t + L U ‾ − f ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ∣ U 0 − u 0 ∣ H 1 ( Ω ) 2 = ∫ 0 T ∥ U ^ t + L U ‾ − f ‾ ∥ L 2 ( Ω ) 2 d t + ∣ U 0 − u 0 ∣ H 1 ( Ω ) 2 . \begin{aligned}
G_{IE,k}(U) &= \|\widehat{U}_t + L\overline{U} - \overline{f}\|_{L^2(0,T;L^2(\Omega))}^2 + |U^0-u^0|_{H^1(\Omega)}^2 \\
&= \int_0^T \|\widehat{U}_t + L\overline{U} - \overline{f}\|_{L^2(\Omega)}^2\,\mathrm{d}t + |U^0-u^0|_{H^1(\Omega)}^2.
\end{aligned} G I E , k ( U ) = ∥ U t + L U − f ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ∣ U 0 − u 0 ∣ H 1 ( Ω ) 2 = ∫ 0 T ∥ U t + L U − f ∥ L 2 ( Ω ) 2 d t + ∣ U 0 − u 0 ∣ H 1 ( Ω ) 2 .
We show next that the functional G I E , k G_{IE,k} G I E , k is equicoercive with respect to U ^ , U ‾ \widehat{U},\overline{U} U , U . That is,
If G k ( U ) ≤ C G_k(U) \le C G k ( U ) ≤ C for some C > 0 C > 0 C > 0 , we have
∥ U ‾ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ U ^ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) ≤ C 1 (85) \|\overline{U}\|_{L^2(0,T;H^2(\Omega))} + \|\widehat{U}'\|_{L^2(0,T;L^2(\Omega))} \le C_1 \tag*{(85)} ∥ U ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ U ′ ∥ L 2 ( 0 , T ; L 2 ( Ω )) ≤ C 1 (85)
To see why (85) is true we first observe that G k ( U ) ≤ C G_k(U) \le C G k ( U ) ≤ C and the fact that f ∈ L 2 ( Ω T ) f \in L^2(\Omega_T) f ∈ L 2 ( Ω T ) , lead to the uniform bound
∥ U ^ t + L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) ≤ C 1 . (86) \|\widehat{U}_t + L\overline{U}\|_{L^2(0,T;L^2(\Omega))} \le C_1. \tag*{(86)} ∥ U t + L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) ≤ C 1 . (86)
The coercivity bound (85) hinges on discrete maximal regularity bound, i.e., that ∥ U ‾ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ U ^ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) \|\overline{U}\|_{L^2(0,T;H^2(\Omega))} + \|\widehat{U}'\|_{L^2(0,T;L^2(\Omega))} ∥ U ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ U ′ ∥ L 2 ( 0 , T ; L 2 ( Ω )) can be controlled by ∥ U ^ t + L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) \|\widehat{U}_t + L\overline{U}\|_{L^2(0,T;L^2(\Omega))} ∥ U t + L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) . This follows by
∥ U ^ t + L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 = ∥ U ^ t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ∥ L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + 2 ∑ n = 1 N ∫ I n ⟨ U ^ t , L U ‾ ⟩ d t = ∥ U ^ t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ∥ L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + 2 ∑ n = 1 N ∫ I n ⟨ [ U n − U n − 1 k n ] , L U n ⟩ d t = ∥ U ^ t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ∥ L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + 2 ∑ n = 1 N ⟨ [ U n − U n − 1 ] , L U n ⟩ = ∥ U ^ t ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ∥ L U ‾ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 + ⟨ L U N , U N ⟩ + ∑ n = 1 N ⟨ L [ U n − U n − 1 ] , U n − U n − 1 ⟩ − ⟨ L U 0 , U 0 ⟩ . (87) \begin{aligned}
\|\widehat{U}_t+L\overline{U}\|_{L^2(0,T;L^2(\Omega))}^2
&=\|\widehat{U}_t\|_{L^2(0,T;L^2(\Omega))}^2+\|L\overline{U}\|_{L^2(0,T;L^2(\Omega))}^2\\
&\quad+2\sum_{n=1}^{N}\int_{I_n}\langle\widehat{U}_t,L\overline{U}\rangle\,dt\\
&=\|\widehat{U}_t\|_{L^2(0,T;L^2(\Omega))}^2+\|L\overline{U}\|_{L^2(0,T;L^2(\Omega))}^2\\
&\quad+2\sum_{n=1}^{N}\int_{I_n}\left\langle\left[\frac{U^n-U^{n-1}}{k_n}\right],LU^n\right\rangle\,dt\\
&=\|\widehat{U}_t\|_{L^2(0,T;L^2(\Omega))}^2+\|L\overline{U}\|_{L^2(0,T;L^2(\Omega))}^2\\
&\quad+2\sum_{n=1}^{N}\left\langle[U^n-U^{n-1}],LU^n\right\rangle\\
&=\|\widehat{U}_t\|_{L^2(0,T;L^2(\Omega))}^2+\|L\overline{U}\|_{L^2(0,T;L^2(\Omega))}^2+\langle LU^N,U^N\rangle\\
&\quad+\sum_{n=1}^{N}\langle L[U^n-U^{n-1}],U^n-U^{n-1}\rangle-\langle LU^0,U^0\rangle. \tag*{(87)}
\end{aligned} ∥ U t + L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 = ∥ U t ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ∥ L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + 2 n = 1 ∑ N ∫ I n ⟨ U t , L U ⟩ d t = ∥ U t ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ∥ L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + 2 n = 1 ∑ N ∫ I n ⟨ [ k n U n − U n − 1 ] , L U n ⟩ d t = ∥ U t ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ∥ L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + 2 n = 1 ∑ N ⟨ [ U n − U n − 1 ] , L U n ⟩ = ∥ U t ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ∥ L U ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 + ⟨ L U N , U N ⟩ + n = 1 ∑ N ⟨ L [ U n − U n − 1 ] , U n − U n − 1 ⟩ − ⟨ L U 0 , U 0 ⟩ . (87)
All terms on the right-hand side of (87) are nonnegative except the last one, and ⟨ L U 0 , U 0 ⟩ ≤ C ∣ U 0 ∣ H 1 ( Ω ) 2 \langle LU^0,U^0\rangle\leq C|U^0|_{H^1(\Omega)}^2 ⟨ L U 0 , U 0 ⟩ ≤ C ∣ U 0 ∣ H 1 ( Ω ) 2 is controlled by the initial term of the energy; this is where the H 1 H^1 H 1 seminorm in the initial condition is used. Hence ∥ U ^ t ∥ 2 + ∥ L U ‾ ∥ 2 ≤ ∥ U ^ t + L U ‾ ∥ 2 + C \|\widehat{U}_t\|^2+\|L\overline{U}\|^2\leq\|\widehat{U}_t+L\overline{U}\|^2+C ∥ U t ∥ 2 + ∥ L U ∥ 2 ≤ ∥ U t + L U ∥ 2 + C , and the H 2 H^2 H 2 bound on U ‾ \overline{U} U follows from the bound on L U ‾ L\overline{U} L U by elliptic regularity, since Ω \Omega Ω is convex. This implies (85) . To verify the lim inf inequality, we assume there is a sequence, still denoted by U ℓ U_\ell U ℓ , such that G I E , ℓ ( U ℓ ) ≤ C G_{IE,\ell}(U_\ell)\leq C G I E , ℓ ( U ℓ ) ≤ C uniformly in ℓ \ell ℓ . From the discrete stability estimate, the uniform bound G I E , ℓ ( U ℓ ) ≤ C G_{IE,\ell}(U_\ell)\leq C G I E , ℓ ( U ℓ ) ≤ C implies that ∥ U ‾ ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ U ^ ℓ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) ≤ C 1 \|\overline{U}_\ell\|_{L^2(0,T;H^2(\Omega))}+\|\widehat{U}'_\ell\|_{L^2(0,T;L^2(\Omega))}\leq C_1 ∥ U ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ U ℓ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω )) ≤ C 1 , are uniformly bounded. By the weak relative compactness in L 2 ( 0 , T ; L 2 ( Ω ) ) L^2(0,T;L^2(\Omega)) L 2 ( 0 , T ; L 2 ( Ω )) we have (up to a subsequence not re-labeled) the existence of u ( 1 ) u_{(1)} u ( 1 ) and u ( 2 ) u_{(2)} u ( 2 ) such that
L U ‾ ℓ ⇀ L u ( 1 ) and U ^ ℓ ′ ⇀ u ( 2 ) ′ weakly in L 2 ( 0 , T ; L 2 ( Ω ) ) . L\overline{U}_\ell\rightharpoonup Lu_{(1)}\quad\text{and}\quad\widehat{U}'_\ell\rightharpoonup u'_{(2)}\quad\text{weakly in }L^2(0,T;L^2(\Omega)). L U ℓ ⇀ L u ( 1 ) and U ℓ ′ ⇀ u ( 2 ) ′ weakly in L 2 ( 0 , T ; L 2 ( Ω )) .
Notice that, for any space-time test function φ ∈ C 0 ∞ \varphi\in C_0^\infty φ ∈ C 0 ∞ one can prove (we have set φ n : = 1 k n ∫ I n φ d t \varphi^n:=\frac{1}{k_n}\int_{I_n}\varphi\,dt φ n := k n 1 ∫ I n φ d t )
− ∫ 0 T ⟨ U ^ ℓ , φ ′ ⟩ d t = ∫ 0 T ⟨ U ^ ℓ ′ , φ ⟩ d t = − ∫ 0 T ⟨ U ‾ ℓ , φ ′ ⟩ d t + ∑ n = 1 N ⟨ [ U ℓ n − U ℓ n − 1 ] , [ φ n − φ n − 1 ] ⟩ . \begin{aligned}
-\int_0^T\langle\widehat{U}_\ell,\varphi'\rangle\,dt=\int_0^T\langle\widehat{U}'_\ell,\varphi\rangle\,dt \\
&=-\int_0^T\langle\overline{U}_\ell,\varphi'\rangle\,dt+\sum_{n=1}^{N}\langle[U_\ell^n-U_\ell^{n-1}],[\varphi^n-\varphi^{n-1}]\rangle.
\end{aligned} − ∫ 0 T ⟨ U ℓ , φ ′ ⟩ d t = ∫ 0 T ⟨ U ℓ ′ , φ ⟩ d t = − ∫ 0 T ⟨ U ℓ , φ ′ ⟩ d t + n = 1 ∑ N ⟨[ U ℓ n − U ℓ n − 1 ] , [ φ n − φ n − 1 ]⟩ .
By the uniform bound,
∥ U ^ ℓ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) 2 = ∑ n = 1 N 1 k n ∥ U ℓ n − U ℓ n − 1 ∥ L 2 ( Ω ) 2 ≤ C 1 2 , \|\widehat{U}'_\ell\|_{L^2(0,T;L^2(\Omega))}^2=\sum_{n=1}^{N}\frac{1}{k_n}\|U_\ell^n-U_\ell^{n-1}\|_{L^2(\Omega)}^2\leq C_1^2, ∥ U ℓ ′ ∥ L 2 ( 0 , T ; L 2 ( Ω )) 2 = n = 1 ∑ N k n 1 ∥ U ℓ n − U ℓ n − 1 ∥ L 2 ( Ω ) 2 ≤ C 1 2 ,
and the fact that the last sum is bounded by C 1 ( ∑ n k n ∥ φ ~ n − φ n − 1 ∥ 2 ) 1 / 2 = O ( k ℓ ) C_1\left(\sum_n k_n\lVert\widetilde{\varphi}^n-\varphi^{n-1}\rVert^2\right)^{1/2}=O(k_\ell) C 1 ( ∑ n k n ∥ φ n − φ n − 1 ∥ 2 ) 1/2 = O ( k ℓ ) , with k ℓ : = max n k n → 0 k_\ell:=\max_n k_n\to0 k ℓ := max n k n → 0 , we can conclude that u ( 1 ) = u ( 2 ) = u u_{(1)}=u_{(2)}=u u ( 1 ) = u ( 2 ) = u and thus, U ^ ℓ ′ + L U ‾ ℓ − f ‾ ⇀ u ′ + L u − f \widehat{U}'_\ell+L\overline{U}_\ell-\overline{f}\rightharpoonup u'+Lu-f U ℓ ′ + L U ℓ − f ⇀ u ′ + Lu − f . Hence,
∫ Ω T ∣ u ′ + L u − f ∣ 2 ≤ lim inf ℓ → ∞ ∫ Ω T ∣ U ^ ℓ ′ + L U ‾ ℓ − f ‾ ∣ 2 . \int_{\Omega_T}|u'+Lu-f|^2\le\liminf_{\ell\to\infty}\int_{\Omega_T}|\widehat{U}'_\ell+L\overline{U}_\ell-\overline{f}|^2. ∫ Ω T ∣ u ′ + Lu − f ∣ 2 ≤ ℓ → ∞ lim inf ∫ Ω T ∣ U ℓ ′ + L U ℓ − f ∣ 2 .
lim sup inequality and final convergence result
Let w ∈ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) w\in H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)\cap H^1_0(\Omega)) w ∈ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) . The aim is to show the existence of a recovery sequence ( w ℓ ) (w_\ell) ( w ℓ ) such that w ℓ → w w_\ell\to w w ℓ → w and
G ( w ) = lim ℓ → ∞ G I E , ℓ ( w ℓ ) . \mathcal{G}(w)=\lim_{\ell\to\infty}G_{IE,\ell}(w_\ell). G ( w ) = ℓ → ∞ lim G I E , ℓ ( w ℓ ) .
This is indeed possible by exploiting properties of the neural network spaces and using arguments based on smoothing and detailed estimates. The technical details of the proof can be found in [79 ] . In the spirit of the abstract framework, we state explicitly what is assumed of the neural network spaces: for every w ∈ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) w\in H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)\cap H^1_0(\Omega)) w ∈ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) there exist w ℓ ∈ V ℓ , 0 w_\ell\in V_{\ell,0} w ℓ ∈ V ℓ , 0 such that w ℓ → w w_\ell\to w w ℓ → w in H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ) H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)) H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω )) , and k ℓ → 0 k_\ell\to0 k ℓ → 0 . Under this assumption the limsup inequality follows from the continuity of G \mathcal{G} G and the consistency of the time quadrature, G I E , ℓ ( w ℓ ) − G ( w ℓ ) → 0 G_{IE,\ell}(w_\ell)-\mathcal{G}(w_\ell)\to0 G I E , ℓ ( w ℓ ) − G ( w ℓ ) → 0 for such w ℓ w_\ell w ℓ ; the construction of the recovery sequence w ℓ w_\ell w ℓ is technical and it is addressed in detail in [79 ] .
Then we can finally prove, that if the implicit time-discrete loss is minimised over increasingly expressive network spaces with time steps tending to zero, the reconstructed minimisers converge to the solution of the parabolic problem, in the energy norm of the time-discrete functional:
Theorem 5 (Convergence) Let u u u be the exact solution of the parabolic PDE and let ( u ℓ ) (u_\ell) ( u ℓ ) , u ℓ ∈ V ℓ u_\ell\in V_\ell u ℓ ∈ V ℓ , be a sequence of minimisers of G I E , ℓ G_{IE,\ell} G I E , ℓ , i.e.
G I E , ℓ ( u ℓ ) = inf v ℓ ∈ V ℓ G I E , ℓ ( v ℓ ) . G_{IE,\ell}(u_\ell)=\inf_{v_\ell\in V_\ell}G_{IE,\ell}(v_\ell). G I E , ℓ ( u ℓ ) = v ℓ ∈ V ℓ inf G I E , ℓ ( v ℓ ) . Then,
u ^ ℓ → u , in L 2 ( 0 , T ; H 1 ( Ω ) ) , \widehat{u}_\ell\to u,\quad\text{in }L^2(0,T;H^1(\Omega)), u ℓ → u , in L 2 ( 0 , T ; H 1 ( Ω )) , where u ^ ℓ \widehat{u}_\ell u ℓ is the piecewise linear reconstruction of u ℓ u_\ell u ℓ .
The proof relies on applying the abstract approach discussed in § 2.1 in the present setting. For completeness we repeat the key steps: Let u ∈ L 2 ( 0 , T ; H 2 ( Ω ) ) ∩ H 1 ( 0 , T ; L 2 ( Ω ) ) u\in L^2(0,T;H^2(\Omega))\cap H^1(0,T;L^2(\Omega)) u ∈ L 2 ( 0 , T ; H 2 ( Ω )) ∩ H 1 ( 0 , T ; L 2 ( Ω )) be the solution of (20) . Consider the sequence of minimisers ( u ℓ ) (u_\ell) ( u ℓ ) . Obviously,
G I E , ℓ ( u ℓ ) ≤ G I E , ℓ ( v ℓ ) , for all v ℓ ∈ V ℓ . G_{IE,\ell}(u_\ell)\le G_{IE,\ell}(v_\ell),\qquad\text{for all }v_\ell\in V_\ell. G I E , ℓ ( u ℓ ) ≤ G I E , ℓ ( v ℓ ) , for all v ℓ ∈ V ℓ .
In particular,
G I E , ℓ ( u ℓ ) ≤ G I E , ℓ ( u ~ ℓ ) , G_{IE,\ell}(u_\ell)\le G_{IE,\ell}(\widetilde{u}_\ell), G I E , ℓ ( u ℓ ) ≤ G I E , ℓ ( u ℓ ) ,
where u ~ ℓ \tilde{u}_{\ell} u ~ ℓ is the recovery sequence corresponding to w = u w = u w = u . Hence, we conclude that the sequence G I E , ℓ ( u ℓ ) G_{IE,\ell}(u_{\ell}) G I E , ℓ ( u ℓ ) is uniformly bounded. The discrete variational stability implies that
∥ u ~ ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) + ∥ u ^ ℓ ∥ L 2 ( 0 , T ; L 2 ( Ω ) ) ≤ C . (88) \|\tilde{u}_{\ell}\|_{L^2(0,T;H^2(\Omega))}+\|\widehat{u}_{\ell}\|_{L^2(0,T;L^2(\Omega))}\leq C . \tag*{(88)} ∥ u ~ ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω )) + ∥ u ℓ ∥ L 2 ( 0 , T ; L 2 ( Ω )) ≤ C . (88)
We may assume by employing a density argument on the initial value that u 0 ∈ H 2 ( Ω ) u^0\in H^2(\Omega) u 0 ∈ H 2 ( Ω ) , and thus ∥ u ^ ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω ) ) ≤ C \|\widehat{u}_{\ell}\|_{L^2(0,T;H^2(\Omega))}\leq C ∥ u ℓ ∥ L 2 ( 0 , T ; H 2 ( Ω )) ≤ C as well. The Aubin–Lions theorem ensures that there exists u ~ ∈ L 2 ( 0 , T ; H 1 ( Ω ) ) \tilde{u}\in L^2(0,T;H^1(\Omega)) u ~ ∈ L 2 ( 0 , T ; H 1 ( Ω )) such that u ^ ℓ → u ~ \widehat{u}_{\ell}\to\tilde{u} u ℓ → u ~ in L 2 ( 0 , T ; H 1 ( Ω ) ) L^2(0,T;H^1(\Omega)) L 2 ( 0 , T ; H 1 ( Ω )) up to a subsequence not re-labeled. Furthermore the previous analysis shows that L u ~ ∈ L 2 ( 0 , T ; L 2 ( Ω ) ) L\tilde{u}\in L^2(0,T;L^2(\Omega)) L u ~ ∈ L 2 ( 0 , T ; L 2 ( Ω )) . To prove that u ~ \tilde{u} u ~ is the minimiser of G G G , and hence u ~ = u \tilde{u}=u u ~ = u , we apply the framework of § 2.1 : Let w ∈ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ) w\in H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)) w ∈ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω )) . We did show the existence of a recovery sequence ( w ℓ ) (w_{\ell}) ( w ℓ ) such that w ℓ → w w_{\ell}\to w w ℓ → w and
G ( w ) = lim ℓ → ∞ G I E , ℓ ( w ℓ ) . G(w)=\lim_{\ell\to\infty}G_{IE,\ell}(w_{\ell}). G ( w ) = ℓ → ∞ lim G I E , ℓ ( w ℓ ) .
Therefore, the lim inf inequality and the fact that u ℓ u_{\ell} u ℓ are minimisers of the discrete problems imply that
G ( u ~ ) ≤ lim inf ℓ → ∞ G I E , ℓ ( u ℓ ) ≤ lim sup ℓ → ∞ G I E , ℓ ( u ℓ ) ≤ lim sup ℓ → ∞ G I E , ℓ ( w ℓ ) = G ( w ) , (89) G(\tilde{u})\leq\liminf_{\ell\to\infty}G_{IE,\ell}(u_{\ell})\leq\limsup_{\ell\to\infty}G_{IE,\ell}(u_{\ell})\leq\limsup_{\ell\to\infty}G_{IE,\ell}(w_{\ell})=G(w), \tag*{(89)} G ( u ~ ) ≤ ℓ → ∞ lim inf G I E , ℓ ( u ℓ ) ≤ ℓ → ∞ lim sup G I E , ℓ ( u ℓ ) ≤ ℓ → ∞ lim sup G I E , ℓ ( w ℓ ) = G ( w ) , (89)
for all w ∈ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ) w\in H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)) w ∈ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω )) . Therefore u ~ \tilde{u} u ~ is the minimiser of G G G , hence u ~ = u \tilde{u}=u u ~ = u and the entire sequence satisfies
u ^ ℓ → u , in L 2 ( 0 , T ; H 1 ( Ω ) ) , \widehat{u}_{\ell}\to u,\quad\text{in }L^2(0,T;H^1(\Omega)), u ℓ → u , in L 2 ( 0 , T ; H 1 ( Ω )) ,
which shows the desired result.
Explicit time discrete functional
It will be interesting to consider a seemingly similar (from the point of view of quadrature and approximation) discrete functional:
G k , E E ( v ) = ∑ n = 1 N k n ∫ Ω ∣ v n − v n − 1 k n + L v n − 1 − f n − 1 ∣ 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 , (90) G_{k,EE}(v)=\sum_{n=1}^{N}k_n\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^{n-1}-f^{n-1}\right|^2\,\mathrm{d}x+|v^0-u^0|_{H^1(\Omega)}^2, \tag*{(90)} G k , E E ( v ) = n = 1 ∑ N k n ∫ Ω k n v n − v n − 1 + L v n − 1 − f n − 1 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 , (90)
and compare its properties with those of the functional G k , I E ( v ) G_{k,IE}(v) G k , I E ( v ) and the corresponding V N V_N V N minimisers. The functional (90) is associated with explicit Euler discretisation in time, as opposed to the implicit Euler discretisation underlying G k , I E ( v ) G_{k,IE}(v) G k , I E ( v ) . Clearly, in the discrete minimisation framework, both energies are fully implicit, since the evaluation of the minimisers requires the solution of global space-time problems. It is therefore particularly interesting that the two energies lead to fundamentally different stability properties. Let us first note that a discrete coercivity estimate such as (85) does not appear to be possible. Indeed, an argument similar to (87) can be used, but with the crucial difference that the second-to-last term in this relation is negative rather than positive. This is directly related to the well-known instability of the forward Euler method. For finite difference forward Euler schemes, stability typically requires a strong CFL condition of the form k ≤ C h 2 k \le Ch^{2} k ≤ C h 2 , where h h h is the spatial discretisation parameter. A similar phenomenon appears to occur here. Although we do not derive stability bounds when spatial training is performed, our numerical experiments show that the stability of the explicit training method deteriorates as the number of spatial training points increases while k k k is kept fixed. These computations, presented in [79 ] , provide convincing evidence that coercivity bounds similar to (85) are necessary for stable behaviour of the approximations, for details see [79 ] .
The elliptic case
The two variational principles for the elliptic problem of § 1.3.0.1 are not analysed in this section. The Deep Ritz method with training based on finite element quadrature is formulated and analysed in § 2.20.0.1 . For the Deep Ritz method with Monte Carlo training, the sampled energy controls g g g and ∇ g \nabla g ∇ g only at the sample points, and a coercivity bound of the type required by discrete variational stability is not readily available; the same holds for the residual-based (PINN) formulation with Monte Carlo training. The analysis of these methods through discrete variational stability is rather involved and is not presented here. For the PINN loss we derive instead a posteriori estimates, which are the subject of § 2.13.1 .
Bibliography and comments
The framework developed in this section is based on the works [127 ] and [79 ] . The liminf–limsup framework is the core of De Giorgi’s Γ \Gamma Γ -convergence [64 , 61 , 37 ] , used here, for the reasons explained in § 2.1 , without invoking the Γ \Gamma Γ -convergence theorems themselves; the weak convergence of functions with respect to varying measures, which is the topology adapted to probabilistic training, follows [9 Chapter 5] .
Several important contributions over the last years have been devoted to the approximation capability of DNN spaces, see [94 , 60 , 101 , 99 , 131 , 157 , 65 , 30 ] and their references. New results are needed, among other topics, to identify the neural network architectures required to achieve given approximation bounds, rather than merely establishing their existence. Nevertheless, the remarkable advances in the approximation theory of neural networks constitute a major milestone in our understanding of their behaviour.
Regarding rates in generalisation estimates one can distinguish three different notions in this context. Approximation rates concern the spaces V N V_N V N alone, that is, how well the class approximates a target of given regularity; these are now well developed as just mentioned. Rates for the statistical error concern the distance between the trained and the exact functional, and are the subject of § 2.13.1 . *Rates for the discretisation concern the error of the minimiser of the actual trained loss, in a continuous norm, and require, as in classical numerical analysis, a stability estimate and a consistency estimate with rates. Rates of this third kind are, to our knowledge, not available for neural network methods beyond the Monte Carlo function learning problem on compact sets, where they are obtained in statistical learning theory for empirical risk minimisers over uniformly bounded classes whose size is tied to the number of samples; even for deterministic quadrature in a continuous norm, where the discrete norm controls nothing between the quadrature points and no inverse estimate is available for network spaces, and for time-discrete schemes, they are open. What is usually presented as a rate for the method is an approximation rate combined with a uniform assumption on the class. This is why the framework of these notes concentrates on stability first: rates for the discretisation cannot be obtained without it.
Previous works on the analysis of methods based on residual minimisation over neural network spaces for PDEs include [161 ] , [159 ] , [160 ] , [102 ] , and [140 ] . In [161 ] , convergence was established for sufficiently smooth classical solutions of a class of nonlinear parabolic PDEs, without explicitly considering the training of the functional. Convergence results under assumptions on the discrete minimisers or on the neural network space, in the setting of Monte Carlo training, were obtained in [159 ] , [160 ] , and [102 ] . In addition, [160 ] makes use of continuous stability properties of certain linear operators in the analysis. In [142 ] Γ \Gamma Γ -convergence was used in the analysis of deep Ritz methods without training. Stability based on inf-sup frameworks for Variational PINNs (the residuals are evaluated in a weak-variational sense), were considered in [31 ] , where the role of quadrature was proven crucial in the analysis of the method.
The results of [140 ] are based on estimates whose bounds depend on the discrete minimisers and their derivatives. Convergence can therefore be obtained under suitable uniform bounds on these functions in appropriate Sobolev norms. The results of [102 ] , which consider deterministic training, are related in this respect, as they apply to neural network spaces for which high-order derivatives are uniformly bounded in appropriate norms by construction.
When training and quadrature are incorporated into the design and analysis of the method, one possible approach is to treat the resulting training or quadrature error as an additional contribution to Céa-type estimates. Such estimates naturally lead to assumptions controlling higher-order derivatives of the discrete minimisers. Our approach takes a somewhat different perspective: rather than treating the training procedure as an additional source of error, we view the entire scheme, including training, as a unified discrete variational problem and study its stability directly. This viewpoint is closer to the standard a priori analysis of numerical methods for differential equations, where the stability of the fully discrete scheme is analysed as an intrinsic property of the method.
Error estimates for operator learning, for deep operator networks and Fourier neural operators, are derived in [120 , 114 ] , see also [115 ] for approximability of neural operators; they decompose the error into encoding, approximation and reconstruction parts, and control the generalisation part through covering numbers of the operator class, which requires uniform Lipschitz bounds on the networks. In § 2.7.0.1 we indicate how the generalisation part can be treated instead by the liminf inequality, without such bounds, by employing the setting of measures on the infinite-dimensional output space, as developed in [9 Chapter 5] .
The minimisation of a distance to the empirical measure over a parametrised family of measures is, in statistical terms, minimum distance estimation, and large-sample results for GANs in this spirit are given in [32 ] ; the approximation property of the neural measure spaces assumed in § 2.9.0.1 , that every measure in P p ( R k ) \mathcal{P}_p(\mathbb{R}^k) P p ( R k ) is a W p W_p W p -limit of push-forwards of γ 0 \gamma_0 γ 0 through neural networks, is a universal approximation property for distributions, see e.g. [129 ] for push-forwards through gradients of ReLU networks in Wasserstein and other integral probability metrics, and [147 ] for the generation of high-dimensional distributions from a one-dimensional source. For entropic optimal transport see [58 ] for the Sinkhorn algorithm, [81 ] for its use in generative modelling, and [124 , 43 ] for the convergence of the regularised cost to the Wasserstein distance as the regularisation parameter tends to zero. The bias T δ ( μ , μ ) > 0 T_\delta(\mu,\mu)>0 T δ ( μ , μ ) > 0 is removed by the Sinkhorn divergence S δ ( μ , ν ) = T δ ( μ , ν ) − 1 2 T δ ( μ , μ ) − 1 2 T δ ( ν , ν ) S_\delta(\mu,\nu)=T_\delta(\mu,\nu)-\frac{1}{2}T_\delta(\mu,\mu)-\frac{1}{2}T_\delta(\nu,\nu) S δ ( μ , ν ) = T δ ( μ , ν ) − 2 1 T δ ( μ , μ ) − 2 1 T δ ( ν , ν ) , which is nonnegative, vanishes only for μ = ν \mu=\nu μ = ν , metrises weak convergence, and interpolates between W 2 2 W_2^2 W 2 2 and a maximum mean discrepancy [74 ] . The sample complexity of the regularised loss is of order N − 1 / 2 N^{-1/2} N − 1/2 , with a constant depending on δ \delta δ and on the data dimension, which blows up as δ → 0 \delta\to0 δ → 0 [80 ] ; in the a posteriori estimate (77) this trades the dimension-dependent rate of the empirical term for the regularisation error O ( δ log ( 1 / δ ) ) O(\delta\log(1/\delta)) O ( δ log ( 1/ δ )) , and the choice of δ \delta δ in terms of N N N is a balance between stability and consistency of the kind familiar from numerical analysis. The approximation of the distance by an integral probability metric over a class of discriminator networks, as in Wasserstein GANs [14 ] , is different in nature: the loss is then no longer a metric, and the coercivity and lower semicontinuity of the discriminator-based losses, uniformly in the discriminator class, would have to be established.
Reliability through estimates
Error estimates, whether of a priori or a posteriori character, provide a useful means of assessing the reliability of numerical algorithms. As we have seen, numerical computations may lead to unreliable predictions for several reasons: the algorithm may lack stability, or the underlying problem itself may be sensitive to relatively small perturbations. Error estimates provide a way to quantify and, in favourable circumstances, control these effects.
A priori estimates serve a twofold purpose. First, when the underlying continuous problem is well posed and the numerical method satisfies the appropriate stability and consistency properties, they provide a theoretical guarantee that, at least asymptotically, the numerical solution approaches the correct solution. Second, they have an important practical role in the design and assessment of numerical experiments. When computations are performed with different values of the discretisation parameters, we expect the observed errors to behave consistently with the theoretical estimates. In particular, the numerical results should exhibit the predicted convergence rates as the discretisation is refined.
A posteriori estimates are particularly valuable when a complete convergence theory is unavailable, as is often the case for machine learning algorithms. As discussed in § 1.9.1 , upper bounds for the generalisation error that are computable from quantities available during training can serve as a direct indicator of reliability, without requiring a full a priori analysis. This is especially consequential in scientific applications, where a small training loss or good empirical performance alone does not guarantee an accurate or physically meaningful prediction. In such settings, a posteriori estimates provide an important additional layer of validation, allowing the reliability of the computed solution to be assessed directly from the output of the algorithm.
Estimates for MC Interpolation
Recall the problem of MC-Deep neural network interpolation: Let X = ( X 1 , X 2 , … , X N ) X = (X_1, X_2, \ldots, X_N) X = ( X 1 , X 2 , … , X N ) be i.i.d. random variables with common law μ \mu μ , each one corresponding to a random point x i x_i x i of Ω \Omega Ω .
We seek minimisers of
min v ∈ V N E N , ω ( v ) , \min_{v \in V_N} \mathcal{E}_{N,\omega}(v), v ∈ V N min E N , ω ( v ) ,
which we denote by u X ∈ V N u_X \in V_N u X ∈ V N . A central problem in foundational machine learning is to estimate the generalisation error, i.e., the error ∥ u X ( ω ) − f ∥ p \lVert u_X(\omega) - f \rVert_p ∥ u X ( ω ) − f ∥ p , since it is a measure for how well the algorithm behaves beyond the training points. The following bound is trivial: Let f ∈ L p ( μ ) f \in L^p(\mu) f ∈ L p ( μ ) , ω ∈ Ω \omega\in\Omega ω ∈ Ω , and φ ∈ V N \varphi\in V_N φ ∈ V N , since E N , ω ( u X ( ω ) ) ≤ E N , ω ( φ ) \mathcal{E}_{N,\omega}(u_X(\omega)) \leq\mathcal{E}_{N,\omega}(\varphi) E N , ω ( u X ( ω )) ≤ E N , ω ( φ ) ,
∥ u X ( ω ) − f ∥ p p ≤ 1 N ∑ i ∣ φ ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p + ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − 1 N ∑ i ∣ u X ( ω ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p = ∥ φ − f ∥ p p + { ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − 1 N ∑ i ∣ u X ( ω ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p } + { 1 N ∑ i ∣ φ ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p − ∫ Ω ∣ φ − f ∣ p d μ } \lVert u_X(\omega)-f\rVert_p^p \leq\frac{1}{N}\sum_i \left|\varphi(X_i(\omega))-f(X_i(\omega))\right|^p
+ \int_{\Omega}\left|u_X(\omega)-f\right|^p\mathrm{d}\mu(x)-\frac{1}{N}\sum_i\left|u_X(\omega)(X_i(\omega))-f(X_i(\omega))\right|^p
= \lVert\varphi-f\rVert_p^p
+ \left\{\int_{\Omega}\left|u_X(\omega)-f\right|^p\mathrm{d}\mu(x)-\frac{1}{N}\sum_i\left|u_X(\omega)(X_i(\omega))-f(X_i(\omega))\right|^p\right\}
+ \left\{\frac{1}{N}\sum_i\left|\varphi(X_i(\omega))-f(X_i(\omega))\right|^p-\int_{\Omega}\left|\varphi-f\right|^p\mathrm{d}\mu\right\} ∥ u X ( ω ) − f ∥ p p ≤ N 1 i ∑ ∣ φ ( X i ( ω )) − f ( X i ( ω )) ∣ p + ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − N 1 i ∑ ∣ u X ( ω ) ( X i ( ω )) − f ( X i ( ω )) ∣ p = ∥ φ − f ∥ p p + { ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − N 1 i ∑ ∣ u X ( ω ) ( X i ( ω )) − f ( X i ( ω )) ∣ p } + { N 1 i ∑ ∣ φ ( X i ( ω )) − f ( X i ( ω )) ∣ p − ∫ Ω ∣ φ − f ∣ p d μ }
In order to study the behaviour of the generalisation error we need to control
E M C ( u X ( ω ) ) = ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − 1 N ∑ i ∣ u X ( ω ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p . E_{MC}(u_X(\omega))=\int_{\Omega}\left|u_X(\omega)-f\right|^p\mathrm{d}\mu(x)-\frac{1}{N}\sum_i\left|u_X(\omega)(X_i(\omega))-f(X_i(\omega))\right|^p. E M C ( u X ( ω )) = ∫ Ω ∣ u X ( ω ) − f ∣ p d μ ( x ) − N 1 i ∑ ∣ u X ( ω ) ( X i ( ω )) − f ( X i ( ω )) ∣ p .
The key technical issue here is that since u X ( ω ) u_X(\omega) u X ( ω ) is a solution of a minimisation problem involving ( X i ) (X_i) ( X i ) , it obviously depends on ( X i ) (X_i) ( X i ) , and thus the function u X ( ω ) u_X(\omega) u X ( ω ) changes with N N N . Thus, the law of large numbers and other standard tools estimating E M C ( g ) E_{MC}(g) E M C ( g ) for fixed g g g are not applicable [109 ] .
Rademacher complexity
In statistical learning, one may overcome this problem by uniform estimates within a class, i.e. by estimating [24 ]
∣ E M C ( u X ) ∣ ≤ sup g ∈ V N ∣ E M C ( g ) ∣ , \left|E_{MC}(u_X)\right|\leq\sup_{g\in\mathcal{V}_N}\left|E_{MC}(g)\right|, ∣ E M C ( u X ) ∣ ≤ g ∈ V N sup ∣ E M C ( g ) ∣ ,
then
∥ u X ( ω ) − f ∥ p p ≤ ∥ φ − f ∥ p p + 2 sup g ∈ V N ∣ E M C ( g ) ∣ . \lVert u_X(\omega)-f\rVert_p^p\leq\lVert\varphi-f\rVert_p^p+2\sup_{g\in\mathcal{V}_N}\left|E_{MC}(g)\right|. ∥ u X ( ω ) − f ∥ p p ≤ ∥ φ − f ∥ p p + 2 g ∈ V N sup ∣ E M C ( g ) ∣ .
Then it is known that the Rademacher complexity of a function class G \mathcal{G} G
R N , G : = E sup g ∈ G 1 N ∑ i ϵ i g ( X i ) , R_{N,\mathcal{G}}:=\mathbb{E}\sup_{g\in\mathcal{G}}\frac{1}{N}\sum_i\epsilon_i g(X_i), R N , G := E g ∈ G sup N 1 i ∑ ϵ i g ( X i ) ,
where ϵ i ∈ { ± 1 } \epsilon_i\in\{ \pm1\} ϵ i ∈ { ± 1 } are independent and uniformly distributed, is known to control sup G ∣ E M C ( g ) ∣ \sup_{\mathcal{G}}\left|E_{MC}(g)\right| sup G ∣ E M C ( g ) ∣ .
There are similar alternative techniques in the statistical learning literature that aim to control this error, typically uniformly with respect to the class G \mathcal{G} G . These approaches can sometimes be quite technical, but the theory is relatively mature by now and provides reasonable asymptotic rates with respect to the dimension d d d .
However, the backbone of this approach relies on uniform, and hence structural, assumptions on the neural network spaces V N V_{\mathcal{N}} V N . In applications to PDEs and differential equations, the function g g g typically involves derivatives arising from the differential operator. Consequently, applying such an approach can be particularly restrictive, as it relies on structural assumptions on the discrete spaces that may be difficult to satisfy in practice.
Estimates and the optimal matching problem
We suggest an alternative approach that aims to avoid uniform bounds over a class. The key idea is to represent the loss in terms of an empirical measure and estimate the corresponding error using the distance between the empirical measure and the measure μ \mu μ . This, in turn, requires estimates for the optimal matching problem in the setting under consideration. The resulting framework provides an alternative approach to error control, with the potential to yield new results and provide further insight into the behaviour of the algorithm.
To this end, as before, we rewrite the loss functional
E N , ω ( g ) = 1 N ∑ i ∣ g ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p \mathcal{E}_{N,\omega}(g)=\frac{1}{N}\sum_i\left|g(X_i(\omega))-f(X_i(\omega))\right|^p E N , ω ( g ) = N 1 i ∑ ∣ g ( X i ( ω )) − f ( X i ( ω )) ∣ p
using the empirical measures on Ω \Omega Ω , μ N , X ( ω ) = 1 N ∑ i δ X i ( ω ) \mu_{N,\mathbf{X}}(\omega)=\frac{1}{N}\sum_i\delta_{X_i(\omega)} μ N , X ( ω ) = N 1 ∑ i δ X i ( ω ) , as
E N , ω ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ N , X ( ω ) ( x ) \mathcal{E}_{N,\omega}(g)=\int_{\Omega}|g(x)-f(x)|^p\,\mathrm{d}\mu_{N,\mathbf{X}(\omega)}(x) E N , ω ( g ) = ∫ Ω ∣ g ( x ) − f ( x ) ∣ p d μ N , X ( ω ) ( x )
then, for ω ∈ Ω \omega\in\Omega ω ∈ Ω ,
E M C ( u X ( ω ) ) = ∫ Ω ∣ u X ( ω ) − f ∣ p d x − ∫ Ω ∣ u X ( ω ) − f ∣ p d μ N , X ( ω ) . E_{MC}(u_{\mathbf{X}}(\omega))=\int_{\Omega}|u_{\mathbf{X}}(\omega)-f|^p\,\mathrm{d}x-\int_{\Omega}|u_{\mathbf{X}}(\omega)-f|^p\,\mathrm{d}\mu_{N,\mathbf{X}}(\omega). E M C ( u X ( ω )) = ∫ Ω ∣ u X ( ω ) − f ∣ p d x − ∫ Ω ∣ u X ( ω ) − f ∣ p d μ N , X ( ω ) .
Recall that the Wasserstein distance of order p p p between two probability measures μ \mu μ and ν \nu ν is defined by
W p ( μ , ν ) = ( min π ∈ A ( μ , ν ) ∫ Ω × Ω ∣ x − y ∣ p d π ( x , y ) ) 1 / p , W_p(\mu,\nu)=\left(\min_{\pi\in A(\mu,\nu)}\int_{\Omega\times\Omega}|x-y|^p\,\mathrm{d}\pi(x,y)\right)^{1/p}, W p ( μ , ν ) = ( π ∈ A ( μ , ν ) min ∫ Ω × Ω ∣ x − y ∣ p d π ( x , y ) ) 1/ p ,
where A ( μ , ν ) A(\mu,\nu) A ( μ , ν ) denotes the set of transport plans between μ \mu μ and ν \nu ν . Then, utilising the push-forward measure and the formulas (29) and (30) we observe: The triangular inequality in L p ( π ) L^p(\pi) L p ( π ) , for any π ∈ A ( μ , ν ) \pi\in A(\mu,\nu) π ∈ A ( μ , ν ) we have
∥ ξ ∥ L p ( μ ) − ∥ ξ ∥ L p ( ν ) = ∣ { ∫ Ω × Ω ∣ ξ ( x ) ∣ p d π ( x , y ) } 1 / p − { ∫ Ω × Ω ∣ ξ ( y ) ∣ p d π ( x , y ) } 1 / p ∣ ≤ { ∫ Ω × Ω ∣ ξ ( x ) − ξ ( y ) ∣ p d π ( x , y ) } 1 / p . \begin{aligned}
\lVert\xi\rVert_{L^p(\mu)}-\lVert\xi\rVert_{L^p(\nu)}
&= \left|\left\{\int_{\Omega\times\Omega}|\xi(x)|^p\,\mathrm{d}\pi(x,y)\right\}^{1/p}
-\left\{\int_{\Omega\times\Omega}|\xi(y)|^p\,\mathrm{d}\pi(x,y)\right\}^{1/p}\right|\\
&\le\left\{\int_{\Omega\times\Omega}|\xi(x)-\xi(y)|^p\,\mathrm{d}\pi(x,y)\right\}^{1/p}.
\end{aligned} ∥ ξ ∥ L p ( μ ) − ∥ ξ ∥ L p ( ν ) = { ∫ Ω × Ω ∣ ξ ( x ) ∣ p d π ( x , y ) } 1/ p − { ∫ Ω × Ω ∣ ξ ( y ) ∣ p d π ( x , y ) } 1/ p ≤ { ∫ Ω × Ω ∣ ξ ( x ) − ξ ( y ) ∣ p d π ( x , y ) } 1/ p .
Optimizing over π ∈ A ( μ , ν ) \pi\in\mathcal{A}(\mu,\nu) π ∈ A ( μ , ν ) , we get that
∣ ∥ ξ ∥ L p ( μ ) − ∥ ξ ∥ L p ( ν ) ∣ ≤ W p ( ξ # μ , ξ # ν ) \left|\lVert\xi\rVert_{L^p(\mu)}-\lVert\xi\rVert_{L^p(\nu)}\right|\le W_p(\xi_{\#}\mu,\xi_{\#}\nu) ∥ ξ ∥ L p ( μ ) − ∥ ξ ∥ L p ( ν ) ≤ W p ( ξ # μ , ξ # ν )
Now, set ξ = u X ( ω ) − f \xi=u_X(\omega)-f ξ = u X ( ω ) − f and ν = μ N , X ( ω ) \nu=\mu_{N,X(\omega)} ν = μ N , X ( ω ) to get
∥ u X ( ω ) − f ∥ p ≤ { 1 N ∑ i ∣ u X ( ω ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p } 1 / p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) . \lVert u_X(\omega)-f\rVert_p\le\left\{\frac{1}{N}\sum_i\left|u_X(\omega)(X_i(\omega))-f(X_i(\omega))\right|^p\right\}^{1/p}
+W_p\left([u_X(\omega)-f]_{\#}\mu,[u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}\right). ∥ u X ( ω ) − f ∥ p ≤ { N 1 i ∑ ∣ u X ( ω ) ( X i ( ω )) − f ( X i ( ω )) ∣ p } 1/ p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) .
Then, since u X ( ω ) u_X(\omega) u X ( ω ) is a minimiser of the discrete problem we obtain for any φ ∈ V N \varphi\in V_N φ ∈ V N ,
∥ u X ( ω ) − f ∥ p ≤ { 1 N ∑ i ∣ φ ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p } 1 / p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) . \lVert u_X(\omega)-f\rVert_p\le\left\{\frac{1}{N}\sum_i\left|\varphi(X_i(\omega))-f(X_i(\omega))\right|^p\right\}^{1/p}
+W_p\left([u_X(\omega)-f]_{\#}\mu,[u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}\right). ∥ u X ( ω ) − f ∥ p ≤ { N 1 i ∑ ∣ φ ( X i ( ω )) − f ( X i ( ω )) ∣ p } 1/ p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) .
In addition
∫ Ω 1 N ∑ i ∣ φ ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p d P ( ω ) = ∫ Ω ∣ φ ( x ) − f ( x ) ∣ p d μ ( x ) . \int_{\Omega}\frac{1}{N}\sum_i\left|\varphi(X_i(\omega))-f(X_i(\omega))\right|^p\,\mathrm{d}\mathbb{P}(\omega)
=\int_{\Omega}|\varphi(x)-f(x)|^p\,\mathrm{d}\mu(x). ∫ Ω N 1 i ∑ ∣ φ ( X i ( ω )) − f ( X i ( ω )) ∣ p d P ( ω ) = ∫ Ω ∣ φ ( x ) − f ( x ) ∣ p d μ ( x ) .
Since x ↦ x 1 / p x\mapsto x^{1/p} x ↦ x 1/ p is concave, Jensen’s inequality gives E [ E N , ⋅ ( φ ) 1 / p ] ≤ ∥ φ − f ∥ p \mathbb{E}[\mathcal{E}_{N,\cdot}(\varphi)^{1/p}]\le\lVert\varphi-f\rVert_p E [ E N , ⋅ ( φ ) 1/ p ] ≤ ∥ φ − f ∥ p ; together with the measurability of ω ↦ u X ( ω ) \omega\mapsto u_X(\omega) ω ↦ u X ( ω ) , assumed in § 1.0.1.1 , this yields the estimate in expectation below. We conclude therefore to the estimate:
Theorem 6 (ESTIMATE OF THE GENERALISATION ERROR ) Consider for each ω ∈ Ω \omega\in\Omega ω ∈ Ω the problem
min v ∈ V N E N , ω ( v ) \min_{v\in V_N}\mathcal{E}_{N,\omega}(v) v ∈ V N min E N , ω ( v ) and its solution u X ( ω ) u_X(\omega) u X ( ω ) , the V N V_N V N –probabilistic deep neural network interpolant of f f f at X = ( X 1 , … , X N ) X=(X_1,\ldots,X_N) X = ( X 1 , … , X N ) . Then for each f ∈ L p ( μ ) f\in L^p(\mu) f ∈ L p ( μ ) , ω ∈ Ω \omega\in\Omega ω ∈ Ω , and φ ∈ V N \varphi\in V_N φ ∈ V N ,
∥ u X ( ω ) − f ∥ p ≤ { 1 N ∑ i ∣ φ ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ p } 1 / p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) . \lVert u_X(\omega)-f\rVert_p\le\left\{\frac{1}{N}\sum_i\left|\varphi(X_i(\omega))-f(X_i(\omega))\right|^p\right\}^{1/p}
+W_p\left([u_X(\omega)-f]_{\#}\mu,[u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}\right). ∥ u X ( ω ) − f ∥ p ≤ { N 1 i ∑ ∣ φ ( X i ( ω )) − f ( X i ( ω )) ∣ p } 1/ p + W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) . In particular;
E [ ∥ u X ( ⋅ ) − f ∥ p ] ≤ inf φ ∈ V N ∥ φ − f ∥ p + E [ W p ( [ u X ( ⋅ ) − f ] # μ , [ u X ( ⋅ ) − f ] # μ N , X ) ] . \mathbb{E}\left[\lVert u_{\mathbf{X}}(\cdot)-f\rVert_p\right]\le\inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p+\mathbb{E}\left[W_p\left([u_{\mathbf{X}}(\cdot)-f]_{\#}\mu,[u_{\mathbf{X}}(\cdot)-f]_{\#}\mu_{N,\mathbf{X}}\right)\right]. E [ ∥ u X ( ⋅ ) − f ∥ p ] ≤ φ ∈ V N inf ∥ φ − f ∥ p + E [ W p ( [ u X ( ⋅ ) − f ] # μ , [ u X ( ⋅ ) − f ] # μ N , X ) ] .
This simple estimate involves two terms: the first is a pure approximability term reflecting the expressive capacity of the V N V_N V N space, while the second measures the Monte-Carlo integration error in this non-trivial setting. The latter is closely related to optimal matching problems , a well-studied class of random problems in probability and mathematical physics concerning the distance between empirical measures and their underlying law, or between sets of randomly sampled points in R d \mathbb{R}^d R d . See, for example, [76 ] ; [3 ] ; [12 , 9 , 10 , 11 , 42 , 168 , 170 , 169 , 171 ] , see also [146 ] for the relevance of these bounds in statistics.
The asymptotic behaviour of E [ W p ( ν , ν N ) ] \mathbb{E}[W_p(\nu,\nu_N)] E [ W p ( ν , ν N )] , where ν N \nu_N ν N is the empirical measure associated with N N N independent samples drawn from ν \nu ν , has been studied extensively. Recent PDE-based approaches provide upper and lower bounds, see [12 , 10 , 11 ] , suggesting that, for d ≥ 2 d\ge2 d ≥ 2 ,
E [ W p p ( ν , ν N ) ] ≍ N − p / d , (91) \mathbb{E}[W_p^p(\nu,\nu_N)]\asymp N^{-p/d}, \tag*{(91)} E [ W p p ( ν , ν N )] ≍ N − p / d , (91)
up to a logarithmic factor in the critical case d = 2 d=2 d = 2 . In particular, [76 ] yields, for d > 2 p d>2p d > 2 p and under suitable moment assumptions on ν \nu ν ,
E [ W p ( ν , ν N ) ] ≤ C ( ν ) N − 1 / d , (92) \mathbb{E}[W_p(\nu,\nu_N)]\le C(\nu)N^{-1/d}, \tag*{(92)} E [ W p ( ν , ν N )] ≤ C ( ν ) N − 1/ d , (92)
with a logarithmic correction in the critical case d = 2 p d=2p d = 2 p . The dimension that enters here is in fact the intrinsic dimension of ν \nu ν rather than that of the ambient space: by [179 ] , the rate is N − 1 / d ∗ N^{-1/d^*} N − 1/ d ∗ with d ∗ d^* d ∗ the upper Wasserstein dimension of ν \nu ν , which is smaller than d d d when ν \nu ν is concentrated on a lower-dimensional set; see also [104 ] for related results on empirical optimal transport. For a measure ν \nu ν chosen by us, such as the uniform distribution on Ω \Omega Ω , d ∗ = d d^*=d d ∗ = d and there is no gain; for data-driven problems, in which ν \nu ν is the data distribution, the gain can be substantial.
The second term in the estimate can be bounded through the inputs: for a Lipschitz map ξ \xi ξ and any plan π ∈ A ( μ , ν ) \pi\in A(\mu,\nu) π ∈ A ( μ , ν ) , ∫ ∣ ξ ( x ) − ξ ( y ) ∣ p d π ≤ Lip ( ξ ) p ∫ ∣ x − y ∣ p d π \int|\xi(x)-\xi(y)|^p\,\mathrm{d}\pi\le\operatorname{Lip}(\xi)^p\int|x-y|^p\,\mathrm{d}\pi ∫ ∣ ξ ( x ) − ξ ( y ) ∣ p d π ≤ Lip ( ξ ) p ∫ ∣ x − y ∣ p d π , so that, by (30) ,
W p ( ξ # μ , ξ # ν ) ≤ Lip ( ξ ) W p ( μ , ν ) . (93) W_p(\xi_{\#}\mu,\xi_{\#}\nu)\le\operatorname{Lip}(\xi)W_p(\mu,\nu). \tag*{(93)} W p ( ξ # μ , ξ # ν ) ≤ Lip ( ξ ) W p ( μ , ν ) . (93)
The next result essentially states that under a uniform bound on the Lipschitz constants of the computed minimisers, the expected generalisation error is bounded by the best approximation error of the network space plus the rate at which empirical measures approach their law. We thus have:
Proposition 1 (asymptotic bound of the generalisation error ) Let u X ( ω ) u_{\mathbf{X}}(\omega) u X ( ω ) be the V N V_N V N -probabilistic deep neural network interpolant of f f f at X = ( X 1 , … , X N ) \mathbf{X}=(X_1,\ldots,X_N) X = ( X 1 , … , X N ) . Assume that f f f is Lipschitz and let us denote the Lipschitz constant of u X ( ω ) − f u_{\mathbf{X}}(\omega)-f u X ( ω ) − f by L X ( ω ) L_{\mathbf{X}}(\omega) L X ( ω ) . We denote by E N ( ν ) E_N(\nu) E N ( ν ) ,
E N ( ν ) = E [ W p ( ν , ν N ) ] . E_N(\nu)=\mathbb{E}[W_p(\nu,\nu_N)]. E N ( ν ) = E [ W p ( ν , ν N )] . Then, if P-a.s.,
L X ≤ L N (94) L_{\mathbf{X}}\le L_N \tag*{(94)} L X ≤ L N (94)
we have
E [ ∥ u X ( ⋅ ) − f ∥ p ] ≤ inf φ ∈ V N ∥ φ − f ∥ p + L N E N ( μ ) . (95) \mathbb{E}[\lVert u_X(\cdot)-f\rVert_p]\leq\inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p+L_N E_N(\mu). \tag*{(95)} E [∥ u X ( ⋅ ) − f ∥ p ] ≤ φ ∈ V N inf ∥ φ − f ∥ p + L N E N ( μ ) . (95)
Furthermore, if
inf φ ∈ V N ∥ φ − f ∥ p → 0 and L N E N ( μ ) → 0 , (96) \inf_{\varphi\in V_N}\lVert\varphi-f\rVert_p\to0\qquad\text{and}\qquad L_N E_N(\mu)\to0, \tag*{(96)} φ ∈ V N inf ∥ φ − f ∥ p → 0 and L N E N ( μ ) → 0 , (96)
as the network space is enriched and N → ∞ N\to\infty N → ∞ , respectively, we conclude that
E [ ∥ u X ( ⋅ ) − f ∥ p ] → 0. (97) \mathbb{E}[\lVert u_X(\cdot)-f\rVert_p]\to0. \tag*{(97)} E [∥ u X ( ⋅ ) − f ∥ p ] → 0. (97)
Two remarks are in order. The uniform bound (94) on the Lipschitz constants of the computed interpolants is an assumption of the kind discussed in § 1.9.1.1 : it is not derived from the scheme, and it may be restrictive. The per-instance estimate of the theorem does not require it, and in its Lipschitz form (93) the constant L X ( ω ) L_X(\omega) L X ( ω ) is that of the computed network, a quantity that can be measured a posteriori.
In view of (92) , the bound (95) has an unfavourable dependence on the dimension d d d . However, this results from a crude estimate of the term
W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) . W_p\left([u_X(\omega)-f]_{\#}\mu,[u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}\right). W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) .
Indeed, the measure ν = [ u X ( ω ) − f ] # μ \nu=[u_X(\omega)-f]_{\#}\mu ν = [ u X ( ω ) − f ] # μ is one-dimensional, while
[ u X ( ω ) − f ] # μ N , X ( ω ) = 1 N ∑ i δ [ u X ( ω ) − f ] ( X i ( ω ) ) [u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}=\frac{1}{N}\sum_i\delta_{[u_X(\omega)-f](X_i(\omega))} [ u X ( ω ) − f ] # μ N , X ( ω ) = N 1 i ∑ δ [ u X ( ω ) − f ] ( X i ( ω ))
Note that it is not the empirical measure of i.i.d. samples of ν \nu ν , since u X ( ω ) u_X(\omega) u X ( ω ) depends on all the X i X_i X i . For genuine empirical measures in one dimension, [76 ] yields
E [ W p p ( ν , ν N ) ] ≤ C ( ν ) N − 1 / 2 , i.e. E [ W p ( ν , ν N ) ] ≤ C ( ν ) N − 1 / ( 2 p ) , (98) \mathbb{E}[W_p^p(\nu,\nu_N)]\leq C(\nu)N^{-1/2},\qquad\text{i.e.}\qquad\mathbb{E}[W_p(\nu,\nu_N)]\leq C(\nu)N^{-1/(2p)}, \tag*{(98)} E [ W p p ( ν , ν N )] ≤ C ( ν ) N − 1/2 , i.e. E [ W p ( ν , ν N )] ≤ C ( ν ) N − 1/ ( 2 p ) , (98)
and the sharper rate E [ W p ( ν , ν N ) ] ≤ C ( ν ) N − 1 / 2 \mathbb{E}[W_p(\nu,\nu_N)]\leq C(\nu)N^{-1/2} E [ W p ( ν , ν N )] ≤ C ( ν ) N − 1/2 holds under additional conditions on ν \nu ν , for instance for measures with a density bounded away from zero on an interval; the one-dimensional case is studied in detail in [34 ] . One may therefore expect, under suitable conditions on the law of u X ( ω ) − f u_X(\omega)-f u X ( ω ) − f ,
E [ W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) ] ≤ C N − 1 / 2 . (99) \mathbb{E}\left[W_p\left([u_X(\omega)-f]_{\#}\mu,[u_X(\omega)-f]_{\#}\mu_{N,X(\omega)}\right)\right]\leq C N^{-1/2}. \tag*{(99)} E [ W p ( [ u X ( ω ) − f ] # μ , [ u X ( ω ) − f ] # μ N , X ( ω ) ) ] ≤ C N − 1/2 . (99)
Establishing (99) is an interesting open problem; preliminary numerical evidence suggests that the observed behaviour is indeed compatible with this rate.
An important practical consequence is that the Wasserstein distances appearing in these estimates are distances between measures on the real line, for which W p W_p W p between two empirical measures is computed exactly by sorting, through the quantile representation of one-dimensional optimal transport, at a cost of O ( N log N ) O(N\log N) O ( N log N ) ; no approximate transport algorithm is needed. Thus, beyond providing theoretical error bounds, our framework offers a route to the empirical estimation of the generalisation error . The term W p ( [ u X − f ] # μ , [ u X − f ] # μ N , X ) W_p([u_X-f]_{\#}\mu,[u_X-f]_{\#}\mu_{N,X}) W p ([ u X − f ] # μ , [ u X − f ] # μ N , X ) itself is not computable, since it involves f f f everywhere, but the same argument with an independent validation sample Y 1 , … , Y M Y_1,\ldots,Y_M Y 1 , … , Y M of μ \mu μ , independent of X X X , with empirical measure μ M ′ \mu'_M μ M ′ , gives
∥ u X − f ∥ p ≤ { 1 M ∑ j = 1 M ∣ u X ( Y j ) − f ( Y j ) ∣ p } 1 / p + W p ( [ u X − f ] # μ , [ u X − f ] # μ M ′ ) . (100) \|u_X-f\|_p \le\left\{\frac{1}{M}\sum_{j=1}^{M}|u_X(Y_j)-f(Y_j)|^p\right\}^{1/p}+W_p([u_X-f]_{\#}\mu,[u_X-f]_{\#}\mu'_M). \tag*{(100)} ∥ u X − f ∥ p ≤ { M 1 j = 1 ∑ M ∣ u X ( Y j ) − f ( Y j ) ∣ p } 1/ p + W p ([ u X − f ] # μ , [ u X − f ] # μ M ′ ) . (100)
Conditionally on the training sample X X X , the function u X − f u_X-f u X − f is fixed and μ M ′ \mu'_M μ M ′ is the empirical measure of genuine i.i.d. samples, so that the last term is a one-dimensional empirical term to which (98) applies, with a rate that does not depend on d d d . The first term is the validation loss used in practice; what the one-dimensional push-forward adds is an explicit, dimension-free control of its error. The open problem (99) concerns the training term only. This idea is particularly relevant to the PDE learning methods discussed next.
A posteriori estimates for PINNs
Now we turn to a linear elliptic PDE, i.e., boundary value problems of the form,
{ L u = f in Ω u = 0 on ∂ Ω (101) \begin{cases}
Lu=f & \text{in }\Omega\\
u=0 & \text{on }\partial\Omega \tag*{(101)}
\end{cases} { Lu = f u = 0 in Ω on ∂ Ω (101)
where u : Ω ⊂ R d → R u:\Omega\subset\mathbb{R}^d\to\mathbb{R} u : Ω ⊂ R d → R , Ω \Omega Ω is an open, bounded set with smooth enough boundary, f ∈ L 2 ( Ω ) f\in L^2(\Omega) f ∈ L 2 ( Ω ) and L L L a self-adjoint elliptic operator as defined in § 1.3.0.1 .
As before, we consider a collection Y , X 1 , X 2 , … Y,X_1,X_2,\ldots Y , X 1 , X 2 , … of i.i.d. Ω \Omega Ω -valued random variables with common law μ \mu μ . Further we shall need boundary points through X 1 b , X 2 b , … X_1^b,X_2^b,\ldots X 1 b , X 2 b , … of i.i.d. ∂ Ω \partial\Omega ∂ Ω -valued random variables, defined on a corresponding probability space with common law μ S \mu_S μ S , and for g ∈ L p ( ∂ Ω , μ S ) g\in L^p(\partial\Omega,\mu_S) g ∈ L p ( ∂ Ω , μ S )
∫ ∂ Ω g ( x ) d μ S ( x ) = ∫ Ω ~ g ( X i b ( ω ~ ) ) d P ~ ( ω ~ ) . (102) \int_{\partial\Omega}g(x)\,\mathrm{d}\mu_S(x)=\int_{\widetilde{\Omega}}g(X_i^b(\widetilde{\omega}))\,\mathrm{d}\widetilde{\mathbb{P}}(\widetilde{\omega}). \tag*{(102)} ∫ ∂ Ω g ( x ) d μ S ( x ) = ∫ Ω g ( X i b ( ω )) d P ( ω ) . (102)
Monte Carlo integration is formulated as follows: let ω ∈ Ω \omega\in\Omega ω ∈ Ω , ω ~ ∈ Ω ~ \widetilde{\omega}\in\widetilde{\Omega} ω ∈ Ω be fixed. Consider the discrete energy,
E N , ω , ω ~ ( g ) = 1 N ∑ i ∣ L g ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ 2 + 1 N b ∑ j ∣ g ( X j b ( ω ~ ) ) ∣ 2 . (103) \mathcal{E}_{N,\omega,\widetilde{\omega}}(g)=\frac{1}{N}\sum_i\left|Lg(X_i(\omega))-f(X_i(\omega))\right|^2+\frac{1}{N_b}\sum_j\left|g(X_j^b(\widetilde{\omega}))\right|^2. \tag*{(103)} E N , ω , ω ( g ) = N 1 i ∑ ∣ Lg ( X i ( ω )) − f ( X i ( ω )) ∣ 2 + N b 1 j ∑ g ( X j b ( ω )) 2 . (103)
The method considered, in this section is: for each instance ω ∈ Ω \omega\in\Omega ω ∈ Ω , ω ~ ∈ Ω ~ \widetilde{\omega}\in\widetilde{\Omega} ω ∈ Ω we seek solutions to the minimisation problem
min v ∈ V N E N , ω , ω ~ ( v ) . (104) \min_{v\in V_N}\mathcal{E}_{N,\omega,\widetilde{\omega}}(v). \tag*{(104)} v ∈ V N min E N , ω , ω ( v ) . (104)
We denote by u X ( ω , ω ~ ) = u ⋆ ( ω , ω ~ , ⋅ ) u_{\mathbf{X}}(\omega,\tilde{\omega})=u^\star(\omega,\tilde{\omega},\cdot) u X ( ω , ω ~ ) = u ⋆ ( ω , ω ~ , ⋅ ) the V N V_N V N -probabilistic PINN solution of L u = f Lu=f Lu = f at X = ( ( X 1 , … , X N ) , ( X 1 b , … , X N b b ) ) \mathbf{X}=((X_1,\ldots,X_N),(X_1^b,\ldots,X_{N_b}^b)) X = (( X 1 , … , X N ) , ( X 1 b , … , X N b b )) .
As in the previous section we introduce corresponding empirical measures. Now we shall need empirical measures to represent the boundary terms as well. With a slight abuse of notation, for fixed ω , ω ~ \omega,\tilde{\omega} ω , ω ~ , consider the empirical measures,
μ N , X ( ω , ω ~ ) = 1 N ∑ i δ X i ( ω ) , (105) \mu_{N,\mathbf{X}}(\omega,\tilde{\omega})=\frac{1}{N}\sum_i\delta_{X_i(\omega)}, \tag*{(105)} μ N , X ( ω , ω ~ ) = N 1 i ∑ δ X i ( ω ) , (105)
and
μ S , N b , X ( ω , ω ~ ) = 1 N b ∑ i δ X i b ( ω ~ ) . (106) \mu_{S,N_b,\mathbf{X}}(\omega,\tilde{\omega})=\frac{1}{N_b}\sum_i\delta_{X_i^b(\tilde{\omega})}. \tag*{(106)} μ S , N b , X ( ω , ω ~ ) = N b 1 i ∑ δ X i b ( ω ~ ) . (106)
Then, it is useful to observe that the discrete sums can be written as
1 N ∑ i ∣ L g ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ 2 = ∫ Ω ∣ L g ( x ) − f ( x ) ∣ 2 d μ N , X ( ω ) ( x ) . (107) \frac{1}{N}\sum_i\left|Lg(X_i(\omega))-f(X_i(\omega))\right|^2=\int_{\Omega}|Lg(x)-f(x)|^2\,\mathrm{d}\mu_{N,\mathbf{X}}(\omega)(x). \tag*{(107)} N 1 i ∑ ∣ Lg ( X i ( ω )) − f ( X i ( ω )) ∣ 2 = ∫ Ω ∣ Lg ( x ) − f ( x ) ∣ 2 d μ N , X ( ω ) ( x ) . (107)
Similarly,
1 N b ∑ j ∣ g ( X j b ( ω ~ ) ) ∣ 2 = ∫ ∂ Ω ∣ g ( x ) ∣ 2 d μ S , N b , X ( ω , ω ~ ) ( x ) . (108) \frac{1}{N_b}\sum_j|g(X_j^b(\tilde{\omega}))|^2=\int_{\partial\Omega}|g(x)|^2\,\mathrm{d}\mu_{S,N_b,\mathbf{X}}(\omega,\tilde{\omega})(x). \tag*{(108)} N b 1 j ∑ ∣ g ( X j b ( ω ~ )) ∣ 2 = ∫ ∂ Ω ∣ g ( x ) ∣ 2 d μ S , N b , X ( ω , ω ~ ) ( x ) . (108)
Notice that we have,
1 N ∑ i = 1 N E [ ∣ L g ( X i ) − f ( X i ) ∣ 2 ] = ∥ L g − f ∥ L 2 ( Ω ) 2 , 1 N b ∑ i = 1 N b E [ ∣ g ( X i b ) ∣ 2 ] = ∥ g ∥ L 2 ( ∂ Ω ) 2 . (109) \begin{aligned}
\frac{1}{N}\sum_{i=1}^{N}\mathbb{E}\left[|Lg(X_i)-f(X_i)|^2\right]&=\|Lg-f\|_{L^2(\Omega)}^2,\\
\frac{1}{N_b}\sum_{i=1}^{N_b}\mathbb{E}\left[|g(X_i^b)|^2\right]&=\|g\|_{L^2(\partial\Omega)}^2. \tag*{(109)}
\end{aligned} N 1 i = 1 ∑ N E [ ∣ Lg ( X i ) − f ( X i ) ∣ 2 ] N b 1 i = 1 ∑ N b E [ ∣ g ( X i b ) ∣ 2 ] = ∥ Lg − f ∥ L 2 ( Ω ) 2 , = ∥ g ∥ L 2 ( ∂ Ω ) 2 . (109)
These identities require μ \mu μ and μ S \mu_S μ S to be the normalised Lebesgue and surface measures on Ω \Omega Ω and ∂ Ω \partial\Omega ∂ Ω , which we assume in this section.
The following theorem states, in essence, that for every training set, the residual and the boundary values of the computed PINN solution are bounded by the computed loss plus one-dimensional Wasserstein terms of a posteriori nature, with no assumption on the network space.
Theorem 7 (A posteriori error estimate for each instance) Consider for each ω ∈ Ω \omega\in\Omega ω ∈ Ω , ω ~ ∈ Ω ~ \tilde{\omega}\in\widetilde{\Omega} ω ~ ∈ Ω the problem
min v ∈ V N E N , ω , ω ~ ( v ) . (110) \min_{v\in V_N}\mathcal{E}_{N,\omega,\tilde{\omega}}(v). \tag*{(110)} v ∈ V N min E N , ω , ω ~ ( v ) . (110) We denote by u X ( ω , ω ~ ) = u ⋆ ( ω , ω ~ , ⋅ ) u_{\mathbf{X}}(\omega,\tilde{\omega})=u^\star(\omega,\tilde{\omega},\cdot) u X ( ω , ω ~ ) = u ⋆ ( ω , ω ~ , ⋅ ) the V N V_N V N -probabilistic PINN solution of L u = f Lu=f Lu = f at X = ( ( X 1 , … , X N ) , ( X 1 b , … , X N b b ) ) \mathbf{X}=((X_1,\ldots,X_N),(X_1^b,\ldots,X_{N_b}^b)) X = (( X 1 , … , X N ) , ( X 1 b , … , X N b b )) . Then for each ω ∈ Ω \omega\in\Omega ω ∈ Ω , ω ~ ∈ Ω ~ \tilde{\omega}\in\widetilde{\Omega} ω ~ ∈ Ω
{ ∫ Ω ∣ L u X ( ω , ω ~ ) − L u ( y ) ∣ 2 d μ ( y ) } 1 / 2 ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1 / 2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) . (111) \left\{\int_{\Omega}\left|Lu_{\mathbf{X}}(\omega,\tilde{\omega})-Lu(y)\right|^2\,\mathrm{d}\mu(y)\right\}^{1/2}\leq\left\{\mathcal{E}_{N,\omega,\tilde{\omega}}(u_{\mathbf{X}}(\omega,\tilde{\omega}))\right\}^{1/2}+W_2\left([Lu_{\mathbf{X}}(\omega,\tilde{\omega})-f]\#\mu,[Lu_{\mathbf{X}}(\omega,\tilde{\omega})-f]\#\mu_{N,\mathbf{X}}(\omega,\tilde{\omega})\right). \tag*{(111)} { ∫ Ω ∣ L u X ( ω , ω ~ ) − Lu ( y ) ∣ 2 d μ ( y ) } 1/2 ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ )) } 1/2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) . (111)
In addition,
{ ∫ ∂ Ω ∣ u X ( ω , ω ~ ) ( s ) ∣ 2 d μ S ( s ) } 1 / 2 ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1 / 2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) . (112) \left\{ \int_{\partial\Omega} \lvert u_X(\omega,\tilde{\omega})(s)\rvert^2 \,d\mu_S(s) \right\}^{1/2}
\le\left\{ \mathcal{E}_{N,\omega,\tilde{\omega}}\left(u_X(\omega,\tilde{\omega})\right) \right\}^{1/2}
+ W_2\left([u_X(\omega,\tilde{\omega})]_{\#}\mu_S,[u_X(\omega,\tilde{\omega})]_{\#}\mu_{S,N^b,X(\omega,\tilde{\omega})}\right). \tag*{(112)} { ∫ ∂ Ω ∣ u X ( ω , ω ~ ) ( s ) ∣ 2 d μ S ( s ) } 1/2 ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1/2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) . (112)
The proof is a simple adaptation of the analysis of the previous section. Notice that
{ ∫ Ω ∣ [ L u X ( ω , ω ~ ) − f ] ( y ) ∣ 2 d μ ( y ) } 1 / 2 = W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , δ 0 ) . (113) \left\{ \int_{\Omega} \lvert[Lu_X(\omega,\tilde{\omega})-f](y)\rvert^2 \,d\mu(y) \right\}^{1/2}
= W_2\left([Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu,\delta_0\right). \tag*{(113)} { ∫ Ω ∣[ L u X ( ω , ω ~ ) − f ] ( y ) ∣ 2 d μ ( y ) } 1/2 = W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , δ 0 ) . (113)
Then, since W 2 W_2 W 2 is a distance,
{ ∫ Ω ∣ [ L u X ( ω , ω ~ ) − f ] ( y ) ∣ 2 d μ ( y ) } 1 / 2 ≤ W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω ) , δ 0 ) + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) = { 1 N ∑ i ∣ L u X ( ω , ω ~ ) ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ 2 } 1 / 2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1 / 2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) . \begin{aligned}
\left\{ \int_{\Omega} \lvert[Lu_X(\omega,\tilde{\omega})-f](y)\rvert^2 \,d\mu(y) \right\}^{1/2}
&\le W_2\left([Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu_{N,X(\omega)},\delta_0\right) \\
&\quad+ W_2\left([Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu,[Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu_{N,X(\omega,\tilde{\omega})}\right) \\
&= \left\{ \frac{1}{N}\sum_i \left\lvert Lu_X(\omega,\tilde{\omega})(X_i(\omega))-f(X_i(\omega))\right\rvert^2 \right\}^{1/2} \\
&\quad+ W_2\left([Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu,[Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu_{N,X(\omega,\tilde{\omega})}\right) \\
&\le\left\{ \mathcal{E}_{N,\omega,\tilde{\omega}}\left(u_X(\omega,\tilde{\omega})\right) \right\}^{1/2} \\
&\quad+ W_2\left([Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu,[Lu_X(\omega,\tilde{\omega})-f]_{\#}\mu_{N,X(\omega,\tilde{\omega})}\right).
\end{aligned} { ∫ Ω ∣[ L u X ( ω , ω ~ ) − f ] ( y ) ∣ 2 d μ ( y ) } 1/2 ≤ W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω ) , δ 0 ) + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) = { N 1 i ∑ ∣ L u X ( ω , ω ~ ) ( X i ( ω )) − f ( X i ( ω )) ∣ 2 } 1/2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1/2 + W 2 ( [ L u X ( ω , ω ~ ) − f ] # μ , [ L u X ( ω , ω ~ ) − f ] # μ N , X ( ω , ω ~ ) ) .
The boundary terms are handled similarly,
{ ∫ ∂ Ω ∣ u X ( ω , ω ~ ) ( s ) ∣ 2 d μ S ( s ) } 1 / 2 = W 2 ( [ u X ( ω , ω ~ ) ] # μ S , δ 0 ) ≤ { 1 N b ∑ j ∣ u X ( ω , ω ~ ) ( X j b ( ω ~ ) ) ∣ 2 } 1 / 2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1 / 2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) . (114) \begin{aligned}
\left\{ \int_{\partial\Omega} \lvert u_X(\omega,\tilde{\omega})(s)\rvert^2 \,d\mu_S(s) \right\}^{1/2}
&= W_2\left([u_X(\omega,\tilde{\omega})]_{\#}\mu_S,\delta_0\right) \\
&\le\left\{ \frac{1}{N_b}\sum_j \left\lvert u_X(\omega,\tilde{\omega})(X_j^b(\tilde{\omega}))\right\rvert^2 \right\}^{1/2} \\
&\quad+ W_2\left([u_X(\omega,\tilde{\omega})]_{\#}\mu_S,[u_X(\omega,\tilde{\omega})]_{\#}\mu_{S,N^b,X(\omega,\tilde{\omega})}\right) \\
&\le\left\{ \mathcal{E}_{N,\omega,\tilde{\omega}}\left(u_X(\omega,\tilde{\omega})\right) \right\}^{1/2} \\
&\quad+ W_2\left([u_X(\omega,\tilde{\omega})]_{\#}\mu_S,[u_X(\omega,\tilde{\omega})]_{\#}\mu_{S,N^b,X(\omega,\tilde{\omega})}\right). \tag*{(114)}
\end{aligned} { ∫ ∂ Ω ∣ u X ( ω , ω ~ ) ( s ) ∣ 2 d μ S ( s ) } 1/2 = W 2 ( [ u X ( ω , ω ~ ) ] # μ S , δ 0 ) ≤ { N b 1 j ∑ u X ( ω , ω ~ ) ( X j b ( ω ~ )) 2 } 1/2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) ≤ { E N , ω , ω ~ ( u X ( ω , ω ~ ) ) } 1/2 + W 2 ( [ u X ( ω , ω ~ ) ] # μ S , [ u X ( ω , ω ~ ) ] # μ S , N b , X ( ω , ω ~ ) ) . (114)
The proof is complete.
The theorem bounds the residual and the boundary values of u X ( ω , ω ~ ) u_X(\omega,\tilde{\omega}) u X ( ω , ω ~ ) , not its error. The step from the one to the other is the stability of the continuous problem, as in § 1.9.1.1 : for the very weak formulation of (101) on a smooth domain, see [126 ] , one has
∥ v ∥ L 2 ( Ω ) ≤ C ( ∥ L v ∥ L 2 ( Ω ) + ∥ v ∥ L 2 ( ∂ Ω ) ) for all v ∈ H 2 ( Ω ) . (115) \lVert v\rVert_{L^2(\Omega)} \le C\left(\lVert Lv\rVert_{L^2(\Omega)}+\lVert v\rVert_{L^2(\partial\Omega)}\right)
\qquad\text{for all } v\in H^2(\Omega). \tag*{(115)} ∥ v ∥ L 2 ( Ω ) ≤ C ( ∥ Lv ∥ L 2 ( Ω ) + ∥ v ∥ L 2 ( ∂ Ω ) ) for all v ∈ H 2 ( Ω ) . (115)
so that, applied to v = u X ( ω , ω ~ ) − u v=u_{\mathbf{X}}(\omega,\widetilde{\omega})-u v = u X ( ω , ω ) − u , the two estimates of the theorem yield a computable a posteriori bound for ∥ u X ( ω , ω ~ ) − u ∥ L 2 ( Ω ) \lVert u_{\mathbf{X}}(\omega,\widetilde{\omega})-u\rVert_{L^2(\Omega)} ∥ u X ( ω , ω ) − u ∥ L 2 ( Ω ) in terms of the loss and the two one-dimensional Wasserstein terms. Notice that the regularity estimate (115) is an indicative bound, and in fact, if the L 2 ( ∂ Ω ) L^2(\partial\Omega) L 2 ( ∂ Ω ) norm is used in the loss, the terms on the right hand side of this bound are not balanced always. The way the boundary data enters the loss is a delicate issue not discussed here in detail, [79 ] .
In [140 ] the cumulative error, i.e., an average over training sets, of generalisation error is estimated by quantities involving integrals over D N D^N D N where N N N is the number of samples. Probabilistic training is considered as well in [159 , 160 , 102 ] using in the analysis, as mentioned above, Rademacher complexity.
Estimates for the generation of measures and for operator learning
Operator learning
The estimates of this section extend to the operator learning problem of § 1.0.1.1 , and it is instructive to state them in that setting, since the comparison with the function learning case shows exactly where the dimension of the input space enters and where it does not. Let X X X be a separable metric space of inputs with a probability measure μ ∈ P p ( X ) \mu\in\mathcal{P}_p(X) μ ∈ P p ( X ) , Y Y Y a separable Hilbert space, G : X → Y \mathcal{G}:X\to Y G : X → Y measurable with ∫ X ∥ G ∥ Y p d μ < ∞ \int_X\lVert\mathcal{G}\rVert_Y^p\,\mathrm{d}\mu<\infty ∫ X ∥ G ∥ Y p d μ < ∞ , and for i.i.d. samples a i = X i ( ω ) a_i=X_i(\omega) a i = X i ( ω ) of μ \mu μ let G X ( ω ) ∈ V N G_{\mathbf{X}(\omega)}\in V_N G X ( ω ) ∈ V N be a minimiser of
E N , ω ( G ) = 1 N ∑ i = 1 N ∥ G ( X i ( ω ) ) − G ( X i ( ω ) ) ∥ Y p = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ N , X ( ω ) ( a ) \mathcal{E}_{N,\omega}(G)=\frac{1}{N}\sum_{i=1}^{N}\lVert G(X_i(\omega))-\mathcal{G}(X_i(\omega))\rVert_Y^p=\int_X\lVert G(a)-\mathcal{G}(a)\rVert_Y^p\,\mathrm{d}\mu_{N,\mathbf{X}(\omega)}(a) E N , ω ( G ) = N 1 i = 1 ∑ N ∥ G ( X i ( ω )) − G ( X i ( ω )) ∥ Y p = ∫ X ∥ G ( a ) − G ( a ) ∥ Y p d μ N , X ( ω ) ( a )
over a class V N V_N V N of neural operators, where μ N , X ( ω ) \mu_{N,\mathbf{X}(\omega)} μ N , X ( ω ) is the empirical measure of the inputs. The error is measured in L p ( X , μ ; Y ) L^p(X,\mu;Y) L p ( X , μ ; Y ) , and the key observation is that both the error and the loss depend on G X ( ω ) G_{\mathbf{X}(\omega)} G X ( ω ) only through the scalar function
ξ ω ( a ) : = ∥ G X ( ω ) ( a ) − G ( a ) ∥ Y , a ∈ X , \xi_\omega(a):=\lVert G_{\mathbf{X}(\omega)}(a)-\mathcal{G}(a)\rVert_Y,\qquad a\in X, ξ ω ( a ) := ∥ G X ( ω ) ( a ) − G ( a ) ∥ Y , a ∈ X ,
since ∥ G X ( ω ) − G ∥ L p ( X , μ ; Y ) = ∥ ξ ω ∥ L p ( X , μ ) \lVert G_{\mathbf{X}(\omega)}-\mathcal{G}\rVert_{L^p(X,\mu;Y)}=\lVert\xi_\omega\rVert_{L^p(X,\mu)} ∥ G X ( ω ) − G ∥ L p ( X , μ ; Y ) = ∥ ξ ω ∥ L p ( X , μ ) and E N , ω ( G X ( ω ) ) = ∥ ξ ω ∥ L p ( X , μ N , X ( ω ) ) \mathcal{E}_{N,\omega}(G_{\mathbf{X}(\omega)})=\lVert\xi_\omega\rVert_{L^p(X,\mu_{N,\mathbf{X}(\omega)})} E N , ω ( G X ( ω ) ) = ∥ ξ ω ∥ L p ( X , μ N , X ( ω ) ) .
The triangle inequality in L p ( π ) L^p(\pi) L p ( π ) used above applies verbatim to ξ ω \xi_\omega ξ ω , with X X X in place of Ω \Omega Ω , and the push-forwards ( ξ ω ) # μ (\xi_\omega)_{\#}\mu ( ξ ω ) # μ and ( ξ ω ) # μ N , X ( ω ) (\xi_\omega)_{\#}\mu_{N,\mathbf{X}(\omega)} ( ξ ω ) # μ N , X ( ω ) are measures on R \mathbb{R} R whatever X X X and Y Y Y are. Hence, for each ω \omega ω and each Φ ∈ V N \Phi\in V_N Φ ∈ V N ,
∥ G X ( ω ) − G ∥ L p ( X , μ ; Y ) ≤ E N , ω ( Φ ) 1 / p + W p ( ( ξ ω ) # μ , ( ξ ω ) # μ N , X ( ω ) ) , (116) \lVert G_{\mathbf{X}(\omega)}-\mathcal{G}\rVert_{L^p(X,\mu;Y)}\leq\mathcal{E}_{N,\omega}(\Phi)^{1/p}+W_p\bigl((\xi_\omega)_{\#}\mu,(\xi_\omega)_{\#}\mu_{N,\mathbf{X}(\omega)}\bigr), \tag*{(116)} ∥ G X ( ω ) − G ∥ L p ( X , μ ; Y ) ≤ E N , ω ( Φ ) 1/ p + W p ( ( ξ ω ) # μ , ( ξ ω ) # μ N , X ( ω ) ) , (116)
and, with the measurability of ω ↦ G X ( ω ) \omega\mapsto G_{\mathbf{X}(\omega)} ω ↦ G X ( ω ) and Jensen’s inequality as before,
E [ ∥ G X ( ⋅ ) − G ∥ L p ( X , μ ; Y ) ] ≤ inf Φ ∈ V N ∥ Φ − G ∥ L p ( X , μ ; Y ) + E [ W p ( ( ξ ⋅ ) # μ , ( ξ ⋅ ) # μ N , X ( ⋅ ) ) ] . (117) \mathbb{E}\bigl[\lVert G_{\mathbf{X}(\cdot)}-\mathcal{G}\rVert_{L^p(X,\mu;Y)}\bigr]\leq\inf_{\Phi\in V_N}\lVert\Phi-\mathcal{G}\rVert_{L^p(X,\mu;Y)}+\mathbb{E}\left[W_p\bigl((\xi_{\cdot})_{\#}\mu,(\xi_{\cdot})_{\#}\mu_{N,\mathbf{X}(\cdot)}\bigr)\right]. \tag*{(117)} E [ ∥ G X ( ⋅ ) − G ∥ L p ( X , μ ; Y ) ] ≤ Φ ∈ V N inf ∥ Φ − G ∥ L p ( X , μ ; Y ) + E [ W p ( ( ξ ⋅ ) # μ , ( ξ ⋅ ) # μ N , X ( ⋅ ) ) ] . (117)
The validation estimate (100) holds in the same form, with the validation loss 1 M ∑ j ∥ G X ( Y j ) − G ( Y j ) ∥ p \frac{1}{M}\sum_j \lVert G_X(Y_j)-G(Y_j)\rVert^p M 1 ∑ j ∥ G X ( Y j ) − G ( Y j ) ∥ p and a one-dimensional Wasserstein term for which (98) applies conditionally on the training sample.
If, in addition, ξ ω \xi_\omega ξ ω is Lipschitz continuous on X X X with constant L X ( ω ) L_X(\omega) L X ( ω ) , which holds when G X ( ω ) G_X(\omega) G X ( ω ) and G G G are Lipschitz from X X X to Y Y Y , then (93) gives
W p ( ( ξ ω ) # μ , ( ξ ω ) # μ N , X ( ω ) ) ≤ L X ( ω ) W p ( μ , μ N , X ( ω ) ) , (118) W_p\bigl((\xi_\omega)_\#\mu,(\xi_\omega)_\#\mu_{N,X(\omega)}\bigr)\le L_X(\omega)W_p\bigl(\mu,\mu_{N,X(\omega)}\bigr), \tag*{(118)} W p ( ( ξ ω ) # μ , ( ξ ω ) # μ N , X ( ω ) ) ≤ L X ( ω ) W p ( μ , μ N , X ( ω ) ) , (118)
and, under a uniform bound L X ≤ L N L_X\le L_N L X ≤ L N as in (94) ,
E [ ∥ G X ( ⋅ ) − G ∥ L p ( X , μ ; Y ) ] ≤ inf Φ ∈ V N ∥ Φ − G ∥ L p ( X , μ ; Y ) + L N E [ W p ( μ , μ N , X ( ⋅ ) ) ] , (119) \mathbb{E}\bigl[\lVert G_{X(\cdot)}-G\rVert_{L^p(X,\mu;Y)}\bigr]\le\inf_{\Phi\in V_N}\lVert\Phi-G\rVert_{L^p(X,\mu;Y)}+L_N\mathbb{E}\bigl[W_p\bigl(\mu,\mu_{N,X(\cdot)}\bigr)\bigr], \tag*{(119)} E [ ∥ G X ( ⋅ ) − G ∥ L p ( X , μ ; Y ) ] ≤ Φ ∈ V N inf ∥ Φ − G ∥ L p ( X , μ ; Y ) + L N E [ W p ( μ , μ N , X ( ⋅ ) ) ] , (119)
where now W p ( μ , μ N , X ) W_p(\mu,\mu_{N,X}) W p ( μ , μ N , X ) is the distance of the empirical measure of the inputs from μ \mu μ on the space X X X .
The comparison with the function learning case is as follows. The estimates (116) and (117) , and the validation estimate, are parallel in form to those of § 2.13.1.1 . As there, the reduction to the scalar ξ ω \xi_\omega ξ ω is an advantage of the approach, since the Wasserstein terms compare measures on the real line, whatever the spaces X X X and Y Y Y are. The output space Y Y Y enters the analysis only in § 2.7.0.1 , where the Y Y Y -valued push-forward and the Hilbert-space setting of [9 Chapter 5] are needed to identify the limit function.
The input space enters only through (118) –(119) , in two ways. First, the Lipschitz continuity of ξ ω \xi_\omega ξ ω is relative to the metric of X X X , and it is well known that the choice of X X X and Y Y Y influences the continuity of the solution operators of PDEs, and of the neural operators that approximate them. Second, the rate of E [ W p ( μ , μ N , X ) ] \mathbb{E}[W_p(\mu,\mu_{N,X})] E [ W p ( μ , μ N , X )] on X X X is no longer given by (92) , which has no analogue in an infinite-dimensional space; it is governed by the intrinsic dimension of the input measure μ \mu μ in the sense of [179 ] . For parametric inputs, which depend on finitely many parameters, this dimension is finite and (119) yields corresponding rates. For infinite-dimensional input measures no rate is available in general, and the Lipschitz route provides convergence without a rate. In contrast, the a posteriori estimates (116) and (100) retain their one-dimensional character in all cases, which is where the present approach differs most from the error analyses of operator learning based on covering numbers of the operator class, see § 2.13.0.1 : those require uniform Lipschitz bounds on the networks and encode the input discretisation in the complexity of the class, whereas here the only network-dependent quantity is the computed L X ( ω ) L_X(\omega) L X ( ω ) , and it enters only the a priori form (119) .
Generation of measures
In the static Wasserstein case of § 2.9.0.1 , the estimates (71) and (72) contain the term W p ( ν d a t a , ν t r u e ) W_p(\nu_{\mathrm{data}},\nu_{\mathrm{true}}) W p ( ν data , ν true ) , the distance of a genuine empirical measure from its law on R k \mathbb{R}^k R k , to which (92) applies with the dimension k k k of the data, or rather with the intrinsic dimension of ν t r u e \nu_{\mathrm{true}} ν true ; this is where the dimension of the data enters the analysis of generative models. When the generator is sampled, the additional term W p ( μ ^ θ M , μ θ ) W_p(\hat{\mu}_{\theta_M},\mu_\theta) W p ( μ ^ θ M , μ θ ) in (74) is bounded by (93) applied to T θ T_\theta T θ ,
W p ( ( T θ ) # γ ^ M , ( T θ ) # γ 0 ) ≤ Lip ( T θ ) W p ( γ ^ M , γ 0 ) , W_p\left((T_\theta)_\#\widehat{\gamma}_M,(T_\theta)_\#\gamma_0\right) \leq\operatorname{Lip}(T_\theta) W_p\left(\widehat{\gamma}_M,\gamma_0\right), W p ( ( T θ ) # γ M , ( T θ ) # γ 0 ) ≤ Lip ( T θ ) W p ( γ M , γ 0 ) ,
which is (75) ; here γ ^ M \widehat{\gamma}_M γ M is the empirical measure of M M M i.i.d. samples of the reference measure γ 0 \gamma_0 γ 0 , so that (92) applies with the latent dimension m m m , and the dependence on the computed generator is confined to its Lipschitz constant, exactly as in the proposition above.
Bibliography and comments
The results of this section are based on the works [127 ] and [111 ] .
Rademacher complexity methods are among the most widely used tools for estimating generalisation error. Related approaches include VC dimension, local Rademacher complexity, and kernel methods; see, for example, [145 ] , [182 ] , [22 ] , [51 ] , [23 ] , [69 ] , [83 ] , and [50 ] , and the references therein.
Optimal transport is an important tool in data science and machine learning; see, for example, [150 ] , [146 ] , and the references therein. More recent developments include [51 ] , [33 ] , and [158 ] and applications to generative models.
In [51 ] , the Rademacher complexity of classes of neural network functions is controlled using Wasserstein distances and their relation to correlation. As in many such approaches, the analysis assumes that the functions in the class satisfy certain structural properties. The resulting bounds provide useful theoretical and empirical tools for understanding and controlling generalisation error.
The estimates of this section provide an alternative to the generalisation bounds of statistical learning theory, which are obtained for empirical risk minimisers over classes that are uniformly bounded and whose size is tied to the number of samples, see e.g. [46 ] for recent rates in terms of the intrinsic dimension of the data: they are a posteriori in nature, hold for any computed approximation with bounded loss, and require no uniform structural assumption on the neural network space, the only network-dependent quantity being the Lipschitz constant of the computed approximation. The rates they yield through (93) depend, by [179 ] , on the intrinsic dimension of the sampling measure rather than on that of the ambient space, so that for data-driven problems they improve in the same way as the rates of statistical learning theory, while requiring no structural assumption; whether dimension-free rates can be derived in this framework remains open. The one-dimensional empirical measures that appear through the push-forward are the subject of [34 ] . For the stability of the weak formulation of elliptic problems used in (115) see [126 ] .
From mathematical analysis to algorithmic design
The framework and analytical findings developed in the previous sections not only provide a better understanding of existing algorithms, but also motivate the design of new methods with potentially improved properties. Several directions naturally emerge from this perspective. These include methods specifically designed to preserve important qualitative properties at the discrete level, training strategies that are more efficient and better adapted to the underlying problem, hybrid approaches that combine well-established numerical techniques such as finite elements with neural-network minimisation, and, more fundamentally, the exploitation of alternative variational principles as a basis for the design of new algorithms.
A central finding of our analysis is that the stability and efficiency of neural-network methods may be strongly influenced by the properties of the underlying continuous variational problem. In particular, strong coercivity of the parent continuous functional can provide a robust foundation for the corresponding neural-network minimisation problem. This observation suggests a natural strategy for algorithmic design: rather than starting from a given differential equation and applying a standard neural-network approximation, we seek alternative variational formulations of the problem that possess particularly favourable analytical properties, and then use these formulations to construct the corresponding discrete neural-network methods.
This viewpoint opens up a two-way interaction between mathematical analysis and algorithmic design. On the one hand, identifying strongly coercive or otherwise stable variational principles can lead to neural-network algorithms with improved stability, robustness, and potentially more efficient training. On the other hand, the search for such formulations raises new mathematical questions concerning the underlying differential equations and their equivalent variational structures. In particular, alternative variational principles may reveal analytical properties that are not apparent from the original formulation and may provide new tools for understanding the behaviour of both the continuous problem and its numerical approximations.
It is important to emphasise that neural-network minimisation provides a particularly flexible framework for exploiting this idea. Once a suitable variational principle has been identified, the same general minimisation mechanism can be adapted to a wide range of formulations and problems. In this sense, neural-network spaces and optimisation procedures can serve as a common computational framework within which different continuous variational principles can be discretised and compared. This flexibility allows sequences of neural-network minimisation problems to approximate a broad class of continuous problems while retaining, at least in principle, the stability properties inherited from the underlying variational formulation.
The resulting philosophy is therefore not simply to apply neural networks to existing numerical formulations, but to use the flexibility of neural-network minimisation as a tool for exploring and exploiting new variational structures. In the following sections, we pursue this approach by considering alternative variational principles and investigating their analytical properties, with particular emphasis on coercivity, stability, and their implications for the design of reliable numerical methods. The four examples that follow illustrate the two observations of § 0.0.1 : Runge–Kutta PINNs and training with finite elements concern the second, the design of time and space discretisations that retain the coercivity of the continuous functional, while the variational principles for the Helmholtz equation and the deep Uzawa methods concern the first, the choice of a continuous variational principle with strong coercivity.
Runge-Kutta PINNs
In this section, we consider time-dependent PDEs discretised by a class of Physics-Informed Neural Networks based on Runge–Kutta and related time-Galerkin methods. The motivation is not only to achieve higher-order accuracy, but also to control the qualitative behaviour of the discrete solutions. Such structure-preserving properties are central in numerical analysis, with well-established applications to wave and Schrödinger equations, diffusion, geometric and structure-preserving methods, and the Navier–Stokes equations; see, e.g., [40 ] , [55 ] , [56 ] , [41 ] , [39 ] , [96 ] , [97 ] , [172 ] .
Physics-Informed Neural Networks are based on minimising the L 2 L^2 L 2 norm of the residual of an evolution PDE over a prescribed neural network space. The resulting loss requires numerical quadrature of the space-time integrals, typically using Monte Carlo or Quasi-Monte Carlo methods, particularly in high dimensions. However, the effect of these discrete losses on the qualitative behaviour of the resulting approximations remains largely unexplored. Even for the scalar wave equation, it is unclear whether, and under what conditions, such methods preserve fundamental conservation properties.
We propose a training approach based on two principles: (a) the discrete loss is designed within a time-discrete framework , and (b) the final loss incorporates a Runge–Kutta or time-Galerkin discretisation in a suitably structured form. We show that the resulting methods inherit the stability properties of the underlying time-discrete schemes and exhibit computational behaviour consistent with them. Since the time discretisation affects only the temporal variable, the approach is particularly well suited to high-dimensional evolution problems.
A linear model problem
To motivate our approach we consider as a model problem a linear parabolic equation, as before,
{ u t + L u = f in Ω T , u = 0 on ∂ Ω × ( 0 , T ] , u = u 0 in Ω , (120) \begin{cases}
u_t + Lu = f & \text{in } \Omega_T,\\
u = 0 & \text{on } \partial\Omega\times(0,T],\\
u = u^0 & \text{in } \Omega, \tag*{(120)}
\end{cases} ⎩ ⎨ ⎧ u t + Lu = f u = 0 u = u 0 in Ω T , on ∂ Ω × ( 0 , T ] , in Ω , (120)
where f ∈ L 2 ( Ω T ) f \in L^2(\Omega_T) f ∈ L 2 ( Ω T ) , u 0 ∈ H 0 1 ( Ω ) u^0 \in H_0^1(\Omega) u 0 ∈ H 0 1 ( Ω ) , and L L L is a coercive, self-adjoint, second order elliptic operator. The associated energies used will be the L 2 L^2 L 2 -residuals
E ( v ) = ∫ 0 T ∫ Ω ∣ v t + L v − f ∣ 2 d x d t + ∣ v ( 0 ) − u 0 ∣ H 0 1 2 (121) \mathcal{E}(v) = \int_0^T \int_\Omega|v_t + Lv - f|^2 \, \mathrm{d}x\,\mathrm{d}t + |v(0) - u^0|_{H^1_0}^2 \tag*{(121)} E ( v ) = ∫ 0 T ∫ Ω ∣ v t + Lv − f ∣ 2 d x d t + ∣ v ( 0 ) − u 0 ∣ H 0 1 2 (121)
defined over smooth enough functions and domains Ω \Omega Ω . The choice of the H 1 H^1 H 1 seminorm for the initial condition, ∣ v − u 0 ∣ H 1 \lvert v-u^0\rvert_{H^1} ∣ v − u 0 ∣ H 1 , is done in order to obtain a balanced energy which is particularly convenient in the analysis; obviously other choices are possible.
As usual we consider neural network spaces as basis for our discretisation. To avoid extra technical problems, it will be useful to consider, following [166 ] , the set of functions which exactly satisfy the boundary conditions through appropriate distance functions depending only on the domain Ω \Omega Ω . If Φ \Phi Φ is such a function, we define
V N , 0 = { u θ : Ω → R , where u θ ( x , t ) = Φ ( x ) C L ( x , t ) , for some C L ∈ N } . (122) V_{N,0}=\{u_\theta:\Omega\to\mathbb{R},\ \text{where }u_\theta(x,t)=\Phi(x)C_L(x,t),\ \text{for some }C_L\in\mathbb{N}\}. \tag*{(122)} V N , 0 = { u θ : Ω → R , where u θ ( x , t ) = Φ ( x ) C L ( x , t ) , for some C L ∈ N } . (122)
Then, V N , 0 ⊂ H 1 ( ( 0 , T ) ; L 2 ( Ω ) ) ∩ L 2 ( ( 0 , T ) ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) V_{N,0}\subset H^1((0,T);L^2(\Omega))\cap L^2((0,T);H^2(\Omega)\cap H^1_0(\Omega)) V N , 0 ⊂ H 1 (( 0 , T ) ; L 2 ( Ω )) ∩ L 2 (( 0 , T ) ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) , for smooth enough activation function σ \sigma σ .
Deterministic and probabilistic training
Approximating integrals using probabilistic quadrature rules are based on a collection X 1 , X 2 , … X_1,X_2,\ldots X 1 , X 2 , … of i.i.d. Ω T \Omega_T Ω T -valued random variables, defined on an appropriate probability space corresponding to sample points in Ω T \Omega_T Ω T . Let ω \omega ω be a fixed instance, and X i ( ω ) ∈ Ω T X_i(\omega)\in\Omega_T X i ( ω ) ∈ Ω T be the corresponding values of the random variables. Monte Carlo approximation of the space-time integral yields the discrete sum
E N , ω ( v ) = 1 N ∑ i = 1 N ∣ v t ( X i ( ω ) ) + L v ( X i ( ω ) ) − f ( X i ( ω ) ) ∣ 2 . (123) \mathcal{E}_{N,\omega}(v)=\frac{1}{N}\sum_{i=1}^{N}\left|v_t(X_i(\omega))+Lv(X_i(\omega))-f(X_i(\omega))\right|^2. \tag*{(123)} E N , ω ( v ) = N 1 i = 1 ∑ N ∣ v t ( X i ( ω )) + Lv ( X i ( ω )) − f ( X i ( ω )) ∣ 2 . (123)
The discrete minimisation problem for each instance is
min v ∈ V N , 0 E N , ω ( v ) + E N , ω 0 ( v ) , (124) \min_{v\in V_{N,0}}\mathcal{E}_{N,\omega}(v)+\mathcal{E}^0_{N,\omega}(v), \tag*{(124)} v ∈ V N , 0 min E N , ω ( v ) + E N , ω 0 ( v ) , (124)
where E N , ω 0 ( v ) \mathcal{E}^0_{N,\omega}(v) E N , ω 0 ( v ) is a Monte Carlo approximation of the initial condition. One of the main advantages of these discretisations is that they scale reasonably with the dimension, and are thus preferable for high-dimensional operators L L L .
In contrast to the above approach, Runge–Kutta PINN algorithms are based on time-discrete training , where the time variable is discretised first. To fix notation, let, as in § 1.4.0.1 , 0 = t 0 < t 1 < ⋯ < t N = T 0=t^0<t^1<\cdots<t^N=T 0 = t 0 < t 1 < ⋯ < t N = T define a partition of [ 0 , T ] [0,T] [ 0 , T ] , and set I n : = ( t n − 1 , t n ] I_n:=(t^{n-1},t^n] I n := ( t n − 1 , t n ] and k n : = t n − t n − 1 k_n:=t^n-t^{n-1} k n := t n − t n − 1 , n = 1 , … , N n=1,\ldots,N n = 1 , … , N . We denote by v m ( ⋅ ) v^m(\cdot) v m ( ⋅ ) and f m ( ⋅ ) f^m(\cdot) f m ( ⋅ ) the values v ( ⋅ , t m ) v(\cdot,t^m) v ( ⋅ , t m ) and f ( ⋅ , t m ) f(\cdot,t^m) f ( ⋅ , t m ) , respectively. A simple time-discrete version of the functional (121) was introduced in § 1.4.0.1 :
G k , I E ( v ) = ∑ n = 1 N k n ∫ Ω ∣ v n − v n − 1 k n + L v n − f n ∣ 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 . (125) \mathcal{G}_{k,\mathrm{IE}}(v)=\sum_{n=1}^{N}k_n\int_{\Omega}\left|\frac{v^n-v^{n-1}}{k_n}+Lv^n-f^n\right|^2\,\mathrm{d}x+\lvert v^0-u^0\rvert_{H^1(\Omega)}^2. \tag*{(125)} G k , IE ( v ) = n = 1 ∑ N k n ∫ Ω k n v n − v n − 1 + L v n − f n 2 d x + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 . (125)
The analysis of § 2.11.0.1 suggests a deeper connection between standard stability notions for time discretisations and this class of neural network algorithms. A key step in establishing this connection is an alternative representation of the time-discrete functional in terms of suitable reconstructions:
v ^ ( t ) : = ℓ 0 n ( t ) v n − 1 + ℓ 1 n ( t ) v n , t ∈ I n , (126) \widehat{v}(t) := \ell_0^n(t)v^{n-1}+\ell_1^n(t)v^n,\qquad t\in I_n, \tag*{(126)} v ( t ) := ℓ 0 n ( t ) v n − 1 + ℓ 1 n ( t ) v n , t ∈ I n , (126)
with ℓ 0 n ( t ) : = ( t n − t ) / k n \ell_0^n(t):=(t^n-t)/k_n ℓ 0 n ( t ) := ( t n − t ) / k n and ℓ 1 n ( t ) : = ( t − t n − 1 ) / k n \ell_1^n(t):=(t-t^{n-1})/k_n ℓ 1 n ( t ) := ( t − t n − 1 ) / k n . If the piecewise constant interpolant of v j v_j v j is denoted by v ‾ \overline{v} v ,
v ‾ ( t ) : = v n , t ∈ I n , (127) \overline{v}(t):=v^n,\qquad t\in I_n, \tag*{(127)} v ( t ) := v n , t ∈ I n , (127)
the time discrete energy G I E , k \mathcal{G}_{\mathrm{IE},k} G IE , k becomes
G I E , k ( v ) = ∥ v ^ t + L v ‾ − f ‾ ∥ L 2 ( ( 0 , T ) ; L 2 ( Ω ) ) 2 + ∣ v ^ 0 − u 0 ∣ H 1 ( Ω ) 2 = ∫ 0 T ∥ v ^ t + L v ‾ − f ‾ ∥ L 2 ( Ω ) 2 d t + ∣ v ^ 0 − u 0 ∣ H 1 ( Ω ) 2 . (128) \begin{aligned}
\mathcal{G}_{\mathrm{IE},k}(v)=\lVert\widehat{v}_t+L\overline{v}-\overline{f}\rVert_{L^2((0,T);L^2(\Omega))}^2+\lvert\widehat{v}^0-u^0\rvert_{H^1(\Omega)}^2 \\
&=\int_0^T\lVert\widehat{v}_t+L\overline{v}-\overline{f}\rVert_{L^2(\Omega)}^2\,\mathrm{d}t+\lvert\widehat{v}^0-u^0\rvert_{H^1(\Omega)}^2. \tag*{(128)}
\end{aligned} G IE , k ( v ) = ∥ v t + L v − f ∥ L 2 (( 0 , T ) ; L 2 ( Ω )) 2 + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 = ∫ 0 T ∥ v t + L v − f ∥ L 2 ( Ω ) 2 d t + ∣ v 0 − u 0 ∣ H 1 ( Ω ) 2 . (128)
This representation of the loss can motivate the design of the Runge–Kutta PINN methods next.
To introduce the Runge–Kutta PINNs, we first recall the connection of Runge–Kutta methods and collocation time discretisations.
Recall first the definition of a Runge–Kutta method: For q ∈ N q\in\mathbb{N} q ∈ N , let 0 ≤ c 1 < ⋯ < c q ≤ 1 0\le c_1<\cdots<c_q\le1 0 ≤ c 1 < ⋯ < c q ≤ 1 denote the intermediate nodes of a Runge–Kutta method or collocation nodes. With starting value U 0 = u 0 U^0=u^0 U 0 = u 0 , we consider the discretisation of problem (120) by a q q q -stage Runge–Kutta method: we recursively define approximations U n ∈ V U^n\in V U n ∈ V to the nodal values u ( t n ) u(t^n) u ( t n ) , as well as internal approximations U n i ∈ V U_{ni}\in V U ni ∈ V to the intermediate values u ( t n i ) u(t_{ni}) u ( t ni ) , t n i = t n − 1 + c i k n t_{ni}=t^{n-1}+c_i k_n t ni = t n − 1 + c i k n , n = 1 , … , N n=1,\ldots,N n = 1 , … , N , by
{ U n i = U n − 1 − k n ∑ j = 1 q a i j ( L U n j − f ( t n j ) ) , i = 1 , … , q , U n = U n − 1 − k n ∑ i = 1 q b i ( L U n i − f ( t n i ) ) , (129) \begin{cases}
U_{ni}=U^{n-1}-k_n\sum_{j=1}^{q}a_{ij}\bigl(LU_{nj}-f(t_{nj})\bigr), & i=1,\ldots,q,\\
U^n=U^{n-1}-k_n\sum_{i=1}^{q}b_i\bigl(LU_{ni}-f(t_{ni})\bigr), \tag*{(129)}
\end{cases} { U ni = U n − 1 − k n ∑ j = 1 q a ij ( L U nj − f ( t nj ) ) , U n = U n − 1 − k n ∑ i = 1 q b i ( L U ni − f ( t ni ) ) , i = 1 , … , q , (129)
n = 1 , … , N n=1,\ldots,N n = 1 , … , N . Here, without being very precise, V V V is a functional space where our approximations are sought for every t ∈ [ 0 , T ] t\in[0,T] t ∈ [ 0 , T ] ; typically V V V is included in the domain of the operator L L L . An important class of Runge–Kutta methods is given by the collocation Runge–Kutta methods , see [95 ] , [180 ] , [96 ] . These methods are equivalent to a collocation approximation U ^ \widehat{U} U , which is a continuous piecewise polynomial of local degree q q q satisfying U ^ ( 0 ) = u 0 \widehat{U}(0)=u^0 U ( 0 ) = u 0 and the collocation conditions
U ^ ′ ( t n i ) + L U ^ ( t n i ) = f ( t n i ) , i = 1 , … , q , n = 1 , … , N . (130) \widehat{U}'(t_{ni})+L\widehat{U}(t_{ni})=f(t_{ni}),\qquad i=1,\ldots,q,\quad n=1,\ldots,N. \tag*{(130)} U ′ ( t ni ) + L U ( t ni ) = f ( t ni ) , i = 1 , … , q , n = 1 , … , N . (130)
These methods admit a crucial pointwise formulation that will be the basis for the loss functional defined below. Indeed, following [4 ] and [5 ] , let I q − 1 I_{q-1} I q − 1 denote the piecewise interpolation operator by polynomials of degree q − 1 q-1 q − 1 at the collocation nodes t n i t_{n i} t ni , i = 1 , … , q i=1,\ldots,q i = 1 , … , q , n = 1 , … , N n=1,\ldots,N n = 1 , … , N . Since U ^ ′ \widehat{U}' U ′ is itself piecewise polynomial of degree q − 1 q-1 q − 1 , (7.11) can be written in the pointwise form
U ^ ′ ( t ) + I q − 1 L U ^ ( t ) = I q − 1 f ( t ) , t ∈ I n , n = 1 , … , N . (131) \widehat{U}'(t)+I_{q-1}L\widehat{U}(t)=I_{q-1}f(t),\qquad t\in I_n,\quad n=1,\ldots,N. \tag*{(131)} U ′ ( t ) + I q − 1 L U ( t ) = I q − 1 f ( t ) , t ∈ I n , n = 1 , … , N . (131)
The interpolants U : = I q − 1 U ^ U:=I_{q-1}\widehat{U} U := I q − 1 U and I q − 1 f I_{q-1}f I q − 1 f are piecewise polynomials of degree q − 1 q-1 q − 1 and, in general, are discontinuous at the nodes t 0 , … , t N − 1 t^0,\ldots,t^{N-1} t 0 , … , t N − 1 . This pointwise formulation of the numerical method will provide the basis for defining the Runge–Kutta discrete loss.
To this end, and without being very precise at this stage, we introduce appropriate interpolation operators associated with the chosen Runge–Kutta method, acting on sufficiently regular functions. We shall also introduce some notation related to the representation of piecewise polynomial functions:
v ^ ( t ) = I ^ q v ( t ) = ∑ i = 0 q ℓ ~ n i ( t ) v ( t ~ n i ) , v ‾ ( t ) = I q − 1 v ^ ( t ) = ∑ j = 1 q ℓ n j ( t ) v ^ ( t n j ) , t ∈ I n . (132) \widehat{v}(t)=\widehat{I}_qv(t)=\sum_{i=0}^{q}\widetilde{\ell}_{ni}(t)v(\widetilde{t}_{ni}),\qquad\overline{v}(t)=I_{q-1}\widehat{v}(t)=\sum_{j=1}^{q}\ell_{nj}(t)\widehat{v}(t_{nj}),\qquad t\in I_n. \tag*{(132)} v ( t ) = I q v ( t ) = i = 0 ∑ q ℓ ni ( t ) v ( t ni ) , v ( t ) = I q − 1 v ( t ) = j = 1 ∑ q ℓ nj ( t ) v ( t nj ) , t ∈ I n . (132)
Notice that, in principle, t ~ n i \widetilde{t}_{ni} t ni need not coincide with t n i t_{ni} t ni . These nodes can be chosen for convenience, and in most important cases t ~ n i \widetilde{t}_{ni} t ni can be chosen as an extension of the collocation points t n i t_{ni} t ni by including one additional node.
We are ready to define the Runge–Kutta discrete loss by
G R K , k ( v ) = ∥ v ^ t ( t ) + I q − 1 L v ^ ( t ) − I q − 1 f ( t ) ∥ L 2 ( ( 0 , T ) ; L 2 ( Ω ) ) 2 + ∣ v ^ 0 − u 0 ∣ H 1 ( Ω ) 2 = ∫ 0 T ∥ v ^ t ( t ) + I q − 1 L v ^ ( t ) − I q − 1 f ( t ) ∥ L 2 ( Ω ) 2 d t + ∣ v ^ 0 − u 0 ∣ H 1 ( Ω ) 2 . (133) \begin{aligned}
\mathcal{G}_{RK,k}(v)=\left\|\widehat{v}_t(t)+I_{q-1}L\widehat{v}(t)-I_{q-1}f(t)\right\|_{L^2((0,T);L^2(\Omega))}^2+\left|\widehat{v}^{0}-u^{0}\right|_{H^1(\Omega)}^2 \\
&=\int_0^T\left\|\widehat{v}_t(t)+I_{q-1}L\widehat{v}(t)-I_{q-1}f(t)\right\|_{L^2(\Omega)}^2\,\mathrm{d}t+\left|\widehat{v}^{0}-u^{0}\right|_{H^1(\Omega)}^2. \tag*{(133)}
\end{aligned} G R K , k ( v ) = ∥ v t ( t ) + I q − 1 L v ( t ) − I q − 1 f ( t ) ∥ L 2 (( 0 , T ) ; L 2 ( Ω )) 2 + v 0 − u 0 H 1 ( Ω ) 2 = ∫ 0 T ∥ v t ( t ) + I q − 1 L v ( t ) − I q − 1 f ( t ) ∥ L 2 ( Ω ) 2 d t + v 0 − u 0 H 1 ( Ω ) 2 . (133)
The Runge–Kutta Physics Informed Neural Network method is based on the discrete minimisation problem for the loss G R K , k ( v ) \mathcal{G}_{RK,k}(v) G R K , k ( v ) ,
min v ∈ V N , 0 G R K , k ( v ) . (134) \min_{v\in V_{N,0}}\mathcal{G}_{RK,k}(v). \tag*{(134)} v ∈ V N , 0 min G R K , k ( v ) . (134)
The formulation of the method for nonlinear evolution problems is straightforward by using similar interpolation operators; see [4 ] .
Discrete variational stability
The analysis in this case follows the main steps discussed in § 2.11.0.1 and § 2.1 . We begin by assuming that the neural network spaces satisfy appropriate approximability properties, consistent with established results in approximation theory; see, e.g., [1 , 65 , 181 ] and the references therein. The precise assumptions depend on several factors that we will not address here. As discussed in § 2.1 , we consider a sequence of neural network spaces V ℓ V_\ell V ℓ with increasingly better approximation properties as the parameter ℓ \ell ℓ increases. We shall use the following notation for the corresponding discrete energies:
G ℓ ( v ) = { G R K , k ( ℓ ) ( v ) , v ∈ V ℓ , + ∞ , otherwise . (135) \mathcal{G}_{\ell}(v)=
\begin{cases}
\mathcal{G}_{RK,k(\ell)}(v), & v\in V_{\ell},\\
+\infty, & \text{otherwise}.
\end{cases} \tag*{(135)} G ℓ ( v ) = { G R K , k ( ℓ ) ( v ) , + ∞ , v ∈ V ℓ , otherwise . (135)
Here k = k ( ℓ ) k=k(\ell) k = k ( ℓ ) are selected just to satisfy k = k ( ℓ ) → 0 k=k(\ell)\to0 k = k ( ℓ ) → 0 as ℓ → ∞ \ell\to\infty ℓ → ∞ , and G R K , k ( ℓ ) ( v ) = G R K , k ( v ) \mathcal{G}_{RK,k(\ell)}(v)=\mathcal{G}_{RK,k}(v) G R K , k ( ℓ ) ( v ) = G R K , k ( v ) is defined by (133) .
The next proposition establishes that the functional G R K , k \mathcal{G}_{RK,k} G R K , k is equicoercive with respect to U ^ , U ‾ \widehat{U},\overline{U} U , U .
Proposition 2 Assume that the following maximal regularity estimate is satisfied
∥ U ‾ ∥ L 2 ( ( 0 , T ) ; H 2 ( Ω ) ) + ∥ U ^ ′ ∥ L 2 ( ( 0 , T ) ; L 2 ( Ω ) ) ≤ C [ ∥ U ^ ( 0 ) ∥ H 1 ( Ω ) + ∥ U ^ ′ + I q − 1 L U ^ ∥ L 2 ( ( 0 , T ) ; L 2 ( Ω ) ) ] ; (136) \|\overline{U}\|_{L^2((0,T);H^2(\Omega))}+\|\widehat{U}'\|_{L^2((0,T);L^2(\Omega))}
\le C\left[\|\widehat{U}(0)\|_{H^1(\Omega)}+\|\widehat{U}'+I_{q-1}L\widehat{U}\|_{L^2((0,T);L^2(\Omega))}\right]; \tag*{(136)} ∥ U ∥ L 2 (( 0 , T ) ; H 2 ( Ω )) + ∥ U ′ ∥ L 2 (( 0 , T ) ; L 2 ( Ω )) ≤ C [ ∥ U ( 0 ) ∥ H 1 ( Ω ) + ∥ U ′ + I q − 1 L U ∥ L 2 (( 0 , T ) ; L 2 ( Ω )) ] ; (136) then, the functional G R K , k \mathcal{G}_{RK,k} G R K , k defined in (133) is stable with respect to U ^ , U ‾ = I q − 1 U ^ \widehat{U},\overline{U}=I_{q-1}\widehat{U} U , U = I q − 1 U in the following sense:
If G R K , k ( U ) ≤ C \mathcal{G}_{RK,k}(U)\le C G R K , k ( U ) ≤ C for some C > 0 C>0 C > 0 , we have
∥ U ‾ ∥ L 2 ( ( 0 , T ) ; H 2 ( Ω ) ) + ∥ U ^ ′ ∥ L 2 ( ( 0 , T ) ; L 2 ( Ω ) ) ≤ C M R . (137) \|\overline{U}\|_{L^2((0,T);H^2(\Omega))}+\|\widehat{U}'\|_{L^2((0,T);L^2(\Omega))}\le C_{\mathrm{MR}}. \tag*{(137)} ∥ U ∥ L 2 (( 0 , T ) ; H 2 ( Ω )) + ∥ U ′ ∥ L 2 (( 0 , T ) ; L 2 ( Ω )) ≤ C MR . (137)
Although the discrete maximal regularity bound, (136) , for G I E , k \mathcal{G}_{IE,k} G I E , k in § 2.11.0.1 follows from a direct calculation based on the stability properties of the Backward Euler scheme, the assumption (136) in the present setting can also be established through novel energy-based proofs of maximal regularity estimates previously obtained by Kovács, Li, and Lubich [116 ] , now in the Hilbert space setting and allowing for variable time steps. For detailed proofs see [6 ] .
The lim inf inequality is proved following the steps of § 2.11.0.1 adapted to the present more technical setting: We assume there is a sequence denoted by U ℓ U_{\ell} U ℓ , such that G ℓ ( U ℓ ) ≤ C \mathcal{G}_{\ell}(U_{\ell})\le C G ℓ ( U ℓ ) ≤ C uniformly in ℓ \ell ℓ . Then up to sub-sequences we get the existence of u ( 1 ) u_{(1)} u ( 1 ) and u ( 2 ) u_{(2)} u ( 2 ) such that
L U ‾ ℓ ⇀ L u ( 1 ) and U ^ ℓ ′ ⇀ u ( 2 ) ′ weakly in L 2 ( 0 , T ; L 2 ( Ω ) ) . L\overline{U}_{\ell}\rightharpoonup Lu_{(1)} \quad\text{and}\quad\widehat{U}'_{\ell}\rightharpoonup u'_{(2)} \quad\text{weakly in }L^2(0,T;L^2(\Omega)). L U ℓ ⇀ L u ( 1 ) and U ℓ ′ ⇀ u ( 2 ) ′ weakly in L 2 ( 0 , T ; L 2 ( Ω )) .
we can finally prove that u ( 1 ) = u ( 2 ) = u u_{(1)}=u_{(2)}=u u ( 1 ) = u ( 2 ) = u and thus,
∫ Ω T ∣ u ′ + L u − f ∣ 2 ≤ lim inf ℓ → ∞ ∫ Ω T ∣ U ^ ℓ ′ + L U ‾ ℓ − f ∣ 2 . \int_{\Omega_T}|u'+Lu-f|^2\le\liminf_{\ell\to\infty}\int_{\Omega_T}|\widehat{U}'_{\ell}+L\overline{U}_{\ell}-f|^2. ∫ Ω T ∣ u ′ + Lu − f ∣ 2 ≤ ℓ → ∞ lim inf ∫ Ω T ∣ U ℓ ′ + L U ℓ − f ∣ 2 .
lim sup inequality and convergence of minimisers
Let w ∈ H 1 ( 0 , T ; L 2 ( Ω ) ) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω ) ) w\in H^1(0,T;L^2(\Omega))\cap L^2(0,T;H^2(\Omega)\cap H^1_0(\Omega)) w ∈ H 1 ( 0 , T ; L 2 ( Ω )) ∩ L 2 ( 0 , T ; H 2 ( Ω ) ∩ H 0 1 ( Ω )) The aim is to show the existence of a recovery sequence ( w ℓ ) (w_{\ell}) ( w ℓ ) such that w ℓ → w w_{\ell}\to w w ℓ → w and
G ( w ) = lim ℓ → ∞ G ℓ ( w ℓ ) . \mathcal{G}(w)=\lim_{\ell\to\infty}\mathcal{G}_{\ell}(w_{\ell}). G ( w ) = ℓ → ∞ lim G ℓ ( w ℓ ) .
This can indeed be achieved by exploiting the approximation properties of the neural network spaces, combined with suitable smoothing arguments and detailed estimates. The technical details of the proof can be found in [6 ] . As a result we can finally prove, following the steps described in § 2.1 , § 2.11.0.1 ,
Roughly speaking, the next result asserts that minimisers of the Runge–Kutta loss converge to the exact solution, under the maximal regularity of the time-discrete scheme and the approximability of the network spaces.
Theorem 8 (Convergence) Let G \mathcal{G} G , G ℓ \mathcal{G}_{\ell} G ℓ be the energy functionals defined in (121) and (135) , respectively. Let u u u be the exact solution of (120) and let ( u ℓ ) (u_{\ell}) ( u ℓ ) , u ℓ ∈ V ℓ u_{\ell} \in V_{\ell} u ℓ ∈ V ℓ , be a sequence of minimisers of G ℓ \mathcal{G}_{\ell} G ℓ , i.e.,
G ℓ ( u ℓ ) = inf v ℓ ∈ V ℓ G ℓ ( v ℓ ) . (138) \mathcal{G}_{\ell}(u_{\ell})=\inf_{v_{\ell}\in V_{\ell}}\mathcal{G}_{\ell}(v_{\ell}). \tag*{(138)} G ℓ ( u ℓ ) = v ℓ ∈ V ℓ inf G ℓ ( v ℓ ) . (138) Then,
u ^ ℓ → u , in L 2 ( ( 0 , T ) ; H 1 ( Ω ) ) , (139) \widehat{u}_{\ell}\to u,\quad\text{in }L^{2}((0,T);H^{1}(\Omega)), \tag*{(139)} u ℓ → u , in L 2 (( 0 , T ) ; H 1 ( Ω )) , (139) where u ^ ℓ = I ^ q u ℓ \widehat{u}_{\ell}=\widehat{I}_{q}u_{\ell} u ℓ = I q u ℓ .
Training with Finite Elements
The Deep Ritz method
We consider the boundary value problem
{ − Δ u = f in Ω u = 0 on ∂ Ω (140) \begin{cases}
-\Delta u=f & \text{in }\Omega\\
u=0 & \text{on }\partial\Omega \tag*{(140)}
\end{cases} { − Δ u = f u = 0 in Ω on ∂ Ω (140)
in a polygonal domain Ω ⊂ R d \Omega\subset\mathbb{R}^{d} Ω ⊂ R d , 1 ≤ d ≤ 3 1\le d\le3 1 ≤ d ≤ 3 . The natural energy functional associated to this problem is
E ( u ) = ∫ Ω ( 1 2 ∣ ∇ u ∣ 2 − f u ) d x ; (141) \mathcal{E}(u)=\int_{\Omega}\left(\frac{1}{2}|\nabla u|^{2}-fu\right)\,\mathrm{d}x; \tag*{(141)} E ( u ) = ∫ Ω ( 2 1 ∣∇ u ∣ 2 − f u ) d x ; (141)
then, the solution of (140) is the unique minimiser of the problem
min v ∈ H 0 1 ( Ω ) E ( v ) . (142) \min_{v\in H_{0}^{1}(\Omega)}\mathcal{E}(v). \tag*{(142)} v ∈ H 0 1 ( Ω ) min E ( v ) . (142)
The boundary conditions can be also imposed weakly within E \mathcal{E} E . The deep Ritz method is based on the minimisation of the above functional on discrete neural network spaces appropriately discretised with collocation type methods to yield computable approximations.
The semidiscrete method considers minimisation of E ( v ) \mathcal{E}(v) E ( v ) on discrete neural network spaces without further discretisation of the functional. As we discussed E \mathcal{E} E should be further discretised. Applying a Monte-Carlo integration will yield the fully discrete Deep Ritz method of [70 ] , see § 1.3.0.1 . An alternative is training through quadrature/collocation, § 1.3.0.1 where we may use deterministic quadrature for integrals over Ω \Omega Ω . The deterministic quadrature results in the discrete energy (19) , which necessitates evaluating 1 2 ∣ ∇ g ( z ) ∣ 2 − f ( z ) g ( z ) \frac{1}{2}|\nabla g(z)|^2-f(z)g(z) 2 1 ∣∇ g ( z ) ∣ 2 − f ( z ) g ( z ) at the quadrature points. This can be computationally accomplished using the back-propagation algorithm implemented in standard neural network software packages. Monte Carlo quadrature, on the other hand, approximates E ( v ) \mathcal{E}(v) E ( v ) well for a sufficiently large number of samples N N N , scales reasonably with the dimension, and is the most popular training approach for neural network discretisations of PDEs; in low dimensions, however, it is computationally demanding.
Training through Finite Element quadrature
Let T h T_h T h be a shape regular triangulation of a polygonal domain Ω \Omega Ω with mesh size h = h ( x ) h=h(x) h = h ( x ) , see [38 ] for standard finite element notation and terminology. For K ∈ T h K\in T_h K ∈ T h , K K K is an element of the triangulation, and P q ( K ) \mathbb{P}_q(K) P q ( K ) denotes the set of polynomials of degree less or equal to q q q . We define the standard space of continuous piecewise polynomial functions as
S ~ h ( Ω ) : = { v ∈ C 0 ( Ω ‾ ) : v ∣ K ∈ P q ( K ) , K ∈ T h } . \widetilde{S}_h(\Omega):=\{v\in C^0(\overline{\Omega}):v|_K\in\mathbb{P}_q(K),K\in T_h\}. S h ( Ω ) := { v ∈ C 0 ( Ω ) : v ∣ K ∈ P q ( K ) , K ∈ T h } .
We also consider the finite element space where zero boundary conditions are enforced
S h ( Ω ) : = { v ∈ C 0 0 ( Ω ‾ ) : v ∣ K ∈ P q ( K ) , K ∈ T h } . S_h(\Omega):=\{v\in C^0_0(\overline{\Omega}):v|_K\in\mathbb{P}_q(K),K\in T_h\}. S h ( Ω ) := { v ∈ C 0 0 ( Ω ) : v ∣ K ∈ P q ( K ) , K ∈ T h } .
Then, define
E S h ( g ) = ∫ Ω ( 1 2 ∣ ∇ I S h ( g ) ∣ 2 − I S h ( f g ) ) d x . \mathcal{E}_{S_h}(g)=\int_{\Omega}\left(\frac{1}{2}|\nabla I_{S_h}(g)|^2-I_{S_h}(fg)\right)\,dx. E S h ( g ) = ∫ Ω ( 2 1 ∣∇ I S h ( g ) ∣ 2 − I S h ( f g ) ) d x .
The discrete minimisation problem is
min v ∈ V N E S h ( v ) \min_{v\in V_N}\mathcal{E}_{S_h}(v) v ∈ V N min E S h ( v )
The finite element spaces are used solely to define the discrete energy. Specifically, for g ∈ V N g\in V_N g ∈ V N , we have I S h g ∈ S h I_{S_h}g\in S_h I S h g ∈ S h . Both I S h g I_{S_h}g I S h g and its gradient ∇ I S h g \nabla I_{S_h}g ∇ I S h g are piecewise polynomial functions determined entirely by the values of g g g at the Lagrangian degrees of freedom. Consequently, the corresponding integrals can be evaluated using standard finite element tools and software, which is a key advantage of the method. In particular, the computation of
∫ Ω ∣ ∇ I S h ( g ) ∣ 2 d x \int_{\Omega}|\nabla I_{S_h}(g)|^2dx ∫ Ω ∣∇ I S h ( g ) ∣ 2 d x
does not require backpropagation. Backpropagation is needed only to compute the derivative of E S h \mathcal{E}_{S_h} E S h with respect to the neural-network parameters, which is required for the iterative computation of its minimisers.
The point of this choice, in the terms of these notes, is twofold. First, E S h ( v ) \mathcal{E}_{S_h}(v) E S h ( v ) is the exact energy of the finite element interpolant of v v v : it is coercive on S h ⊂ H 0 1 ( Ω ) S_h\subset H^1_0(\Omega) S h ⊂ H 0 1 ( Ω ) and controls I S h v I_{S_h}v I S h v between the quadrature points, which is precisely what the sampled energies of Sections 3.2 and 5.3 fail to do; training with finite elements is thus a training step designed to retain the coercivity of the continuous functional, in the sense of discrete variational stability. Second, the discrete energy is evaluated with the standard tools of finite elements, which is both efficient, since no backpropagation is needed for the energy itself, and an opening to the whole finite element toolbox: boundary conditions can be imposed in various ways, even exactly through S h S_h S h , the mesh can be adapted, and the a posteriori error control and adaptivity of finite element theory can prove useful to design and control the neural network method.
Discrete variational stability
We consider a sequence of problems as follows: For each ℓ \ell ℓ we associate a finite element space S h ( ℓ ) S_{h(\ell)} S h ( ℓ ) , with maximum diameter h ( ℓ ) h(\ell) h ( ℓ ) such that h ( ℓ ) → 0 h(\ell) \to0 h ( ℓ ) → 0 , ℓ → ∞ \ell\to\infty ℓ → ∞ . The corresponding minimisation problems are
min v ∈ V ℓ E ℓ ( v ) , where E ℓ ( v ) : = E S h ( ℓ ) ( v ) . (143) \min_{v \in V_\ell} \mathcal{E}_\ell(v), \qquad\text{where } \mathcal{E}_\ell(v) := \mathcal{E}_{S_{h(\ell)}}(v). \tag*{(143)} v ∈ V ℓ min E ℓ ( v ) , where E ℓ ( v ) := E S h ( ℓ ) ( v ) . (143)
The corresponding S h ( ℓ ) S_{h(\ell)} S h ( ℓ ) -finite element-deep Ritz minimisers are denoted by u ℓ u_\ell u ℓ . To verify the stability of the method we observe that the functional E ℓ \mathcal{E}_\ell E ℓ is stable with respect to the H 1 H^1 H 1 -norm, in the following sense: Let ( v ℓ ) (v_\ell) ( v ℓ ) be a sequence of functions in V ℓ V_\ell V ℓ such that for a constant C > 0 C > 0 C > 0 independent of ℓ \ell ℓ , it holds that
E ℓ ( v ℓ ) ≤ C . \mathcal{E}_\ell(v_\ell) \le C. E ℓ ( v ℓ ) ≤ C .
Then there exists a constant C 1 > 0 C_1 > 0 C 1 > 0 such that
∥ I S h ( ℓ ) v ℓ ∥ H 1 ( Ω ) ≤ C 1 . \left\|I_{S_{h(\ell)}}v_\ell\right\|_{H^1(\Omega)} \le C_1. I S h ( ℓ ) v ℓ H 1 ( Ω ) ≤ C 1 .
Furthermore, by convexity, the weak lower semicontinuity follows:
lim inf ℓ → ∞ ∫ Ω ∣ ∇ I S h ( ℓ ) v ℓ ∣ 2 ≥ ∫ Ω ∣ ∇ v ∣ 2 . \liminf_{\ell\to\infty} \int_\Omega\left|\nabla I_{S_{h(\ell)}}v_\ell\right|^2 \ge\int_\Omega|\nabla v|^2. ℓ → ∞ lim inf ∫ Ω ∇ I S h ( ℓ ) v ℓ 2 ≥ ∫ Ω ∣∇ v ∣ 2 .
Convergence
Roughly speaking, the next result essentially states that the finite element interpolants of the Deep Ritz minimisers trained with finite element quadrature converge to the exact solution, provided the mesh and the network spaces are refined together in a compatible way.
Theorem 9 (Convergence of the discrete minimisers) Let E \mathcal{E} E , E ℓ \mathcal{E}_\ell E ℓ be the energy functionals defined in (7.22) and (7.24) respectively, and f ∈ C 0 ( Ω ‾ ) f \in C^0(\overline{\Omega}) f ∈ C 0 ( Ω ) . Let ( u ℓ ) (u_\ell) ( u ℓ ) , u ℓ ∈ V ℓ u_\ell\in V_\ell u ℓ ∈ V ℓ , be a sequence of minimisers of E ℓ \mathcal{E}_\ell E ℓ and
u ^ ℓ : = I S h ( ℓ ) u ℓ . \widehat{u}_\ell:= I_{S_{h(\ell)}}u_\ell. u ℓ := I S h ( ℓ ) u ℓ .
Assume that the spaces V ℓ V_\ell V ℓ have the approximability property (7.2.1) with [ m , s , p ] = [ 2 , 0 , ∞ ] [m,s,p]=[2,0,\infty] [ m , s , p ] = [ 2 , 0 , ∞ ] , and that the finite element spaces are chosen such that h E , ℓ − 1 / 2 ( β ~ ℓ [ 2 , 0 , ∞ ] ) 1 − 2 ϵ ≤ C h_{E,\ell}^{-1/2}\left(\widetilde{\beta}_{\ell}^{[2,0,\infty]}\right)^{1-2\epsilon}\le C h E , ℓ − 1/2 ( β ℓ [ 2 , 0 , ∞ ] ) 1 − 2 ϵ ≤ C for some ϵ ∈ ( 0 , 1 / 2 ) \epsilon\in(0,1/2) ϵ ∈ ( 0 , 1/2 ) , where E h ( ℓ ) E_{h(\ell)} E h ( ℓ ) is the set of edges (faces in three dimensions) of T h ( ℓ ) \mathcal{T}_{h(\ell)} T h ( ℓ ) , h e h_e h e the diameter of e ∈ E h ( ℓ ) e\in E_{h(\ell)} e ∈ E h ( ℓ ) , and h E , ℓ = min e ∈ E h ( ℓ ) h e h_{E,\ell}=\min_{e\in E_{h(\ell)}}h_e h E , ℓ = min e ∈ E h ( ℓ ) h e . Then we have
u ^ ℓ → u , in L 2 ( Ω ) , u ^ ℓ ⇀ u , in H 1 ( Ω ) , ℓ → ∞ . \widehat{u}_\ell\to u,\quad\text{in }L^2(\Omega),\qquad\widehat{u}_\ell\rightharpoonup u,\quad\text{in }H^1(\Omega),\qquad\ell\to\infty. u ℓ → u , in L 2 ( Ω ) , u ℓ ⇀ u , in H 1 ( Ω ) , ℓ → ∞.
where u u u is the exact solution of the problem.
The approximability property of the spaces V ℓ V_\ell V ℓ assumed in the theorem is the following: for each w ∈ W m , p ( Ω ) ∩ H 0 1 ( Ω ) w\in W^{m,p}(\Omega)\cap H^1_0(\Omega) w ∈ W m , p ( Ω ) ∩ H 0 1 ( Ω ) there exist w ℓ ∈ V ℓ w_\ell\in V_\ell w ℓ ∈ V ℓ such that
∥ w ℓ − w ∥ W s , p ( Ω ) ≤ β ~ ℓ [ m , s , p ] ∣ w ∣ W m , p ( Ω ) , and β ~ ℓ [ m , s , p ] → 0 , ℓ → ∞ . \lVert w_\ell-w\rVert_{W^{s,p}(\Omega)}\le\widetilde{\beta}_{\ell}^{[m,s,p]}\lvert w\rvert_{W^{m,p}(\Omega)},\qquad\text{and}\qquad\widetilde{\beta}_{\ell}^{[m,s,p]}\to0,\quad\ell\to\infty. ∥ w ℓ − w ∥ W s , p ( Ω ) ≤ β ℓ [ m , s , p ] ∣ w ∣ W m , p ( Ω ) , and β ℓ [ m , s , p ] → 0 , ℓ → ∞.
Then, since v ^ ℓ → v \widehat{v}_\ell\to v v ℓ → v in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) we can show that lim ℓ → ∞ ∫ Ω I S h ( ℓ ) ( v ℓ f ) d x = ∫ Ω v f d x \lim_{\ell\to\infty}\int_\Omega I_{S_{h(\ell)}}(v_\ell f)\,\mathrm{d}x=\int_\Omega vf\,\mathrm{d}x lim ℓ → ∞ ∫ Ω I S h ( ℓ ) ( v ℓ f ) d x = ∫ Ω v f d x . Furthermore for any w ∈ H 0 1 ( Ω ) w\in H^1_0(\Omega) w ∈ H 0 1 ( Ω ) we can show the existence of a recovery sequence ( w ℓ ) (w_\ell) ( w ℓ ) , such that E ( w ) = lim ℓ → ∞ E ℓ ( w ℓ ) \mathcal{E}(w)=\lim_{\ell\to\infty}\mathcal{E}_\ell(w_\ell) E ( w ) = lim ℓ → ∞ E ℓ ( w ℓ ) . Details are rather technical and the last step requires smooth activation function. The condition of the theorem couples the smallest edge of the mesh with the rate at which the network spaces approximate, in L ∞ L^\infty L ∞ , functions bounded in W 2 , ∞ W^{2,\infty} W 2 , ∞ : the finite element interpolant w ^ ℓ \widehat{w}_\ell w ℓ of the network function w ℓ w_\ell w ℓ is controlled through inverse estimates on the edges, and the condition ensures that w ^ ℓ → w \widehat{w}_\ell\to w w ℓ → w in H 1 ( Ω ) H^1(\Omega) H 1 ( Ω ) , from which the limsup inequality follows by the continuity of the energy. The liminf inequality and the compactness follow from the stability of E ℓ \mathcal{E}_\ell E ℓ in the H 1 H^1 H 1 -norm established above. In addition, E ℓ ( u ℓ ) → E ( u ) \mathcal{E}_\ell(u_\ell)\to\mathcal{E}(u) E ℓ ( u ℓ ) → E ( u ) , as the liminf–limsup argument gives.
For ReLU activation functions the network functions are not in W 2 , ∞ ( Ω ) W^{2,\infty}(\Omega) W 2 , ∞ ( Ω ) , and the last step of the proof requires a different argument, based on a Clément-type interpolant applied to a mollified recovery sequence; we refer to [89 ] for the details.
Variational Principles for the Helmholtz equation
Consider the Helmholtz equation with an impedance boundary condition
− Δ u − k 2 u = f in Ω ∂ n u = i k u on ∂ Ω . (144) -\Delta u-k^{2}u=f \quad\text{in }\Omega\qquad\partial_n u=iku \quad\text{on }\partial\Omega. \tag*{(144)} − Δ u − k 2 u = f in Ω ∂ n u = ik u on ∂ Ω. (144)
This is the time-harmonic analogue of the wave equation with first-order absorbing boundary conditions. The function u u u is complex-valued, u : Ω → C u:\Omega\to\mathbb{C} u : Ω → C , with Ω ⊂ R ν \Omega\subset\mathbb{R}^{\nu} Ω ⊂ R ν a bounded Lipschitz domain, f ∈ L 2 ( Ω ) f\in L^{2}(\Omega) f ∈ L 2 ( Ω ) complex-valued, and k > 0 k>0 k > 0 the wavenumber. We use the compact notation L u : = − Δ u − k 2 u \mathcal{L}u:=-\Delta u-k^{2}u L u := − Δ u − k 2 u . Absorbing boundary conditions allow wave propagation problems on large or unbounded domains to be reduced to computationally tractable bounded domains. Despite its classical nature, accurately approximating this model at high wavenumbers remains a significant numerical challenge.
In this section, we investigate whether variational principles can be associated with the Helmholtz equation, and in particular with (144) . We design new strongly coercive variational principles while our derivations are guided throughout by the aim of preserving the underlying physical structure of the problem. Beyond their theoretical interest, these variational principles have important implications for computational methods. Neural-network-based approaches typically rely on discrete minimisation problems based either on continuous energies or on the L 2 L^{2} L 2 residual of the differential operator [151 ] . For highly oscillatory problems such as (144) , variational formulations with strong coercivity offer the prospect of more robust and reliable discretisations.
We show that the proposed principle leads to an effective neural-network formulation of (144) . Strongly coercive bilinear forms for the Helmholtz equation were previously developed in [141 ] , leading in general to finite element methods with non-symmetric matrices. Although we employ similar analytical tools, notably the Rellich and Morawetz identities, our motivation and design strategy are substantially different and prioritise the derivation of novel variational principles.
Notation and preliminaries
We introduce some standard notation. Throughout, Ω ⊂ R ν \Omega\subset\mathbb{R}^{\nu} Ω ⊂ R ν is a bounded Lipschitz domain with outward unit normal n \mathbf{n} n , [91 ] . On the boundary we use the trace spaces H s ( ∂ Ω ) H^{s}(\partial\Omega) H s ( ∂ Ω ) , s ∈ { 3 2 , 1 2 , − 1 2 , − 3 2 } s\in\left\{\frac{3}{2},\frac{1}{2},-\frac{1}{2},-\frac{3}{2}\right\} s ∈ { 2 3 , 2 1 , − 2 1 , − 2 3 } , and the trace operator τ : H 1 ( Ω ) → H 1 / 2 ( ∂ Ω ) \tau:H^{1}(\Omega)\to H^{1/2}(\partial\Omega) τ : H 1 ( Ω ) → H 1/2 ( ∂ Ω ) [126 ] . When no confusion may arise we will use just u u u to denote τ u \tau u τ u .
We denote by H \mathcal{H} H the space H 1 ( Ω ) H^{1}(\Omega) H 1 ( Ω ) equipped with the wavenumber-dependent norm
∥ v ∥ H k 1 ( Ω ) : = ( ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 ) 1 / 2 . \lVert v\rVert_{H_k^{1}(\Omega)}:=\left(\lVert\nabla v\rVert_{\Omega}^{2}+k^{2}\lVert v\rVert_{\Omega}^{2}\right)^{1/2}. ∥ v ∥ H k 1 ( Ω ) := ( ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 ) 1/2 .
For energies that involve the bulk residual L v : = − Δ v − k 2 v \mathcal{L}v:=-\Delta v-k^{2}v L v := − Δ v − k 2 v in L 2 ( Ω ) L^{2}(\Omega) L 2 ( Ω ) we use the space
V : = { v ∈ H 1 ( Ω ) : L v ∈ L 2 ( Ω ) , v ∈ H 1 ( ∂ Ω ) , ∂ n v − i k v ∈ L 2 ( ∂ Ω ) } , \mathcal{V}:=\left\{v\in H^{1}(\Omega):\mathcal{L}v\in L^{2}(\Omega),\ v\in H^{1}(\partial\Omega),\ \partial_n v-ikv\in L^{2}(\partial\Omega)\right\}, V := { v ∈ H 1 ( Ω ) : L v ∈ L 2 ( Ω ) , v ∈ H 1 ( ∂ Ω ) , ∂ n v − ik v ∈ L 2 ( ∂ Ω ) } ,
endowed with the norm
∥ v ∥ Y 2 : = ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 + ∥ L v ∥ Ω 2 + k 2 ∥ v ∥ ∂ Ω 2 + ∥ ∇ v ∥ ∂ Ω 2 + ∥ ∂ n v − i k v ∥ ∂ Ω 2 . \lVert v\rVert_{\mathcal{Y}}^{2} := \lVert\nabla v\rVert_{\Omega}^{2} + k^{2}\lVert v\rVert_{\Omega}^{2} + \lVert\mathcal{L}v\rVert_{\Omega}^{2} + k^{2}\lVert v\rVert_{\partial\Omega}^{2} + \lVert\nabla v\rVert_{\partial\Omega}^{2} + \lVert\partial_n v-ikv\rVert_{\partial\Omega}^{2}. ∥ v ∥ Y 2 := ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 + ∥ L v ∥ Ω 2 + k 2 ∥ v ∥ ∂ Ω 2 + ∥ ∇ v ∥ ∂ Ω 2 + ∥ ∂ n v − ik v ∥ ∂ Ω 2 .
The homogeneous-impedance subspace is
Y B C : = { v ∈ Y : ∂ n v − i k v = 0 in L 2 ( ∂ Ω ) } , \mathcal{Y}_{BC}:=\left\{v\in\mathcal{Y}:\partial_n v-ikv=0\text{ in }L^{2}(\partial\Omega)\right\}, Y B C := { v ∈ Y : ∂ n v − ik v = 0 in L 2 ( ∂ Ω ) } ,
and in the sequel we shall use the notation
∥ v ∥ Y B C 2 : = ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 + ∥ L v ∥ Ω 2 + k 2 ∥ v ∥ ∂ Ω 2 + ∥ ∇ v ∥ ∂ Ω 2 . \lVert v\rVert_{\mathcal{Y}_{BC}}^{2}:=\lVert\nabla v\rVert_{\Omega}^{2}+k^{2}\lVert v\rVert_{\Omega}^{2}+\lVert\mathcal{L}v\rVert_{\Omega}^{2}+k^{2}\lVert v\rVert_{\partial\Omega}^{2}+\lVert\nabla v\rVert_{\partial\Omega}^{2}. ∥ v ∥ Y B C 2 := ∥ ∇ v ∥ Ω 2 + k 2 ∥ v ∥ Ω 2 + ∥ L v ∥ Ω 2 + k 2 ∥ v ∥ ∂ Ω 2 + ∥ ∇ v ∥ ∂ Ω 2 .
The standard variational formulation of the impedance problem is based on the sesquilinear form B \mathcal{B} B :
B ( u , v ) : = ∫ Ω ∇ u ⋅ ∇ v ‾ d x − k 2 ∫ Ω u v ‾ d x − i k ∫ ∂ Ω u v ‾ d S , (145) \mathcal{B}(u,v):=\int_{\Omega}\nabla u\cdot\nabla\overline{v}\,\mathrm{d}x-k^{2}\int_{\Omega}u\overline{v}\,\mathrm{d}x-ik\int_{\partial\Omega}u\overline{v}\,\mathrm{d}S, \tag*{(145)} B ( u , v ) := ∫ Ω ∇ u ⋅ ∇ v d x − k 2 ∫ Ω u v d x − ik ∫ ∂ Ω u v d S , (145)
and is: Find u ∈ H u\in\mathcal{H} u ∈ H such that
B ( u , v ) = ( f , v ) Ω for all v ∈ H . (146) \mathcal{B}(u,v)=(f,v)_{\Omega}\qquad\text{for all }v\in\mathcal{H}. \tag*{(146)} B ( u , v ) = ( f , v ) Ω for all v ∈ H . (146)
Variational Principles
The physical energy associated with the Helmholtz equation in unrestricted domains can be formulated as
E P ( v ) = ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f ‾ v d x . (147) \mathcal{E}_{P}(v)=\int_{\Omega}\frac{1}{2}\left(\lvert\nabla v\rvert^{2}-k^{2}\lvert v\rvert^{2}\right)\,\mathrm{d}x-\Re\int_{\Omega}\overline{f}v\mathrm{d}x. \tag*{(147)} E P ( v ) = ∫ Ω 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f v d x . (147)
Then the map E P : H → R \mathcal{E}_{P}:\mathcal{H}\to\mathbb{R} E P : H → R is clearly differentiable. We take variations with respect to the real inner product on H 1 ( Ω ; C ) H^{1}(\Omega;\mathbb{C}) H 1 ( Ω ; C ) , i.e. ⟨ ϕ , ψ ⟩ R : = ℜ ∫ Ω ϕ ‾ ψ d x \langle\phi,\psi\rangle_{\mathbb{R}}:=\Re\int_{\Omega}\overline{\phi}\psi\mathrm{d}x ⟨ ϕ , ψ ⟩ R := ℜ ∫ Ω ϕ ψ d x , so that D E P ( u ) [ v ] ∈ R D\mathcal{E}_{P}(u)[v]\in\mathbb{R} D E P ( u ) [ v ] ∈ R for all u , v u,v u , v . To find its derivative we first notice
E P ( v ) = ℜ { ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ∫ Ω f ‾ v d x } . (148) \mathcal{E}_{P}(v)=\Re\left\{\int_{\Omega}\frac{1}{2}\left(\lvert\nabla v\rvert^{2}-k^{2}\lvert v\rvert^{2}\right)\mathrm{d}x-\int_{\Omega}\overline{f}v\mathrm{d}x\right\}. \tag*{(148)} E P ( v ) = ℜ { ∫ Ω 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ∫ Ω f v d x } . (148)
Then,
⟨ D E P ( u ) , v ⟩ = ℜ { ∫ Ω 1 2 ( ∇ u ⋅ ∇ v ‾ + ∇ v ⋅ ∇ u ‾ − k 2 ( u v ‾ + v u ‾ ) ) d x − ∫ Ω f ‾ v d x } = ℜ { ∫ Ω ( ∇ u ⋅ ∇ v ‾ − k 2 u v ‾ ) d x − ∫ Ω f ‾ v d x } . (149) \begin{aligned}
\left\langle D\mathcal{E}_{P}(u),v\right\rangle=\Re\left\{\int_{\Omega}\frac{1}{2}\left(\nabla u\cdot\nabla\overline{v}+\nabla v\cdot\nabla\overline{u}-k^{2}(u\overline{v}+v\overline{u})\right)\mathrm{d}x-\int_{\Omega}\overline{f}v\mathrm{d}x\right\} \\
&=\Re\left\{\int_{\Omega}\left(\nabla u\cdot\nabla\overline{v}-k^{2}u\overline{v}\right)\mathrm{d}x-\int_{\Omega}\overline{f}v\mathrm{d}x\right\}. \tag*{(149)}
\end{aligned} ⟨ D E P ( u ) , v ⟩ = ℜ { ∫ Ω 2 1 ( ∇ u ⋅ ∇ v + ∇ v ⋅ ∇ u − k 2 ( u v + v u ) ) d x − ∫ Ω f v d x } = ℜ { ∫ Ω ( ∇ u ⋅ ∇ v − k 2 u v ) d x − ∫ Ω f v d x } . (149)
Consider u = u R + i u I u=u_{R}+iu_{I} u = u R + i u I , v = v R + i v I v=v_{R}+iv_{I} v = v R + i v I , and f = f R + i f I f=f_{R}+if_{I} f = f R + i f I . Then stationary points of E P \mathcal{E}_{P} E P , i.e., u ∈ H u\in\mathcal{H} u ∈ H satisfying,
⟨ D E P ( u ) , v ⟩ = 0 , for all v ∈ H , (150) \left\langle D\mathcal{E}_{P}(u),v\right\rangle=0,\qquad\text{for all }v\in\mathcal{H}, \tag*{(150)} ⟨ D E P ( u ) , v ⟩ = 0 , for all v ∈ H , (150)
are such that, for any v ∈ H v \in\mathcal{H} v ∈ H ,
∫ Ω ( ∇ u R ⋅ ∇ v R − k 2 u R v R ) d x − ∫ Ω f v R d x = 0 , ∫ Ω ( ∇ u I ⋅ ∇ v I − k 2 u I v I ) d x − ∫ Ω f v I d x = 0. (151) \begin{aligned}
\int_{\Omega} \left(\nabla u_R \cdot\nabla v_R-k^2u_Rv_R\right)\,\mathrm{d}x-\int_{\Omega}fv_R\,\mathrm{d}x&=0,\\
\int_{\Omega} \left(\nabla u_I \cdot\nabla v_I-k^2u_Iv_I\right)\,\mathrm{d}x-\int_{\Omega}fv_I\,\mathrm{d}x&=0. \tag*{(151)}
\end{aligned} ∫ Ω ( ∇ u R ⋅ ∇ v R − k 2 u R v R ) d x − ∫ Ω f v R d x ∫ Ω ( ∇ u I ⋅ ∇ v I − k 2 u I v I ) d x − ∫ Ω f v I d x = 0 , = 0. (151)
Since C c ∞ ( Ω ) ⊂ H C_c^\infty(\Omega) \subset\mathcal{H} C c ∞ ( Ω ) ⊂ H is dense, testing (150) with v ∈ C c ∞ ( Ω ) v \in C_c^\infty(\Omega) v ∈ C c ∞ ( Ω ) yields the Euler-Lagrange equation in distributional form. Considering test functions v ∈ H ∩ C c ∞ ( Ω ) v \in\mathcal{H} \cap C_c^\infty(\Omega) v ∈ H ∩ C c ∞ ( Ω ) we conclude that stationary points of E P \mathcal{E}_P E P satisfy − Δ u − k 2 u = f -\Delta u-k^2u=f − Δ u − k 2 u = f in Ω \Omega Ω , in the sense of distributions.
Proposition 3 Consider the energy E P \mathcal{E}_P E P defined in (147) . The stationary points of E P \mathcal{E}_P E P defined on H \mathcal{H} H satisfy the Helmholtz equation in the sense of distributions.
However, we cannot incorporate the absorbing boundary conditions into the energy when we restrict the computational domain. One way to view this is to split the domain as Ω = Ω R e s t r ∪ Ω 2 \Omega=\Omega_{\mathrm{Restr}}\cup\Omega_2 Ω = Ω Restr ∪ Ω 2 . The corresponding energies can then be written as follows, assuming that f f f has compact support in Ω R e s t r \Omega_{\mathrm{Restr}} Ω Restr :
E P ( v ) = ∫ Ω R e s t r 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω R e s t r f v ‾ d x + ∫ Ω 2 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x = : E P , Ω R e s t r ( v ) + E P , Ω 2 ( v ) . (152) \begin{aligned}
\mathcal{E}_P(v)
&=\int_{\Omega_{\mathrm{Restr}}}\frac{1}{2}\left(\lvert\nabla v\rvert^2-k^2\lvert v\rvert^2\right)\,\mathrm{d}x-\mathop{\Re}\int_{\Omega_{\mathrm{Restr}}}f\overline{v}\,\mathrm{d}x+\int_{\Omega_2}\frac{1}{2}\left(\lvert\nabla v\rvert^2-k^2\lvert v\rvert^2\right)\,\mathrm{d}x\\
&=: \mathcal{E}_{P,\Omega_{\mathrm{Restr}}}(v)+\mathcal{E}_{P,\Omega_2}(v). \tag*{(152)}
\end{aligned} E P ( v ) = ∫ Ω Restr 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω Restr f v d x + ∫ Ω 2 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x =: E P , Ω Restr ( v ) + E P , Ω 2 ( v ) . (152)
An energetically consistent approach requires representing the contribution of the complementary domain, E P , Ω 2 ( v ) \mathcal{E}_{P,\Omega_2}(v) E P , Ω 2 ( v ) , through a surface integral incorporating appropriate boundary conditions. However, it remains unclear whether impedance conditions can be used to represent this energy contribution. To preserve the variational structure associated with the boundary conditions in (144) , we therefore leverage complex Lagrangians, that is functionals where v v v and v ‾ \overline{v} v are considered independent variables. To this end, we define
E P , C ( v ) = E P , C ( v , v ‾ ) = ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f v ‾ d x − i k 2 ∫ ∂ Ω ∣ v ∣ 2 d x = ∫ Ω 1 2 ( ∇ v ⋅ ∇ v ‾ − k 2 v v ‾ ) d x − ℜ ∫ Ω f v ‾ d x − i k 2 ∫ ∂ Ω v v ‾ d x . (153) \begin{aligned}
\mathcal{E}_{P,C}(v)&=\mathcal{E}_{P,C}(v,\overline{v})=\int_{\Omega}\frac{1}{2}\left(\lvert\nabla v\rvert^2-k^2\lvert v\rvert^2\right)\,\mathrm{d}x-\mathop{\Re}\int_{\Omega}f\overline{v}\,\mathrm{d}x-\frac{\mathrm{i}k}{2}\int_{\partial\Omega}\lvert v\rvert^2\,\mathrm{d}x\\
&=\int_{\Omega}\frac{1}{2}\left(\nabla v\cdot\nabla\overline{v}-k^2v\overline{v}\right)\,\mathrm{d}x-\mathop{\Re}\int_{\Omega}f\overline{v}\,\mathrm{d}x-\frac{\mathrm{i}k}{2}\int_{\partial\Omega}v\overline{v}\,\mathrm{d}x. \tag*{(153)}
\end{aligned} E P , C ( v ) = E P , C ( v , v ) = ∫ Ω 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f v d x − 2 i k ∫ ∂ Ω ∣ v ∣ 2 d x = ∫ Ω 2 1 ( ∇ v ⋅ ∇ v − k 2 v v ) d x − ℜ ∫ Ω f v d x − 2 i k ∫ ∂ Ω v v d x . (153)
We can then show the following
Proposition 4 Consider the Lagrangian E P , C \mathcal{E}_{P,C} E P , C given by (153) and defined on H \mathcal{H} H . If B ( ⋅ , ⋅ ) \mathcal{B}(\cdot,\cdot) B ( ⋅ , ⋅ ) is the form defined in (145) , the stationary points of E P , C \mathcal{E}_{P,C} E P , C with respect to v ‾ \overline{v} v , satisfy,
B ( u , v ) = ∫ Ω f v ‾ d x , for all v ∈ H , \mathcal{B}(u,v)=\int_{\Omega}f\overline{v}\,\mathrm{d}x,\qquad\text{for all }v\in\mathcal{H}, B ( u , v ) = ∫ Ω f v d x , for all v ∈ H , i.e., they are weak solutions of Helmholtz problem (144) .
Regularised Lagrangians for Helmholtz
The Lagrangians discussed above provide a variational characterisation of the Helmholtz equation originating from first principles. However, they are indefinite and lack coercivity. To address this, we construct regularised functionals that penalise the Helmholtz residual in a least-squares sense. This allows us to gain further insight into the analytical properties of the reduced wave equation and provides a framework for designing computational methods with potentially improved stability and robustness.
The introduction of the following real Lagrangian will be instrumental
F γ ( v ) = ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f ˉ v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S . (154) \mathcal{F}_{\gamma}(v)=\int_{\Omega}\frac{1}{2}\left(\lvert\nabla v\rvert^2-k^2\lvert v\rvert^2\right)\,\mathrm{d}x-\Re\int_{\Omega}\bar{f}v\,\mathrm{d}x+\gamma_1\int_{\Omega}\lvert\mathcal{L}v-f\rvert^2\,\mathrm{d}x+\gamma_2\int_{\partial\Omega}\lvert\partial_n v-\mathrm{i}kv\rvert^2\,\mathrm{d}S. \tag*{(154)} F γ ( v ) = ∫ Ω 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f ˉ v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S . (154)
We introduce the corresponding complex Lagrangian to incorporate the influence of the impedance boundary conditions into the principal part
F γ , C ( v ) = ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f ˉ v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S − i k 2 ∫ ∂ Ω ∣ v ∣ 2 d x . (155) \mathcal{F}_{\gamma,\mathrm{C}}(v)=\int_{\Omega}\frac{1}{2}\left(\lvert\nabla v\rvert^2-k^2\lvert v\rvert^2\right)\,\mathrm{d}x-\Re\int_{\Omega}\bar{f}v\,\mathrm{d}x+\gamma_1\int_{\Omega}\lvert\mathcal{L}v-f\rvert^2\,\mathrm{d}x+\gamma_2\int_{\partial\Omega}\lvert\partial_n v-\mathrm{i}kv\rvert^2\,\mathrm{d}S-\frac{\mathrm{i}k}{2}\int_{\partial\Omega}\lvert v\rvert^2\,\mathrm{d}x. \tag*{(155)} F γ , C ( v ) = ∫ Ω 2 1 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f ˉ v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S − 2 i k ∫ ∂ Ω ∣ v ∣ 2 d x . (155)
To emphasise the role of v v v and v ˉ \bar{v} v ˉ as independent variables when differentiating complex Lagrangians, and using the obvious notation, we denote
F γ , C ( v , v ˉ ) = F γ , C ( v ) . (156) \mathcal{F}_{\gamma,\mathrm{C}}(v,\bar{v})=\mathcal{F}_{\gamma,\mathrm{C}}(v). \tag*{(156)} F γ , C ( v , v ˉ ) = F γ , C ( v ) . (156)
One can prove the following key result, stating that the homogeneous part of F γ ( u ) \mathcal{F}_{\gamma}(u) F γ ( u ) , F γ ( u ) : = F γ ( u ) ∣ f = 0 \mathcal{F}_{\gamma}(u):=\left.\mathcal{F}_{\gamma}(u)\right|_{f=0} F γ ( u ) := F γ ( u ) ∣ f = 0 is coercive in V \mathcal{V} V . This requires the following geometric assumption on Ω \Omega Ω ,
There exists a constant L 0 > 0 L_0>0 L 0 > 0 such that x ⋅ n ≥ L 0 \boldsymbol{x}\cdot\boldsymbol{n}\ge L_0 x ⋅ n ≥ L 0 for all x ∈ ∂ Ω \boldsymbol{x}\in\partial\Omega x ∈ ∂ Ω , i.e. Ω \Omega Ω is strictly star-shaped with respect to the origin.
The following coercivity result is important for the following.
Theorem 10 Assume that Ω \Omega Ω is strictly star-shaped with respect to the origin. Then, there exist positive constants c 0 , c 1 , c 2 , c 3 c_0,c_1,c_2,c_3 c 0 , c 1 , c 2 , c 3 and thresholds γ 1 , 0 , γ 2 , 0 \gamma_{1,0},\gamma_{2,0} γ 1 , 0 , γ 2 , 0 , all independent of k k k , such that, for γ 1 ≥ γ 1 , 0 \gamma_1\ge\gamma_{1,0} γ 1 ≥ γ 1 , 0 and γ 2 ≥ γ 2 , 0 \gamma_2\ge\gamma_{2,0} γ 2 ≥ γ 2 , 0 ,
F γ ( u ) ≥ c 0 ( ∥ L u ∥ 2 + ∥ ∇ u ∥ 2 + k 2 ∥ u ∥ 2 ) + c 1 ∥ ∇ u ∥ ∂ Ω 2 + c 2 k 2 ∥ u ∥ ∂ Ω 2 + c 3 ∥ ∂ n u − i k u ∥ ∂ Ω 2 . (157) \mathcal{F}_{\gamma}(u)\ge c_0\left(\lVert\mathcal{L}u\rVert^2+\lVert\nabla u\rVert^2+k^2\lVert u\rVert^2\right)+c_1\lVert\nabla u\rVert_{\partial\Omega}^2+c_2k^2\lVert u\rVert_{\partial\Omega}^2+c_3\lVert\partial_nu-\mathrm{i}ku\rVert_{\partial\Omega}^2. \tag*{(157)} F γ ( u ) ≥ c 0 ( ∥ L u ∥ 2 + ∥ ∇ u ∥ 2 + k 2 ∥ u ∥ 2 ) + c 1 ∥ ∇ u ∥ ∂ Ω 2 + c 2 k 2 ∥ u ∥ ∂ Ω 2 + c 3 ∥ ∂ n u − i k u ∥ ∂ Ω 2 . (157)
As a consequence of Theorem 10 , we have the following result.
Theorem 11 Consider the Lagrangian F γ , C \mathcal{F}_{\gamma,\mathrm{C}} F γ , C defined in (155) . Then, under the assumptions of Theorem 10 , the following hold:
(i) There exists γ 0 = ( γ 1 , 0 , γ 2 , 0 ) \gamma_0=(\gamma_{1,0},\gamma_{2,0}) γ 0 = ( γ 1 , 0 , γ 2 , 0 ) such that for all γ = ( γ 1 , γ 2 ) \gamma=(\gamma_1,\gamma_2) γ = ( γ 1 , γ 2 ) with γ j ≥ γ j , 0 \gamma_j\geq\gamma_{j,0} γ j ≥ γ j , 0 , j = 1 , 2 j=1,2 j = 1 , 2 , the real part of F γ , C ∣ f = 0 \mathcal{F}_{\gamma,\mathbb{C}}\big|_{f=0} F γ , C f = 0 is strongly coercive in the norm ∥ v ∥ V \|v\|_{\mathcal{V}} ∥ v ∥ V .
(ii) The stationary points of F γ , C \mathcal{F}_{\gamma,\mathbb{C}} F γ , C with respect to v ‾ \overline{v} v , restricted to V \mathcal{V} V , i.e., the elements u ∈ V u\in\mathcal{V} u ∈ V satisfying
D v ‾ F γ , C ( u ) = 0 D_{\overline{v}}\mathcal{F}_{\gamma,\mathbb{C}}(u)=0 D v F γ , C ( u ) = 0
are exactly the solutions of (144) .
Statement (i) is precisely Theorem 10. Assuming this coercivity estimate, statement (ii) follows from the complex version of the Lax–Milgram theorem [62 Chapter VII] . To this end, consider the sesquilinear form A γ , C \mathcal{A}_{\gamma,\mathbb{C}} A γ , C defined by
A γ , C ( u , v ) : = ∫ Ω ∇ u ⋅ ∇ v ‾ d x − k 2 ∫ Ω u v ‾ d x + 2 γ 1 ∫ Ω ( L u ) L v ‾ d x + 2 γ 2 ∫ ∂ Ω ( ∂ n u − i k u ) ‾ ( ∂ n v − i k v ) d S − i k ∫ ∂ Ω u v ‾ d x . (158) \mathcal{A}_{\gamma,\mathbb{C}}(u,v):=\int_{\Omega}\nabla u\cdot\nabla\overline{v}\,\mathrm{d}x-k^2\int_{\Omega}u\overline{v}\,\mathrm{d}x+2\gamma_1\int_{\Omega}(\mathcal{L}u)\overline{\mathcal{L}v}\,\mathrm{d}x+2\gamma_2\int_{\partial\Omega}\overline{\left(\partial_n u-\mathrm{i}ku\right)}\left(\partial_n v-\mathrm{i}kv\right)\,\mathrm{d}S-\mathrm{i}k\int_{\partial\Omega}u\overline{v}\,\mathrm{d}x. \tag*{(158)} A γ , C ( u , v ) := ∫ Ω ∇ u ⋅ ∇ v d x − k 2 ∫ Ω u v d x + 2 γ 1 ∫ Ω ( L u ) L v d x + 2 γ 2 ∫ ∂ Ω ( ∂ n u − i k u ) ( ∂ n v − i k v ) d S − i k ∫ ∂ Ω u v d x . (158)
This form is linear in its first argument and antilinear in its second, and it arises as the first variation of F γ , C \mathcal{F}_{\gamma,\mathbb{C}} F γ , C with respect to v ‾ \overline{v} v . We conclude that
⟨ D v ‾ F γ , C ( u ) , v ⟩ = { A γ , C ( u , v ) − ∫ Ω f ( v ‾ + 2 γ 1 L v ‾ ) d x } . (159) \left\langle D_{\overline{v}}\mathcal{F}_{\gamma,\mathbb{C}}(u),v\right\rangle=\left\{\mathcal{A}_{\gamma,\mathbb{C}}(u,v)-\int_{\Omega}f\left(\overline{v}+2\gamma_1\overline{\mathcal{L}v}\right)\,\mathrm{d}x\right\}. \tag*{(159)} ⟨ D v F γ , C ( u ) , v ⟩ = { A γ , C ( u , v ) − ∫ Ω f ( v + 2 γ 1 L v ) d x } . (159)
Thus, the stationary points of F γ \mathcal{F}_{\gamma} F γ satisfy
A γ , C ( u , v ) = ∫ Ω f ( v ‾ + 2 γ 1 L v ‾ ) d x , for all v ∈ V . (160) \mathcal{A}_{\gamma,\mathbb{C}}(u,v)=\int_{\Omega}f\left(\overline{v}+2\gamma_1\overline{\mathcal{L}v}\right)\,\mathrm{d}x,\qquad\text{for all }v\in\mathcal{V}. \tag*{(160)} A γ , C ( u , v ) = ∫ Ω f ( v + 2 γ 1 L v ) d x , for all v ∈ V . (160)
Theorem 10 implies
ℜ 1 2 A γ , C ( v , v ) = ℜ F γ , C ( v ) ∣ f = 0 ≥ c ~ ∥ v ∥ V 2 , for all v ∈ V . (161) \Re\frac{1}{2}\mathcal{A}_{\gamma,\mathbb{C}}(v,v)=\Re\left.\mathcal{F}_{\gamma,\mathbb{C}}(v)\right|_{f=0}\geq\widetilde{c}\|v\|_{\mathcal{V}}^2,\qquad\text{for all }v\in\mathcal{V}. \tag*{(161)} ℜ 2 1 A γ , C ( v , v ) = ℜ F γ , C ( v ) ∣ f = 0 ≥ c ∥ v ∥ V 2 , for all v ∈ V . (161)
Thus A γ , C \mathcal{A}_{\gamma,\mathbb{C}} A γ , C is bounded on V × V \mathcal{V}\times\mathcal{V} V × V and A γ , C \mathcal{A}_{\gamma,\mathbb{C}} A γ , C is V \mathcal{V} V -elliptic, while the right-hand side v ↦ ∫ Ω f ( v ‾ + 2 γ 1 L v ‾ ) v\mapsto\int_{\Omega}f(\overline{v}+2\gamma_1\overline{\mathcal{L}v}) v ↦ ∫ Ω f ( v + 2 γ 1 L v ) defines a bounded antilinear functional on V \mathcal{V} V . Therefore, by the Lax–Milgram theorem [62 Section 1, Chapter VII] the variational problem (160) has a unique solution. To complete the proof, consider u u u being the unique weak solution of (144) . Then u u u solves
B ( u , v ) = ∫ Ω f v ‾ d x , for all v ∈ H . \mathcal{B}(u,v)=\int_{\Omega}f\overline{v}\,\mathrm{d}x,\qquad\text{for all }v\in\mathcal{H}. B ( u , v ) = ∫ Ω f v d x , for all v ∈ H .
Furthermore, since Ω \Omega Ω is a Lipschitz domain, u ∈ V u\in\mathcal{V} u ∈ V , see [132 ] . In addition, L u = f \mathcal{L}u=f L u = f in L 2 ( Ω ) L^2(\Omega) L 2 ( Ω ) and the impedance boundary conditions are satisfied in the L 2 ( ∂ Ω ) L^2(\partial\Omega) L 2 ( ∂ Ω ) sense. Since V ⊂ H \mathcal{V}\subset\mathcal{H} V ⊂ H we conclude that u u u satisfies (160) and it is exactly the unique stationary point of F γ , C \mathcal{F}_{\gamma,\mathbb{C}} F γ , C with respect to v ‾ \overline{v} v .
Related minimisation problems
Our analysis may lead to alternative approaches for approximating (144) . In particular, it provides a mathematical foundation for iterative methods that incorporate boundary conditions either as Lagrange multipliers or through fixed-point iterations. To fix ideas, consider the following problem: assume that an approximation of u u u , denoted by w ~ \widetilde{w} w , is given, and we seek to update it by solving the following problem: Find w ∈ V w \in\mathcal{V} w ∈ V such that
∫ Ω ∇ w ⋅ ∇ v ‾ d x − k 2 ∫ Ω w v ‾ d x + 2 γ 1 ∫ Ω ( L w ) L v ‾ d x + 2 γ 2 ∫ ∂ Ω ( ∂ n w − i k w ) ( ∂ n v − i k v ) ‾ d S = i k ∫ ∂ Ω w ~ v ‾ d S + ∫ Ω f ‾ ( v + 2 γ 1 L v ) d x , for all v ∈ V . (162) \int_{\Omega} \nabla w \cdot\nabla\overline{v}\,\mathrm{d}x-k^{2}\int_{\Omega}w\overline{v}\,\mathrm{d}x+2\gamma_{1}\int_{\Omega}(\mathcal{L}w)\overline{\mathcal{L}v}\,\mathrm{d}x+2\gamma_{2}\int_{\partial\Omega}(\partial_{n}w-\mathrm{i}kw)\overline{(\partial_{n}v-\mathrm{i}kv)}\,\mathrm{d}S
=
\mathrm{i}k\int_{\partial\Omega}\widetilde{w}\overline{v}\,\mathrm{d}S+\int_{\Omega}\overline{f}(v+2\gamma_{1}\mathcal{L}v)\,\mathrm{d}x,\qquad\text{for all }v\in\mathcal{V}. \tag*{(162)} ∫ Ω ∇ w ⋅ ∇ v d x − k 2 ∫ Ω w v d x + 2 γ 1 ∫ Ω ( L w ) L v d x + 2 γ 2 ∫ ∂ Ω ( ∂ n w − i k w ) ( ∂ n v − i k v ) d S = i k ∫ ∂ Ω w v d S + ∫ Ω f ( v + 2 γ 1 L v ) d x , for all v ∈ V . (162)
Consider this problem with all data fixed except for w ~ \widetilde{w} w . We shall show that it admits a unique solution, and denote by T T T the solution operator that maps w ~ ↦ w \widetilde{w}\mapsto w w ↦ w :
T : V → V , w = T ( w ~ ) . T:\mathcal{V}\to\mathcal{V},\qquad w=T(\widetilde{w}). T : V → V , w = T ( w ) .
We consider the sesquilinear form A w b c \mathcal{A}_{\mathrm{wbc}} A wbc defined by
A w b c ( u , v ) : = ∫ Ω ∇ u ⋅ ∇ v ‾ d x − k 2 ∫ Ω u v ‾ d x + 2 γ 1 ∫ Ω ( L u ) L v ‾ d x + 2 γ 2 ∫ ∂ Ω ( ∂ n u − i k u ) ( ∂ n v − i k v ) ‾ d S . (163) \mathcal{A}_{\mathrm{wbc}}(u,v):=\int_{\Omega}\nabla u\cdot\nabla\overline{v}\,\mathrm{d}x-k^{2}\int_{\Omega}u\overline{v}\,\mathrm{d}x+2\gamma_{1}\int_{\Omega}(\mathcal{L}u)\overline{\mathcal{L}v}\,\mathrm{d}x+2\gamma_{2}\int_{\partial\Omega}(\partial_{n}u-\mathrm{i}ku)\overline{(\partial_{n}v-\mathrm{i}kv)}\,\mathrm{d}S. \tag*{(163)} A wbc ( u , v ) := ∫ Ω ∇ u ⋅ ∇ v d x − k 2 ∫ Ω u v d x + 2 γ 1 ∫ Ω ( L u ) L v d x + 2 γ 2 ∫ ∂ Ω ( ∂ n u − i k u ) ( ∂ n v − i k v ) d S . (163)
Then w w w solves
A w b c ( w , v ) = i k ∫ ∂ Ω w ~ v ‾ d S + ∫ Ω f ‾ ( v + 2 γ 1 L v ) d x for all v ∈ V . (164) \mathcal{A}_{\mathrm{wbc}}(w,v)=\mathrm{i}k\int_{\partial\Omega}\widetilde{w}\overline{v}\,\mathrm{d}S+\int_{\Omega}\overline{f}(v+2\gamma_{1}\mathcal{L}v)\,\mathrm{d}x\qquad\text{for all }v\in\mathcal{V}. \tag*{(164)} A wbc ( w , v ) = i k ∫ ∂ Ω w v d S + ∫ Ω f ( v + 2 γ 1 L v ) d x for all v ∈ V . (164)
Notice that A w b c \mathcal{A}_{\mathrm{wbc}} A wbc is Hermitian (conjugate-symmetric), i.e. A w b c ( u , v ) = A w b c ( v , u ) ‾ \mathcal{A}_{\mathrm{wbc}}(u,v)=\overline{\mathcal{A}_{\mathrm{wbc}}(v,u)} A wbc ( u , v ) = A wbc ( v , u ) . The next theorem shows that w w w can be obtained as a minimiser of the real Lagrangian
F ~ γ ( v ) = ∫ Ω 1 2 ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ( i k ∫ ∂ Ω w ~ v ‾ d S ) − ℜ ∫ Ω f v ‾ d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S . (165) \widetilde{\mathcal{F}}_{\gamma}(v)=\int_{\Omega}\frac{1}{2}\left(|\nabla v|^{2}-k^{2}|v|^{2}\right)\,\mathrm{d}x-\Re\left(\mathrm{i}k\int_{\partial\Omega}\widetilde{w}\overline{v}\,\mathrm{d}S\right)-\Re\int_{\Omega}f\overline{v}\,\mathrm{d}x+\gamma_{1}\int_{\Omega}|\mathcal{L}v-f|^{2}\,\mathrm{d}x+\gamma_{2}\int_{\partial\Omega}|\partial_{n}v-\mathrm{i}kv|^{2}\,\mathrm{d}S. \tag*{(165)} F γ ( v ) = ∫ Ω 2 1 ( ∣∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ( i k ∫ ∂ Ω w v d S ) − ℜ ∫ Ω f v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S . (165)
Theorem 12 Consider the energy F ~ γ \widetilde{\mathcal{F}}_{\gamma} F γ defined in (165) , and the minimisation problem
min v ∈ V F ~ γ ( v ) . (166) \min_{v\in\mathcal{V}}\widetilde{\mathcal{F}}_{\gamma}(v). \tag*{(166)} v ∈ V min F γ ( v ) . (166) Then, under the assumptions of Theorem 10 , the following hold:
(i) There exists γ 0 = ( γ 1 , 0 , γ 2 , 0 ) \gamma_0=(\gamma_{1,0},\gamma_{2,0}) γ 0 = ( γ 1 , 0 , γ 2 , 0 ) such that for all γ = ( γ 1 , γ 2 ) \gamma=(\gamma_1,\gamma_2) γ = ( γ 1 , γ 2 ) with γ j ≥ γ j , 0 \gamma_j\ge\gamma_{j,0} γ j ≥ γ j , 0 , j = 1 , 2 j=1,2 j = 1 , 2 , the quadratic part of F ~ γ \widetilde{\mathcal F}_\gamma F γ (i.e. with f = 0 f=0 f = 0 and w ~ = 0 \widetilde w=0 w = 0 ) is strongly coercive in the norm ∥ v ∥ V \|v\|_{\mathcal V} ∥ v ∥ V .
(ii) The problem (166) has a unique solution that coincides with the solution of (164) .
(iii) Both (166) and (164) admit a unique solution w w w that satisfies:
∥ w ∥ V ≤ C T ( ∥ w ~ ∥ V + ∥ f ∥ L 2 ( Ω ) ) . \|w\|_{\mathcal V}\le C_T\left(\|\widetilde w\|_{\mathcal V}+\|f\|_{L^2(\Omega)}\right). ∥ w ∥ V ≤ C T ( ∥ w ∥ V + ∥ f ∥ L 2 ( Ω ) ) .
Furthermore, if in addition γ 1 ≥ γ ~ 1 , 0 ≥ γ 1 , 0 \gamma_1\ge\widetilde\gamma_{1,0}\ge\gamma_{1,0} γ 1 ≥ γ 1 , 0 ≥ γ 1 , 0 for an appropriately chosen γ ~ 1 , 0 \widetilde\gamma_{1,0} γ 1 , 0 , T T T is a contraction in L 2 ( ∂ Ω ) L^2(\partial\Omega) L 2 ( ∂ Ω ) :
∥ T ( w ~ 1 ) − T ( w ~ 2 ) ∥ L 2 ( ∂ Ω ) ≤ η ∥ w ~ 1 − w ~ 2 ∥ L 2 ( ∂ Ω ) , for a constant 0 < η < 1. \|T(\widetilde w_1)-T(\widetilde w_2)\|_{L^2(\partial\Omega)}
\le\eta\|\widetilde w_1-\widetilde w_2\|_{L^2(\partial\Omega)},\qquad\text{for a constant }0<\eta<1. ∥ T ( w 1 ) − T ( w 2 ) ∥ L 2 ( ∂ Ω ) ≤ η ∥ w 1 − w 2 ∥ L 2 ( ∂ Ω ) , for a constant 0 < η < 1.
As before (i) follows by Theorem 10. Statements (ii) and (iii) then follow from the complex Lax-Milgram theorem. In fact, the sesquilinear form A w b c A_{\mathrm{wbc}} A wbc arises as the first variation of the real Lagrangian F ~ γ \widetilde{\mathcal F}_\gamma F γ . We conclude that
⟨ D F ~ γ ( u ) , v ⟩ = R { A w b c ( u , v ) − i k ∫ ∂ Ω w ~ v d x − ∫ Ω f ‾ ( v + 2 γ 1 L w ~ ) d x } . (167) \left\langle D\widetilde{\mathcal F}_\gamma(u),v\right\rangle
=\mathop{\mathfrak{R}}\left\{A_{\mathrm{wbc}}(u,v)-\mathrm{i}k\int_{\partial\Omega}\widetilde wv\,\mathrm{d}x-\int_\Omega\overline{f}(v+2\gamma_1\mathcal L\widetilde w)\,\mathrm{d}x\right\}. \tag*{(167)} ⟨ D F γ ( u ) , v ⟩ = R { A wbc ( u , v ) − i k ∫ ∂ Ω w v d x − ∫ Ω f ( v + 2 γ 1 L w ) d x } . (167)
Thus, the stationary points of F ~ γ \widetilde{\mathcal F}_\gamma F γ are solutions of (164) . Theorem 10 implies
R 1 2 A w b c ( v , v ) ≥ c ~ ∥ v ∥ V 2 , for all v ∈ V . (168) \mathop{\mathfrak{R}}\frac{1}{2}A_{\mathrm{wbc}}(v,v)\ge\widetilde c\|v\|_{\mathcal V}^2,\qquad\text{for all }v\in\mathcal V. \tag*{(168)} R 2 1 A wbc ( v , v ) ≥ c ∥ v ∥ V 2 , for all v ∈ V . (168)
In addition the right-hand side of (164) defines a bounded antilinear functional on V \mathcal V V . Therefore, by [62 Section 1, Chapter VII] , the variational problem (164) admits a unique solution, and statement (ii) follows. The fact that T T T is a contraction in L 2 ( ∂ Ω ) L^2(\partial\Omega) L 2 ( ∂ Ω ) follows from the observation that the boundary term involving w ~ \widetilde w w in (164) is independent of γ 1 \gamma_1 γ 1 and γ 2 \gamma_2 γ 2 , together with the coercivity bound established in [132 ] , provided that β \beta β is chosen such that ( 2 β − α L − α L 2 ε 2 ) \left(2\beta-\alpha L-\frac{\alpha L^2}{\varepsilon_2}\right) ( 2 β − α L − ε 2 α L 2 ) is sufficiently large, which in turn implies that γ 1 \gamma_1 γ 1 must be taken sufficiently large. The remainder of statement (iii) is then immediate.
A convergent fixed point iteration
Let ρ > 0 \rho>0 ρ > 0 and consider the following iterative scheme:
w ~ n + 1 = ( 1 − ρ ) w ~ n + ρ w n + 1 = ( 1 − ρ ) w ~ n + ρ T ( w ~ n ) = : G ( w ~ n ) . (169) \widetilde w^{n+1}=(1-\rho)\widetilde w^n+\rho w^{n+1}=(1-\rho)\widetilde w^n+\rho T(\widetilde w^n)=:G(\widetilde w^n). \tag*{(169)} w n + 1 = ( 1 − ρ ) w n + ρ w n + 1 = ( 1 − ρ ) w n + ρT ( w n ) =: G ( w n ) . (169)
Utilising (iii) of the above theorem we have
∥ G ( w ~ 1 ) − G ( w ~ 2 ) ∥ L 2 ( ∂ Ω ) ≤ [ ( 1 − ρ ) + η ρ ] ∥ w ~ 1 − w ~ 2 ∥ L 2 ( ∂ Ω ) . \|G(\widetilde w_1)-G(\widetilde w_2)\|_{L^2(\partial\Omega)}
\le\left[(1-\rho)+\eta\rho\right]\|\widetilde w_1-\widetilde w_2\|_{L^2(\partial\Omega)}. ∥ G ( w 1 ) − G ( w 2 ) ∥ L 2 ( ∂ Ω ) ≤ [ ( 1 − ρ ) + η ρ ] ∥ w 1 − w 2 ∥ L 2 ( ∂ Ω ) .
Since 0 < η < 1 0<\eta<1 0 < η < 1 it follows that G G G is a contraction for any ρ \rho ρ , 0 < ρ < 1 0<\rho<1 0 < ρ < 1 . Hence the sequence converges to the fixed point u u u in L 2 ( ∂ Ω ) L^2(\partial\Omega) L 2 ( ∂ Ω ) . By the stability bound,
∥ u − T ( w ~ n ) ∥ V ≤ C k ∥ u − w ~ n ∥ L 2 ( ∂ Ω ) \lVert u-T(\widetilde{w}^{n})\rVert_{\mathcal V}\leq C k\lVert u-\widetilde{w}^{n}\rVert_{L^{2}(\partial\Omega)} ∥ u − T ( w n ) ∥ V ≤ C k ∥ u − w n ∥ L 2 ( ∂ Ω )
we conclude that T ( w ~ n ) → u T(\widetilde{w}^{n})\to u T ( w n ) → u in V \mathcal V V .
Rellich, Morawetz identities and proof design strategy
The key idea of the proof is to combine in an appropriate manner the identity known as Rellich/Morawetz Identity and a lower order version of Morawetz identity needed to handle the boundary terms.
The first identity is well known, e.g., [57 , 141 ] ,
Proposition 5 (Rellich/Morawetz Identity) Let u ∈ V u\in\mathcal V u ∈ V , L u = − Δ u − k 2 u \mathcal L u=-\Delta u-k^{2}u L u = − Δ u − k 2 u and Ω \Omega Ω be a domain in R ν \mathbb{R}^{\nu} R ν with Lipschitz boundary ∂ Ω \partial\Omega ∂ Ω . Then the following identity holds:
∫ Ω 2 ℜ ( ( x ⋅ ∇ u ) L u ‾ ) d x + ∫ Ω ( ( ν − 2 ) ∣ ∇ u ∣ 2 − ν k 2 ∣ u ∣ 2 ) d x + ∫ ∂ Ω ( 2 ℜ ( ( x ⋅ ∇ u ) ( ∇ u ‾ ⋅ n ) ) − ∣ ∇ u ∣ 2 ( x ⋅ n ) + k 2 ∣ u ∣ 2 ( x ⋅ n ) ) d S = 0 (170) \int_{\Omega}2\Re\left((x\cdot\nabla u)\overline{\mathcal L u}\right)\,\mathrm{d}x+\int_{\Omega}\left((\nu-2)|\nabla u|^{2}-\nu k^{2}|u|^{2}\right)\,\mathrm{d}x+\int_{\partial\Omega}\left(2\Re\left((x\cdot\nabla u)(\overline{\nabla u}\cdot n)\right)-|\nabla u|^{2}(x\cdot n)+k^{2}|u|^{2}(x\cdot n)\right)\,\mathrm{d}S=0 \tag*{(170)} ∫ Ω 2ℜ ( ( x ⋅ ∇ u ) L u ) d x + ∫ Ω ( ( ν − 2 ) ∣∇ u ∣ 2 − ν k 2 ∣ u ∣ 2 ) d x + ∫ ∂ Ω ( 2ℜ ( ( x ⋅ ∇ u ) ( ∇ u ⋅ n ) ) − ∣∇ u ∣ 2 ( x ⋅ n ) + k 2 ∣ u ∣ 2 ( x ⋅ n ) ) d S = 0 (170) where n n n is the outward unit normal vector on ∂ Ω \partial\Omega ∂ Ω , and d S \mathrm{d}S d S is the surface element.
The following identity will be also useful.
Proposition 6 (Low-order Morawetz Identity) Let u ∈ V u\in\mathcal V u ∈ V , L u = − Δ u − k 2 u \mathcal L u=-\Delta u-k^{2}u L u = − Δ u − k 2 u , and let Ω \Omega Ω be a bounded domain in R ν \mathbb{R}^{\nu} R ν with Lipschitz boundary ∂ Ω \partial\Omega ∂ Ω . Define
M 0 u : = − i k β u , (171) M_{0}u:=-\mathrm{i}k\beta u, \tag*{(171)} M 0 u := − i k β u , (171) where β ∈ R \beta\in\mathbb{R} β ∈ R is a constant. Then the following integral identity holds:
∫ Ω 2 ℜ ( M 0 u ‾ L u ) d x − 2 k 2 β ∫ ∂ Ω ∣ u ∣ 2 d S + 2 ℜ ∫ ∂ Ω i k β u ‾ ( ∇ u ⋅ n − i k u ) d S = 0. (172) \int_{\Omega}2\Re\left(\overline{M_{0}u}\mathcal L u\right)\,\mathrm{d}x-2k^{2}\beta\int_{\partial\Omega}|u|^{2}\,\mathrm{d}S+2\Re\int_{\partial\Omega}\mathrm{i}k\overline{\beta u}(\nabla u\cdot n-\mathrm{i}ku)\,\mathrm{d}S=0. \tag*{(172)} ∫ Ω 2ℜ ( M 0 u L u ) d x − 2 k 2 β ∫ ∂ Ω ∣ u ∣ 2 d S + 2ℜ ∫ ∂ Ω i k β u ( ∇ u ⋅ n − i k u ) d S = 0. (172) When traces are not L 2 L^{2} L 2 -valued, the boundary integrals are interpreted in the H − 1 / 2 ( ∂ Ω ) H^{-1/2}(\partial\Omega) H − 1/2 ( ∂ Ω ) -H 1 / 2 ( ∂ Ω ) H^{1/2}(\partial\Omega) H 1/2 ( ∂ Ω ) duality sense.
Design idea: Our construction of the enhanced Lagrangians is intrinsically connected to the analysis establishing their coercivity. The key idea is to observe that the energy E P ( u ) E_{P}(u) E P ( u ) contains the indefinite term
1 2 ∫ Ω ( ∣ ∇ u ∣ 2 − k 2 ∣ u ∣ 2 ) d x , (173) \frac{1}{2}\int_{\Omega}\left(|\nabla u|^{2}-k^{2}|u|^{2}\right)\,\mathrm{d}x, \tag*{(173)} 2 1 ∫ Ω ( ∣∇ u ∣ 2 − k 2 ∣ u ∣ 2 ) d x , (173)
and at the same time a standard Rellich identity, see (170) , can be written as
∫ Ω ( ( ν − 2 ) ∣ ∇ u ∣ 2 − ν k 2 ∣ u ∣ 2 ) d x + ∫ Ω 2 ℜ ( ( x ⋅ ∇ u ) L u ‾ ) d x + B R ( u ) = 0 , (174) \int_{\Omega}\left((\nu-2)|\nabla u|^{2}-\nu k^{2}|u|^{2}\right)\,\mathrm{d}x+\int_{\Omega}2\Re\left((x\cdot\nabla u)\overline{\mathcal L u}\right)\,\mathrm{d}x+B_{R}(u)=0, \tag*{(174)} ∫ Ω ( ( ν − 2 ) ∣∇ u ∣ 2 − ν k 2 ∣ u ∣ 2 ) d x + ∫ Ω 2ℜ ( ( x ⋅ ∇ u ) L u ) d x + B R ( u ) = 0 , (174)
where B R ( u ) B_R(u) B R ( u ) accounts for the boundary terms in (170) . Then, an appropriate linear combination of the principal part of the Lagrangian for f = 0 f=0 f = 0 and the identity (174) has two key advantages: the energy changes only by a constant factor, since the contribution of (174) is zero, and the coefficients of ∣ ∇ u ∣ 2 |\nabla u|^2 ∣∇ u ∣ 2 and k 2 ∣ u ∣ 2 k^2|u|^2 k 2 ∣ u ∣ 2 can both be made constants of the same sign. The least-squares regularisation term in the Lagrangian functional makes it possible to control the second term in (174) . Moreover, the boundary term in (174) can also be controlled, particularly through the use of another lower-order Morawetz identity—a fact that is not immediately apparent, see (172) . It is important to emphasise that, within this framework, the structure of the regularised Lagrangian is preserved, and coercivity is ensured for all γ ≥ γ 0 \gamma\geq\gamma_0 γ ≥ γ 0 , where the constant γ 0 \gamma_0 γ 0 can be determined explicitly.
Neural network approximation
Our aim is consider a neural network discretisation of the augmented variational formulation. To this end we employ the fixed point iteration described in Section 7.3.1. We introduce a complex boundary variable λ \lambda λ and at a fixed point, we recover the impedance term appearing in the variational formulation. For a fixed boundary flux λ \lambda λ , the primal network is obtained by approximately minimising
J γ , λ ( v ) = 1 2 ∫ Ω ( ∣ ∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f v ‾ d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S − ℜ ∫ ∂ Ω λ v ‾ d S . (175) J_{\gamma,\lambda}(v)=\frac{1}{2}\int_{\Omega}\left(|\nabla v|^2-k^2|v|^2\right)\,\mathrm{d}x-\Re\int_{\Omega}f\overline{v}\,\mathrm{d}x+\gamma_1\int_{\Omega}|\mathcal{L}v-f|^2\,\mathrm{d}x+\gamma_2\int_{\partial\Omega}|\partial_n v-\mathrm{i}kv|^2\,\mathrm{d}S-\Re\int_{\partial\Omega}\lambda\overline{v}\,\mathrm{d}S. \tag*{(175)} J γ , λ ( v ) = 2 1 ∫ Ω ( ∣∇ v ∣ 2 − k 2 ∣ v ∣ 2 ) d x − ℜ ∫ Ω f v d x + γ 1 ∫ Ω ∣ L v − f ∣ 2 d x + γ 2 ∫ ∂ Ω ∣ ∂ n v − i k v ∣ 2 d S − ℜ ∫ ∂ Ω λ v d S . (175)
As discussed in Section 7.3.1 we aim to approximate the solution of the Helmholtz problem by a sequence of strongly coercive , real minimisation problems . Each one of these problems is posed as usual in a discrete neural network space of complex functions
u θ = u θ , R + i u θ , I , u_\theta=u_{\theta,R}+\mathrm{i}u_{\theta,I}, u θ = u θ , R + i u θ , I ,
where u θ , R u_{\theta,R} u θ , R and u θ , I u_{\theta,I} u θ , I are the two real-valued outputs of a Sinusoidal Representation Network. Derivatives in L u θ \mathcal{L}u_\theta L u θ and on ∂ Ω \partial\Omega ∂ Ω are computed by automatic differentiation. On a fixed boundary collocation set { y m } m = 1 M ⊂ ∂ Ω \{y_m\}_{m=1}^{M}\subset\partial\Omega { y m } m = 1 M ⊂ ∂ Ω , the flux is updated by the damped fixed point step, compare to Theorem 11 and (169) ,
λ m + 1 ( y ) = ( 1 − ρ ) λ m ( y ) + ρ i k u θ m + 1 ( y ) , y ∈ ∂ Ω , (176) \lambda^{m+1}(y)=(1-\rho)\lambda^m(y)+\rho\,\mathrm{i}k\,u_\theta^{m+1}(y),\qquad y\in\partial\Omega, \tag*{(176)} λ m + 1 ( y ) = ( 1 − ρ ) λ m ( y ) + ρ i k u θ m + 1 ( y ) , y ∈ ∂ Ω , (176)
with 0 < ρ ≤ 1 0<\rho\leq1 0 < ρ ≤ 1 . Equivalently,
λ R m + 1 = ( 1 − ρ ) λ R m − ρ k u I m + 1 , λ I m + 1 = ( 1 − ρ ) λ I m + ρ k u R m + 1 . \lambda_R^{m+1}=(1-\rho)\lambda_R^m-\rho k u_I^{m+1},\qquad\lambda_I^{m+1}=(1-\rho)\lambda_I^m+\rho k u_R^{m+1}. λ R m + 1 = ( 1 − ρ ) λ R m − ρ k u I m + 1 , λ I m + 1 = ( 1 − ρ ) λ I m + ρ k u R m + 1 .
Deep Uzawa : From saddle point to minimisation
This section is devoted to a general framework for analysing constrained optimisation problems solved using neural networks.
min u ∈ V J ( u ) subject to C u = g , (177) \min_{u\in V} J(u) \qquad\text{subject to } Cu=g, \tag*{(177)} u ∈ V min J ( u ) subject to C u = g , (177)
where J J J is a convex energy functional, V V V is a Hilbert space of admissible functions, and the constraint C u = g Cu=g C u = g encodes structural conditions that may include boundary conditions, divergence constraints, or inequality admissibility. Inequality constraints can be handled through an equivalent constrained formulation in which feasibility is expressed by membership in a closed constraint set in the range of C C C and subsequently enforced through the same penalised and augmented machinery. A standard approach would be to use residual-type losses, in which the constraint is incorporated directly into the functional to be minimised. Our key idea is instead to develop variations of the classical Uzawa algorithm based on the following principles:
(a) the solution of (177) is approximated by a sequence of minimisation problems and constraint updates;
(b) each minimisation problem is solved over discrete neural network spaces;
(c) the variational structure of each minimisation problem is strongly coercive.
We refer to the resulting algorithms as deep Uzawa methods. At each level of approximation, the energy J J J and the constraint C C C are replaced by discrete approximations constructed using sampling or quadrature, while the function space V V V is replaced by a nonlinear class of neural network functions V N V_N V N .
Problem setup
Let V V V and B B B be Hilbert spaces and let C : V → B C: V \to B C : V → B be a bounded linear operator encoding a constraint. Let J : V → R J: V \to\mathbb{R} J : V → R be Fréchet differentiable, coercive and strongly convex. Given g ∈ B g \in B g ∈ B , we seek the solution of the constrained minimisation problem
u ∗ = arg min v ∈ V J ( v ) subject to C v = g . (178) u^*=\arg\min_{v\in V}J(v) \qquad\text{subject to } Cv=g. \tag*{(178)} u ∗ = arg v ∈ V min J ( v ) subject to C v = g . (178)
Assume the feasible set { v ∈ V : C v = g } \{v\in V: Cv=g\} { v ∈ V : C v = g } is nonempty. Then strong convexity of J J J implies that the constrained minimiser u ∗ u^* u ∗ is unique.
To enforce the constraint weakly let with B ′ B' B ′ denote the continuous dual of B B B , introduce a Lagrange multiplier λ ∈ B ′ \lambda\in B' λ ∈ B ′ and define the Lagrangian
L ( u , λ ) : = J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ , (179) L(u,\lambda):=J(u)+\langle Cu-g,\lambda\rangle_{B\times B'}, \tag*{(179)} L ( u , λ ) := J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ , (179)
where ⟨ ⋅ , ⋅ ⟩ B × B ′ \langle\cdot,\cdot\rangle_{B\times B'} ⟨ ⋅ , ⋅ ⟩ B × B ′ denotes the duality pairing. We assume there exists a saddle point ( u ∗ , λ ∗ ) ∈ V × B ′ (u^*,\lambda^*)\in V\times B' ( u ∗ , λ ∗ ) ∈ V × B ′ satisfying
L ( u ∗ , λ ) ≤ L ( u ∗ , λ ∗ ) ≤ L ( u , λ ∗ ) for all ( u , λ ) ∈ V × B ′ . (180) L(u^*,\lambda)\leq L(u^*,\lambda^*)\leq L(u,\lambda^*) \qquad\text{for all }(u,\lambda)\in V\times B'. \tag*{(180)} L ( u ∗ , λ ) ≤ L ( u ∗ , λ ∗ ) ≤ L ( u , λ ∗ ) for all ( u , λ ) ∈ V × B ′ . (180)
Equivalently, ( u ∗ , λ ∗ ) (u^*,\lambda^*) ( u ∗ , λ ∗ ) satisfies the KKT conditions
J ′ ( u ∗ ) + C ∗ λ ∗ = 0 in V ′ , C u ∗ = g in B , (181) \begin{aligned}
J'(u^*) + C^*\lambda^* &= 0 \text{ in } V',\\
Cu^* &= g \text{ in } B, \tag*{(181)}
\end{aligned} J ′ ( u ∗ ) + C ∗ λ ∗ C u ∗ = 0 in V ′ , = g in B , (181)
where C ∗ : B ′ → V ′ C^*: B' \to V' C ∗ : B ′ → V ′ is the adjoint operator.
Since we will also use quadratic augmentation, it is convenient to identify residuals in B B B with elements of B ′ B' B ′ via the Riesz map R B : B → B ′ R_B: B \to B' R B : B → B ′ defined by
⟨ ψ , R B b ⟩ B × B ′ = ⟨ b , ψ ⟩ B for all b , ψ ∈ B , (182) \langle\psi,R_B b\rangle_{B\times B'} = \langle b,\psi\rangle_B \qquad\text{for all } b,\psi\in B, \tag*{(182)} ⟨ ψ , R B b ⟩ B × B ′ = ⟨ b , ψ ⟩ B for all b , ψ ∈ B , (182)
where ⟨ ⋅ , ⋅ ⟩ B \langle\cdot,\cdot\rangle_B ⟨ ⋅ , ⋅ ⟩ B denotes the inner product on B B B . In particular, R B R_B R B is an isometric isomorphism and ∥ R B b ∥ B ′ = ∥ b ∥ B \|R_B b\|_{B'}=\|b\|_B ∥ R B b ∥ B ′ = ∥ b ∥ B .
This is the only place where Hilbert structure on B B B is used. If one wishes to work in a Banach constraint space, the same updates can be formulated using the duality map in place of R B R_B R B , but we do not pursue that here.
Uzawa iteration
To compute a saddle point, one can apply the Uzawa algorithm [173 ] . Given λ 0 ∈ B ′ \lambda^0 \in B' λ 0 ∈ B ′ and a step size ρ > 0 \rho>0 ρ > 0 , define { ( u k , λ k ) } k ≥ 0 \{(u^k,\lambda^k)\}_{k\geq0} {( u k , λ k ) } k ≥ 0 by
u k ∈ arg min u ∈ V ( J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ ) , λ k + 1 = λ k + ρ R B ( C u k − g ) . (183) \begin{aligned}
u^k &\in\underset{u\in V}{\arg\min}\left(J(u)+\langle Cu-g,\lambda^k\rangle_{B\times B'}\right),\\
\lambda^{k+1} &= \lambda^k+\rho R_B(Cu^k-g). \tag*{(183)}
\end{aligned} u k λ k + 1 ∈ u ∈ V arg min ( J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ ) , = λ k + ρ R B ( C u k − g ) . (183)
Equivalently, the multiplier update may be read weakly as: for all ψ ∈ B \psi\in B ψ ∈ B ,
⟨ ψ , λ k + 1 − λ k ⟩ B × B ′ = ρ ⟨ C u k − g , ψ ⟩ B . (184) \langle\psi,\lambda^{k+1}-\lambda^k\rangle_{B\times B'}=\rho\langle Cu^k-g,\psi\rangle_B. \tag*{(184)} ⟨ ψ , λ k + 1 − λ k ⟩ B × B ′ = ρ ⟨ C u k − g , ψ ⟩ B . (184)
The scheme alternates between exact minimisation in u u u for fixed λ k \lambda^k λ k and an explicit ascent step in λ \lambda λ driven by the constraint residual.
Augmented Uzawa iteration
One way to enforce strong coercivity which is capable to control the Lagrange multiplier term in the functional is to incorporate a quadratic penalty into the Lagrangian, [75 ] , giving the augmented Lagrangian,
L γ ( u , λ ) : = J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ + γ 2 ∥ C u − g ∥ B 2 , (185) L_\gamma(u,\lambda):=J(u)+\langle Cu-g,\lambda\rangle_{B\times B'}+\frac{\gamma}{2}\|Cu-g\|_B^2, \tag*{(185)} L γ ( u , λ ) := J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ + 2 γ ∥ C u − g ∥ B 2 , (185)
where γ > 0 \gamma>0 γ > 0 and ∥ ⋅ ∥ B \|\cdot\|_B ∥ ⋅ ∥ B is the norm induced by ⟨ ⋅ , ⋅ ⟩ B \langle\cdot,\cdot\rangle_B ⟨ ⋅ , ⋅ ⟩ B . Applying Uzawa iteration to L γ L_\gamma L γ yields { ( u k , λ k ) } k ≥ 0 \{(u^k,\lambda^k)\}_{k\geq0} {( u k , λ k ) } k ≥ 0 defined by
u k ∈ arg min u ∈ V ( J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ + γ 2 ∥ C u − g ∥ B 2 ) , (186) u^k \in\mathop{\arg\min}_{u\in V}\left(J(u)+\langle Cu-g,\lambda^k\rangle_{B\times B'}+\frac{\gamma}{2}\lVert Cu-g\rVert_B^2\right), \tag*{(186)} u k ∈ arg min u ∈ V ( J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ + 2 γ ∥ C u − g ∥ B 2 ) , (186)
λ k + 1 = λ k + ρ R B ( C u k − g ) . \lambda^{k+1}=\lambda^k+\rho R_B\left(Cu^k-g\right). λ k + 1 = λ k + ρ R B ( C u k − g ) .
The augmented term improves conditioning of the primal subproblem and stabilises the iteration in stiff regimes. It is also compatible with sampling-based surrogates used in neural discretisations, where C C C and J J J are replaced by discrete approximations and the multiplier update is performed in a finite-dimensional surrogate dual space. This is the setting analysed in the sequel. One can obtain the convergence at the continuous level by adopting classical arguments, [85 , 75 ] :
Theorem 13 (Augmented Uzawa convergence) Let V V V and B B B be Hilbert spaces and let C : V → B C:V\to B C : V → B be a bounded linear operator. Let J : V → R J:V\to\mathbb{R} J : V → R be convex, coercive and Gâteaux differentiable. Assume the constrained problem
min { J ( v ) : v ∈ V , C v = g } (187) \min\{J(v):v\in V,\ Cv=g\} \tag*{(187)} min { J ( v ) : v ∈ V , C v = g } (187) admits a unique minimiser u ∗ ∈ V u^*\in V u ∗ ∈ V and assume there exists at least one λ ∗ ∈ B ′ \lambda^*\in B' λ ∗ ∈ B ′ such that ( u ∗ , λ ∗ ) (u^*,\lambda^*) ( u ∗ , λ ∗ ) is a saddle point of the augmented Lagrangian
L γ ( u , λ ) : = J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ + γ 2 ∥ C u − g ∥ B 2 , (188) L_\gamma(u,\lambda):=J(u)+\langle Cu-g,\lambda\rangle_{B\times B'}+\frac{\gamma}{2}\lVert Cu-g\rVert_B^2, \tag*{(188)} L γ ( u , λ ) := J ( u ) + ⟨ C u − g , λ ⟩ B × B ′ + 2 γ ∥ C u − g ∥ B 2 , (188) with some γ > 0 \gamma>0 γ > 0 . Let R B : B → B ′ R_B:B\to B' R B : B → B ′ denote the Riesz map and define ( u k , λ k ) (u^k,\lambda^k) ( u k , λ k ) by the augmented Uzawa iteration
u k ∈ arg min u ∈ V [ J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ + γ 2 ∥ C u − g ∥ B 2 ] , u^k\in\mathop{\arg\min}_{u\in V}\left[J(u)+\langle Cu-g,\lambda^k\rangle_{B\times B'}+\frac{\gamma}{2}\lVert Cu-g\rVert_B^2\right], u k ∈ arg min u ∈ V [ J ( u ) + ⟨ C u − g , λ k ⟩ B × B ′ + 2 γ ∥ C u − g ∥ B 2 ] , λ k + 1 = λ k + ρ R B ( C u k − g ) in B ′ , (189) \lambda^{k+1}=\lambda^k+\rho R_B\left(Cu^k-g\right)\quad\text{in }B', \tag*{(189)} λ k + 1 = λ k + ρ R B ( C u k − g ) in B ′ , (189) with ρ ∈ ( 0 , 2 γ ) \rho\in(0,2\gamma) ρ ∈ ( 0 , 2 γ ) . Then the constraint residuals r k : = C u k − g r_k:=Cu^k-g r k := C u k − g satisfy ∑ k ≥ 0 ∥ r k ∥ B 2 < ∞ \sum_{k\geq0}\lVert r_k\rVert_B^2<\infty ∑ k ≥ 0 ∥ r k ∥ B 2 < ∞ and hence r k → 0 r_k\to0 r k → 0 strongly in B B B . Moreover, u k ⇀ u ∗ u^k\rightharpoonup u^* u k ⇀ u ∗ weakly in V V V . Finally, the multiplier sequence { λ k } \{\lambda^k\} { λ k } is bounded in B ′ B' B ′ and converges weakly in B ′ B' B ′ to some λ ˉ ∈ Λ ∗ \bar{\lambda}\in\Lambda^* λ ˉ ∈ Λ ∗ , where
Λ ∗ : = { λ ∈ B ′ : u ∗ ∈ arg min u ∈ V L γ ( u , λ ) } . (190) \Lambda^*:=\left\{\lambda\in B':u^*\in\mathop{\arg\min}_{u\in V}L_\gamma(u,\lambda)\right\}. \tag*{(190)} Λ ∗ := { λ ∈ B ′ : u ∗ ∈ arg min u ∈ V L γ ( u , λ ) } . (190) If Λ ∗ \Lambda^* Λ ∗ is a singleton then λ k ⇀ λ ∗ \lambda^k\rightharpoonup\lambda^* λ k ⇀ λ ∗ weakly in B ′ B' B ′ .
The arguments are based heavily on the comparison of the optimality conditions and of the Euler-Lagrange equations for the minimisation step. Preliminary results suggest that alternative, neural network compatible proofs utilising the framework of § 2 can be derived.
Bibliography and comments
In § 2.1 we established that the training process—that is, the evaluation of the loss functional through quadrature or other discrete approximations—can play a decisive role in determining the stability, and in particular the coercivity, of the resulting method. It is natural therefore to seek alternative training methods with emphasis on qualitative behaviour and improved performance. In § 2.16.1.1 based on [6 ] , we establish a systematic connection between Runge–Kutta (RK) time-discrete schemes and neural solvers through the training mechanism. The resulting methods inherit key stability properties and computational features of the underlying RK schemes. This framework leads, in particular, to energy-conservative neural network solvers for the wave equation. From a theoretical perspective, stability in the parabolic case is established using new maximal-regularity estimates for classical RK schemes, also developed in [6 ] . In § 2.20.0.1 , based on [89 ] , we propose incorporating finite element techniques into the training of neural solvers for elliptic problems in settings where meshes can be constructed efficiently. In such cases, the resulting methods exhibit strong stability properties and can offer improved memory and computational efficiency. In [90 ] , this approach is extended to residual methods by merging Discontinuous Galerkin finite elements and PINNs. The need of specially designed loss functionals satisfying the Discrete Variational Stability is linked to well known coercivity of DG formulations.
Although the minimisation problem over neural network functions is inherently non-convex, our work suggests that algorithms based on strongly coercive functionals, formulated at the continuous infinite-dimensional level, can inherit favourable stability and performance properties at the discrete level. This observation motivates the development, already at the PDE level, of alternative variational principles with enhanced analytical and computational properties. In § 2.23.0.1 based on [132 ] , Morawetz identities are used to derive novel strongly coercive variational principles for the Helmholtz equation, leading through fixed point iterations to efficient neural network solvers.
Deep Uzawa methods discussed in § 3.1.1.1 are based on a related principle: saddle-point problems are reformulated and approximated through a sequence of strongly coercive minimisation problems combined with constraint updates. This approach has been applied to PDE-constrained optimisation in [136 ] , to the weak enforcement of boundary conditions through Lagrange multipliers in [137 ] , and to stationary kinetic equations in [135 ] .
Acknowledgements
These notes are based on the lectures I gave at the mathematics summer school and conference held within the 2025 edition of the festival Festum-π, led by D. Dervis-Bournias and C. Villani. I am grateful to Professor Cédric Villani for his invitation and his encouragement, and I would also like to warmly thank Professors N. Alikakos, P. Giannotis and G. Fournodavlos. The material presented here is based on joint work and discussions with several collaborators and friends, among them G. Akrivis, G. Arampatzis, L. Banjai, M. Dashti, D. Gazoulis, E. Georgoulis, I. Gkannis, G. Grekas, P. Herbert, M. Jensen, T. Katsaounis, S. Katsarakis, M. Katsoulakis, K. Koumatos, O. Lakkis, B. Li, G. Makrakis, D. Mitsoudis, I. Pantazis, M. Plexousakis, N. Rekatsinas, P. Rosakis, G. Savaré, K. Smaragdakis, D. Tsagkarogiannis, A. Tzavaras, A. Veeser, A. Vikelis, J. Xu, and K. Zygalakis to whom I owe much of my understanding of the subject; most of the ideas were developed during my long-standing collaboration with Michalis Loulakis and Tristan Pryer, to whom I am especially grateful.
References