arXiv reader

A deep first-order system least squares method for solving elliptic PDEs

Francisco M. Bersetche and Juan Pablo Borthagaray

arXiv
2204.07227v2 · PDF · 14 December 2022
Categories
math.NA, cs.NA
Licence
CC BY 4.0 The site shows the text.

Abstract

We propose a First-Order System Least Squares (FOSLS) method based on deep-learning for numerically solving second-order elliptic PDEs. The method we propose is capable of dealing with either variational and non-variational problems, and because of its meshless nature, it can also deal with problems posed in high-dimensional domains. We prove the \Gamma-convergence of the neural network approximation towards the solution of the continuous problem, and extend the convergence proof to some well-known related methods. Finally, we present several numerical examples illustrating the performance of our discretization.

Items 25

Definition

Definition 2.1 (smooth distance function)

03ZK

Let \Gamma_* \subset \overline \Omega be a closed set. We say that a Lipschitz continuous function d_* \colon \Omega \to \mathbb{R} is a smooth distance function if it satisfies d_* \ge 0 and d_* (x) = 0 if and only if x \in \Gamma_*.

Remark

Remark 1

6MA5

Naturally, when using Montecarlo integration, one is not allowed to take pointwise evaluations of an arbitrary function f \in L^2(\omega). By density, for every \epsilon > 0 we can find a continuous function f_\epsilon with \| f - f_\epsilon \|_{L^2(\Omega)} < \epsilon. By the ellipticity of the functional \mathcal{L} in the H^1(\Omega) \times H(\operatorname{div}; \Omega) norm (cf. (Proof) below), if we let \mathcal{L}_\epsilon be the functional (?) using f_\epsilon instead of f and {{\bm q}}_{0,\epsilon} its minimizer, we then have \| {{\bm q}}_0 - {{\bm q}}_{0,\epsilon} \|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} < \epsilon. We can therefore implement the method by using f_\epsilon instead of f and letting \epsilon \to 0 as m \to \infty.

Nevertheless, we emphasize that, for the sake of the theoretical results in this paper, for any f \in L^2(\Omega) we can take any representative of the equivalence class of f in the definition of the functionals (e.g. in (?)). Our convergence results are not affected because they are stated in an “almost sure" sense.

Definition

Definition 3.1 (sequential \Gamma-convergence)

JDLX

Let X be a metric space and let F_{n}, F: X \to \overline{\mathbb{R}}, where \overline{\mathbb{R}}:= [-\infty,+\infty]. We say that F_{n} \Gamma-converges to F (and write F_n \xrightarrow[]{\Gamma} F) if, for every x \in X we have

  • (lim-inf inequality) for every sequence \{x_n\}_{n \in \mathbb{N}} \subset X converging to x,

    F(x) \le \liminf_{n\to\infty} F_n(x_n) ;
  • (lim-sup inequality) there exists a sequence \{x_n\}_{n \in \mathbb{N}} converging to x such that

    F(x) \ge \limsup_{n\to\infty} F_n(x_n) .
Definition

Definition 3.2 (equi-coercivity)

QF0X

Let \{F_n\}_{n \in \mathbb{N}} be a sequence of functions F_n: X \to \overline{\mathbb{R}}. We say that \{F_n\} is equi-coercive if for all t \in \mathbb{R} there exists a compact set K_t \subset X such that \{F_n \le t\} \subset K_t.

Used by Proof, Proof
Theorem

Theorem 3.1 (fundamental theorem of \Gamma-convergence)

S3BX

Let (X, d) be a metric space, \{F_n\}_{n\in\mathbb{N}} be an equi-coercive sequence of functions on X, and F be such that F_n \xrightarrow[]{\Gamma} F. Then,

\exists \min_{X} F = \lim_{n \to\infty} \inf_{X} F_n.

Moreover, if \{x_n\}_{n\in\mathbb{N}} is a precompact sequence in X such that \lim_{n\to\infty} F_n(x_n) = \lim_{n\to\infty} \inf_{X} F_n, then every limit of a subsequence of \{x_n\} is a minimum point for F.

Used by Proof, Proof
Lemma

Lemma 3.1 (continuity with respect to neural network parameters)

GDGN

The map

{{\bm \Theta}} \mapsto {{\bm q}}_{{\bm \Theta}} = (u_{{{\bm \Theta}}},{{\bm \phi}}_{ {{\bm \Theta}}}) \in (\mathcal{A}_m,\| \cdot \|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)})

is continuous. Moreover, defining the functions G_1, G_2: \mathbb{R}^m \times \Omega \to \mathbb{R},

G_1({{\bm \Theta}},x):=| {{\bm \phi}}_{{{\bm \Theta}}}(x) - {{\bm A}} \nabla u_{{{\bm \Theta}}}(x) |^2, \quad G_2({{\bm \Theta}},x):=|\operatorname{div}{{\bm \phi}}_{{{\bm \Theta}}}(x) - B u_{{{\bm \Theta}}}(x) + f(x) |^2,

for any R>0 we have G_1 \in L^{\infty}(B(0,R) \times \Omega) and, assuming f \in L^{2}(\Omega), there exists a function s \in L^1(B(0,R) \times \Omega)), depending on R, such that |G_2({{\bm \Theta}} , x)| \leq s({{\bm \Theta}} , x) for all ({{\bm \Theta}} , x) \in B(0,R) \times \Omega.

