A Discontinuity Capturing Shallow Neural Network for Elliptic Interface Problems

Wei-Fan Hu, Te-Sheng Lin, Ming-Chih LaiarXiv 2021 · DOI

TL;DR

The paper introduces the Discontinuity Capturing Shallow Neural Network (DCSNN), a mesh-free method designed to solve elliptic interface problems with sharp jump discontinuities. By elegantly lifting a discontinuous $d$-dimensional problem into a continuous $(d+1)$-dimensional space, DCSNN achieves superior accuracy over traditional grid-based methods and deep neural networks while utilizing only a single hidden layer and a few hundred parameters.

What Problem Does This Paper Address?

Elliptic interface problems appear across physics and engineering, modeling phenomena like multi-phase fluid flows or electromagnetic fields passing through materials with highly contrasting properties. In these scenarios, the solution or its derivatives jump abruptly across an interface boundary.

Traditional grid-based numerical techniques, such as the Immersed Interface Method (IIM), struggle to accommodate complex or irregular boundaries and suffer severely from the "curse of dimensionality" in higher dimensions. Conversely, modern deep learning approaches like Physics-Informed Neural Networks (PINNs) are mesh-free but inherently struggle with discontinuities because standard neural network activation functions (like Sigmoid or ReLU) are continuous and smooth. Previous attempts to fix this required training separate, complex deep neural networks (DNNs) for each individual sub-domain, drastically increasing computational overhead.

Methods

The authors bypass the need for deep architectures by introducing a clever mathematical trick: dimension augmentation.

Instead of trying to force a shallow network to learn a sharp spatial split in $d$-dimensions, they extend the piecewise continuous function $\phi(x)$ into a continuous $(d+1)$-dimensional function $\phi_{aug}(x, z)$. They introduce an extra coordinate variable, $z$, which acts as a continuous label indicating the sub-domain ($z = -1$ for the inner domain $\Omega^-$, and $z = 1$ for the outer domain $\Omega^+$).

When sliced at $z = \pm 1$, this higher-dimensional smooth function perfectly recovers the sharp jumps of the original domain.

Figure 2: The structure of DCSNN. N neurons are used in the hidden layer.

As shown in the architecture above, the DCSNN features:

  1. A completely shallow structure: Only one hidden layer is used. The total number of parameters scales linearly with the dimension and the number of hidden neurons.
  2. A physics-informed loss function: The network minimizes a mean squared error loss consisting of the PDE governing equation residual, boundary conditions, and the interface jump conditions.
  3. Levenberg-Marquardt (LM) Optimization: Because the shallow network requires only a moderate number of parameters (often fewer than a hundred), the authors can leverage the full-batch LM optimization method rather than stochastic gradient descent (like Adam), leading to rapid and highly stable convergence.

Datasets

The method is evaluated using synthetic numerical verification problems across two, three, and six dimensions. The test cases feature high-contrast coefficients ($\beta^- / \beta^+ = 10^3$), which typically break standard numerical solvers. No external real-world datasets were used, which is standard practice for validating novel PDE solvers.

Key Insights and Ideas

  • Lifting Simplifies Discontinuities: Turning a sharp spatial cliff into a smooth transition along an augmented dimension allows standard smooth activation functions to model the interface cleanly.
  • Shallow + LM Outperforms Deep + Adam: For this specific formulation, a single hidden layer optimized via the Levenberg-Marquardt method converges to a loss of $10^{-9}$ within roughly 1,000 steps. Standard machine learning optimizers like Adam and L-BFGS plateaued around $10^{-7}$ even after 50,000 training steps.
  • Point Distribution Matters: Even though the method is entirely mesh-free, selecting training points based on Chebyshev nodes yields significantly better accuracy than uniform or random point distributions, mirroring classical polynomial interpolation theory.

Key Results

  • Beating Traditional Methods (IIM): In 2D trials, DCSNN achieved a maximum error of $4.386 \times 10^{-6}$ using just 101 parameters. In comparison, the traditional grid-based Immersed Interface Method (IIM) required 65,792 unknowns to achieve a lesser accuracy of $8.347 \times 10^{-6}$.
  • Outperforming Deep Networks: When stacked against piecewise deep neural networks from recent literature, DCSNN delivered lower relative $L^2$ errors ($2.634 \times 10^{-4}$ vs $3.727 \times 10^{-4}$) while slashing the parameter count from 42,114 down to just 501.
  • High-Dimensional Scaling: The authors successfully demonstrated the network's resilience to the curse of dimensionality by solving a complex 6-dimensional elliptic interface problem on a 6-sphere domain.

Limitations and Future Work

Despite its success, the authors highlight a notable bottleneck in high dimensions: for the 6D problem, the error plateaus early (within 100 iterations), and the descent of the loss metric becomes sluggish. Interestingly, adding more training points did not resolve this slow convergence, a phenomenon also observed in other high-dimensional neural PDE solvers like the Deep Ritz method.

Additionally, the current DCSNN framework is strictly limited to stationary elliptic problems. The authors note that extending this dimension-augmentation framework to time-dependent and moving interface problems is a vital direction for future research.

Summary updated

BibTeX
@misc{hu2021discontinuity,
  author = {Wei-Fan Hu and Te-Sheng Lin and Ming-Chih Lai},
  title = {{A Discontinuity Capturing Shallow Neural Network for Elliptic Interface Problems}},
  year = {2021},
  eprint = {2106.05587},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.05587},
}
Figure