Stochastic projection based approach for gradient free physics informed learning

Navaneeth N., Souvik ChakrabortyComputer 2022

TL;DR

This paper introduces a novel "Stochastic Projection-based Physics-Informed Neural Network" (SP-PINN) that tackles the computational burden of traditional Physics-Informed Neural Networks (PINNs) by eliminating the need for automatic differentiation. SP-PINN leverages stochastic projection theory to enable gradient-free computation, making it more robust and efficient for solving complex problems with discontinuities and irregular domains.

What Problem Does This Paper Address?

Solving Partial Differential Equations (PDEs) is fundamental across many scientific and engineering disciplines. While traditional numerical methods like Finite Element Method (FEM) and Finite Difference Method (FDM) exist, they can be computationally prohibitive for complex problems. Physics-Informed Neural Networks (PINNs) have emerged as a powerful alternative, learning solutions by enforcing PDE constraints directly within the neural network. However, PINNs typically rely on automatic differentiation (AD) to compute gradients, which can be computationally expensive, lead to memory constraints, and restrict the choice of activation functions, especially for problems with non-smooth solutions or complex domains. This paper aims to overcome these limitations by proposing a gradient-free PINN approach.

Methods

The core innovation of this paper is the development of the Stochastic Projection-based Physics-Informed Neural Network (SP-PINN). This approach integrates the principles of stochastic projection theory with the PINN framework.

Here's how it works:

  • Gradient-Free Computation: Instead of using automatic differentiation to compute derivatives of the neural network's output with respect to its inputs (which is required to enforce PDE constraints), SP-PINN employs a stochastic projection method. This method uses neighborhood information and a probabilistic approach to estimate gradients.
  • Stochastic Projection Theory: This theory, inspired by multi-scale modeling, treats microscopic fluctuations as stochastic processes. It provides a way to characterize macroscopic field variables by considering their neighborhood information. The paper details how this theory is adapted to compute directional derivatives without explicit differentiation.
  • Filtering and Conditional Expectation: The method involves concepts like stochastic filtering and conditional expectation to derive the necessary gradient-like information from the observed field variables within a defined neighborhood.
  • Robustness to Discontinuities: A key advantage highlighted is that this gradient-free approach is inherently more robust to discontinuities in the solution field, a common challenge for AD-based methods.
  • Flexibility in Architecture: By removing the reliance on differentiability for gradient computation, SP-PINN offers greater flexibility in choosing neural network architectures, including potentially non-differentiable ones like Convolutional Neural Networks (CNNs).

Datasets

The paper does not introduce new datasets. Instead, it uses well-established benchmark problems to evaluate the performance of the proposed SP-PINN. These include:

  • Heat conduction equation
  • Viscous Burger's equation
  • Poisson's equation (both homogeneous and non-homogeneous, on regular and irregular domains like L-shaped and star-shaped)
  • Fourth-order phase field fracture problem

The evaluation involves comparing the SP-PINN's predictions against the known analytical solutions for these problems.

Key Insights and Ideas

  • Gradient-Free PINNs are Feasible and Effective: The most significant insight is that it's possible to build effective PINNs without relying on automatic differentiation, opening up new avenues for solving complex PDEs.
  • Stochastic Projection as a Powerful Alternative: The paper demonstrates that stochastic projection theory provides a robust mathematical framework for approximating the necessary gradient information in a gradient-free manner.
  • Enhanced Robustness for Complex Problems: SP-PINN shows superior performance in handling problems with non-smooth solutions, discontinuities (like fractures), and irregular geometries, where traditional AD-based PINNs might struggle.
  • Activation Function Freedom: The ability to use non-differentiable activation functions (like ReLU) without issue is a major practical advantage, simplifying model selection and potentially improving performance.
  • Efficiency Gains: By avoiding the computational overhead of AD, SP-PINN offers potential for improved computational efficiency, especially for large-scale or complex problems.

Key Results

The paper presents extensive numerical results across various PDE examples:

  • Heat Conduction: SP-PINN achieved accurate predictions, with maximum prediction errors as low as 0.138 and 0.0746 for different numbers of collocation points.
  • Viscous Burger's Equation: Excellent agreement with the actual solution was observed, with prediction errors less than 0.006.
  • Poisson's Equation: For both homogeneous and non-homogeneous cases, SP-PINN demonstrated strong performance, often outperforming AD-PINN, especially on irregular domains. For instance, in the non-homogeneous case with 2601 collocation points, SP-PINN achieved a maximum absolute error of 0.0727 compared to AD-PINN's 0.1368.
  • Phase Field Fracture: The SP-PINN was successfully applied to simulate crack propagation in a square plate, demonstrating its capability to handle complex, fourth-order PDEs and material discontinuities.
  • Robustness to Neighborhood Size: For several problems, the results indicated that SP-PINN's accuracy is not overly sensitive to the number of neighboring points used in the stochastic projection, and in some cases, fewer points yielded better results.
  • Activation Function Performance: SP-PINN showed good performance with various activation functions (ELU, Tanh, ReLU), whereas AD-PINN struggled with ReLU due to differentiability requirements.

Limitations and Future Work

The authors acknowledge several limitations and suggest future research directions:

  • Neighborhood Point Selection: Stochastic projection relies on the distribution of neighborhood points, which can influence optimal parameter selection and requires further investigation.
  • Automated Architecture Selection: Currently, network architectures are chosen through trial and error. Automating this process would be beneficial.
  • Further Exploration of Non-Differentiable Architectures: While the framework theoretically supports non-differentiable architectures, their practical implementation and performance benefits warrant more in-depth study.
  • Scalability: Investigating the scalability of SP-PINN to even larger and more complex problems is a natural next step.
  • Theoretical Guarantees: While empirical results are strong, further theoretical analysis of convergence and error bounds for SP-PINN could strengthen its foundation.

Summary updated

BibTeX
@misc{n2022stochastic,
  author = {Navaneeth N. and Souvik Chakraborty},
  title = {{Stochastic projection based approach for gradient free physics informed learning}},
  year = {2022},
  eprint = {2209.13724},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.13724},
}
Figure