Used by Proof, Proof
Proof of Lemma 3.1

Let us first focus on a generic neural network v_{{{\bm \Theta}}}: \mathbb{R}^d \to \mathbb{R} with one hidden layer,

v_{{{\bm \Theta}}}(x) = B \sigma( A x + c ).

Above, we assume \sigma is a Lipschitz continuous activation function, and the parameters B \in \mathbb{R}^{1\times n}, A \in \mathbb{R}^{n\times d} and c \in \mathbb{R}^{n \times 1} are collected in {{\bm \Theta}} \in \mathbb{R}^m, m = n (d+2). Using the fact that v_{{{\bm \Theta}}} and its derivatives depend continuously on the parameters, one can verify easily that the map \mathbb{R}^m \mapsto W^{1,\infty}(\Omega) such that {{\bm \Theta}} \mapsto v_{{{\bm \Theta}}} is continuous. Moreover, the function G: \mathbb{R}^m \times \Omega \to \mathbb{R}, defined as G({{\bm \Theta}},x) := v_{{{\bm \Theta}}}(x) is Lipschitz continuous, and therefore it is bounded on B(0,R) \times \Omega and its (weak) derivatives are essentially bounded on the same set as well. Furthermore, if f \in L^2(\Omega) then |G({{\bm \Theta}},x) + f(x)|^2 \leq 2|G({{\bm \Theta}},x)|^2 + 2|f(x)|^2 \leq 2M + 2|f(x)|^2 =: s({{\bm \Theta}},x), with s \in L^1(B(0,R) \times \Omega).

For arbitrary neural network functions (u_{{{\bm \Theta}}},{{\bm \phi}}_{ {{\bm \Theta}}}) in the space \mathcal{A}_m, defined by (?), we exploit the idea above together with the fact that the auxiliary functions d_\mathcal{D}, d_\mathcal{N} and {{\bm n}} are smooth to conclude the desired result.

Lemma

Lemma 3.2 (approximation properties of \calA_m)

59ED

For every m \in \mathbb{N}, let us define the set of neural network quasi-minimizers

\mathcal{I}_m := \{ {{\bm q}} \in \mathcal{A}_m : \mathcal{L}({{\bm q}}) \leq \mathcal{L}({{\bm q}}^*) + 1/m \ \forall {{\bm q}}^* \in \mathcal{A}_m \}.

Then, if {{\bm q}}_0 is the unique minimizer of \mathcal{L} in \mathcal{A}, we have

\sup_{{{\bm q}}_m \in \mathcal{I}_m}\|{{\bm q}}_m - {{\bm q}}_0\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} \to 0 \quad \mbox{as } m \to \infty.
Used by Proof
Proof of Lemma 3.2

From [Cai94], we know that \mathcal{L} is elliptic with respect to the H^1(\Omega) \times H(\operatorname{div}; \Omega) norm. Namely, there exist positive constants \alpha and \beta such that

\alpha\|(u,{{\bm \phi}})\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} \le \| {{\bm \phi}} - {{\bm A}} \nabla u \|_0^2 + \| \operatorname{div}({{\bm \phi}}) - B u \|_0^2 \le \beta\|(u,{{\bm \phi}})\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)},

for all (u,{{\bm \phi}}) \in H^1(\Omega) \times H(\operatorname{div}; \Omega).

Let \varepsilon > 0. By (?), we consider m_0 > 0 such that d({{\bm q}}_0,\mathcal{A}_m)<\varepsilon and 1/m < \varepsilon for all m>m_0. For every m > 0, there exists {{\bm q}}^*_{m} = (u^*_{m}, {{\bm \phi}}^*_{m}) \in \mathcal{A}_{m} with d({{\bm q}}_0, \mathcal{A}_{m}) \ge \|{{\bm q}}^*_m-{{\bm q}}_0\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} - \varepsilon. Then, for all m>m_0 and every neural network quasi-minimizer {{\bm q}}_m = (u_m, {{\bm \phi}}_m) \in \mathcal{I}_m, using that the solution {{\bm q}}_0 = (u_0,{{\bm \phi}}_0) of (?) satisfies the conditions {{\bm \phi}}_0 = {{\bm A}} \nabla u_0 and -\operatorname{div}({{\bm \phi}}_0) + B u_0 = f a.e. in \Omega and exploiting the upper bound in (Proof), we have

\begin{aligned} 0 & \le \mathcal{L}({{\bm q}}_m) \le \mathcal{L}({{\bm q}}^*_m) + \varepsilon = \| {{\bm \phi}}^*_m - {{\bm A}} \nabla u^*_m \|_0^2 + \| \operatorname{div}({{\bm \phi}}^*_m) - B u^*_m +f\|_0^2 + \varepsilon \\ & = \| {{\bm \phi}}^*_m - {{\bm \phi}}_0 - {{\bm A}} \nabla (u^*_m - u_0) \|_0^2 + \| \operatorname{div}({{\bm \phi}}^*_m - {{\bm \phi}}_0) - B (u^*_m - u_0) \|_0^2 + \varepsilon\\ & \le \beta \|{{\bm q}}^*_m-{{\bm q}}_0\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} + \varepsilon \le \beta ( d({{\bm q}}_0, \mathcal{A}_m) + \varepsilon) + \varepsilon = (2\beta+1)\varepsilon. \end{aligned}

