An Overview on Machine Learning Methods for Partial Differential Equations: from Physics Informed Neural Networks to Deep Operator Learning

Lukas Gonon, Arnulf Jentzen, Benno Kuckuck, Siyu Liang, Adrian Riekert, Philippe von WurstembergerarXiv 2024

Abstract

The approximation of solutions of partial differential equations (PDEs) with numerical algorithms is a central topic in applied mathematics. For many decades, various types of methods for this purpose have been developed and extensively studied. One class of methods which has received a lot of attention in recent years are machine learning-based methods, which typically involve the training of artificial neural networks (ANNs) by means of stochastic gradient descent type optimization methods. While approximation methods for PDEs using ANNs have first been proposed in the 1990s they have only gained wide popularity in the last decade with the rise of deep learning. This article aims to provide an introduction to some of these methods and the mathematical theory on which they are based. We discuss methods such as physics-informed neural networks (PINNs) and deep BSDE methods and consider several operator learning approaches.

Introduction

Partial Differential Equations (PDEs) serve as the fundamental mathematical language for describing physical phenomena, ranging from fluid dynamics and heat transfer to quantum mechanics and financial modeling. Traditionally, these equations are solved using classical numerical methods such as Finite Element Methods (FEM), Finite Difference Methods (FDM), or Spectral Methods. While robust, these traditional approaches often encounter the "curse of dimensionality" or become computationally prohibitive when dealing with complex, high-dimensional, or parametric systems.

In recent years, the integration of Machine Learning (ML) into the field of scientific computing has offered a new paradigm. By leveraging the universal approximation capabilities of Artificial Neural Networks (ANNs), researchers can now approximate solutions to PDEs in ways that were previously computationally infeasible. This paper provides a unified mathematical framework to categorize these emerging ML methods and evaluates their performance against traditional numerical analysis.

Methodological Framework

The landscape of ML-based PDE solvers can be broadly categorized into two functional groups: those designed to solve specific PDE instances and those designed to learn the underlying operators.

1. Solving Single PDE Instances

These methods focus on finding the solution to a specific equation with fixed parameters and boundary conditions.

  • Physics-Informed Neural Networks (PINNs): PINNs incorporate the PDE directly into the neural network's loss function. By penalizing the "residual"—the degree to which the network's output violates the differential equation—the model is forced to satisfy the underlying physics during training. This approach acts as a powerful regularizer, allowing the model to learn from sparse data.
  • Stochastic-based Solvers (Deep BSDE): For high-dimensional parabolic PDEs, methods like the Deep Backward Stochastic Differential Equation (BSDE) approach leverage the Feynman-Kac formula. This reformulates the PDE as a stochastic optimization problem, allowing the use of Stochastic Gradient Descent (SGD) to find solutions in dimensions where grid-based methods fail.

2. Operator Learning

Unlike instance-based solvers, operator learning aims to learn the mapping between function spaces (e.g., mapping an initial state to a future state).

  • Fourier Neural Operators (FNOs): FNOs perform convolutions in the Fourier domain, capturing global dependencies efficiently. They are particularly effective for periodic physical systems and exhibit "discretization invariance," meaning they can be trained on one resolution and evaluated on another.
  • Deep Operator Networks (DeepONets): These utilize a dual-network architecture consisting of a "branch" network (processing the input function) and a "trunk" network (processing the domain coordinates) to approximate nonlinear operators.
  • Convolutional Architectures: Encoder-decoder structures are often employed to capture spatial hierarchies, treating physical fields similarly to image data.

Experimental Evaluation

The efficacy of these methods was evaluated using several classic physical benchmarks, with ground truth solutions generated by high-precision classical solvers:

  1. Viscous Burgers Equation: A standard 1D test case for fluid flow and shock formation.
  2. Allen-Cahn Equation: A model for phase separation in multi-component systems, tested in both 1D and 2D environments.
  3. Reaction-Diffusion Equation: Used to simulate the evolution of substances under the influence of local chemical reactions and diffusion processes.

Key Insights and Results

The Power of Reformulation

A significant theoretical contribution of this work is the rigorous proof demonstrating how PDEs can be recast as stochastic minimization problems. This provides the mathematical justification for using SGD-based optimization in physical contexts, bridging the gap between stochastic learning and deterministic physics.

Performance Trade-offs

The numerical results reveal a distinct trade-off between training investment and inference speed. While classical solvers require computation for every new instance, neural operators require a heavy "precomputation" (training) phase. However, once trained, models like FNOs can evaluate solutions orders of magnitude faster than classical methods. For the Burgers equation, FNOs achieved high accuracy with inference times under 0.06 seconds for thousands of samples.

Accuracy and Dimensionality

In 1D benchmarks, ML methods frequently achieved $L^2$ errors below 1%, matching the accuracy of classical methods at a fraction of the test-time cost. However, challenges remain in higher dimensions. In 2D Allen-Cahn tests, classical spectral methods still outperformed ML models in terms of accuracy for a fixed time budget, suggesting that traditional numerical analysis remains the gold standard for certain low-dimensional, high-precision requirements.

Conclusion and Future Directions

Machine learning methods for PDEs represent a transformative shift in computational science, particularly through the development of Physics-Informed Neural Operators (PINOs) that combine data-driven speed with physical consistency. Despite their promise, several hurdles remain:

  • Generalization: Ensuring models perform accurately on "out-of-distribution" scenarios remains a primary concern.
  • Theoretical Foundations: While empirical success is evident, rigorous error bounds and convergence rates for these complex architectures are still under development.
  • Training Costs: The high initial cost of training means these methods are currently most beneficial for applications requiring repeated evaluations of the same PDE under varying conditions.

Future research will likely focus on increasing the mathematical transparency of these "black box" models, aiming to provide the same level of reliability found in classical numerical analysis.

Summary updated

BibTeX
@misc{gonon2024overview,
  author = {Lukas Gonon and Arnulf Jentzen and Benno Kuckuck and Siyu Liang and Adrian Riekert and Philippe von Wurstemberger},
  title = {{An Overview on Machine Learning Methods for Partial Differential Equations: from Physics Informed Neural Networks to Deep Operator Learning}},
  year = {2024},
  eprint = {2408.13222},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.13222},
}
Figure