2 Methodology
2.1 Physics-informed neural networks
We consider a generic differential equation-based problem in residual form: Find u such that
where is a differential operator and an operator for specifying the initial or boundary conditions. The solution u is defined on the domain Ω and should have sufficient regularity to apply and . In order to solve Eq. (6.1), we follow [17] and employ a collocation approach. In particular, we exploit that solving Eq. (6.1) is equivalent to solving . We discretize the solution using a neural network , with parameters θ, and the integral is approximated by the sum
where the collocation points are sampled from Ω. Different types of neural network architectures may be employed, and we will employ a combination of the approaches explained in Sections 2.2 and 2.3.
The initial or boundary conditions in the second equation of Eq. (6.1) can be enforced via hard or soft constraints. In the approach of hard constraints, they are explicitly implemented in the neural network function; cf. [17]. In this paper, we employ the approach of soft constraints instead, in which we incorporate the constraints into the loss function:
Here, and weight the residual of the differential equation and the initial and boundary conditions in the loss function, respectively. As discussed, for instance in [28], an appropriate weighting is crucial for the convergence in optimizing Eq. (6.2) using a gradient-based optimization method. θ denotes all the trainable parameters in the network.
This approach has also been denoted as physics-informed neural networks (PINNs) in [25].
2.2 Multifidelity stacking PINNs
Multifidelity PINNs use two NNs to learn the correlation between low- and high-fidelity physics [21]. The goal is to train a linear network (with no activation function) to learn the linear correlation between the low- and high-fidelity models, and a nonlinear network to learn the nonlinear correlation. By training a linear network, the resulting model is more expressive than just assuming that the correlation between the models is the identity. Moreover, under the assumption that the main part of the correlation is linear, separating the network into the linear and nonlinear parts allows for a smaller nonlinear network.
To train a multifidelity PINN, we first train a standard single fidelity PINN . In a second step, we then train a multifidelity network , which consists of linear and nonlinear subnetworks that learn the correlation between the single fidelity PINN and the solution:
The linear network does not have activation functions to force learning a linear correlation, and can be very small. α is a trainable parameter to enforce maximizing the linear correlation.
The loss function in Eq. (6.2) is modified to include the penalty :
In multifidelity stacking PINNs as presented in [13], multifidelity PINNs are trained recursively, each taking the output of the previously trained stacking layer as input. In this way, the previous layer serves as the low-fidelity model for the new stacking layer. The difference between [13] and the current work is that [13] does not consider domain decomposition, so each stacking layer has a single multifidelity PINN covering the entire domain. The approach considered here is more flexible, and as we will show in Section 4, results in smaller relative errors when trained on the same equations.
2.3 Domain decomposition-based neural network architectures
It has been observed in [22] that the high frequency components in the solution can be learned better if a domain decomposition is introduced into the PINN approach. To scale to larger numbers of subdomains, this approach has first been extended to two-levels in [7] and then to an arbitrary number of levels in [8]. The general idea of the domain decomposition-based finite basis PINNs (FBPINNs) is to decompose the computational domain Ω into J overlapping subdomains , . As before, Ω may be a space-time domain, and in this work we will focus on domain decomposition in time. On each subdomain, we define a space of network functions , where denotes a PINN model, is the space of all trainable neural network parameters, and is the number of network parameters.
In order to represent the global solution of a given problem, we define window functions with such that form a partition of unity, that is, . Then we can define a global neural network space , and the global FBPINN function reads . It has been observed that this approach may significantly improve the performance of PINNs; cf. [22]. However, similar to classical domain decomposition methods [27], the one-level approach is not scalable to large numbers of subdomains; see [7], [8].
To improve the scalability and the performance for multiscale problems, a hierarchy of domain decompositions may be employed. Define L levels of domain decompositions, with the overlapping domain decomposition at level l denoted by , where and is the number of subdomains at level l; cf. Figure 6.1. Even though there is generally no restriction on the overlapping domain decompositions, we choose , so the first level corresponds to a single global subdomain, and for all .

Figure 6.1 Multilevel overlapping domain decomposition of Ω with levels.
Now, on each level l we define window functions to be a partition of unity, so , and . Similar to the one-level case, this yields the global neural network space and the global network function defined in terms of and :
It has been observed in [7], [8] that due to increased communication between the subdomain models, the multilevel FBPINN approach may significantly improve the performance over the one-level approach.
2.4 Stacking FBPINNs
We combine the multifidelity stacking PINNs and the FBPINNs as follows: In the first level, we train a standard single fidelity PINN across the full domain . Then, for each level , we use a FBPINN network architecture modified to consist of multifidelity networks that takes as input the network from the previous level :
We note that Eq. (6.6) differs from Eq. (6.5) by a factor of , because the output of FBPINNs is the sum of the networks trained at all levels, while the output of stacking FBPINNs is the sum of the networks for the final level. The networks at level l learn the correlation between the output of the level and the solution, and take as input the previously learned solution :