Finally, by combining this estimate with the lower bound in (Proof), and exploiting the fact that {{\bm q}}_0 satisfies (?) a.e. in \Omega, we reach the estimate

\begin{aligned} \|{{\bm q}}_m - {{\bm q}}_0\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} & \le \frac1\alpha \Big( \| {{\bm \phi}}_m - {{\bm \phi}}_0 - {{\bm A}} \nabla (u_m - u_0) \|_0^2 + \| \operatorname{div}({{\bm \phi}}_m - {{\bm \phi}}_0) + B (u_m - u_0) \|_0^2 \Big) \\ & \le \frac1\alpha \Big( \| {{\bm \phi}}_m - {{\bm A}} \nabla u_m \|_0^2 + \| \operatorname{div}({{\bm \phi}}_m) + B u_m +f\|_0^2 \Big) = \frac{\mathcal{L}({{\bm q}}_m)}{\alpha} < \frac{(2\beta + 1)}{\alpha}\varepsilon, \end{aligned}

for every {{\bm q}}_m \in \mathcal{I}_m and m > m_0. Since \varepsilon is arbitrary small, this concludes the proof.

Lemma

Lemma 3.3 (almost sure convergence of regularized discrete loss functions)

Y73M

Consider R>0, L as in (?), L_{\lambda,N} and \{X_i\}_{i \in \mathbb{N}} an i.i.d. family of random variables defined in the probability space (\Lambda,\Sigma,P) as in (?). Then L_{\lambda,N}({{\bm \Theta}}) \to L({{\bm \Theta}}) as N \to \infty P-almost surely, for all {{\bm \Theta}} \in \mathbb{R}^m.

Used by Proof
Proof of Lemma 3.3

Since we are using the same parameter R in the definitions of L and L_{\lambda,N}, if |{{\bm \Theta}}| > R we have L({{\bm \Theta}}) = L_{\lambda,N}({{\bm \Theta}}) = +\infty and there is nothing to be proven. We therefore assume |{{\bm \Theta}}| \le R. Recalling V_N(\lambda) = \cup_{i \le N} \{X_i(\lambda)\} with \lambda \in \Lambda and the definition of G_1 and G_2 (3.1), an application of the strong law of large numbers yields

\frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } | {{\bm \phi}}(x) - {{\bm A}} \nabla u(x) |^2 \xrightarrow[N \to \infty]{a.s.} \int_{\Omega} | {{\bm \phi}} - {{\bm A}} \nabla u |^2,

and

\frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } | \operatorname{div}{{\bm \phi}}(x) - B u(x) + f(x) |^2 \xrightarrow[N \to \infty]{a.s.} \int_{\Omega} | \operatorname{div}{{\bm \phi}} - B u + f |^2

for all (u,{{\bm \phi}}) \in \mathcal{A}_m. It follows immdiately that L_{\lambda,N}({{\bm \Theta}}) \to L({{\bm \Theta}}) P-almost surely as N \to \infty.

Theorem

Theorem 3.2 (almost sure \Gamma-convergence)

2I3X

Let R>0, L be as in (?), and L_{\lambda,N} and \{X_i\}_{i \in \mathbb{N}} be an i.i.d. family of random variables defined in the probability space (\Lambda,\Sigma,P) as in (?). Then, assuming f \in L^2(\Omega), it holds that L_{\lambda,N} \xrightarrow[]{\Gamma} L as N \to \infty P-almost surely.

Used by Proof, Proof
Proof of Theorem 3.2

We first observe that the lim-sup inequality is a trivial corollary of Lemma 3.3. Indeed, it suffices to consider the recovery sequence \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} \subset \mathbb{R}^m, {{\bm \Theta}}_N \equiv {{\bm \Theta}}, and by Lemma 3.3 we have L_{\lambda,N}({{\bm \Theta}}_N) \to L({{\bm \Theta}}) with N \to \infty P-almost surely.

We next prove the lim-inf inequality. Given {{\bm \Theta}} \in \mathbb{R}^m, let \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} \subset \mathbb{R}^m be a sequence of parameters such that {{\bm \Theta}}_{N} \to {{\bm \Theta}}. We aim to prove that

L({{\bm \Theta}}) \le \liminf_{N \to \infty} L_{\lambda,N}({{\bm \Theta}}_N).

We observe that, if |{{\bm \Theta}}|>R then there exists N_0 = N_0(\lambda) such that L({{\bm \Theta}})=L_{\lambda,N}({{\bm \Theta}}_N) = +\infty for all N>N_0, and (?) trivially holds. Therefore, without loss of generality we assume \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} \subset \overline{B(0,R)}. In that case, we extract a subsequence in such a way that L_{\lambda,N}({{\bm \Theta}}_N) \to \liminf_{N \to \infty} L_{\lambda,N}({{\bm \Theta}}_N) and, for the sake of simplicity, we omit the relabeling. By Lemma 3.1, the map {{\bm \Theta}} \mapsto (u_{{{\bm \Theta}}},{{\bm \phi}}_{ {{\bm \Theta}}}) \in (\mathcal{A}_m,\| \cdot \|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)}) is continuous and therefore (u_{{{\bm \Theta}}_N}, {{\bm \phi}}_{{{\bm \Theta}}_N}) \to (u_{{{\bm \Theta}}}, {{\bm \phi}}_{{{\bm \Theta}}}) in the H^1(\Omega) \times H(\operatorname{div}; \Omega) norm. Because \Omega is bounded, this implies

