Extended Interface Physics-Informed Neural Networks Method for Moving Interface Problems2


Abstract

Physics-informed neural networks (PINNs) have emerged as an effective class of mesh-free methods for solving partial differential equations (PDEs), particularly on complex geometries. In this paper, we introduce an Extended Interface Physics-Informed Neural Network (XI-PINN) framework designed to solve parabolic moving interface problems. The proposed method employs a level set function—which can be either analytically prescribed or learned via a neural network—to capture the moving interface. Furthermore, we establish an a priori error analysis for the XI-PINN method and derive error bounds for the approximation. Extensive numerical experiments are provided to validate the accuracy and robustness of the framework, and its applicability is further demonstrated by solving the Oseen equations.

Moving interface, PINNs, Extended variable technique, Error analysis

65D15, 65M12, 68T07, 68Q32

1 Introduction↩︎

Interface problems arise in many scientific and engineering models that involve multiple materials with different chemical or physical properties (see [1], [2] and references therein). In these models, the computational domain is composed of subdomains that are separated by smooth curves (or surfaces) known as interfaces. The interface geometry itself may be dynamic; that is, the interface between different subdomains varies in time. The low global regularity of the solutions and the evolving interface pose challenges for numerical simulations, particularly when the interface undergoes large deformations.

Let \(\Omega \subset \mathbb{R}^d\), \(d\in \mathbb{N}\), be a fixed bounded domain and let \(\Omega^+(t)\) and \(\Omega^-(t)\) be two subdomains of \(\Omega\) separated by the evolving interface \(\Gamma(t)\) on a time interval \([0,T_{\text{end}}]\). In this paper, we consider the following parabolic equation: \[\label{eq1461} \left\{ \begin{align} \partial_t u - \nabla \cdot \left( \beta \nabla u\right) &= f \quad &&\mathrm{in}\; \Omega = \Omega^+(t) \cup \Omega^-(t), \quad t \in [0, T_{\text{end}}], \\ u\left( \cdot, t\right) &= g \quad &&\mathrm{on}\; \partial \Omega, \quad t \in [0, T_{\text{end}}], \\ u\left( \cdot, 0\right) &= u_0 \quad &&\mathrm{in}\; \Omega = \Omega^+(0) \cup \Omega^-(0), \end{align}\right.\tag{1}\] with the jump conditions on the moving interface \(\Gamma(t)\): \[\begin{align} [u]_{\Gamma(t)} &:= u^+|_{\Gamma(t)} - u^-|_{\Gamma(t)} = h_D, \quad t\in [0, T_{\text{end}}] \tag{2},\\ [\beta \nabla u \cdot \mathbf{n}]_{\Gamma(t)}&:= \beta^+ \nabla u^+ \cdot \mathbf{n}|_{\Gamma(t)} - \beta^- \nabla u^- \cdot \mathbf{n}|_{\Gamma(t)} = h_N, \quad t\in [0, T_{\text{end}}] \tag{3}, \end{align}\] where \(f \in L^2(0,T_{\text{end}}; L^2(\Omega))\), and \(\mathbf{n}\) is the unit normal vector to \(\Gamma(t)\) pointing from \(\Omega^-(t)\) to \(\Omega^+(t)\). The restrictions of \(u\) on \(\Omega^+(t)\) and \(\Omega^-(t)\) are denoted by \(u^+ = u|_{\Omega^+(t)}\) and \(u^- = u|_{\Omega^-(t)}\). The coefficient function \(\beta\) is a piecewise positive constant defined as follows: \[\beta(\boldsymbol{x}, t) = \begin{cases} \beta^+, & \text{for } \boldsymbol{x} \in \Omega^+(t), \\ \beta^-, & \text{for } \boldsymbol{x} \in \Omega^-(t). \end{cases} \label{eq1466}\tag{4}\]

Furthermore, we assume that there is a prescribed velocity field \(\mathcal{V}(\boldsymbol{x}, t)\) that governs the movement of the interface, i.e., \[\dfrac{\mathrm{d}\boldsymbol{x}}{\mathrm{d}t} = \mathcal{V}(\boldsymbol{x}, t), \quad \boldsymbol{x} \in \Gamma(t). \label{eq1467}\tag{5}\]

The parabolic moving interface problem (1 )–(5 ) appears in many applications, such as the Stefan problem [3] and the Burton–Cabrera–Frank-type model [4]. For instance, \(u\) represents the temperature and \(\mathcal{V}\) is determined by the heat flux across the interface in Stefan problems. Under appropriate assumptions on the initial, boundary, and jump conditions (see Section 3 for detailed discussions), it can be proved that Eqs. (1 )–(5 ) admit a unique solution \(u\) belonging to the space \(L^2(0, T_{\text{end}}; H^1(\Omega))\).

It is well known that moving interface problems pose significant challenges for numerical simulations because the computational domain itself evolves. When employing traditional finite element methods (FEMs), one must ensure the generation of body-fitted meshes that conform to the interface; otherwise, the accuracy of the numerical solution will be severely degraded (cf. [5]). Chen and Zou [3] studied the linear FEM on nearly fitted quasi-uniform meshes and proved optimal-order error estimates up to some logarithmic factors. In general, mesh regeneration should be minimized or even avoided whenever possible, as mesh generation is notoriously laborious and time-consuming, particularly for complex interface geometries and higher-dimensional PDEs. Consequently, arbitrary Lagrangian–Eulerian methods [6] and space-time finite element methods [7] were proposed to overcome this difficulty.

To completely eliminate the need for mesh generation in solving PDEs, unfitted methods have attracted significant attention over recent decades. Unfitted methods allow the interface to cut through mesh elements, while special techniques are required to incorporate the jump conditions across the interface. To handle interface-cutting elements, one class of methods enforces the jump conditions through computational schemes such as CutFEM [8], [9] and IPFEM [10]. Another class of methods constructs specialized basis functions within interface elements that are designed to satisfy the interface jump conditions, such as GFEM [11], [12], XFEM [13], and IFEM [14], [15]. Guo [16] presented the first discrete analysis and optimal error estimates for the backward Euler IFEM applied to parabolic moving interface problems. All the aforementioned methods are effective for solving interface problems and eliminate the need for body-fitted mesh regeneration at each time step. However, they still require either careful handling of small cut elements [17] near the interface or the construction of specialized basis functions [15] within interface elements that satisfy the jump conditions.

Solving interface problems via deep learning methods has attracted extensive attention in recent years. As mesh-free methods, neural networks are particularly well suited for addressing problems in computational domains with complex geometries and higher-dimensional settings. Deep learning methods effectively mitigate the curse of dimensionality and eliminate the need for handling solution meshes. The well-known PINNs [18] and DeepONet [19], along with various improved methods [20][25], have been successfully used to solve elliptic interface problems, yielding promising results. To address more challenging moving interface problems, Wang et al. [26] proposed a multi-network framework for Stefan problems. In their approach, two distinct networks approximate the temperature fields in the two phases, and an additional network captures the interface evolution, serving essentially to classify the domain points. Lin et al. [27] extended the discontinuous ELM method by advancing the solution in time with an implicit–explicit discretization scheme. PF-PINNs [28] were developed for two-dimensional immiscible incompressible two-phase flows.

In this work, we develop an improved PINN method, termed the Extended Interface PINN (XI-PINN), for solving moving interface problems. The method is built upon the extended variable technique (EVT) [20], [21]. Compared with existing numerical methods for moving interface problems, this approach offers the following main advantages:

  • As a meshfree method, it avoids the difficulties that traditional grid-based methods face when dealing with high-dimensional problems or large deformations of the interface geometry.

  • Unlike existing multi-network approaches [26], [29], XI-PINN treats both subdomains with a single neural network. This means the network can adaptively distribute its parameters according to the complexity of the solution in each region, leading to a more uniform error distribution across subdomains. In contrast, multi-network methods that assign independent networks to different subdomains may suffer from unsuitable a priori parameter allocation, which can degrade the accuracy of the coupled solution for interface problems.

  • By designing the extension variable, XI-PINN can accurately capture various types of interface conditions, circumventing the limitations inherent in diffuse interface models.

  • When the solution exhibits no jump across the interface, XI-PINN can exactly enforce the zero-jump condition [30]. This is particularly important for two-phase flow problems, as it helps preserve the correct physical behavior.

One limitation of the EVT is that it presupposes an explicitly given level set function to describe the interface. In practice, obtaining this function typically requires solving a level set evolution equation, which is a nontrivial task when an analytical expression is unavailable. To overcome this difficulty, we represent the level set function using an additional neural network. By employing a tailored temporal training strategy, this network can accurately track the moving interface, even under large deformations.

We further present a comprehensive error analysis for the XI-PINN framework. Following recent developments [31], [32], we decompose the total error into three distinct components: the approximation error associated with the neural network space, the statistical error, and the optimization error. The bounds for the approximation error are guaranteed by the universal approximation properties of deep neural networks [33], while the optimization error vanishes in the over-parameterized regime, as established in the literature [34]. Consequently, our primary theoretical contribution lies in providing a detailed proof of the statistical error specifically tailored to parabolic moving interface problems, thereby completing the overarching analytical framework.

We evaluate the performance of XI-PINN through a series of numerical experiments, including high-dimensional problems, the Oseen equations, and test cases characterized by severe interface deformations. Leveraging second-order optimization algorithms, XI-PINN delivers highly accurate solutions. In cases where the exact solution is continuous across the interface, or when employing a small network architecture, XI-PINN exhibits better accuracy compared to multi-network approaches. Furthermore, for a benchmark problem with the interface condition \(h_D=0\), we show the spectrum of the neural tangent kernel (NTK). The results indicate that XI-PINN yields a more favorable spectral distribution than the Vanilla-PINN, demonstrating that within a single-network framework, XI-PINN effectively mitigates the spectral bias of the Vanilla-PINN and successfully captures sharp interface features.

The rest of this paper is organized as follows. In Section 2, we first present the fundamental framework of Deep Neural Networks (DNNs), then introduce the XI-PINN method and propose our novel approach for solving the level set function. In Section 3, we conduct a detailed error analysis of the XI-PINN method. Numerical results are presented in Section 4 to demonstrate the accuracy and efficacy of XI-PINN. Finally, we give some concluding remarks in Section 5.

2 Extended Interface PINN Method↩︎

In this section, we first review preliminaries on DNNs and the EVT. Subsequently, we introduce the XI-PINN method for solving parabolic interface problems. This method efficiently handles problems with geometrically complex interfaces and can be seamlessly extended to higher-dimensional scenarios.

2.1 DNNs↩︎

We consider a standard fully connected feedforward neural network consisting of multiple linear transformations and nonlinear activation functions. Let the network have depth \(L \ge 2\), \(L \in \mathbb{Z}\), and let \(\{ n_l \}_{l=0}^L\) denote the layer dimensions, where \(n_0\) is the input dimension and \(n_L\) is the output dimension. For each layer \(l = 1, \dots, L\), define an affine transformation \(\mathbf{T}^l: \mathbb{R}^{n_{l-1}} \to \mathbb{R}^{n_l}\) as follows: \[\mathbf{T}^l(\mathbf{X}^{l-1}):= \mathbf{A}^l \mathbf{X}^{l-1} + \mathbf{b}^l,\] where \(\mathbf{A}^l \in \mathbb{R}^{n_l \times n_{l-1}}\) is the weight matrix and \(\mathbf{b}^l \in \mathbb{R}^{n_l}\) is the bias vector. The \(l\)-th hidden layer (\(l = 1, \dots, L-1\)) applies an element-wise nonlinear activation function \(\sigma: \mathbb{R} \to \mathbb{R}\): \[\mathbf{X}^{l} = f^{l}(\mathbf{X}^{l-1}) := \sigma\bigl( \mathbf{T}^l( \mathbf{X}^{l-1} ) \bigr).\] The final layer (\(l = L\)) produces the output via a purely affine transformation without activation, i.e., \(\mathbf{X}^L = \mathbf{T}^L ( \mathbf{X}^{L-1})\). The complete \(L\)-layer DNN is then the composition \[\mathcal{NN}(\boldsymbol{x}; \theta) := \bigl( \mathbf{T}^L \circ f^{L-1} \circ \cdots \circ f^1 \bigr) (\mathbf{X}^0), \quad \mathbf{X}^0 = \boldsymbol{x},\] where \(\boldsymbol{x} \in \mathbb{R}^{n_0}\) is the input of the neural network, and the set of trainable parameters \(\{ \mathbf{A}^l, \mathbf{b}^l\}_{l=1}^L\) is collected into a parameter vector \(\theta\). The integers \(L\) and \(W:=\max \{ n_l,\;l=1,\dots,L\}\) are called the depth and width of the DNN, respectively.

Following the definition in [35], we denote by \(\mathcal{H}_\sigma(L,N_\theta,B_\theta)\) the collection of DNN functions of depth \(L\), with at most \(N_\theta\) nonzero trainable parameters, where each parameter is bounded in absolute value by \(B_\theta\), i.e., \[\begin{align} \mathcal{H}_\sigma( L,N_\theta,B_\theta) := \bigl\{ \text{L-layer } \mathcal{NN}(\boldsymbol{x}; \theta): |\theta|_{\ell^0} \le N_\theta,\;|\theta|_{\ell^\infty} \le B_\theta \bigr\}. \end{align}\] Here \(|\cdot|_{\ell^0}\) and \(|\cdot|_{\ell^\infty}\) denote the number of nonzero entries and the maximum norm of a vector, respectively. For brevity, we often write \(\mathcal{H}\) to mean \(\mathcal{H}_\sigma(L,N_\theta,B_\theta)\).

2.2 EVT↩︎

The EVT has demonstrated remarkable success in solving elliptic interface problems, enabling highly accurate approximations of solutions with low regularity across interfaces using a single neural network (see [20], [21], [23], [25]).

We first introduce two important functions: the level set function \(\phi: \Omega \times [0,T_{\text{end}}] \to \mathbb{R}\) and the indicator function \(\chi: \Omega \times [0,T_{\text{end}}] \to \mathbb{R}\). The level set function \(\phi\) characterizing the interface satisfies [36] \[\phi(\boldsymbol{x}, t) \begin{cases} <0, & \text{if } \boldsymbol{x} \in \Omega^-(t), \\ =0, & \text{if } \boldsymbol{x} \in \Gamma(t), \\ >0, & \text{if } \boldsymbol{x} \in \Omega^+(t), \end{cases}\] and the indicator function is defined as \[\chi(\boldsymbol{x}, t)= \begin{cases} -1, & \text{if } \boldsymbol{x} \in \Omega^-(t), \\ 1, & \text{if } \boldsymbol{x} \in \Omega^+(t). \end{cases}\] It is clear that the indicator function can be written in terms of the level set function. Consequently, we define an extension function \(\widetilde{u}(\boldsymbol{x}, t, z)\) on \(\widetilde{\Omega}:= \Omega \times [0, T_{\text{end}}] \times \mathbb{R} \subset \mathbb{R}^{d+2}\) such that \[\label{eq2465} \widetilde{u}(\boldsymbol{x}, t, z(\boldsymbol{x}, t)) = u(\boldsymbol{x}, t), \quad \boldsymbol{x} \in \Omega, \quad t\in[0,T_{\text{end}}],\tag{6}\] where \(z\) represents the extension variable. Depending on the interface jump condition \(h_D\), the extension variable is defined as \[z( \boldsymbol{x}, t) = \begin{cases} \chi( \boldsymbol{x}, t), & \text{if } h_D \neq 0,\\[4pt] \Phi( \boldsymbol{x}, t):= | \phi( \boldsymbol{x}, t) |, & \text{if } h_D = 0, \end{cases}\] As demonstrated in [30], setting \(z=\Phi(\boldsymbol{x}, t)\) for the case \(h_D=0\) improves approximation accuracy, since the neural network component \(u_{\mathcal{NN}} \in \mathcal{H}\) naturally enforces continuity across the entire domain \(\Omega\). It can be observed that, by the definitions of \(\widetilde{u}\) and the extended variable \(z(\boldsymbol{x}, t)\), \(\widetilde{u}\) naturally exhibits discontinuities or jumps in its derivatives at the interface \(\Gamma(t)\).

2.3 XI-PINN↩︎

As discussed in Section 2.2, although \(u\) (or its derivative) is discontinuous across the interface, the EVT lifts it to a continuous function \(\widetilde{u}\) defined on \(\widetilde{\Omega} \subset \mathbb{R}^{d+2}\). We therefore approximate the solution of Eqs. 15 by a DNN \(\widetilde{u}_\theta\in\mathcal{H}\) with input dimension \(d+2\), trained through the following discrete optimization problem: \[\label{eq2467} \operatorname*{arg\,min}_{\widetilde{u}_{\theta} \in \mathcal{H}} \ell = \sum_{i=1}^{5} \ell_i(\widetilde{u}_{\theta}),\tag{7}\] with \[\begin{align} \ell_1(\widetilde{u}_{\theta}) &= \dfrac{1}{N_\Omega} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\Omega}} \bigl| \partial_t \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) -\nabla \cdot \bigl( \beta \nabla \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) \bigr) - f(\boldsymbol{s}_j) \bigr|^2, \tag{8} \\ \ell_2(\widetilde{u}_{\theta}) &= \dfrac{1}{N_{\partial \Omega}} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\partial \Omega}} \bigl| \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) - g(\boldsymbol{s}_j) \bigr|^2, \tag{9} \\ \ell_3(\widetilde{u}_{\theta}) &= \dfrac{1}{N_{\Omega_0}} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\Omega_0}} \bigl| \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) - u_0(\boldsymbol{s}_j) \bigr|^2, \tag{10}\\ \ell_4(\widetilde{u}_{\theta}) &= \dfrac{1}{N_{\Gamma}} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\Gamma}} \bigl| \bigl[ \beta \nabla \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) \cdot \mathbf{n} \bigr]_{\Gamma(t)} - h_N(\boldsymbol{s}_j) \bigr|^2, \tag{11}\\ \ell_5(\widetilde{u}_{\theta}) &= \dfrac{1}{N_{\Gamma}} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\Gamma}} \bigl| \bigl[ \widetilde{u}_{\theta}(\boldsymbol{s}_j, z(\boldsymbol{s}_j)) \bigr]_{\Gamma(t)} - h_D(\boldsymbol{s}_j) \bigr|^2, \tag{12} \end{align}\] where \(\mathcal{S}_\Omega\), \(\mathcal{S}_{\partial\Omega}\), \(\mathcal{S}_{\Omega_0}\), and \(\mathcal{S}_\Gamma\) denote the sets of uniformly sampled collocation points within the respective domains, with \(N_\Omega, N_{\partial \Omega}, N_{\Omega_0}\), and \(N_{\Gamma}\) denoting the total number of points in each corresponding set.

