Scalable algorithms for physics-informed neural and graph networks

Khemraj Shukla, Mengjia Xu, Nathaniel Trask, George Em Karniadakis

TL;DR

This paper reviews the state-of-the-art in Physics-Informed Machine Learning (PIML), focusing on how to scale these models for massive engineering challenges. By combining Physics-Informed Neural Networks (PINNs) with domain decomposition and leveraging Graph Neural Networks (GNNs) through "graph exterior calculus," the authors demonstrate how to simulate complex physical systems even when data is sparse and geometries are irregular.

What Problem Does This Paper Address?

Traditional computational engineering relies on numerical methods (like Finite Element Analysis) that require high-quality meshes and complete knowledge of boundary conditions—things often missing in real-world scenarios. While Physics-Informed Neural Networks (PINNs) emerged to solve these "ill-posed" problems by embedding physical laws directly into the model's loss function, they face two major hurdles:

  1. Computational Cost: Training vanilla PINNs on large-scale, multiscale problems is incredibly slow.
  2. Unstructured Data: Standard neural networks struggle with complex, non-grid-like geometries or "systems-of-systems" where components interact dynamically.

The authors address these gaps by reviewing scalable architectures like XPINNs (Extended PINNs) and PIGNs (Physics-Informed Graph Networks).

Methods

The paper highlights several key algorithmic advancements:

  • Domain Decomposition (cPINN & XPINN): Instead of one giant network, the physical domain is split into subdomains. cPINN (conservative) enforces continuity of states and fluxes at interfaces, while XPINN (extended) allows for space-time decomposition of irregular, non-convex geometries. This enables massive parallelization across GPUs.
  • Self-Adaptive Loss Weights: PINNs often struggle with "stiff" problems (like boundary layers). The authors describe a gradient descent-ascent procedure where the model learns to prioritize difficult regions of the domain automatically.
  • Gradient-Enhanced PINNs (gPINNs): By minimizing the derivatives of the PDE residual (not just the residual itself), gPINNs achieve significantly higher accuracy with fewer training points.
  • Graph Exterior Calculus (GEC): For GNNs, the authors introduce a framework to construct discrete differential operators (div, grad, curl) directly on graphs. This allows "Physics-Informed Graph Networks" (PIGNs) to respect physical conservation laws on unstructured data.

Datasets

The authors evaluate these methods using several classic and complex physical benchmarks:

  • 1D Boundary Layer Problem: A stiff ODE used to test self-adaptive weighting.
  • 1D Diffusion Equation: Used to compare the accuracy of gPINNs vs. vanilla PINNs.
  • 2D Incompressible Navier-Stokes: Used to demonstrate the weak scaling of cPINN and XPINN on the Summit supercomputer.
  • Steady-State Heat Conduction (USA Map): A complex inverse problem where the goal is to infer variable thermal conductivity across a non-convex domain shaped like the United States, divided into 10 subdomains.

Key Insights and Ideas

  • Physics as a Regularizer: In PIML, physical laws act as a substitute for "big data." You don't need millions of labeled images if you have the underlying partial differential equations (PDEs) to guide the learning.
  • The Power of Locality: Domain decomposition isn't just for speed; it allows the model to use different network architectures or activation functions in different regions, which is crucial for multiscale physics.
  • Mimetic Properties: By using graph exterior calculus, PIGNs can "mimic" the structure of the physical world (like ensuring what flows into a node flows out), making them more robust than black-box GNNs.
  • Inverse Problems are "Free": One of the most striking advantages of PINNs is that the same code used to solve a forward simulation can be used to solve an inverse problem (discovering hidden parameters) just by adding a few data points to the loss function.

Key Results

  • Accuracy Boost: gPINNs outperformed standard PINNs by up to two orders of magnitude in accuracy, reaching 1% relative error with only 40 training points.
  • Linear Scalability: XPINN demonstrated excellent weak scaling on up to 24 GPUs, showing that the computational overhead of communicating between subdomains is manageable.
  • Complex Geometry Handling: The XPINN successfully solved an inverse heat conduction problem on the highly irregular USA map domain, accurately reconstructing thermal conductivity even across non-convex interfaces where traditional methods might struggle.
  • Speedups: GNN-based surrogates for cloth dynamics and fluid flow showed speedups of 10x to 100x compared to traditional solvers.

Limitations and Future Work

Despite the progress, the authors note several remaining challenges:

  • Load Balancing: In distributed GNN training, effectively balancing the number of vertices and edges across processors remains difficult due to the unstructured nature of graphs.
  • Hardware Bottlenecks: GNNs require irregular memory access, which is less efficient on current GPUs compared to the dense matrix multiplications used in standard deep learning.
  • Software Integration: There is a need for more robust, user-friendly libraries that combine multi-GPU/multi-CPU paradigms with physics-informed constraints.
  • Theoretical Foundations: While "GRAND" (Graph Neural Diffusion) schemes are emerging, more work is needed to use PDE theory to design GNN architectures that are stable even when very deep.

Summary updated

BibTeX
@inproceedings{shukla2022scalable,
  author = {Khemraj Shukla and Mengjia Xu and Nathaniel Trask and George Em Karniadakis},
  title = {{Scalable algorithms for physics-informed neural and graph networks}},
  booktitle = {Data-Centric},
  year = {2022},
  doi = {10.1017/dce.2022.24},
}
Figure