\begin{aligned} & \|u_{{{\bm \Theta}}_N}-u_{{{\bm \Theta}}}\|_{L^1(\Omega)} \to 0, & \quad \|\nabla u_{{{\bm \Theta}}_N}-\nabla u_{{{\bm \Theta}}}\|_{L^1(\Omega)} \to 0,\\ & \|{{\bm \phi}}_{{{\bm \Theta}}_N}-{{\bm \phi}}_{{{\bm \Theta}}}\|_{L^1(\Omega)} \to 0, \quad \mbox{and} & \ \|\operatorname{div} {{\bm \phi}}_{{{\bm \Theta}}_N}-\operatorname{div} {{\bm \phi}}_{{{\bm \Theta}}}\|_{L^1(\Omega)} \to 0. \end{aligned}

Then, defining G_1 and G_2 as in (3.1), we extract another subsequence in such a way that G_1({{\bm \Theta}}_N,x) + G_2({{\bm \Theta}}_N,x) \to G_1({{\bm \Theta}},x) + G_2({{\bm \Theta}},x) almost everywhere in \Omega, and, as before, we omit the relabeling.

In order to prove (?), we are going to show that the latter subsequence satisfies L_{\lambda,N}({{\bm \Theta}}_N) \to L({{\bm \Theta}}) with N \to \infty P-almost surely. Let \varepsilon>0 be an arbitrary number, using the triangle inequality, we split

|L_{\lambda,N}({{\bm \Theta}}_N) - L({{\bm \Theta}})| \le |L_{\lambda,N}({{\bm \Theta}}_N) - L_{\lambda,N}({{\bm \Theta}})| + |L_{\lambda,N}({{\bm \Theta}}) - L({{\bm \Theta}})|.

From Lemma 3.3, it follows that |L_{\lambda,N}({{\bm \Theta}}) - L({{\bm \Theta}})| \to 0 P-almost surely. Thus, there exists N_0=N_0(\lambda) such that |L_{\lambda,N}({{\bm \Theta}}) - L({{\bm \Theta}})|\le \varepsilon/4 for all N>N_0.

In order to bound the first term in the right hand side in (?), we first observe that Lemma 3.1 shows that G_1 is uniformly bounded and G_2 is bounded above by some integrable function. Thus, there exists s \in L^1(\Omega), depending on R, such that

\big| G_1({{\bm \Theta}}_N,x) + G_2({{\bm \Theta}}_N,x) - G_1({{\bm \Theta}},x) - G_2({{\bm \Theta}},x) \big| \leq s(x),

for all ({{\bm \Theta}},x) \in B(0,R) \times \Omega. Now we apply Egorov’s Theorem to construct a set \mathcal{K} \subset \Omega such that \int_{\mathcal{K}} s(x) dx < \varepsilon/8 and G_1({{\bm \Theta}}_N, \cdot) + G_2({{\bm \Theta}}_N,\cdot) \to G_1({{\bm \Theta}},\cdot) + G_2({{\bm \Theta}},\cdot) uniformly in \Omega \setminus \mathcal{K}. We bound

|L_{\lambda,N}({{\bm \Theta}}_N) - L_{\lambda,N}({{\bm \Theta}})| \le A_1 + A_2,

where

\begin{aligned} A_1 & = \frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) \cap (\Omega\setminus \mathcal{K}) } \big| G_1({{\bm \Theta}}_N,x) + G_2({{\bm \Theta}}_N,x) - G_1({{\bm \Theta}},x) - G_2({{\bm \Theta}},x) \big|, \\ A_2 & = \frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) \cap \mathcal{K} } \big| G_1({{\bm \Theta}}_N,x) + G_2({{\bm \Theta}}_N,x) - G_1({{\bm \Theta}},x) - G_2({{\bm \Theta}},x) \big|. \end{aligned}

Using the uniform convergence in \Omega \setminus \mathcal{K}, P-almost surely there exists N_1 = N_1(\lambda) such that, if N > N_1, then \big| G_1({{\bm \Theta}}_N,x) + G_2({{\bm \Theta}}_N,x) - G_1({{\bm \Theta}},x) - G_2({{\bm \Theta}},x) \big| < \frac{\varepsilon}{4|\Omega|} for all x \in \Omega \setminus \mathcal{K}. Then, it follows that A_1 < \varepsilon/4 if N>N_1.

On the other hand, we use (?) to derive

A_2 \le \frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } \chi_\mathcal{K}(x) s(x).

By the strong law of large numbers, we have

\frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } \chi_\mathcal{K}(x) s(x) \xrightarrow[N \to \infty]{a.s.} \int_{\mathcal{K}} s(x) < \frac{\varepsilon}{8}.

Therefore, P-almost surely there exists N_2 = N_2(\lambda) such that, if N>N_2 then