When the interface jump condition satisfies \(h_D=0\), the extension variable \(z\) can be set to \(z({\boldsymbol{x}},t) = \Phi({\boldsymbol{x}},t)\). Consequently, the \(\ell_5\) term can be omitted from the optimization formulation (7 ).

For the derivative components within the discrete loss formulations (8 ) and (11 ), applying the chain rule yields the following three identities:

  • \(\partial_t \widetilde{u}_\theta = D_t \widetilde{u}_\theta + D_z \widetilde{u}_\theta \, \partial_t z\);

  • \(\nabla \widetilde{u}_\theta = \nabla_{\boldsymbol{x}}\widetilde{u}_\theta + D_z \widetilde{u}_\theta \, \nabla z\);

  • \(\nabla \cdot \nabla \widetilde{u}_\theta = \Delta_{\boldsymbol{x}} \widetilde{u}_\theta + 2 \nabla z \cdot \nabla_{\boldsymbol{x}}( D_z \widetilde{u}_\theta) + |\nabla z|^2 D_z^2 \widetilde{u}_\theta + D_z \widetilde{u}_\theta \, \Delta z\).

Here, \(D_t\) and \(D_z\) denote the partial derivatives of \(\widetilde{u}_\theta\) with respect to time \(t\) and the extended variable \(z\), respectively. Moreover, \(\nabla_{\boldsymbol{x}} \widetilde{u}_\theta \in \mathbb{R}^{d}\) represents the spatial gradient of \(\widetilde{u}_\theta\), and \(\Delta_{\boldsymbol{x}}\) denotes the spatial Laplacian.

When \(z = \chi(\boldsymbol{x},t)\) (i.e., \(h_D \neq 0\)), the derivatives of \(z\) vanish almost everywhere; thus, the smoothness of the interface does not affect the numerical method. In contrast, setting \(z = \Phi(\boldsymbol{x},t)\) (i.e., \(h_D = 0\)) requires the underlying level set function \(\phi(\boldsymbol{x},t)\) to be twice differentiable with respect to \(\boldsymbol{x}\) and differentiable with respect to \(t\). Because the regularity of the interface \(\Gamma(t)\) directly governs the regularity of the level set function, we assume \(\Gamma(t)\) to be of class \(C^2\) whenever \(z = \Phi(\boldsymbol{x},t)\) is employed. Moreover, if the interface lacks smoothness, the exact solution \(u\) may develop singularities at corners in the subdomains \(\Omega^{\pm}\). Solving PDEs with such geometric singularities naturally poses well-known challenges for the PINNs [35].

2.4 Construction of the Level Set Function↩︎

The level set function plays a pivotal role in the EVT, as it determines the location of points relative to the subdomains, thereby defining the indicator function. Furthermore, when \(h_D=0\), it is used to directly construct the extended variable. Consequently, obtaining the time-evolving level set function is essential for the proposed framework. Assuming the velocity field \(\mathcal{V}\) is continuously extended to the entire domain \(\Omega\) such that the trajectory of every point \(\boldsymbol{x} \in \Omega\) is governed by the ODE (5 ), the level set function \(\phi(\boldsymbol{x}, t)\) satisfies the following advection equation: \[\begin{align} \label{advection32equation} \frac{\partial \phi(\boldsymbol{x}, t)}{\partial t} + \mathcal{V} \cdot \nabla \phi(\boldsymbol{x}, t) &= 0, \quad \boldsymbol{x} \in \Omega,\; t \in [0, T_{\text{end}}],\\ \phi(\boldsymbol{x}, 0) &= \phi_0(\boldsymbol{x}), \quad \boldsymbol{x} \in \Omega, \end{align}\tag{13}\] where \(\phi_0(\boldsymbol{x})\) denotes the prescribed initial level set function at \(t=0\). The governing equation may be solved using the method of characteristics. For any point \(\boldsymbol{x}_0 \in \Omega\) at \(t=0\), provided that its position at \(t=T\) admits an explicit representation \(\boldsymbol{x}_T = \boldsymbol{x}_0 + \mathcal{F}(\boldsymbol{x}_0, T)\), where \(\mathcal{F}\) is the displacement function (i.e., \(\mathcal{F}(\boldsymbol{x}_0, T) = \boldsymbol{x}_T - \boldsymbol{x}_0\)), the level set function can be constructed as \[\phi(\boldsymbol{x}, T) = \phi_0\bigl( \boldsymbol{x} - \mathcal{F}(\boldsymbol{x}, T) \bigr).\] Alternatively, to bypass solving the evolution equation entirely, we can employ a neural network to directly construct an appropriate level set function. For a given reference time \(t_0 \in [0,T_{\text{end}}]\), we define the flow map as follows: \[\label{eq24616} \mathbf{X}: \Gamma(t_0) \times [t_0, T_{\text{end}}] \to \bigcup_{t\in[t_0,T_{\text{end}}]}\Gamma(t), \quad \boldsymbol{x}_t = \mathbf{X}(\boldsymbol{x}, t; t_0), \quad t\in[t_0,T_{\text{end}}],\tag{14}\] where \(\boldsymbol{x} \in \Gamma(t_0)\) and \(\boldsymbol{x}_t \in \Gamma(t)\). The flow map can be obtained using the solution of the initial-value problem (5 ): \[\frac{\mathrm{d}}{\mathrm{d}t} \mathbf{X}(\boldsymbol{x},t; t_0) = \mathcal{V}\bigl( \mathbf{X}(\boldsymbol{x},t; t_0), t \bigr), \quad \mathbf{X}(\boldsymbol{x},t_0; t_0) = \boldsymbol{x}, \quad \boldsymbol{x} \in \Gamma(t_0).\] The inverse of \(\mathbf{X}(\boldsymbol{x},t; t_0)\) is denoted by \(\widetilde{\mathbf{X}}(\boldsymbol{x}, t; t_0): \Gamma(t) \times [t_0 ,T_{\text{end}}] \to \Gamma(t_0)\). We extend the mapping \(\widetilde{\mathbf{X}}\) to the whole domain and define the extension mapping \[\widehat{\mathbf{X}} : \Omega \times [t_0,T_{\text{end}}] \to \mathbb{R}^d,\] which is required to satisfy the following properties: \[\label{flow32map32properties} \small \widehat{\mathbf{X}}(\mathbf{x},t;t_0)|_{\mathbf{x} \in \Gamma(t)} = \widetilde{\mathbf{X}}(\mathbf{x},t;t_0) \text{ and } \widehat{\mathbf{X}}(\mathbf{x},t;t_0) \text{ is orientation-preserving and injective.}\tag{15}\] Therefore, the level set function at time \(t\) can be defined as \[\label{eq24620} \phi( \boldsymbol{x}, t) = \phi_0\bigl( \widehat{\mathbf{X}}(\boldsymbol{x},t;0) \bigr).\tag{16}\] The gradient of this function can be computed via the chain rule: \[\nabla_{\boldsymbol{x}} \phi(\boldsymbol{x},t) = \nabla_{\widehat{\mathbf{X}}} \phi_0\bigl( \widehat{\mathbf{X}} \bigr) \, \nabla_{\boldsymbol{x}} \widehat{\mathbf{X}}(\boldsymbol{x},t;0),\] where \(\nabla_{\widehat{\mathbf{X}}} \phi_0\) is the gradient vector and \(\nabla_{\boldsymbol{x}} \widehat{\mathbf{X}}\) is the Jacobian matrix.

Next, we employ neural networks to approximate the mapping \(\widehat{\mathbf{X}}\). Denote by \(\mathcal{F}_\theta\) the neural network function, and define the approximating function for \(\widehat{\mathbf{X}}\) as \[\label{eq24621} \widehat{\mathbf{X}}_\theta( \boldsymbol{x}, t; 0) = \mathcal{F}_\theta( \boldsymbol{x}, t) + \boldsymbol{x}.\tag{17}\] Let \(\mathbf{X}_{\mathrm{RK}}\) be the approximation of \(\mathbf{X}\) computed using the 4th-order explicit Runge–Kutta method [37]. We then determine the approximate displacement function \(\mathcal{F}_\theta\) and the resulting flow map \(\widehat{\mathbf{X}}_\theta\) by minimizing the following loss function: \[\ell_{\mathrm{LSF}} = \frac{1}{N_{\Omega}} \sum_{i=1}^{N_{\Omega}} \bigl| \mathcal{F}_\theta( \boldsymbol{x}_{i, \Omega}, 0) \bigr|^2 + \frac{1}{N_t N_\Gamma} \sum_{j=1}^{N_t} \sum_{i=1}^{N_\Gamma} \bigl| \widehat{\mathbf{X}}_\theta\bigl( \mathbf{X}_{\mathrm{RK}}(\boldsymbol{x}_{i,\Gamma}, t_j; 0), t_j; 0 \bigr) - \boldsymbol{x}_{i,\Gamma} \bigr|^2,\] where \(\{ \boldsymbol{x}_{i,\Omega} \}_{i=1}^{N_{\Omega}}\) and \(\{ \boldsymbol{x}_{i,\Gamma} \}_{i=1}^{N_{\Gamma}}\) are training points sampled from the domain \(\Omega\) and the initial interface \(\Gamma(0)\), respectively, and \(\{ t_j \}_{j=1}^{N_{t}}\) forms a sufficiently fine temporal discretization of \([0,T_{\text{end}}]\).

Notably, we require \(\widehat{\mathbf{X}}_\theta\) to satisfy the properties 15 . If the approximate flow map \(\widehat{\mathbf{X}}_\theta\) fails to be injective or orientation-preserving, the level set function \[\phi_\theta(\boldsymbol{x}, t) := \phi_0\bigl( \widehat{\mathbf{X}}_\theta(\boldsymbol{x}, t; 0) \bigr)\] loses its validity as an implicit interface representation. Lack of injectivity produces global folding: two distinct points \(\boldsymbol{x}_1 \neq \boldsymbol{x}_2\) in the current domain can be pulled back to the same reference point \(\boldsymbol{y}\), forcing \(\phi_\theta(\boldsymbol{x}_1, t) = \phi_\theta(\boldsymbol{x}_2, t) = \phi_0(\boldsymbol{y})\). If \(\boldsymbol{y}\) lies on the initial interface, the zero level set spuriously bifurcates, creating non-physical internal boundaries and corrupting the subdomain indicator function. Violation of orientation preservation, on the other hand, leads to local Jacobian degeneracy or sign reversal; the map can then erroneously assign points that belong to \(\Omega^+(t)\) to \(\Omega^-(0)\), destroying the inside/outside sign convention. These defects are the direct analogues of mesh entanglement and element inversion in finite element computations.

