A metalearning approach for Physics-Informed Neural Networks (PINNs): Application to parameterized PDEs

Michael Penwarden, Shandian Zhe, Akil Narayan, Robert M. KirbyJournal of Computational Physics 2023 · DOI

TL;DR

This paper introduces a metalearning approach to accelerate the training of Physics-Informed Neural Networks (PINNs) for parameterized Partial Differential Equations (PDEs). By learning how to initialize PINN weights effectively across a family of related PDE problems, they significantly reduce training time and improve accuracy compared to standard methods.

What Problem Does This Paper Address?

Physics-Informed Neural Networks (PINNs) are a powerful tool for solving PDEs, offering a mesh-free approach that integrates physical laws directly into the neural network's loss function. However, training PINNs can be computationally expensive, especially for parameterized PDEs where the equation's coefficients or boundary conditions vary. This high training cost hinders their widespread adoption in applications requiring many simulations, such as uncertainty quantification or design optimization. The authors aim to address this by developing a method to quickly adapt PINNs to new parameter values, thereby reducing the overall computational burden.

Methods

The core of this work is the application of metalearning to PINNs. Metalearning, in this context, means "learning to learn." Instead of training a PINN from scratch for each new parameter value of a PDE, the authors train a "meta-model" that learns how to initialize the PINN's weights. This meta-model leverages information from previously trained PINNs on related problems (different parameter values) to provide a good starting point for a new, unseen parameter value.

Specifically, they employ a model-aware metalearning strategy. This means they don't treat each parameter value as an entirely independent task. Instead, they assume that for a given parameterized PDE, the optimal PINN weights vary smoothly across the parameter space. This allows them to use interpolation techniques (like splines, RBFs, and polynomials) to predict good initializations for new parameter values based on a few pre-computed PINN solutions. They compare their approach to model-agnostic metalearning methods like MAML (Model-Agnostic Meta-Learning) and various initialization strategies.

Datasets

The paper does not introduce new benchmark datasets. Instead, it uses several well-established parameterized PDE problems for evaluation, including:

  • 1D Burgers Equation
  • 1D nonlinear Heat Equation
  • 2D nonlinear Allen-Cahn Equation
  • 2D nonlinear Diffusion-Reaction Equation
  • A 6D parametric equation
  • A 10D parametric equation

These problems are chosen to represent a range of complexities and dimensions in both the spatial and parameter domains.

Key Insights and Ideas

  • Smoothness of PINN Weights: A crucial assumption is that the optimal weights of a PINN trained for a parameterized PDE vary smoothly across the parameter space. This allows for effective interpolation and transfer learning.
  • "Center Initialization" as a Strong Baseline: Simply training a PINN at the center of the parameter space and using its weights as an initialization for other parameter values proved to be a surprisingly effective and computationally cheap baseline.
  • Interpolation Methods Outperform MAML: For parameterized PDEs, interpolation-based metalearning strategies (splines, RBFs, polynomials) generally outperformed the more general MAML approach, especially when combined with L-BFGS optimization.
  • Reduced Training Time: The metalearning approach significantly reduces the time required to train PINNs to a desired accuracy, often achieving good results with minimal or no L-BFGS optimization.
  • RBF Gaussian Kernel Limitations: The Gaussian RBF kernel was found to be consistently poor for metalearning parameterized PDEs, suggesting that kernel choice is critical and problem-dependent.

Key Results

The proposed metalearning approach, particularly using interpolation methods and initializing from the center of the parameter domain, consistently achieved:

  • Significant reduction in training time: In many cases, the metalearning approach achieved comparable or better accuracy with substantially less training time compared to training from scratch or using MAML. For instance, interpolation methods could achieve 10⁻³ error with minimal or no L-BFGS optimization.
  • Improved accuracy: The metalearning initializations generally led to lower final errors, especially after L-BFGS optimization, compared to random initialization.
  • Scalability: The method showed promise across various dimensionalities of the parameter space, from 1D to 10D, although performance gains were more pronounced in lower dimensions.

Limitations and Future Work

  • Task Boundaries: The current approach assumes constant task regions within the parameter space. Future work could focus on identifying and leveraging task boundaries to make the metalearning approach more robust and potentially task-agnostic.
  • Theoretical Understanding: While the empirical results are strong, a deeper theoretical understanding of how PINN weights vary with parameters (the "E-variation") is needed to further solidify the metalearning framework.
  • High-Dimensional Problems: Performance gains were more modest in higher-dimensional parameter spaces. Further research is needed to develop more effective strategies for these challenging scenarios.
  • Generalization to Other PINN Variants: The paper focuses on the collocation version of PINNs. Extending the metalearning approach to other PINN variants (e.g., variational PINNs, conservative PINNs) is a natural next step.

Summary updated

Abstract

Highlights•Metalearning approach for PINNs with application to parameterized PDEs using weighted interpolation.•Exploiting the assumed smoothness of neural network weights for parameterized PDEs over the parametric domain.•Theoretical and implementation considerations to guide tuning and set up.•Accelerated optimization on four canonical and two higher-dimensional forward problems with a survey of predictive methods.
BibTeX
@article{penwarden2023metalearning,
  author = {Michael Penwarden and Shandian Zhe and Akil Narayan and Robert M. Kirby},
  title = {{A metalearning approach for Physics-Informed Neural Networks (PINNs): Application to parameterized PDEs}},
  journal = {Journal of Computational Physics},
  year = {2023},
  doi = {10.1016/j.jcp.2023.111912},
}
Figure