\Big| \frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } \chi_\mathcal{K}(x) - \int_{\mathcal{K}} s(x) \Big| < \frac{\varepsilon}{8},

which implies that \frac{|\Omega|}{N}\sum_{ x \in V_N(\lambda) } \chi_\mathcal{K}(x) s(x) < \frac{\varepsilon}{4}. Consequently, we have A_2 < \frac{\varepsilon}{4}.

Collecting the estimates above, it follows that P-almost surely we can choose N' = N'(\lambda) = \max \{N_0,N_1,N_2\} such that

|L_{\lambda,N}({{\bm \Theta}}_N) - L({{\bm \Theta}})| \le |L_{\lambda,N}({{\bm \Theta}}_N) - L_{\lambda,N}({{\bm \Theta}})| + |L_{\lambda,N}({{\bm \Theta}}) - L({{\bm \Theta}})| \leq \varepsilon,

for all N > N'. This shows that (?) holds, and concludes the proof.

Theorem

Theorem 3.3 (convergence)

L6HD

Suppose that for any fixed m \in \mathbb{N} and R>0 we can construct a sequence \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} \subset B(0,R) \subset \mathbb{R}^m such that \lim_{N \to \infty} L_{\lambda,N}({{\bm \Theta}}_N) = \lim_{N \to \infty} \inf_{{{\bm \Theta}} \in \mathbb{R}^m} L_{\lambda,N}({{\bm \Theta}}), with L_{\lambda,N} defined as in (?). Let (u_0,{{\bm \phi}}_0) = {{\bm q}}_0 = \arg \min_{{{\bm q}} \in \mathcal{A}} \mathcal{L}({{\bm q}}). Given \varepsilon>0, there P-almost surely exist m_0=m_0(\varepsilon) \in \mathbb{N}, R=R(m_0)>0 and N_0 = N_0(m_0) \in \mathbb{N} such that, if one constructs a sequence \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} as above, then

\|(u_0,{{\bm \phi}}_0) - (u_{{{\bm \Theta}}_N} , {{\bm \phi}}_{{{\bm \Theta}}_N})\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} \le \varepsilon \quad \mbox{for all } N>N_0,

where (u_{{{\bm \Theta}}_N} , {{\bm \phi}}_{{{\bm \Theta}}_N}) is the neural network function defined by the parameters {{\bm \Theta}}_N.

Proof of Theorem 3.3

Let \varepsilon > 0 and consider the set of neural network quasi-minimizers introduced in Lemma 3.2, \mathcal{I}_m = \{ {{\bm q}} \in \mathcal{A}_m : \mathcal{L}({{\bm q}}) \leq \mathcal{L}({{\bm q}}^*) + 1/m \ \forall {{\bm q}}^* \in \mathcal{A}_m \}. By that lemma, there exists m_0 > 0 such that

\| {{\bm q}}_0 - {{\bm q}}_{m_0}\|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} < \varepsilon/2,

for all {{\bm q}}_{m_0} \in \mathcal{I}_{m_0}. Next, we fix R_0>0 large enough so that there exists {{\bm \Theta}} \in B(0,R_0) with {{\bm q}}_{{\bm \Theta}}^* = (u_{{{\bm \Theta}}}^*,{{\bm \phi}}_{ {{\bm \Theta}}}^*) \in \mathcal{I}_{m_0}. For the functional L defined in (?), this implies that q_{{{\bm \Theta}}} \in \mathcal{I}_m for all {{\bm \Theta}} \in \arg \min_{{{\bm \Theta}} \in B(0,R_0)} L({{\bm \Theta}}).

For this choice of m_0 and R_0, from Theorem 3.2 we have L_{\lambda,N} \xrightarrow[]{\Gamma} L P-almost surely. From the definition of L_{\lambda,N} (?), it follows immediately that \{L_{\lambda , N}\}_{N \in \mathbb{N}} is an equi-coercive sequence, according to Definition 3.2. Therefore, we deduce that P-almost surely there exists N_0 > 0 such that

\| (u_{{{\bm \Theta}}_N},{{\bm \phi}}_{{{\bm \Theta}}_N}) - {{\bm q}}_{m_0} \|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} < \varepsilon/2

for all N>N_0 for some {{\bm q}}_{m_0} \in \mathcal{I}_{m_0}. This bound follows by Theorem 3.1 because every cluster point of \{ {{\bm \Theta}}_N\} is a minimum point for L, and because of the continuity of the map {{\bm \Theta}} \mapsto (u_{{{\bm \Theta}}},{{\bm \phi}}_{ {{\bm \Theta}}}).

The proof concludes upon combining (Proof) and (?).

Theorem

Theorem 4.1 (almost sure \Gamma-convergence, general case)

8AYQ

Let R>0, and L, L_{\lambda,N} be as in (?) and (?), respectively. Then, under assumptions (H1), (H2), and (H3), it holds that L_{\lambda,N} \xrightarrow[]{\Gamma} L with N \to \infty P-almost surely.

Used by Proof
Proof of Theorem 4.1

The arguments used in the proof of Theorem 3.2 can be easily adapted to this case.

Indeed, the lim-sup inequality follows trivially by taking the recovery sequence \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}}, {{\bm \Theta}}_N \equiv {{\bm \Theta}} and using a strong law of large numbers.