To mitigate this issue, we adopt a temporal partitioning strategy, dividing \([0, T_{\text{end}}]\) into smaller sub-intervals: \[[0, T_{\text{end}}] = \bigcup_{k=1}^{K}[T_{k-1}, T_k], \quad T_0 = 0,\; T_K = T_{\text{end}},\] where the set \(\{ T_k \}_{k=1}^{K} \subseteq \{ t_j \}_{j=1}^{N_t}\) can be adaptively chosen by monitoring the Jacobian determinant of \(\widehat{\mathbf{X}}_\theta\). For any \(t\) in the \(k\)-th sub-interval \([T_{k-1}, T_k]\), we can decompose \(\widehat{\mathbf{X}}(\boldsymbol{x}, t; 0)\) into a composition of sub-mappings: \[\label{eq24624} \widehat{\mathbf{X}}(\boldsymbol{x}, t;0) = \bigl[ \widehat{\mathbf{X}}(\cdot, t;T_{k-1}) \circ \widehat{\mathbf{X}}(\cdot, T_{k-1}; T_{k-2}) \circ \cdots \circ \widehat{\mathbf{X}}(\cdot, T_{1}; 0) \bigr](\boldsymbol{x}).\tag{18}\] For each short time sub-interval \([T_{k-1}, T_k]\), we compute a high-precision approximate sub-mapping \(\widehat{\mathbf{X}}_{\theta, k}\) using a small neural network. Note that employing an excessively large network may lead to overfitting, which in turn could introduce undesirable mapping entanglement.

Moreover, the displacement of interface points, \(\Delta \boldsymbol{x}\), remains moderate over short time intervals, effectively preventing mesh entanglement, particularly for problems involving large interface deformations. Correspondingly, we employ a series of sub-networks \(\widehat{\mathbf{X}}_{\theta, k}\) to approximate \(\widehat{\mathbf{X}}(\cdot, t; T_{k-1})\) for \(t \in [T_{k-1}, T_k]\), with the loss function adjusted as follows: \[\label{eq24625} \begin{align} \ell_{\mathrm{LSF}}^k = &\frac{1}{N_{\Omega}} \sum_{i=1}^{N_{\Omega}} \bigl| \mathcal{F}_\theta(\boldsymbol{x}_{i, \Omega}, T_{k-1}) \bigr|^2 + \frac{1}{N_{t,k} N_{\Gamma}} \sum_{j=1}^{N_{t,k}} \sum_{i=1}^{N_{\Gamma}} \\ & \qquad \bigl| \widehat{\mathbf{X}}_\theta\bigl( \mathbf{X}_{\mathrm{RK}}(\boldsymbol{x}_{i,\Gamma}, t_j^k; 0) , t_j^k; T_{k-1} \bigr) - \mathbf{X}_{\mathrm{RK}}(\boldsymbol{x}_{i,\Gamma}, T_{k-1}; 0) \bigr|^2, \end{align}\tag{19}\] where \(\{ t_j^k \}_{j=1}^{N_{t,k}}\) denotes a discrete time series within \([T_{k-1}, T_k]\), sampled from the global set \(\{ t_j \}_{j=1}^{N_t}\).

To detect potential mesh entanglement (indicated by negative Jacobian determinants), we locally linearize the mapping via a first-order Taylor expansion. This approach employs uniform sampling over \(\Omega\) with a sufficiently small grid spacing \(h\), which ensures the validity of the local linear approximation: \[\label{eq24626} \widehat{\mathbf{X}}_{\theta, k}(\boldsymbol{x},t;T_{k-1}) \approx \widehat{\mathbf{X}}_{\theta, k}(\mathbf{x}_0,t;T_{k-1}) + \mathbf{J}(\boldsymbol{x}_0)(\boldsymbol{x} - \boldsymbol{x}_0), \quad \forall \boldsymbol{x} \in B_\varepsilon(\boldsymbol{x}_0),\tag{20}\] where \(\mathbf{J}(\boldsymbol{x}_0):=\nabla_{\boldsymbol{x}} \widehat{\mathbf{X}}_{\theta,k}\) denotes the Jacobian matrix of the mapping and \(B_\varepsilon \subset \Omega\) is a small neighborhood of the sample point \(\boldsymbol{x}_0 \in \Omega\). A negative Jacobian determinant (\(\det(\mathbf{J}) < 0\)) indicates that the mapping fails to preserve orientation. It is worth noting that, for a smooth map between two compact simply connected domains, orientation preservation (positive Jacobian determinant everywhere) guarantees global injectivity. To enforce this condition numerically, we impose a positivity constraint by maintaining \(\det(\mathbf{J}) > \delta\), where \(\delta>0\) is a prescribed threshold. A Jacobian determinant falling below \(\delta\) (i.e., \(\det(\nabla_{\boldsymbol{x}} \widehat{\mathbf{X}}_{\theta,k}) < \delta\)) serves as a topological early warning signal. At this critical point, we initialize a new neural network \(\widehat{\mathbf{X}}_{\theta,k+1}\) to learn the deformation mapping for the subsequent interval \([T_k, T_{k+1}]\).

We therefore develop an adaptive time-stepping algorithm, which consists of (1) a sequence of sub-mappings \(\{ \widehat{\mathbf{X}}_{\theta, k} \}_{k=1}^{K}\) and (2) a corresponding partition of the time domain into sub-intervals \(\{ [T_{k-1}, T_k] \}_{k=1}^{K}\) based on the discrete temporal grid \(\{ t_j \}_{j=1}^{N_t}\) of \([0,T_{\text{end}}]\). This adaptive network growth strategy ensures that \(\phi_\theta\) remains valid over the entire time domain. We describe the complete time-adaptive training procedure in Algorithm 1 as follows:

Figure 1: Time-Stepping Neural Network Training for (18 )

In Algorithm 1, we assume that the sampling density satisfies the local linearization validity condition. Here \(\det(\mathbf{J})\) denotes the minimum Jacobian determinant computed over all uniformly sampled points in \(\Omega\).

To guarantee the mapping accuracy on the interface, we use only the interface points as training data for the neural network. Moreover, we can enforce the identity mapping at the beginning of each sub-interval by setting \[\widehat{\mathbf{X}}_{\theta, k}(\boldsymbol{x}, t; 0) = (t - T_{k-1})\, \mathcal{F}_\theta(\boldsymbol{x}, t) + \boldsymbol{x},\] so that \(\widehat{\mathbf{X}}_{\theta, k}(\boldsymbol{x}, T_{k-1}; 0) = \boldsymbol{x}\).

3 Error analysis↩︎

In this section, we present the error analysis of the XI-PINN framework introduced in Section 2. We assume that the domain \(\Omega \subseteq \mathbb{R}^d\) is bounded with a Lipschitz boundary \(\partial \Omega\), and \(\Gamma(t)\) is a closed smooth curve (or surface) within \(\Omega\). To simplify the analysis, we assume \(h_D = 0\). This implies that the neural network approximation \(\widetilde{u}_{\mathcal{NN}} \in \mathcal{H}\) remains continuous across the interface.