To prove the lim-inf inequality, we start from a bounded sequence of parameters \{ {{\bm \Theta}}_N\}_{N \in \mathbb{N}} and use (H1) to extract a converging subsequence \{ {{\bm q}}_{{{\bm \Theta}}_N}\}_{N \in \mathbb{N}} in the \mathcal{A}-norm. Then, by (H2) we can extract another subsequence such that G_i({{\bm \Theta}}_{n_j},x) \to G_i({{\bm \Theta}},x) \mu_i-almost everywhere for all 1 \le i \le K and by (H3) we know that every function G_i has an upper bound in L_{\mu_i}^1( \Omega). The conclusion then follows by applying Egorov’s Theorem on every subset \omega_1, \ldots \omega_K.

Theorem

Theorem 4.2 (convergence, general case)

8PTO

Assume hypotheses (H1)–(H5) are satisfied, and suppose that for any fixed m \in \mathbb{N} and R>0 we can construct a sequence \{{{\bm \Theta}}_N\}_{N \in \mathbb{N}} \subset B(0,R) \subset \mathbb{R}^m such that \lim_{N \to \infty} L_{\lambda,N}({{\bm \Theta}}_N) = \lim_{N \to \infty} \inf_{{{\bm \Theta}} \in \mathbb{R}^m} L_{\lambda,N}({{\bm \Theta}}), with L_{\lambda,N} defined as in (?). Let {{\bm q}}_0 = \arg \min_{{{\bm q}} \in \mathcal{A}} \mathcal{L}({{\bm q}}). Given \varepsilon>0 there exist m_0=m_0(\varepsilon) \in \mathbb{N}, R=R(m_0)>0 and N_0 = N_0(m_0) \in \mathbb{N} P-almost surely, such that

\| {{\bm q}}_0 - {{\bm q}}_{{{\bm \Theta}}_N}\|_{\mathcal{A}} \le \varepsilon \quad \mbox{for all } N>N_0,

where {{\bm q}}_{{{\bm \Theta}}_N} \in \mathcal{A}_{m_0} is the neural network function defined by the parameters {{\bm \Theta}}_N.

Proof of Theorem 4.2

We first remark that hypothesis (H4) is needed to guarantee the existence of a well-defined minimizer {{\bm q}}_0 \in \mathcal{A}, and therefore (H5) is meaningful. Given \varepsilon > 0, we use hypothesis (H5) to find m_0 \in \mathbb{N} such that, if {{\bm q}}_{m_0} \in \mathcal{I}_{m_0} then \| {{\bm q}}_0 - {{\bm q}}_{m_0}\|_{\mathcal{A}} < \varepsilon/2.

Next, we fix R_0>0 large enough so that there exists {{\bm \Theta}} \in B(0,R_0) with {{\bm q}}_{ {{\bm \Theta}}} \in \mathcal{I}_{m_0}, and use this R_0 in Theorem 4.1 to deduce that L_{\lambda,N} \xrightarrow[]{\Gamma} L with N \to \infty P-almost surely. The result then follows by the equi-coercivity of the sequence \{L_{\lambda , N}\}_{N \in \mathbb{N}} by applying the fundamental theorem of \Gamma-convergence (Theorem 3.1).

Remark

Remark 2 (Deep Ritz Method)

7KIT

The DRM was proposed by E and Yu in [E18], and is tailored for numerically solving variational problems. A prototypical example is the homogeneous Dirichlet problem, that corresponds to the minimization of the energy \mathcal{L} \colon H^1_0(\Omega) \to \mathbb{R},

\mathcal{L}(u) = \frac12 \int_\Omega |\nabla u|^2 - \int_\Omega f u.

We assume \| f \|_{L^{2}(\Omega)} <\infty, consider \mathcal{A} = H^1_0(\Omega), and define the neural network spaces \mathcal{A}_m as in (?). Arguing as in Section ?, it is possible to show that hypotheses (H1)–(H4) hold for this loss function. Indeed, (H1) and (H3) can be proved in the same fashion as Lemma 3.1, while (H2) follows because for every bounded sequence in H^1_0(\Omega) we can extract an almost everywhere convergent subsequence, and (H4) is a standard PDE result. Finally, hypothesis (H5) can be obtained from classical approximation results [Cybenko89, hornik1991, Barron93, Yarotsky17, He_etal20].

Remark

Remark 3 (Deep Galerkin Method)

L4BX

The DGM was introduced by Sirignano and Spiliopoulos in [DGM18], and uses as loss functional the L^2-norm of the PDE residual on the neural network functions. Within the convergence framework in [DGM18, Section 7], and the conditions assumed there, we set \mathcal{A}: = \mathcal{C}^{0, \delta, \delta/2}(\overline {\Omega}_{T}) \cap L^2((0, T]; W^{1,2}_0 (\Omega)) \cap W^{(1,2), 2}_0 (\Omega_T '), where \delta> 0 and \Omega_T' is any interior subdomain of \Omega_T, cf. Theorem 7.3. We furnish this space with the \| \cdot \|_{H^2 (\Omega_T)} norm, and define \mathcal{A}_m according to (?).

Then, assumptions (H1) and (H3) can be verified by arguing as in Lemma 3.1 by requiring suitable regularity assumptions on the initial and boundary data and parameters of the equation; for example, these hold straightforwardly for these data and parameters are bounded. Hypothesis (H2) can be proved by using the boundedness of \Omega_T and arguing as in the proof of Theorem 3.2 to exploit the convergence properties of the H^2(\Omega)-norm. Finally, hypotheses (H4) and (H5) are addressed in [DGM18, Theorem 7.3]. We observe that despite this result is stated for a single minimizing sequence \{f^n\}, defined in [DGM18, Theorem 7.1], the arguments applies "uniformly" to any possible construction of \{f^n\}, and then (H5) is verified. Finally, we point out that the convergence of discrete minimizers of \mathcal{L} is proven in the weaker norm \| \cdot \|_{L^{\rho}(\Omega_T)}, with \rho <2. Therefore, our conclusion in Theorem 4.2 is valid if we measure convergence in such a norm.

Example

Example 5.1 (Laplace operator)

C2UV

We consider the following problem in arbitrary dimension. Let \Omega = \{ x\in {\mathbb{R}^d} : \ -1< x_1,..., x_d< 1\}, \Gamma_\mathcal{N} = [-1,1]^{d-1} \times \{1\}, and k \in \mathbb{N}. We seek u \colon \Omega \to \mathbb{R} such that

\left\lbrace \begin{aligned} -\Delta u & = \prod^{d-1}_{i=1}\sin(k \pi x_i) \left( (d-1)k^2 \pi^2 (1-x_d^2) + 2 \right) \quad & \mbox{in } \Omega,\\ u & = 0 \quad & \mbox{on } \partial\Omega \setminus \Gamma_\mathcal{N},\\ \nabla u \cdot {{\bm \nu}} & = -2\prod^{d-1}_{i=1}\sin(k \pi x_i) \quad & \mbox{on } \Gamma_\mathcal{N}.\\ \end{aligned} \right.

Here, we have {{\bm \nu}} = (0,...,0,1) on \Gamma_\mathcal{N}, and the solution to (5.1) is

u = \prod^{d-1}_{i=1} \sin(k \pi x_i)(1-x^2_d).

We point out that the parameter k is a frequency that allows us to choose how oscillatory the exact solution u is. We first tested the method in a two-dimensional domain (d=2). Figure ? displays the results we obtained for k=1 and by constructing u_{{{\bm \Theta}}} and {{\bm \phi}}_{{{\bm \Theta}}} using neural networks with 15 sigmoidal activation functions per layer. At the end of the stochastic gradient descent algorithm we computed the value L_N ({{\bm \Theta}}) = 0.0450. Taking into account the ellipticity of the loss function \mathcal{L}, arguing as in Lemma 3.2 we deduce

\mathcal{L} ({{\bm q}}_m) \simeq \| {{\bm q}}_m - {{\bm q}}_0 \|_{H^1(\Omega) \times H(\operatorname{div}; \Omega)} ,

and therefore this quantity serves as an error estimator.

Figure ? corresponds to k=2, and we used a similar architecture, but with 18 sigmoidal activation functions per layer. We observed a fast convergence in the number of iterations, reaching L_N ({{\bm \Theta}}) = 1.89 by the end of the minimization algorithm. Finally, Figure ? reports the results we obtained in case d = 5, k=1. In this case, we used networks with 25 sigmoidal activation functions per layer and obtained L_N ({{\bm \Theta}}) = 2.32.

The paper has a figure here, which this page does not show.
The paper has a figure here, which this page does not show.
The paper has a figure here, which this page does not show.
Example

Example 5.2 (singularly perturbed problem)

012E

Let \varepsilon > 0, \Omega = (0,1)^2, {{\bm b}} = (-1+2\varepsilon,-1+2\varepsilon), c = 2(1-\varepsilon), and the function f \colon \Omega \to \mathbb{R},

f(x,y) = - \left[ x - \left( \frac{1-e^{-x/\varepsilon}}{1-e^{-1/\varepsilon}}\right) + y - \left( \frac{1-e^{-y/\varepsilon}}{1-e^{-1/\varepsilon}}\right) \right]e^{x+y}.

We consider the singularly perturbed problem: find u \colon \Omega \to \mathbb{R} such that

\left\lbrace \begin{aligned} -\varepsilon \Delta u + {{\bm b}}\cdot \nabla u +cu = f \quad & \mbox{in } \Omega,\\ u = 0 \quad & \mbox{on } \partial\Omega. \end{aligned} \right.

The exact solution to (?) is

u(x,y) = \left( x - \frac{1-e^{-x/\varepsilon}}{1-e^{-1/\varepsilon}}\right) \left( y - \frac{1-e^{-y/\varepsilon}}{1-e^{-1/\varepsilon}}\right) e^{x+y}.

Figure ? exhibits our computed solutions for this example with \varepsilon = 0.05. In that case, we observed a fast convergence towards the solution, reaching L_N ({{\bm \Theta}}) = 0.0112, as well as a good adaptation of the discrete solution to the boundary layers.

The paper has a figure here, which this page does not show.
Remark

Remark 4 (almost-everywhere solutions)

2PWG

The convergence proofs in Sections ? and ? are based on the use of regularized versions of the cost functionals and their discretizations. Regularization consists in restricting the size of the parameters, namely, imposing that | {{\bm \Theta}} | < R for certain R < \infty. This ensures that any neural network function with large derivatives is penalized, thereby preventing minimizers from approximating non-smooth functions.

Far from being an artificial condition of the proof, regularization mechanisms of this kind are necessary in the implementation to avoid convergence towards functions that satisfy the PDE almost everywhere but are not weak solutions of the target problem. To illustrate this point, consider the following example, which is just (?) in a simplified setting: seek u,\phi: (0,1) \to \mathbb{R} such that

\left\lbrace \begin{aligned} \phi - u' & = 0 & \mbox{in } (0,1), \\ \phi'& = 0 & \mbox{in } (0,1), \\ u(0) & = 0, \\ u(1) & = 1. \end{aligned} \right.

Naturally, the unique minimizer of the least-squares functional (cf. (?))

\mathcal{L} (u, \phi) := \| \phi - u' \|_{L^2(\Omega)}^2 + \| \phi' \|_{L^2(\Omega)}^2

in the corresponding admissible set \mathcal{A} = \{ (u,\phi) \in [H^1(\Omega)]^2 \colon u(0) = 0, \ u(1) = 1 \} is u(x) = x and \phi(x) = 1. Let \delta \in (0,1/2) be a small number, and consider the functions

u_\delta(x) = \left\lbrace \begin{aligned} & 0 & \mbox{in } (0,1/2-\delta) \\ & \frac{x-1/2+\delta}{2\delta} & \mbox{in } (1/2-\delta,1/2+\delta) \\ & 1 & \mbox{in } (1/2+\delta,1) \end{aligned} \right., \qquad \phi_\delta(x) = \left\lbrace \begin{aligned} & 0 & \mbox{in } (0,1/2-\delta) \\ & \frac1{2\delta} & \mbox{in } (1/2-\delta,1/2+\delta) \\ & 0 & \mbox{in } (1/2+\delta,1) \end{aligned} \right. .

We notice \phi_\delta = u'_\delta a.e. in (0,1) and \mathcal{L} (u_\delta, \phi_\delta) = 0, although (u_\delta, \phi_\delta) \notin \mathcal{A}, because \phi_\delta is not an H^1 function.

If we utilize the discrete functional (?) with collocation points, and none of these points lies in the interval (1/2-\delta, 1/2+\delta), then for these two functions we would have

\mathcal{L}_N (u_\delta, \phi_\delta) = 0.

We remark that, independently of the number of collocation points N, one can always take \delta > 0 sufficiently small such that the probability of none of the sampling points lies in (1/2-\delta, 1/2+\delta) is significant. Therefore, if our neural network is capable of producing functions (u_{{{\bm \Theta}}}, \phi_{{{\bm \Theta}}}) approximating (u_\delta, \phi_\delta) in (?) (cf. Figure ?), then during the optimization process the descent algorithm may choose to approximate the pair (u, \phi) = (\chi_{(1/2,1)}, 0). This function satisfies the differential equations in (?) almost everywhere, but is not a significant solution. The issue of approximating bad solutions of this kind is mitigated by applying classic regularization techniques that penalize large parameters, because |{{\bm \Theta}}| must be large in order to u_{{\bm \Theta}} ' be large at some portion of the domain.

The paper has a figure here, which this page does not show.

This difficulty extends to all methods based on the minimization of cost functionals similar to (?), such as DGM [DGM18] or DRM [E18]. The issue stems from the fact that the functional (?) is unable to distinguish between regular solutions (belonging to a suitable Sobolev space) from any other functions that satisfy the equation almost everywhere. As far as we know, this problem has not been addressed in the literature, and the question of how to develop suitable regularization techniques for these approaches remains open.

Remark

Remark 5 (approximation of non-smooth solutions)

RALM

There are, however, problems in which the solution presents large gradients in regions of the domain. One can typically think of singularly perturbed problems, such as (?), or singularities arising due to poor boundary regularity, such as for the Poisson problem on an L-shaped domain. In those problems, regularization can limit the approximation capabilities of the algorithm.

For algebraic boundary singularities, if the boundary conditions are imposed in a strong fashion, as discussed in Section ?, one could aim to modify the rate at which the corresponding auxiliary function d_\mathcal{D} or d_\mathcal{N} decreases to zero near the singularity. This could potentially avoid v_{{{\bm \Theta}}} having to approximate a singular function and lead to a faster convergence. Nevertheless, this requires an a priori knowledge about the location and behavior of the singularities of the solution, that is not available in general. We emphasize that the theory we developed in Section ? does not make any regularity assumption on the PDE, and therefore includes the case of non-smooth solutions.

Source and licence

The text on this page is from arXiv:2204.07227v2 by Francisco M. Bersetche and Juan Pablo Borthagaray, under the licence CC BY 4.0. The corpus made these changes: it read the items out of the LaTeX source, it expanded the macros of the paper, it put each proof after its statement, and it converted the text to HTML. The formulas are the TeX of the paper, and KaTeX renders them. A formula or a reference can look different from the PDF. The page is published under CC BY 4.0.

The record of each item is in analysis/objects/2204/2204.07227.jsonl.