The space-time domain is denoted by \(Q:=\Omega \times [0,T_{\text{end}}]\) and \(\Sigma:= \partial \Omega \times [0,T_{\text{end}}]\). The extended space-time domain is defined as \[\widetilde{Q}:= Q \times \bigl[ \min_{(\boldsymbol{x}, t)\in Q} z(\boldsymbol{x}, t), \max_{(\boldsymbol{x}, t)\in Q} z(\boldsymbol{x}, t) \bigr].\] For each subdomain \(\omega \subseteq \Omega\), we denote by \(H^k(\omega)\) the standard Sobolev space equipped with the norm \(\|\cdot\|_{H^k(\omega)}\), and define the time-dependent Bochner space \(H^l(0, T; H^k(\omega))\) as the space of all measurable functions \(u: [0,T] \to H^k(\omega)\) with the norm \(\|\cdot\|_{H^l(0, T; H^k(\omega))}\). Here, we let \(H^k(\Omega^+(t) \cup \Omega^-(t))\) denote the space of functions that belong to \(H^k\) on each subdomain separately, equipped with the piecewise norm \[\|v\|_{H^k(\Omega^+(t) \cup \Omega^-(t))}:= \|v\|_{H^k(\Omega^+(t))} + \|v\|_{H^k(\Omega^-(t))}.\] We also employ the Besov space \(B_{2,1}^{1/2}(\omega):=\bigl( L^2(\omega), H^1(\omega) \bigr)_{1/2, 1}\) obtained by real interpolation (see [38]). The piecewise Besov space \(B_{2,1}^{1/2}(\Omega^+(t) \cup \Omega^-(t))\) and its norm \(\|v\|_{B_{2,1}^{1/2}(\Omega^+(t) \cup \Omega^-(t))}\) are defined analogously. Moreover, we have the embedding \(H^{1}(\omega) \hookrightarrow B_{2,1}^{1/2}(\omega)\). Let \(r\) and \(s\) be two non-negative real numbers, and define the space \(H^{r,s}(Q) := L^2(0,T; H^{r}(\Omega)) \cap H^s(0, T; L^2(\Omega))\) with the norm \(\|\cdot\|_{H^{r,s}}\); this is a Hilbert space (see [39]). For a function \(v(t)\), we write \(v' := \frac{\mathrm{d}}{\mathrm{d} t} v\) for its time derivative (or \(\partial_t v\) if \(v\) depends on space as well) and let \(v_0:=v(0)\) denote its initial value. For simplicity, we use the shorthand notation \(A \lesssim B\) for the inequality \(A \le C B\), where \(C>0\) is a generic constant independent of \(N_\Omega\), \(N_{\partial \Omega}\), \(N_{\Omega_0}\), and \(N_\Gamma\), the numbers of training points specified in the loss functions (8 )–(11 ).

3.1 Error analysis of the XI-PINN method↩︎

We first establish an energy estimate for the solution \(u\) to Eqs. (1 )-(5 ).

Lemma 1. Assume \(h_N \in L^2\left( 0, T_{\text{end}}; L^2(\Gamma(t))\right)\), \(u_0 \in H^1(\Omega)\), \(g \in H^{2, 1}(\Sigma)\), with \(u_0\) and \(g\) satisfying the compatibility conditions. Then there exists a unique solution \(u \in L^2\left( 0, T; H^1(\Omega)\right)\) to (1 )-(5 ) satisfying the estimate: \[\begin{align} \|u\|_{L^2\left( 0, T; H^1(\Omega)\right) }^2 \lesssim& \|f\|_{L^2(0,T_{\text{end}};L^2(\Omega))}^2 + \|u_0\|_{H^1(\Omega)}^2 + \|h_N\|_{L^2\left( 0, T_{\text{end}}; L^2(\Gamma(t))\right) }^2 \\ &+ \|g\|_{L^2\left( 0, T_{\text{end}}, H^2(\partial \Omega)\right) }^2 + \|g'\|_{L^2\left( 0, T_{\text{end}}, L^2(\partial \Omega)\right)}^2. \end{align}\]

Proof. The first step involves homogenizing the boundary conditions. Invoking the Trace Theorem[39], there exists \(w \in H^{2,1}(Q)\) satisfying \[\left. w({\boldsymbol{x}}, t)\right|_{\Sigma} = g({\boldsymbol{x}},t), \quad \left. w({\boldsymbol{x}}, 0)\right|_{\Omega} = u_0({\boldsymbol{x}}),\] and \[\label{eq3462} \|w\|_{H^{2,1}(Q)} \lesssim \|g\|_{H^{2, 1}(\Sigma)} + \|u_0\|_{H^1(\Omega)}.\tag{21}\] Setting \(v=u-w\), we reformulate problem (1 )-(3 ) as \[\label{eq3463} \left\{ \begin{align} \partial_t v - \nabla \cdot \left( \beta \nabla v\right) &= \widetilde{f} \quad \mathrm{in}\; \Omega = \Omega^+(t) \cup \Omega^-(t), \quad t \in [0, T_{\text{end}}], \\ v\left( \cdot, t\right) &= 0 \quad \mathrm{on}\; \partial \Omega, \quad t \in [0, T_{\text{end}}],\\ v\left( \cdot, 0\right) &= 0 \quad \mathrm{in}\; \Omega = \Omega^+(0) \cup \Omega^-(0), \end{align}\right.\tag{22}\] with the interface condition \[\label{eq3467} \begin{align} [u]_{\Gamma(t)} &= 0, \quad t\in [0,T_{\text{end}}],\\ [\beta \nabla v \cdot \mathbf{n}]_{\Gamma(t)}& = \widetilde{h}_N, \quad t\in [0,T_{\text{end}}], \end{align}\tag{23}\] where \(\widetilde{f} := f - w' + \nabla \cdot (\beta \nabla w) \in L^2(0, T_{\text{end}}; L^2(\Omega))\), and \(\widetilde{h}_N:=h_N - [\beta \nabla w \cdot \mathbf{n}]_{\Gamma(t)} \in L^2(0, T_{\text{end}}; L^2(\Gamma(t)))\). The existence of a weak solution \(v \in L^2(0,T_{\text{end}}; H_0^1(\Omega))\) with \(v' \in L^2(0,T_{\text{end}}; H^{-1}(\Omega))\) to (22 )-(23 ) follows by the Galerkin approximation method (cf. [40]). Then, by combining standard energy estimates for parabolic equations[40] with the triangle inequality, we obtain \[\begin{align} \|u\|_{L^2(0, T_{\text{end}}; H^1(\Omega))}^2 &\lesssim \|v\|_{L^2(0, T_{\text{end}}; H^1(\Omega))}^2 + \|w\|_{L^2(0, T; H^1(\Omega))}^2 \\ &\lesssim \|v\|_{L^2(0, T_{\text{end}}; H^1(\Omega))}^2 + \|g\|_{H^{2,1}(\Sigma)}^2 + \|u_0\|_{H^1(\Omega)}, \end{align}\] which combines the definition of norm \(\|g\|_{H^{2,1}(\Sigma)}\) immediately yields the result. ◻

For subsequent error analysis, we define the continuous loss function as: \[\label{eq34612} {\mathcal{L}}(\widetilde{u}_{\theta}) = \mathop{\sum}_{i=1}^4 {\mathcal{L}_i}(\widetilde{u}_{\theta}),\tag{24}\] \[\begin{align} &{\mathcal{L}_1}(\widetilde{u}_{\theta}) = \int_{0}^{T_{\text{end}}}\int_{\Omega} \left| \partial_t \widetilde{u}_{\theta}({\boldsymbol{x}}, t, z({\boldsymbol{x}}, t)) - \nabla \cdot (\beta \nabla\widetilde{u}_{\theta}({\boldsymbol{x}}, t, z({\boldsymbol{x}}, t))) - f({\boldsymbol{x}}, t) \right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t, \\ &\begin{aligned} {\mathcal{L}_2}(\widetilde{u}_{\theta}) = &\int_{0}^{T_{\text{end}}}\int_{\partial \Omega} { \mathop{\sum}_{|\alpha|=0}^2 }\left| \partial^\alpha_{\boldsymbol{x}} \left( \widetilde{u}_{\theta}({\boldsymbol{x}}, t, z({\boldsymbol{x}}, t)) - g({\boldsymbol{x}}, t)\right) \right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t\\ &+\int_{0}^{T_{\text{end}}}\int_{\partial \Omega} \left| \partial_t \widetilde{u}_{\theta}({\boldsymbol{x}}, t, z({\boldsymbol{x}}, t)) - \partial_t g({\boldsymbol{x}}, t) \right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t \end{aligned} \\ &{\mathcal{L}_3}(\widetilde{u}_{\theta}) = \int_{\Omega} {\mathop{\sum}_{|\alpha| = 0}^1 }\left| \partial^\alpha_{\boldsymbol{x}} \left( \widetilde{u}_{\theta}({\boldsymbol{x}}, 0, z({\boldsymbol{x}}, 0)) - u_0({\boldsymbol{x}}) \right) \right|^2 \mathrm{d}{\boldsymbol{x}}, \\ &{\mathcal{L}_4}(\widetilde{u}_{\theta}) = \int_{0}^{T_{\text{end}}}\int_{\Gamma(t)} \left| [\beta \nabla \widetilde{u}_{\theta}({\boldsymbol{x}}, t, z({\boldsymbol{x}}, t)) \cdot \mathbf{n}]_{\Gamma(t)} - h_N({\boldsymbol{x}}, t)\right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t, \end{align}\] where \(\alpha = (\alpha_1, \alpha_2, \dots, \alpha_d) \in \left( \mathbb{N}\cup \left\lbrace 0\right\rbrace \right) ^d\) is a multi-index for spatial coordinates with \(|\alpha| = \sum_{k=1}^d \alpha_k\), and \(\partial_{{\boldsymbol{x}}}^\alpha = \dfrac{\partial^{|\alpha|}}{\partial x_1^{\alpha_1} \cdots \partial x_d^{\alpha_d}}\). Further, the corresponding discrete form of loss function 24 is defined by \[\label{eq34617} {\mathcal{L}}^d(\widetilde{u}_{\theta}) = \mathop{\sum}_{i=1}^4 \widehat{\ell}_i(\widetilde{u}_{\theta}),\tag{25}\] with \(\widehat{\ell}_1(\widetilde{u}_{\theta})=\left|\Omega(t)\right| {\ell}_1(\widetilde{u}_{\theta})\), \(\widehat{\ell}_4(\widetilde{u}_{\theta}) =\left|\Gamma(t)\right| {\ell}_4(\widetilde{u}_{\theta})\), and \[\begin{align} &\begin{aligned} \widehat{\ell}_2(\widetilde{u}_{\theta}) &= \dfrac{\left| \partial \Omega(t)\right| }{N_{\partial \Omega}} \sum_{\boldsymbol{s}_j \in \mathcal{S}_{\partial \Omega}} \left[ { \mathop{\sum}_{|\alpha|=0}^2 }\left| \partial^\alpha_{\boldsymbol{x}} \left( \widetilde{u}_{\theta}(({\boldsymbol{s}}_j), z({\boldsymbol{s}}_j)) - g(\boldsymbol{s}_j)\right) \right|^2 \right. \\ &\left. \qquad \qquad \qquad \qquad + \left| \left( \partial_t \widetilde{u}_{\theta}((\boldsymbol{s}_j), z(\boldsymbol{s}_j)) - \partial_t g(\boldsymbol{s}_j)\right) \right|^2\right] , \end{aligned} \\ &\widehat{\ell}_3(\widetilde{u}_{\theta}) = \dfrac{\left| \Omega(0) \right|}{N_{\Omega_0}} \mathop{\sum}_{\boldsymbol{s}_j \in \mathcal{S}_{\Omega_0}} { \mathop{\sum}_{|\alpha| = 0}^1 } \left| \partial^\alpha_{\boldsymbol{x}}\left( \widetilde{u}_{\theta}\left(\boldsymbol{s}_j,z\left(\boldsymbol{s}_j\right) \right) - u_0\left(\boldsymbol{s}_j\right)\right) \right| ^2, \end{align}\]

Compared to (7 )-(11 ), the term \(\ell_5\) has been eliminated by exploiting the level-set function’s continuity, while derivative information has been incorporated into both the initial condition (10 ) and boundary term (9 ) inspired by the energy estimates. We remark that although the error analysis motivates including derivative terms in the loss function, our neural network implementation retains the original loss function defined in (7 )-(11 ).

Let \(\widetilde{u}^*\) and \(\widetilde{u}^*_d\) denote the best approximations in the function class \(\mathcal{H}\) according to formulas (24 ) and (25 ), respectively. Namely, \[\widetilde{u}^* := \mathop{\arg \min}_{v_\theta \in \mathcal{H}} {\mathcal{L}}(v_\theta), \quad \widetilde{u}_d^* := \mathop{\arg \min}_{v_\theta \in \mathcal{H}} {\mathcal{L}}^d(v_\theta).\] Further denote by \(\widetilde{u}^*_{d\mathscr{A}}\) the numerical solution obtained via optimization procedures based on the loss function (25 ). We then have the following result:

Theorem 1. Under the assumption of Lemma 1, if we further assume that there exists an extension function \(\widetilde{u}({\boldsymbol{x}},t, z({\boldsymbol{x}}, t))\) of the solution \(u({\boldsymbol{x}}, t)\) satisfying \(\widetilde{u} \in H^4(\widetilde{Q})\), then we have \[\begin{align} \|u - u^*_{d \mathscr{A}}\|^2_{L^2(0,T, H^1(\Omega))} \lesssim & \mathop{\inf}_{v_\theta \in \mathcal{H}} \|v_\theta - \widetilde{u}\|_{H^4(\widetilde{Q})}^2 + \mathop{\sup}_{v_\theta \in \mathcal{H}} \left| {\mathcal{L}}^d(v_\theta) - {\mathcal{L}}(v_\theta) \right| \\ &+ \left| {\mathcal{L}}^d(\widetilde{u}^*_{d\mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d}) \right|. \end{align}\]

Proof. Let \(e:=u - u^*_{d \mathscr{A}}\), where \(u^*_{d \mathscr{A}}\left( {\boldsymbol{x}}, t\right) := \widetilde{u}^*_{d \mathscr{A}}\left( {\boldsymbol{x}}, t, z\left( {\boldsymbol{x}}, t\right) \right) , {\boldsymbol{x}} \in \Omega, t \in [0,T_\text{end}].\) It is easy to see that \(e\) satisfies \[\left\{ \begin{align} \partial_t e - \nabla \cdot \left( \beta \nabla e\right) &= f - \partial_t u^*_{d \mathscr{A}} + \nabla \cdot \left( \beta \nabla u^*_{d \mathscr{A}}\right) \quad &&\mathrm{in}\; \Omega, \quad t \in [0, T_{\text{end}}], \\ e\left( \cdot, t\right) &= g - u^*_{d \mathscr{A}} \quad &&\mathrm{on}\; \partial \Omega, \quad t \in [0, T_{\text{end}}], \\ e\left( \cdot, 0\right) &= u_0 - u^*_{d \mathscr{A},0}\quad &&\mathrm{in}\; \Omega, \end{align}\right.\] with the interface condition \[\begin{align} [e]_{\Gamma(t)} &= 0, \quad t\in [0,T_{\text{end}}],\\ [\beta \nabla e \cdot \mathbf{n}]_{\Gamma(t)}& = h_N - [\beta \nabla u^*_{d \mathscr{A}} \cdot \mathbf{n}]_{\Gamma(t)}, \quad t\in [0,T_{\text{end}}]. \end{align}\] Thus, from Lemma 1 and the fact \(\mathcal{L}(\widetilde{u}) = 0\), it follows that: \[\begin{align} \|e\|_{L^2(0,T, H^1(\Omega))}^2 \lesssim & \| \partial_t u^*_{d \mathscr{A}} - \nabla \cdot \left( \beta \nabla u^*_{d \mathscr{A}} \right) - f \|_{L^2(0,T_{\text{end}};L^2(\Omega))}^2 \\ &+ \|u^*_{d \mathscr{A}} - g\|_{L^2\left( 0, T_{\text{end}}, H^2(\partial \Omega)\right) }^2 + \| u^{*'}_{d \mathscr{A}} - g' \|_{L^2\left( 0, T_{\text{end}}, L^2(\partial \Omega)\right)}^2\\ &+\|u^*_{d \mathscr{A}, 0} - u_0\|_{H^1(\Omega)}^2 + \|[\beta \nabla u^*_{d \mathscr{A}} \cdot \mathbf{n}]_{\Gamma(t)} - h_N\|_{L^2\left( 0, T_{\text{end}}; L^2(\Gamma(t))\right) }^2\\ =& \mathcal{L}(\widetilde{u}^*_{d \mathscr{A}})={\mathcal{L}}(\widetilde{u}^*_{d \mathscr{A}}) - {\mathcal{L}}\left( \widetilde{u}\right). \end{align}\] Further, it follows from the definitions of \(\widetilde{u}^*\) and \(\widetilde{u}^*_d\), and the fact \(\mathcal{L}(\widetilde{u}) = 0\) again that \[\begin{align} {\mathcal{L}}(\widetilde{u}^*_{d \mathscr{A}})& - {\mathcal{L}}\left( \widetilde{u}\right) = \left( {\mathcal{L}}(\widetilde{u}^*_{d \mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d \mathscr{A}})\right) + \left( {\mathcal{L}}^d(\widetilde{u}^*_{d \mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d})\right) \\ &\qquad\qquad+ \left( {\mathcal{L}}^d(\widetilde{u}^*_{d}) - {\mathcal{L}}^d(\widetilde{u}^*) \right)+ \left( {\mathcal{L}}^d(\widetilde{u}^*) - {\mathcal{L}}(\widetilde{u}^*) \right) + \left( {\mathcal{L}}(\widetilde{u}^*) - {\mathcal{L}}\left( \widetilde{u}\right)\right) \\ &\le \left( {\mathcal{L}}(\widetilde{u}^*) - {\mathcal{L}}\left( \widetilde{u}\right)\right) + \left( {\mathcal{L}}^d(\widetilde{u}^*) - {\mathcal{L}}(\widetilde{u}^*) \right) + \left( {\mathcal{L}}(\widetilde{u}^*_{d \mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d \mathscr{A}})\right)\\&\quad + \left( {\mathcal{L}}^d(\widetilde{u}^*_{d \mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d})\right) \\ &\le \mathop{\inf}_{v_\theta \in \mathcal{H}} \left| {\mathcal{L}}(v_\theta) - {\mathcal{L}}(\widetilde{u}) \right| + 2\mathop{\sup}_{v_\theta \in \mathcal{H}} \left| {\mathcal{L}}^d(v_\theta) - {\mathcal{L}}(v_\theta) \right| + \left| {\mathcal{L}}^d(\widetilde{u}^*_{d\mathscr{A}}) - {\mathcal{L}}^d(\widetilde{u}^*_{d}) \right|. \end{align}\] Then, it suffices to bound the term \({\mathcal{L}}(v_\theta) - {\mathcal{L}}(\widetilde{u})\). From the definition of \({\mathcal{L}}\) and Trace Theorem, it follows that \[\begin{align} {\mathcal{L}}(v_\theta) - {\mathcal{L}}(\widetilde{u}) &= \int_{0}^{T_{\text{end}}}\int_{\Omega} \left| \partial_t v_\theta - \nabla \cdot (\beta \nabla v_\theta) - \partial_t \widetilde{u} + \nabla \cdot (\beta \nabla \widetilde{u})\right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t \\ &\quad+\int_{0}^{T_{\text{end}}}\int_{\partial \Omega} { \mathop{\sum}_{|\alpha|=0}^2}\left| \partial^\alpha_{\boldsymbol{x}} \left( v_\theta - \widetilde{u}\right) \right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t +\int_{0}^{T_{\text{end}}}\int_{\partial \Omega} \left|\partial_t v_\theta - \partial_t \widetilde{u} \right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t \\ &\quad+\int_{\Omega} {\mathop{\sum}_{|\alpha| = 0}^1} \left| \partial^\alpha_{\boldsymbol{x}} \left(v_\theta({\boldsymbol{x}}, 0, z({\boldsymbol{x}}, 0)) - \widetilde{u}({\boldsymbol{x}}, 0)\right) \right|^2 \mathrm{d}{\boldsymbol{x}} \\ &\quad+\int_{0}^{T_{\text{end}}}\int_{\Gamma(t)} \left| [\beta \nabla_{\boldsymbol{x}} v_\theta \cdot \mathbf{n}]_{\Gamma(t)} - [\beta \nabla_{\boldsymbol{x}} \widetilde{u} \cdot \mathbf{n}]_{\Gamma(t)})\right|^2 \mathrm{d}{\boldsymbol{x}} \mathrm{d}t\\ &\lesssim \|v_\theta - \widetilde{u}\|_{H^4(\widetilde{Q})}^2. \end{align}\] This completes the proof immediately. ◻

Following Theorem 1, we decompose the error into three distinct components:

  • Approximation error \(\mathcal{E}_\text{approx}\): Best approximation error of the target function \(\widetilde{u} \in H^4(\widetilde{Q})\) in the neural network function class \(\mathcal{H}\) under the Sobolev norm on bounded domain \(\widetilde{Q}\);

  • Statistical error \(\mathcal{E}_\text{stat}\): Error induced by finite sampling;

  • Optimization error \(\mathcal{E}_\text{opt}\): Error from numerical optimization procedures.

Under over-parameterized assumptions, the optimization error can be assumed arbitrarily small, as established in the literature [34]. Therefore, we assume that the optimization error \(\mathcal{E}_{\text{opt}}\) can be arbitrarily small. For approximation error \(\mathcal{E}_\text{approx}\) in Sobolev space, the following approximation theorem holds [33]:

Theorem 2. Let \(s\in \mathbb{N} \cup \left\lbrace 0\right\rbrace\) be fixed, and \(u \in H^k\left( D \right)\) with \(k \ge s+1\), where \(D\) is a bounded domain in \(\mathbb{R}^{d}\). Then for any tolerance \(\varepsilon > 0\), there exists at least one \(v_\theta\) of depth \(\mathcal{O}\left(\log\left( d+k\right) \right)\) with \(|\theta|_{l^0}\) bounded by \(\mathcal{O}\left( \varepsilon^{-\frac{d}{k-s-\mu(s=2)}}\right)\) and \(|\theta|_{l^\infty}\) by \(\mathcal{O}\left( \varepsilon^{-2 -\frac{9d/2+2s+2\mu(s=2)}{k-s-\mu(s=2)}}\right)\), where \(\mu\) is arbitrarily small, and the notation \((s=2)\) equals to \(1\) if \(s=2\) and \(0\) otherwise, such that \[\|v_\theta - u\|_{H^k(D)} \le \varepsilon.\]

Theorem 2 demonstrates that the approximation error \(\mathcal{E}_{\text{approx}}\) of the neural network can be effectively controlled. Therefore, for \(\varepsilon>0\), there exists a DNN \(v_\theta \in \mathcal{H}\) such that \(\|v_\theta - \widetilde{u}\|_{H^4(\widetilde{Q})} \le \varepsilon\).

Next, we bound the statistical error via the Rademacher complexity \(\mathfrak{R}_n\) which measures the complexity of a collection of function by the correlation between function values with Rademacher random variables, i.e., with probability \(P\left( \omega =1\right) = P\left( \omega = -1\right) = \frac{1}{2}\) (cf. [41]).

To derive an upper bound estimate for the statistical error \(\mathcal{E}_\text{stat}\), we invoke the following several lemmas:

Definition 1. Let \((\mathcal{M}, m)\) be a metric space of real-valued functions, and \(\mathcal{G} \subset \mathcal{M}\). A set \(\left\lbrace x_i\right\rbrace_{i=1}^p \subset \mathcal{G}\) is called an \(\epsilon\)-cover of \(\mathcal{G}\) if for any \(x\in\mathcal{G}\), there exists an element \(x' \in \left\lbrace x_i\right\rbrace_{i=1}^p\) such that \(m(x, x') \le \epsilon\). The \(\epsilon\)-covering number, denoted by \(\mathcal{C}(\mathcal{G},m ,\epsilon)\), is the minimum cardinality among all \(\epsilon\)-covers of \(\mathcal{G}\). That is, \[\mathcal{C}(\mathcal{G},m ,\epsilon) = \min \left\lbrace p\in \mathbb{N}: \exists \text{ an } \epsilon \text{-cover } \left\lbrace x_1,...,x_p\right\rbrace \text{ of } \mathcal{G}\right\rbrace.\]

Lemma 2 (Dudley’s Lemma). [35]Let \(\mathcal{F}\) be a real-valued functions mapping from \(D\) to \(\mathbb{R}\) class and \(M_\mathcal{F}:=\mathop{\sup}_{f\in\mathcal{F}} \|f\|_{L^\infty(D)}\). Then we have \[\mathfrak{R}_n(\mathcal{F}) \le \mathop{\inf}_{0<s<M_\mathcal{F}} \left( 4s + 12 n^{-1/2} \int_{s}^{M_\mathcal{F}} \left( \log \mathcal{C}\left( \mathcal{F}, \|\cdot\|_{L^\infty(D)}, \epsilon\right) \right) ^{1/2} \mathrm{d}\epsilon\right) .\]

Theorem 3. Let \(L\), \(W\) and \(B_\theta\) be the depth, width, and maximum weight bound of a DNN function class \(\mathcal{H}\) with \(N_\theta\) nonzero weights. We assume the assumptions in Lemma 1 hold and the level set function \(\phi({\boldsymbol{x}}, t) \in C^2(Q)\). Then, for any small \(0<\delta < 1\), with probability at least \(\left( 1 - \delta\right)^4\), it holds \[\mathop{\sup}_{v_\theta \in \mathcal{H}} \left| {\mathcal{L}}^d(v_\theta) - {\mathcal{L}}(v_\theta) \right| \lesssim \dfrac{\log^{\frac{1}{2}} N_{\Omega} + 1}{\sqrt{N_{\Omega}}} + \dfrac{\log^{\frac{1}{2}} N_{\partial \Omega} + 1}{\sqrt{N_{\partial \Omega}}} + \dfrac{\log^{\frac{1}{2}} N_{\Omega_0} + 1}{\sqrt{N_{\Omega_0}}} + \dfrac{\log^{\frac{1}{2}} N_{\Gamma}+ 1}{\sqrt{N_{\Gamma}}},\] where \(N_{\Omega}\), \(N_{\partial \Omega}\), \(N_{\Omega_0}\) and \(N_{\Gamma}\) denote the numbers of uniform sample points in their corresponding domain.

Proof. It is obvious that \[\mathop{\sup}_{v_\theta \in \mathcal{H}} \left| {\mathcal{L}}^d(v_\theta) - {\mathcal{L}}(v_\theta) \right| \le \mathop{\sup}_{v_\theta \in \mathcal{H}} \mathop{\sum}_{i=1}^4 \left| {\mathcal{L}}_i(v_\theta) - \widehat{\ell}_i(v_\theta) \right|.\] For the first term \(\mathop{\sup}_{v_\theta \in \mathcal{H}}\left| {\mathcal{L}}_1(v_\theta) - \widehat{\ell}_1(v_\theta) \right|\), by use of [41], we can obtain the following inequality with probability at least \((1-\delta)\) \[\mathop{\sup}_{v_\theta \in \mathcal{H}}\left| {\mathcal{L}}_1(v_\theta) - \widehat{\ell}_1(v_\theta) \right| \lesssim \mathfrak{R}_{N_{\Omega}}\left( \psi \circ \left( \mathcal{D}\left( \mathcal{H}\right) - f\right) \right) + N_{\Omega}^{-1/2},\] where \(\psi(x) = x^2\) and \(\mathcal{D}\left( \mathcal{H}\right) := \left\lbrace \partial_t v_\theta - \nabla \cdot (\beta \nabla v_\theta) | v_\theta \in \mathcal{H} \right\rbrace.\)

Combining the assumptions on the neural network function class \(\mathcal{H}\) with [42], and using the L-Lipschitz continuity of \(\psi\), we directly obtain: \[\label{eq34634} \mathfrak{R}_{N_{\Omega}}\left( \psi \circ \left( \mathcal{D}\left( \mathcal{H}\right) - f\right) \right) \lesssim \mathfrak{R}_{N_{\Omega}}\left( \mathcal{D} \left( \mathcal{H}\right)\right) + \mathfrak{R}_{N_{\Omega}}(f).\tag{26}\]

By Remark [remark2], for \(v_\theta \in \mathcal{H}\) we can explicitly write the following equation \[\partial_t v_\theta - \nabla \cdot(\beta \nabla v_\theta) = D_t v_\theta + D_z v_\theta \partial_t z - \beta \left( \Delta_{\boldsymbol{x}} + 2 \nabla z \cdot \nabla_{\boldsymbol{x}} (D_z v_\theta) + |\nabla z|^2 D_z^2 + D_z v_\theta \Delta z\right).\]

Since \(\phi({\boldsymbol{x}}, t) \in C^2(Q)\) and \(Q\) is a bounded domain, we know from [43] that \(\mathcal{D}(\mathcal{H})\) constitutes a class of bounded functions which are Lipschitz continuous for parameter \(\theta\). We denote the Lipschitz constant by \(L_\mathcal{\mathcal{D}(\mathcal{H})}\) and the upper bound of \(\mathcal{D}(\mathcal{H})\) by \(M_{\mathcal{D}(\mathcal{H})}\), both of which depend on \(W\), \(B_\theta\), \(L\) and \(N_\theta\). Fixed \(B_\theta \in [1, \infty)\) and \(\epsilon \in (0,1)\), applying the result of [44] yields \[\log \mathcal{C} \left( \mathcal{D}(\mathcal{H}), \|\cdot\|_{L^\infty(Q)}, \epsilon \right) \le \log \mathcal{C} \left( \theta, |\cdot|_{l^\infty}, L_{\mathcal{D}(\mathcal{H})}^{-1} \epsilon\right) \le N_\theta \log( 4 B_\theta L_{\mathcal{D}(\mathcal{H})} \epsilon^{-1}).\] Further, setting \(s = N_{\Omega}^{-1/2}\) in Lemma 2, we have \[\begin{align} \mathfrak{R}_{N_{\Omega}}(\mathcal{D}(\mathcal{H})) &\le 4 N_{\Omega}^{-1/2} + 12 N_{\Omega}^{-1/2} \int_{N_{\Omega}^{-1/2}}^{M_{\mathcal{D}(\mathcal{H})}} \left( N_\theta \log\left(4 B_\theta L_{\mathcal{D}(\mathcal{H})} \epsilon^{-1}\right) \right) ^{1/2} \mathrm{d}\epsilon \\ &\le 4 N_{\Omega}^{-1/2} + 12 N_{\Omega}^{-1/2} \left( M_{\mathcal{D}(\mathcal{H})} - N_{\Omega}^{-1/2} \right) \left( N_\theta \log\left(4 B_\theta L_{\mathcal{D}(\mathcal{H})} N_{\Omega}^{1/2}\right) \right) ^{1/2} \\ &\le 4 N_{\Omega}^{-1/2} + 12 M_{\mathcal{D}(\mathcal{H})}N_\theta^{1/2} N_{\Omega}^{-1/2}\left( \log^{1/2} (4 B_\theta L_{\mathcal{D}(\mathcal{H})}) + \log^{1/2} \left( N_{\Omega}^{1/2}\right) \right) \\ &\lesssim N_{\Omega}^{-1/2} \left( \log^{1/2} N_{\Omega} + 1\right). \end{align}\] To bound the second term in (26 ), we apply Jensen’s inequality and the fact that \(\mathbb{E}[\omega_i \omega_j] = \delta_{ij}\), which yields \[\begin{align} \mathfrak{R}_{N_{\Omega}}\left( f\right) &= \mathbb{E}_{\xi,\omega} \left[ N_{\Omega}^{-1} \left| \mathop{\sum}_{j=1}^{N_{\Omega}} \omega_j f(\xi_j)\right| \right]\le \mathbb{E}_\xi \left[ \mathbb{E}_\omega \left( N_{\Omega}^{-1} \mathop{\sum}_{j=1}^{N_{\Omega}} \omega_j f(\xi_j)\right) ^2\right] ^{1/2} \\ &= N_{\Omega}^{-1} \mathbb{E}_\xi \left[ \mathop{\sum}_{j=1}^{N_{\Omega}} f^2(\xi_j)\right] ^{1/2} = N_{\Omega}^{-1/2} \left( \int_0^{T_{\text{end}}} \int_{\Omega(t)} f^2({\boldsymbol{x}}, t) \mu({\boldsymbol{x}}, t) \mathrm{d}{\boldsymbol{x}}\mathrm{d}t\right)^{1/2} \\ &= \left|Q\right|^{-1/2} N_{\Omega}^{-1/2}\|f\|_{L^2(0,T_{\text{end}}; L^2(\Omega))} \lesssim N_{\Omega}^{-1/2}, \end{align}\] where \(\left\lbrace \xi_j\right\rbrace_{j=1}^{N_{\Omega}}\) are i.i.d. samples from the uniform distribution \(\mathcal{U}\left( Q\right)\), \(\mu(\boldsymbol{x}, t)\) represents the corresponding probability density function on \(Q\) and \(|Q|\) denotes the measure of the domain \(Q\). Then we obtain that \[\mathop{\sup}_{v_\theta \in \mathcal{H}}\left| {\mathcal{L}_1(v_\theta) - \widehat{\ell}_1(v_\theta)} \right| \lesssim \dfrac{\log^{\frac{1}{2}} N_{\Omega} + 1}{\sqrt{N_{\Omega}}}.\] The proof is completed by analogous arguments for the other terms. ◻

As established in Section 2.4, we have presented a method for approximating the level set function using neural networks, which is denoted by \(\phi_\theta({\boldsymbol{x}}, t)\). The zero level set of \(\phi_\theta({\boldsymbol{x}}, t)\) represents the approximate interface \[\Gamma_\theta(t) :=\left\{ {\boldsymbol{x}} | \phi_\theta({\boldsymbol{x}}, t) = 0, {\boldsymbol{x}} \in \Omega\right\}, \quad t\in[0, T_{\text{end}}].\] Although \(\Gamma_\theta(t)\) deviates from the true interface \(\Gamma(t)\), we establish that the solution remains controllable relative to the original problem’s solution under suitable assumptions with sufficiently small interface discrepancy. We quantify this interface deviation via the Hausdorff distance: \(\delta = \mathop{\max}_{t \in [0, T_{\text{end}}]} d_H\left( \Gamma(t), \Gamma_\theta(t)\right),\) where \(d_H\) denotes Hausdorff distance: \[d_H(A, B) := \mathop{\max}\left\lbrace \mathop{\sup}_{a\in A} \mathop{\inf}_{b\in B} \mathrm{dist}\left( a, b\right) , \mathop{\sup}_{b\in B} \mathop{\inf}_{a\in A} \mathrm{dist}\left( a, b\right) \right\rbrace.\]

We define a tubular neighborhood of width \(\delta > 0\) about the interface \(\Gamma(t)\) as follows: \[S_{\delta}\left( t\right) :=\left\lbrace {\boldsymbol{x}}| \mathrm{dist}({\boldsymbol{x}}, \Gamma(t)) < \delta \right\rbrace, \quad S_\delta:= \mathop{\bigcup}_{t \in [0, T_{\text{end}}]} S_\delta(t).\]

By use of the Lemma 2.1 in [45], we have:

Lemma 3. For any \(v \in B_{2,1}^{1/2}\left( \Omega^+(t)\cup \Omega^-(t)\right), t\in[0,T_{\text{end}}]\), it holds \[\|v\|_{L^2(S_\delta(t))}^2 \lesssim \delta \|v\|_{B_{2,1}^{1/2}\left( \Omega^+(t)\cup \Omega^-(t)\right)}.\]

Finally, we conclude the following result:

Theorem 4. Assume that the conditions of Eqs.(1 )-(5 ) satisfy \(h_D=0\) and \(h_N=0\). Then, we have the following estimate \[\|u-u_\delta\|_{L^2(0,T_{\text{end}}; H^1(\Omega))} \lesssim \delta^{1/2},\] where \(u\) is the solution to the equations with the true interface \(\Gamma(t)\), and \(u_\delta\) is the solution corresponding to the approximate interface \(\Gamma_\theta(t)\).

Proof. According to the assumptions, we have \[\int_\Omega \partial_t u(t) w(t) + \int_\Omega \beta \nabla u(t) \cdot \nabla w(t) = \int_\Omega f(t) w(t) ,\quad w(t) \in H^1_0(\Omega), t\in[0,T_{\text{end}}],\] \[\int_\Omega \partial_t u_\delta(t) w(t) + \int_\Omega \beta_\delta \nabla u_\delta(t) \cdot \nabla w(t) = \int_\Omega f(t) w(t) ,\quad w(t) \in H^1_0(\Omega), t\in[0,T_{\text{end}}],\] where \[\beta_\delta({\boldsymbol{x}}, t) = \left\lbrace \begin{align} &\beta^+, \quad \mathrm{for}\;{\boldsymbol{x}} \in \Omega_\delta^+(t), \\ &\beta^-, \quad \mathrm{for}\;{\boldsymbol{x}} \in \Omega_\delta^-(t), \end{align} \right.\] and \[\Omega_\delta^+(t) = \left\lbrace {\boldsymbol{x}}| \phi_\theta({\boldsymbol{x}}, t)>0, {\boldsymbol{x}} \in \Omega \right\rbrace, \quad \Omega_\delta^-(t) = \left\lbrace {\boldsymbol{x}}| \phi_\theta({\boldsymbol{x}}, t)<0, {\boldsymbol{x}} \in \Omega \right\rbrace, \quad t\in [0,T_{\text{end}}].\] It follows that \[\int_\Omega \partial_t\left( u_\delta - u\right) w + \int_\Omega \beta_\delta \nabla\left( u_\delta - u\right) \cdot \nabla w = \int_{S_{\delta}(t)} \left( \beta - \beta_\delta\right) \nabla u \cdot \nabla w.\] Further, letting \(w = u_\delta - u\) and applying the Cauchy-Schwarz and Young’s inequalities, it follows from Lemma 3 that \[\dfrac{\mathrm{d}}{\mathrm{d}t} \|\left( u_\delta - u\right)(t)\|_{L^2(\Omega)}^2 + \|\nabla\left( u_\delta - u \right) (t)\|_{L^2(\Omega)}^2 \lesssim \|\nabla u\|_{L^2(S_\delta(t))}^2.\] Then, adding \(\| \left( u_\delta - u\right)(t)\|_{L^2(\Omega)}\) to both sides of the inequality yields \[\label{eq34644} \begin{align} \dfrac{\mathrm{d}}{\mathrm{d}t} \|\left( u_\delta - u\right)(t)\|_{L^2(\Omega)}^2 &+ \|\left( u_\delta - u \right) (t)\|_{H^1(\Omega)}^2\\ & \lesssim \|(u_\delta - u)(t)\|_{L^2(\Omega)}^2 + \|\nabla u\|_{L^2(S_\delta(t))}^2. \end{align}\tag{27}\] Thus the differential form of Gronwall’s inequality yields the estimate \[\mathop{\max}_{t \in [0,T_{\text{end}}]} \|\left( u_\delta - u\right)(t)\|_{L^2(\Omega)}^2 \lesssim \|(u_\delta - u)(0)\|_{L^2(\Omega)}^2 + \int_0^{T_{\text{end}}} \|\nabla u\|_{L^2(S_\delta(t))}^2.\] Since the interface at time \(t=0\) is known exactly, we integrate Equation (27 ) with respect to time to obtain: \[\begin{align} &\mathop{\max}_{t \in [0,T_{\text{end}}]} \|\left( u_\delta - u\right)(t)\|_{L^2(\Omega)}^2 + \int_{0}^{T_{\text{end}}}\|\left( u_\delta - u \right) (t)\|_{H^1(\Omega)}^2 \\ &\qquad\qquad\quad\lesssim \int_0^{T_{\text{end}}}\|\nabla u\|_{L^2(S_\delta(t))}^2 \lesssim \int_0^{T_{\text{end}}}\|\nabla u\|_{B_{2,1}^{1/2}(\Omega^+(t) \cup \Omega^-(t))} \lesssim \delta. \end{align}\] This completes the proof of the theorem. ◻

4 Numerical experiments↩︎

In this section, we present several numerical examples to demonstrate the effectiveness and accuracy of the XI-PINN method for moving interface problems, particularly emphasizing its ability to capture solution discontinuities across the interface. In all test cases, we use the hyperbolic tangent activation function \(\sigma(x) = \tanh(x)\). To minimize the loss function, we adopt the improved Levenberg–Marquardt (LM) method [46]. Compared to commonly used first-order optimizers (e.g., gradient descent), second-order methods have been shown to effectively mitigate the ill-conditioned loss landscapes of PINNs [47] and alleviate the gradient conflicts arising in multi-objective optimization [48]. Furthermore, while training PINNs via gradient descent often requires adaptively adjusting the penalty parameters of different residual terms to ensure convergence [49], [50]. Since we adopt a second-order optimizer throughout this work, we simply fix all penalty parameters to \(1\) for all neural network methods, exactly as in the loss function defined in 7 .

In all the following experiments, the optimization is terminated after \(2000\) epochs. We compare the proposed XI-PINN with the Vanilla-PINN [18] and with X-PINNs [29]. Vanilla-PINN, like XI-PINN, employs a single neural network to represent the solution in both subdomains, while X-PINNs use two separate networks to approximate the solution in \(\Omega^+(t)\) and \(\Omega^-(t)\), respectively. For Vanilla-PINN, the interface jump condition is approximated by a finite difference: \[\bigl[ \beta \nabla u \cdot \mathbf{n} \bigr]_{\Gamma(t)} \approx \beta^+ \nabla u(\boldsymbol{x} + \varepsilon \mathbf{n}, t) \cdot \mathbf{n} - \beta^- \nabla u(\boldsymbol{x}, t) \cdot \mathbf{n},\] where we take \(\varepsilon = 10^{-3}\). For X-PINNs, one only needs to enforce the interface conditions between the two networks (see, e.g., the treatment of elliptic interface problems in [22]). When a neural network is used to construct the level set function \(\phi_\theta\) within the XI-PINN framework, we denote the resulting scheme as \(\text{XI-PINN}^*\) and set the threshold \(\delta = 0.2\) in Algorithm 1. In the present work, we consider the case where the interface velocity field \(\mathcal{V}\) is known; therefore, the level set function \(\phi_\theta\) can be constructed independently prior to the training of XI-PINN. For a neural network approximation \(u_\theta\), we define the relative errors in the \(L^2(0,T;L^2(\Omega))\) and \(L^2(0,T;H^1(\Omega))\) norms as \[E_{L^2}^{\text{Rel}}(u_\theta) = \frac{\|u - u_\theta\|_{L^2(0,T;L^2(\Omega))}}{\|u\|_{L^2(0,T;L^2(\Omega))}}, \qquad E_{H^1}^{\text{Rel}}(u_\theta) = \frac{\|u - u_\theta\|_{L^2(0,T;H^1(\Omega))}}{\|u\|_{L^2(0,T;H^1(\Omega))}}.\] All experiments were run on an NVIDIA V100-SXM2-32GB GPU.

4.1 Parabolic equations↩︎

Example 1. Consider the 2D moving interface problem (1 )-(5 ) defined over the spatial domain \(\Omega=[-1,1]^2\) and the time interval \([0, 1]\). At time \(t = 0\), the interface \(\Gamma(0)\) is a circle centered at \((0.3, 0)\), represented by the level set function \(\phi_0(x, y) = (x-0.3)^2 + y^2 - (\pi/6)^2\). Driven by a velocity field \(\mathcal{V} = \left[ -0.3 \pi \sin(\pi t), 0.3 \pi \cos(\pi t)\right]^T\), the interface rotates about the origin \((0, 0)\). Thus, we can express the evolving level set function as: \[\phi(x, y, t) = (x - 0.3\cos(\pi t))^2 + (y - 0.3\sin(\pi t))^2 - (\pi/6)^2.\] The exact solution is as follows: \[\small u(x, y, t) = \left\lbrace \begin{align} & \dfrac{\left( \left( x - 0.3 \cos(\pi t)\right)^2 + \left( y - 0.3 \sin(\pi t) \right)^2\right) ^{5/2} \left( \pi / 6\right) ^{-1} }{\beta^+}\\ &\qquad\qquad \qquad\qquad\qquad\qquad+ \left( \pi / 6\right)^4\left( \dfrac{1}{\beta^-} - \dfrac{1}{\beta^+}\right) , \quad \mathrm{in}\; \Omega^+(t), \\ & \dfrac{\left( \left( x - 0.3 \cos(\pi t)\right)^2 + \left( y - 0.3 \sin(\pi t) \right)^2\right) ^{5/2} \left( \pi / 6\right) ^{-1} }{\beta^-}, \quad \mathrm{in}\; \Omega^-(t), \end{align} \right.\] where \(\beta^+ = 10\) and \(\beta^- = 0.1\).

Figure 2: Example 1: Decay of the loss and the relative L^2(0,T;L^2(\Omega)) error during training for different models with various network architectures.
Table 1: Performance of different numerical methods in Example [exa1]. (The network architecture \((L,W)\) refers to the solution network \(u_\theta\).)
Method \(L\) \(W\) \(|\theta|_{\ell^0}\) \(\ell\) \(E^{\text{Rel}}_{L^2}\) \(E^{\text{Rel}}_{H^1}\) Time (s)
Vanilla-PINN 2.73e+0 1.09e+0 1.46e+0
1.27e+0 1.09e+0 1.42e+0
X-PINN 1.54e-07 1.48e-04 2.14e-04
7.42e-11 1.65e-06 1.03e-05
XI-PINN 1.49e-09 4.06e-06 7.46e-06
2.52e-11 4.02e-07 1.50e-06
XI-PINN* 2.23e-09 4.42e-06 8.71e-06
5.14e-11 4.81e-07 1.63e-06

For this example we conduct a thorough comparison of Vanilla-PINN, X-PINNs, XI-PINN, and \(\text{XI-PINN}^*\) using networks of different sizes. In all the comparative experiments, the numbers of training points are set to \((N_\Omega, N_{\partial\Omega}, N_{\Omega_0}, N_\Gamma)=(10\text{K}, 3\text{K}, 0.3\text{K}, 2\text{K})\), and we keep the total numbers of parameters of networks of different architectures as close as possible. For \(\text{XI-PINN}^*\), the level set function \(\phi_\theta\) is constructed by a single fully connected network of architecture \((L,W)=(2,64)\), whose training takes \(59.2\) seconds. The decay of the loss \(\ell\) and the relative \(L^2(0,T;L^2(\Omega))\) error during training are shown in Fig. 2, and the final numerical results are reported in Table 1.

The results show that Vanilla-PINN fails to yield an accurate solution because it cannot capture discontinuities at the interface. Although the computational costs (measured by training time and including the overhead for training \(\widehat{\mathbf{X}}_\theta\) in \(\text{XI-PINN}^*\)) are similar across the three methods, XI-PINN achieves slightly higher accuracy than X-PINNs. As shown by the error distributions in Fig. 3 and Fig. 4, XI-PINN produces a smooth error field without interfacial jumps. This is because its input variables, \((\boldsymbol{x}, t, \Phi(\boldsymbol{x}, t))\), are constructed to be globally continuous. Furthermore, its single-network architecture shares parameters across subdomains, allowing for adaptive parameter allocation and leading to a more uniform error distribution. In contrast, X-PINNs use independent networks for each subdomain. This multi-network architecture only approximates the interface conditions and does not exactly satisfy continuity, which introduces localized error jumps. Moreover, due to the strongly coupled interface conditions, an error in one network easily propagates into the interior of the other subdomains. This error propagation becomes much more obvious when smaller networks are used (see Fig. 4).

Figure 3: Example 1: Numerical solutions, absolute error distributions, and profiles along x=0 at t=0.5 for X-PINN and XI-PINN. The network sizes (L,W) are (3,45) and (3,64), respectively.
Figure 4: Example 1: Numerical solutions, absolute error distributions, and profiles along x=0 at t=0.5 for X-PINN and XI-PINN. The network sizes (L,W) are (3,23) and (3,32), respectively.

For \(\text{XI-PINN}^*\), the zero level set of the learned function \(\phi_\theta\) has a slight geometric deviation from the exact interface. This geometric error causes a small drop in numerical accuracy, which is consistent with the theoretical bounds established in Theorem 4. Finally, we note a trade-off in the optimization process. While parameter sharing in XI-PINN improves accuracy, it results in a dense Jacobian matrix in the Levenberg-Marquardt (LM) algorithm. Conversely, the independent networks in X-PINNs naturally yield a block-diagonal Jacobian matrix, which provides a more favorable structure for computation.

Table 2: Example [exa1]: Relative \(L^2(0,1; L^2(\Omega))\) and \(L^2(0,1; H^1(\Omega))\) errors for different numbers of training points with network architecture \((L,W)=(3,64)\).
\((N_\Omega, N_{\partial \Omega}, N_{\Omega_0}, N_{\Gamma})\) \(\ell\) \(E^{\text{Rel}}_{L^2}\) \(E^{\text{Rel}}_{H^1}\)
(10K, 3K, 0.3K, 2K) 2.52e-11 4.02e-07 1.50e-06
(5K, 2K, 0.2K, 1K) 1.18e-11 8.13e-07 4.02e-06
(2K, 1K, 0.1K, 0.5K) 1.40e-12 1.51e-05 8.46e-05
(1K, 0.5K, 0.1K, 0.3K) 3.02e-13 2.86e-04 1.08e-03

For the XI-PINN, we investigate the effect of statistical error on the numerical accuracy by varying the number of training points. The numerical results in Table 2 show that, as the number of training points decreases, the approximation error grows even though the loss \(\ell\) remains very small. This indicates that reducing training points increases the statistical error, which eventually degrades the accuracy—a behavior consistent with the analysis in Section 3.

Both Vanilla-PINN and XI-PINN are able to enforce continuity across the interface, but Vanilla-PINN fails to capture the normal flux discontinuity and the overall training fails. To understand this, we examine the NTK matrices of the two methods. For this comparison we use a single-hidden-layer network with \(512\) neurons for both models, and set the numbers of training points to \((N_\Omega, N_{\partial\Omega}, N_{\Omega_0}, N_\Gamma)=(1000, 500, 200, 300)\). The eigenvalue spectra of the NTK matrices are plotted in Fig. 5. We observe that the eigenvalues of the XI-PINN NTK decay more slowly than those of Vanilla-PINN. Since small eigenvalues of the NTK are typically associated with high-frequency components of the solution[49], [51], XI-PINN is better able to capture the interface discontinuity while still maintaining continuity across the interface. We do not compare with X-PINNs here, because X-PINNs deal with a piecewise smooth problem, which is fundamentally different from the setting of Vanilla-PINN and XI-PINN.

Figure 5: Example 1: The eigenvalue distribution of the NTK for XI-PINN and Vanilla-PINN.

Example 2. In this example, we consider the moving interface problem (1 )-(5 ) defined in 3D space \(\Omega = [-1,1]^3\) over the time interval \([0, 1]\). The interface is a rotating and rising ellipsoidal surface. At the initial time \(t = 0\), it is represented by the level set function \[\phi_0(x,y,z) = \dfrac{x^2}{0.9^2} + \dfrac{y^2}{0.7^2} + \dfrac{(z + 0.25)^2}{0.5^2} - 1.\]

The motion of the interface can be described by a velocity field \[\mathcal{V} = \left[ -\pi y/2,\pi x /2, 0.5\right] ^T.\] Therefore, we can obtain the level set function \[\small \begin{align} \phi(x,y,z,t) &= \dfrac{\left( x\cos(\pi t /2) + y \sin(\pi t / 2)\right)^2 }{0.9^2} + \dfrac{\left( -x\sin(\pi t /2) + y \cos(\pi t / 2)\right)^2}{0.7^2} \\ &\qquad\qquad+ \dfrac{\left( z - 0.5t + 0.25\right)^2}{0.5^2} - 1. \end{align}\] The exact solution is as follows: \[\small u(x,y,z,t) = \left\lbrace \begin{align} &\exp\left[ -\left( x^2 + y^2 + z^2\right) \right] \cos t, \quad &\mathrm{in}\; \Omega^+(t), \\ &\dfrac{1}{2} \left[ \exp(-t) \exp(z) \sin(\pi x) \sin(\pi y) + 1\right] , \quad &\mathrm{in}\; \Omega^-(t), \end{align} \right.\] where \(\beta^+ = 10\) and \(\beta^- = 1\).

Figure 6: Example 2: Decay of the loss and the relative L^2(0,T;L^2(\Omega)) error during training for different models with various network architectures.
Table 3: Performance of different numerical methods in Example [exa2].
Method \(L\) \(W\) \(|\theta|_{\ell^0}\) \(\ell\) \(E^{\text{Rel}}_{L^2}\) \(E^{\text{Rel}}_{H^1}\) Time (s)
X-PINN 9.51e-07 5.55e-04 1.29e-03
8.91e-12 1.16e-06 4.96e-06
7.40e-13 3.18e-07 1.27e-06
XI-PINN 1.23e-07 1.13e-04 4.74e-04
7.01e-12 1.32e-06 4.49e-06
2.27e-12 4.67e-07 2.40e-06

4pt

For problems where the solution is discontinuous across the interface, i.e., \(h_D \neq 0\), we choose the indicator function as the extension variable. In this example we compare XI-PINN with X-PINNs under three different network sizes; the numerical results are shown in Fig. 6 and Table 3. The numbers of training points are set to \((N_\Omega, N_{\partial\Omega}, N_{\Omega_0}, N_\Gamma) = (20\text{K}, 6\text{K}, 0.6\text{K}, 4\text{K})\). For small network architectures, XI-PINN achieves higher accuracy by sharing parameters across the two subdomains. Unlike Example 1, for large networks XI-PINN does not gain an accuracy advantage over X-PINNs. This is because, when each subnetwork of X-PINNs has sufficiently many parameters, it can represent the solution in its own subdomain with high accuracy. In contrast, a pre-assigned small network may suffer from insufficient capacity in one subdomain, which in turn degrades the approximation in the other. Furthermore, when \(h_D \neq 0\), XI-PINN no longer benefits from exactly enforcing the zero-jump condition. In such scenarios, both XI-PINN and X-PINNs must learn the interface jump conditions, although XI-PINN uniquely encodes this discontinuity via the extended variable. Consequently, for high-accuracy computations utilizing large networks in the presence of non-homogeneous interface jumps, X-PINNs emerge as a more favorable alternative. The numerical solutions and absolute error distributions on the hyperplane \(z=0\) at \(t=0.5\) for both methods are given in Fig. 7. These results also highlight the advantage of neural networks for high-dimensional PDEs; handling such moving interface problems via grid-based space-time finite element methods is a nontrivial task.

Figure 7: Example 2: Numerical solutions and absolute error distributions for X-PINN and XI-PINN at t=0.5. The network sizes (L,W) are (4,45) and (4,64), respectively.

4.2 Oseen equations↩︎

The XI-PINN method can also be applied to solve more complex time-varying interface problems such as Oseen equations [52]. The model is described as follows: \[\label{eq4461} \left\{\begin{align} \partial_t \boldsymbol{u}^{\pm} + (\mathcal{V}\cdot\nabla)\boldsymbol{u}^{\pm} - \nu^{\pm} \Delta \boldsymbol{u}^{\pm} + \nabla p^{\pm} &= \boldsymbol{f}^{\pm}, \qquad \operatorname{div}\boldsymbol{u}^{\pm} = 0, && \text{in } \Omega^{\pm}(t), \\ \boldsymbol{u}^{\pm}\big|_{t=0} &= \boldsymbol{u}_{0}^{\pm}, && \text{in } \Omega^{\pm}(0), \\ [\nu \partial_{\mathbf{n}}\boldsymbol{u} - p \mathbf{n}]_{\Gamma(t)} &= \boldsymbol{h}_N, \quad [\boldsymbol{u}]_{\Gamma(t)} = \boldsymbol{h}_D, && \text{on } \Gamma(t),\\ \boldsymbol{u}^{+} &= \boldsymbol{g}, && \text{on } \partial\Omega, \end{align}\right.\tag{28}\] where the viscosities \(\nu\) is piece-wise positive constants, which is defined as \[\label{eq4465} \nu(\mathbf{x}, t) = \begin{cases} \nu^+, & \text{for } \boldsymbol{x} \in \Omega^+(t), \\ \nu^-, & \text{for } \boldsymbol{x} \in \Omega^-(t). \end{cases}\tag{29}\]

Example 3. Consider the 2D moving interface problem (28 )–(29 ) where the domain \(\Omega\) is a disk of radius \(1\) centered at \((0,0)\). The initial interface \(\Gamma(0)\) is an irregular smooth curve (see Fig. 9) and can be represented by the initial level set function \[\phi_0(x, y) = x^2 + y^2 - 0.4 - \frac{1}{\pi} \sin(\pi x) \cos(\pi y).\] Driven by the velocity field \(\mathcal{V} = \left(-y, x\right)^T\), the interface rotates counterclockwise around \((0, 0)\). The final time is set to \(T_{\text{end}}=1\). Solving equation 13 by the method of characteristics yields the exact level set function \[\phi(x,y,t) = \xi^2 + \eta^2 - 0.4 - \frac{1}{\pi} \sin(\pi \xi) \cos(\pi \eta),\] where \[\left( \xi, \eta\right) = \left( x\cos(t) + y\sin(t), \, -x\sin(t) + y\cos(t) \right).\] The exact solution \(\boldsymbol{u} = (u, v)\) is given by \[\small \boldsymbol{u}(x, y, t) = \begin{cases} \bigl( \exp(x) \sin(y + t),\, \exp(x) \cos(y + t) \bigr)^T + \phi \nabla^{\perp} \phi, & \mathrm{in}\; \Omega^+(t), \\[4pt] \bigl( \exp(x) \sin(y + t),\, \exp(x) \cos(y + t) \bigr)^T, & \mathrm{in}\; \Omega^-(t), \end{cases}\] where operator \(\nabla^{\perp} = (\partial_y, -\partial_x)^T\). The pressure is chosen as \[p(x, y, t) = \begin{cases} \exp(t)\sin(x)\cos(y), & \mathrm{in}\; \Omega^+(t), \\[4pt] \cos(t)\sin(x+y), & \mathrm{in}\; \Omega^-(t), \end{cases}\] and the viscosity coefficients are taken as \(\nu^+ = 1\) and \(\nu^- = 0.1\). In this example the interface jump condition satisfies \(\boldsymbol{h}_D = 0\); that is, the exact velocity \(\boldsymbol{u}\) is continuous across the interface.

Figure 8: Example 3: Decay of the loss and the relative L^2(0,T; L^2(\Omega)) error of the velocity during training for different models with various network architectures.
Table 4: Performance of different numerical methods in Example [exa3].
Method Scale \(|\theta|_{\ell^0}\) \(\ell\) \(E^{\text{Rel}}_{L^2}(u_\theta)\) \(E^{\text{Rel}}_{H^1}(u_\theta)\) \(E^{\text{Rel}}_{L^2}(v_\theta)\) \(E^{\text{Rel}}_{H^1}(v_\theta)\) Time (s)
X-PINN small 2720 5.59e-04 7.02e-03 1.02e-02 7.40e-03 1.22e-02
medium 6020 5.23e-09 2.16e-05 3.07e-05 2.56e-05 4.14e-05
large 11264 7.42e-11 3.44e-07 1.09e-06 2.97e-07 1.45e-06
XI-PINN small 2531 3.17e-06 2.89e-04 6.28e-04 7.79e-04 8.68e-04
medium 5859 8.79e-11 8.03e-07 2.33e-06 1.05e-06 3.11e-06
large 11075 1.12e-12 7.34e-08 2.95e-07 1.21e-07 4.10e-07
XI-PINN* small 2531 6.42e-06 1.88e-03 8.30e-04 4.27e-04 7.46e-04
medium 5859 6.45e-11 8.52e-07 2.47e-06 8.76e-07 3.40e-06
large 11075 1.50e-12 1.03e-07 3.57e-07 1.05e-07 4.82e-07
Table 5: Network architectures for Example [exa3]: \(L_{\bm{u}}\), \(W_{\bm{u}}\), \(L_p\), \(W_p\) denote layers and widths for velocity and pressure. The network architecture of \(\text{XI-PINN}^*\) is identical to that of XI-PINN.
Method Scale \(L_{\bm{u}}\) \(W_{\bm{u}}\) \(L_p\) \(W_p\)
X-PINN small 3 23 3 23
medium 3 45 3 23
large 4 45 4 23
XI-PINN small 3 32 3 32
medium 3 64 3 32
large 4 64 4 32

3.5pt

Figure 9: Example 3: Numerical solution and absolute error distribution for \left|\boldsymbol{u}\right| at t=0.5.

In this example, since the pressure \(p\) is discontinuous across the interface, XI-PINN requires two separate neural networks to approximate the velocity \(\boldsymbol{u}\) and the pressure \(p\), respectively. For the network approximating the velocity, the extension variable is \(z = \Phi(\boldsymbol{x},t)\), while for the network approximating the pressure we take \(z = \chi(\boldsymbol{x},t)\). To ensure a fair comparison, X-PINNs also use different networks for the velocity and for the pressure; hence both methods involve a total of four neural networks. In both XI-PINNs and X-PINNs, the neural network approximating \(\boldsymbol{u}\) yields two outputs, corresponding to the vector components \((u,v)\). In this experiment the numbers of training points are set to \((N_\Omega, N_{\partial\Omega}, N_{\Omega_0}, N_\Gamma) = (10\text{K}, 3\text{K}, 0.3\text{K}, 2\text{K})\). As before, \(\text{XI-PINN}^*\) refers to the variant where the level set function is constructed by a neural network \(\phi_\theta\); this network has architecture \((L,W)=(2,64)\) and its training takes \(59.7\) seconds.

The decay of the loss and the relative errors during training for the different methods are shown in Fig. 8, and the final numerical results together with the training times are reported in Table 4. The detailed network architectures are listed in Table 5. The numerical behavior is similar to that observed in the scalar case (Example 1): XI-PINN enforces continuity at the interface by construction and therefore achieves better accuracy than X-PINNs. From the error distributions at \(t=0.5\) (Fig. 9) we can see that the error of XI-PINN is more uniformly distributed, whereas X-PINNs exhibit noticeable discrepancies between the interior and exterior of the interface. The cross‑section plots further indicate that such differences may be caused by the error accumulated at the interface. XI-PINN accurately captures the discontinuity in the normal derivative of \(\boldsymbol{u}\) across the interface, and its advantage becomes more pronounced when the size of network is small.

Example 4. In this example, we consider the 2D moving interface problem (28 )-(29 ) involving large deformations of the interface geometry. The domain is given by \(\Omega = [0,1 ]^2\). The initial interface \(\Gamma(0)\) is the disk whose radius is \(0.15\) and its center is \((0.5, 0.75)\) which is determined by the level set function \(\phi_0\left( x_1, x_2\right) = x_1^2 + x_2^2 - 0.15^2\). The flow velocity which drives the motion of interface is given by \[\mathcal{V} = \cos\left( \pi t/3\right) \left( \sin^2\left( \pi x\right) \sin\left( 2 \pi y\right) , -\sin^2\left( \pi y\right) \sin\left( 2 \pi x\right) \right) ^T.\] At the finial time \(T_{\text{end}}=1\), \(\Omega^-(T_{\text{end}})\) is stretched into a snake-shape domain. The true solution is set by \[u(x, y, t) = \left\lbrace \begin{align} & \left( \exp(x) \sin \left( \pi y + \pi t\right) , \pi^{-1} \exp(x) \cos\left( \pi y + \pi t\right) \right)^T, \quad &\mathrm{in}\; \Omega^+(t), \\ & \left( \cos\left( \pi x\right) \sin \left( \pi y\right) , -\sin\left( \pi x\right) \cos\left( \pi y\right) \right)^T \cos t, \quad &\mathrm{in}\; \Omega^-(t), \end{align} \right.\] \[p(x, y, t) = \left\lbrace \begin{align} & \sin\left( 0.5 \pi x\right) \cos \left( 0.5 \pi y\right) , \quad &\mathrm{in}\; \Omega^+(t), \\ & \cos\left( 0.5 \pi x\right) \sin \left( 0.5 \pi y\right) , \quad &\mathrm{in}\; \Omega^-(t), \end{align} \right.\] and the coefficients of viscosity are taken as \(\nu^+=10^{-3}\) and \(\nu^- = 1\).

Figure 10: Loss and error curves for Example 4.
Table 6: Performance of different numerical methods in Example [exa4].
Method Scale \(|\theta|_{\ell^0}\) \(\ell\) \(E^{\text{Rel}}_{L^2}(u)\) \(E^{\text{Rel}}_{H^1}(u)\) \(E^{\text{Rel}}_{L^2}(v)\) \(E^{\text{Rel}}_{H^1}(v)\) Time (s)
X-PINN small 1326 1.90e-12 6.41e-07 2.59e-07 1.42e-06 5.85e-07
large 4776 6.62e-14 3.90e-08 1.43e-07 9.90e-08 4.10e-07
XI-PINN small 1315 2.45e-12 5.44e-07 7.09e-07 6.95e-07 1.72e-06
large 4675 1.25e-13 7.83e-08 2.53e-07 1.79e-07 6.62e-07

We use this example to illustrate the advantages of neural networks for moving interface problems with large deformations. Since both the velocity \(\boldsymbol{u}\) and the pressure \(p\) are discontinuous across the interface, for XI-PINN a single network suffices, with outputs \((u,v,p)\). For X-PINNs, two networks are needed, one for each subdomain, to approximate the velocity and the pressure. As an analytical level set function is not available in this example, we construct \(\phi_\theta\) using Algorithm 1. Four fully connected networks with architecture \((L,W)=(4,32)\) are employed to build the composite inverse mapping \(\widehat{\mathbf{X}}_\theta\); training these four networks takes \(366.4\) seconds in total. For the X-PINN framework, we similarly utilize the learned level set function \(\phi_\theta\) to classify the collocation points within the global domain \(\Omega\). The numbers of training points used for the PDE solution are the same as in Example 3.

The numerical results are presented in Fig. 10 and Table 6. Here XI-PINN is tested with two network sizes: \((L,W)=(3,32)\) and \((3,64)\); for X-PINNs we use \((3,23)\) and \((3,45)\). With networks of comparable size, both models achieve high accuracy and the numerical results show no significant difference. Because the exact solution \((\boldsymbol{u},p)\) is fairly smooth, both methods reach relative errors on the order of \(10^{-7}\) even with small networks containing just around \(1300\) parameters. The numerical solutions and error distributions of \(\left| \boldsymbol{u}\right|\) at different times are shown in Fig. 11. These results demonstrate that PINN-based methods can handle moving interface problems with large deformations in a simple and effective manner, fully exploiting the advantages of mesh-free approaches.

Figure 11: Example 4: Numerical solution and error distribution for \left|\boldsymbol{u} \right| at different times.

5 Conclusion↩︎

In this paper, we have presented the XI‑PINN framework for solving parabolic moving interface problems. The method employs a single neural network combined with an extended variable technique driven by a level set function, allowing it to capture the evolving interface and the associated jump conditions without requiring separate networks for each subdomain or body‑fitted mesh generation. By analyzing the error structure, we have decomposed the total error into approximation, statistical, and optimization components, and provided an a priori error estimate that confirms the method’s reliability under appropriate regularity assumptions. 

Extensive numerical experiments, including two‑ and three‑dimensional examples and the Oseen equations, demonstrate the accuracy and robustness of XI‑PINN. The method consistently outperforms both the standard Vanilla‑PINN, which fails to resolve interface discontinuities, and the multi‑network X‑PINN when the solution is continuous across the interface or when network capacities are limited. The single‑network design enables adaptive parameter sharing, leading to a more uniform error distribution and a favorable spectral behavior of the neural tangent kernel, which alleviates the spectral bias commonly observed in physics‑informed neural networks. Moreover, the time‑adaptive neural‑network construction of the level set function successfully handles large interface deformations while preserving topological validity. 

While the present work focuses on moving interface problems with prescribed velocity fields, promising directions for future research include the extension to fully coupled multiphysics problems, such as two‑phase incompressible Navier–Stokes flows [53], where the interface motion is intrinsically linked to the solution fields. In such settings, XI‑PINN’s ability to naturally enforce velocity continuity across the interface will be particularly advantageous, but it also calls for the development of stable and efficient iterative algorithms that alternately update the PDE solution and the evolving interface representation.

References↩︎

[1]
L. Greengard and M. Moura, “On the numerical evaluation of electrostatic fields in composite materials,” Acta numerica, vol. 3, pp. 379–410, 1994.
[2]
M. Sussman and E. Fatemi, “An efficient, interface-preserving level set redistancing algorithm and its application to interfacial incompressible fluid flow,” SIAM Journal on Scientific Computing, vol. 20, no. 4, pp. 1165–1191, 1999.
[3]
S. Chen, B. Merriman, S. Osher, and P. Smereka, “A simple level set method for solving stefan problems,” Journal of Computational Physics, vol. 135, no. 1, pp. 8–29, 1997.
[4]
R. E. Caflisch and B. Li, “Analysis of island dynamics in epitaxial growth of thin films,” Multiscale Modeling & Simulation, vol. 1, no. 1, pp. 150–171, 2003.
[5]
I. Babuška and J. Osborn, “Can a finite element method perform arbitrarily badly?” Mathematics of Computation, vol. 69, no. 230, pp. 443–462, 2000.
[6]
R. Lan, M. J. Ramirez, and P. Sun, “Finite element analysis of an arbitrary lagrangian–eulerian method for stokes/parabolic moving interface problem with jump coefficients,” Results in Applied Mathematics, vol. 8, p. 100091, 2020.
[7]
T. E. Tezduyar, M. Behr, S. Mittal, and J. Liou, “A new strategy for finite element computations involving moving boundaries and interfaces—the deforming-spatial-domain/space-time procedure: II. Computation of free-surface flows, two-liquid flows, and flows with drifting cylinders,” Computer Methods in Applied Mechanics and Engineering, vol. 94, no. 3, pp. 353–371, 1992.
[8]
E. Burman, S. Claus, P. Hansbo, M. G. Larson, and A. Massing, “CutFEM: Discretizing geometry and partial differential equations,” International Journal for Numerical Methods in Engineering, vol. 104, no. 7, pp. 472–501, 2015.
[9]
Z. Chen and Y. Liu, “An arbitrarily high order unfitted finite element method for elliptic interface problems with automatic mesh generation,” Journal of Computational Physics, vol. 491, p. 112384, 2023.
[10]
P. Huang, H. Wu, and Y. Xiao, “An unfitted interface penalty finite element method for elliptic interface problems,” Computer Methods in Applied Mechanics and Engineering, vol. 323, pp. 439–460, 2017.
[11]
I. Babuška and J. E. Osborn, “Generalized finite element methods: Their performance and their relation to mixed methods,” SIAM Journal on Numerical Analysis, vol. 20, no. 3, pp. 510–536, 1983.
[12]
Q. Zhang, C. Cui, U. Banerjee, and I. Babuška, “A condensed generalized finite element method (CGFEM) for interface problems,” Computer Methods in Applied Mechanics and Engineering, vol. 391, p. 114537, 2022.
[13]
J. Dolbow, N. Moës, and T. Belytschko, “An extended finite element method for modeling crack growth with frictional contact,” Computer Methods in Applied Mechanics and Engineering, vol. 190, no. 51–52, pp. 6825–6846, 2001.
[14]
Z. Li, “The immersed interface method using a finite element formulation,” Applied Numerical Mathematics, vol. 27, no. 3, pp. 253–267, 1998.
[15]
S. Adjerid, T. Lin, and H. Meghaichi, “A high order geometry conforming immersed finite element for elliptic interface problems,” Computer Methods in Applied Mechanics and Engineering, vol. 420, p. 116703, 2024.
[16]
R. Guo, “Solving parabolic moving interface problems with dynamical immersed spaces on unfitted meshes: Fully discrete analysis,” SIAM Journal on Numerical Analysis, vol. 59, no. 2, pp. 797–828, 2021.
[17]
Z. Chen, K. Li, and X. Xiang, “An adaptive high-order unfitted finite element method for elliptic interface problems,” Numerische Mathematik, vol. 149, no. 3, pp. 507–548, 2021.
[18]
M. Raissi, P. Perdikaris, and G. E. Karniadakis, “Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations,” Journal of Computational Physics, vol. 378, pp. 686–707, 2019.
[19]
L. Lu, P. Jin, G. Pang, Z. Zhang, and G. E. Karniadakis, “Learning nonlinear operators via DeepONet based on the universal approximation theorem of operators,” Nature Machine Intelligence, vol. 3, no. 3, pp. 218–229, 2021.
[20]
Y.-H. Tseng, T.-S. Lin, W.-F. Hu, and M.-C. Lai, “A cusp-capturing PINN for elliptic interface problems,” Journal of Computational Physics, vol. 491, p. 112359, 2023.
[21]
W.-F. Hu, T.-S. Lin, and M.-C. Lai, “A discontinuity capturing shallow neural network for elliptic interface problems,” Journal of Computational Physics, vol. 469, p. 111576, 2022.
[22]
S. Wu and B. Lu, “INN: Interfaced neural networks as an accessible meshless approach for solving interface PDE problems,” Journal of Computational Physics, vol. 470, p. 111588, 2022.
[23]
J. Ying, J. Hu, Z. Shi, and J. Li, “An accurate and efficient continuity-preserved method based on randomized neural networks for elliptic interface problems,” SIAM Journal on Scientific Computing, vol. 46, no. 5, pp. C633–C657, 2024.
[24]
S. Wu, A. Zhu, Y. Tang, and B. Lu, “Solving parametric elliptic interface problems via interfaced operator network,” Journal of Computational Physics, vol. 514, p. 113217, 2024.
[25]
R. Bi, J. Chen, and W. Deng, “XI-DeepONet: An operator learning method for elliptic interface problems,” Journal of Computational Physics, p. 114164, 2025.
[26]
S. Wang and P. Perdikaris, “Deep learning of free boundary and stefan problems,” Journal of Computational Physics, vol. 428, p. 109914, 2021.
[27]
A. Lin, Z. Zhang, W. Zhao, and W. Zhao, “Discontinuous extreme learning machine for interface and free boundary problems,” Journal of Computational Physics, p. 114329, 2025.
[28]
R. Qiu et al., “Physics-informed neural networks for phase-field method in two-phase flow,” Physics of Fluids, vol. 34, no. 5, 2022.
[29]
A. D. Jagtap and G. E. Karniadakis, “Extended physics-informed neural networks (XPINNs): A generalized space-time domain decomposition based deep learning framework for nonlinear partial differential equations,” Communications in Computational Physics, vol. 28, no. 5, 2020.
[30]
J. Li, R. Bi, Y. Xie, and J. Ying, “Continuity-preserved deep learning method for solving elliptic interface problems,” Computational and Applied Mathematics, vol. 44, no. 1, pp. 1–26, 2025.
[31]
Y. Jiao, R. Li, P. Wu, J. Z. Yang, and P. Zhang, “DRM revisited: A complete error analysis,” Journal of Machine Learning Research, vol. 26, no. 115, pp. 1–76, 2025.
[32]
W. E, C. Ma, and L. Wu, “Machine learning from a continuous viewpoint, i,” Science China Mathematics, vol. 63, no. 11, pp. 2233–2266, 2020.
[33]
I. Gühring and M. Raslan, “Approximation rates for neural networks with encodable weights in smoothness spaces,” Neural Networks, vol. 134, pp. 107–130, 2021.
[34]
C. Liu, L. Zhu, and M. Belkin, “Loss landscapes and optimization in over-parameterized non-linear systems and neural networks,” Applied and Computational Harmonic Analysis, vol. 59, pp. 85–116, 2022.
[35]
T. Hu, B. Jin, and Z. Zhou, “Solving poisson problems in polygonal domains with singularity enriched physics informed neural networks,” SIAM Journal on Scientific Computing, vol. 46, no. 4, pp. C369–C398, 2024.
[36]
S. Osher and R. Fedkiw, Level set methods and dynamic implicit surfaces. Springer, 2003.
[37]
J. H. Verner, “Explicit runge–kutta methods with estimates of the local truncation error,” SIAM Journal on Numerical Analysis, vol. 15, no. 4, pp. 772–790, 1978.
[38]
L. Tartar, An introduction to sobolev spaces and interpolation spaces, vol. 3. Springer Science & Business Media, 2007.
[39]
J. L. Lions and E. Magenes, Non-homogeneous boundary value problems and applications, vol. 2. Springer Science & Business Media, 1972.
[40]
L. C. Evans, Partial differential equations, vol. 19. American Mathematical Society, 2022.
[41]
V. Goar and N. S. Yadav, “Foundations of machine learning,” in Intelligent optimization techniques for business analytics, IGI Global, 2024, pp. 25–48.
[42]
J. W. Siegel, Q. Hong, X. Jin, W. Hao, and J. Xu, “Greedy training algorithms for neural networks and applications to PDEs,” Journal of Computational Physics, vol. 484, p. 112084, 2023.
[43]
B. Jin, R. Sau, L. Yin, and Z. Zhou, “Solving elliptic optimal control problems using physics informed neural networks,” arXiv preprint arXiv:2308.11925, 2023.
[44]
F. Cucker and S. Smale, “On the mathematical foundations of learning,” Bulletin of the American Mathematical Society, vol. 39, no. 1, 2001.
[45]
J. Li, J. M. Melenk, B. Wohlmuth, and J. Zou, “Optimal a priori estimates for higher order finite elements for elliptic interface problems,” Applied Numerical Mathematics, vol. 60, no. 1–2, pp. 19–37, 2010.
[46]
M. K. Transtrum and J. P. Sethna, “Improvements to the levenberg-marquardt algorithm for nonlinear least-squares minimization,” arXiv preprint arXiv:1201.5885, 2012.
[47]
P. Rathore, W. Lei, Z. Frangella, L. Lu, and M. Udell, “Challenges in training pinns: A loss landscape perspective,” arXiv preprint arXiv:2402.01868, 2024.
[48]
S. Wang, B. Li, and P. Perdikaris, “Gradient alignment in physics-informed neural networks: A second-order optimization perspective,” Advances in Neural Information Processing Systems, vol. 38, pp. 168482–168532, 2026.
[49]
S. Wang, X. Yu, and P. Perdikaris, “When and why PINNs fail to train: A neural tangent kernel perspective,” Journal of Computational Physics, vol. 449, p. 110768, 2022.
[50]
S. Wang, Y. Teng, and P. Perdikaris, “Understanding and mitigating gradient flow pathologies in physics-informed neural networks,” SIAM Journal on Scientific Computing, vol. 43, no. 5, pp. A3055–A3081, 2021.
[51]
A. Jacot, F. Gabriel, and C. Hongler, “Neural tangent kernel: Convergence and generalization in neural networks,” Advances in Neural Information Processing Systems, vol. 31, 2018.
[52]
C. Ma, T. Tian, and W. Zheng, “High-order unfitted characteristic finite element methods for moving interface problem of oseen equations,” Journal of Computational and Applied Mathematics, vol. 425, p. 115028, 2023.
[53]
S. Hysing et al., “Quantitative benchmark computations of two-dimensional bubble dynamics,” International Journal for Numerical Methods in Fluids, vol. 60, no. 11, pp. 1259–1288, 2009.

  1. School of Mathematics, Nanjing University, Nanjing 210093, People’s Republic of China (, , ).↩︎

  2. Submitted to the editors DATE.↩︎