GINNs: Graph-Informed Neural Networks for multiscale physics

Eric Joseph Hall, Søren Taverniers, Markos A. Katsoulakis, Daniel M. TartakovskyJournal of Computational Physics 2021

TL;DR

This paper introduces Graph-Informed Neural Networks (GINNs), a novel hybrid approach that combines deep learning with probabilistic graphical models (PGMs) to create efficient surrogate models for complex, multiscale physics simulations. GINNs significantly accelerate uncertainty quantification (UQ) by learning to bypass computationally expensive bottlenecks in physics-based models, enabling faster and more confident predictions for critical engineering decisions.

What Problem Does This Paper Address?

Simulating and analyzing complex multiscale and multiphysics systems, such as those found in energy storage devices, is computationally demanding. To make informed engineering decisions, we need to understand how uncertainties in input parameters propagate to the system's outputs (quantities of interest, or QoIs). This uncertainty quantification (UQ) typically requires running the physics-based model many times with different input parameter samples. However, for complex systems, these simulations are often prohibitively expensive, especially when the QoIs exhibit non-Gaussian and skewed probability distributions that require detailed density estimation. Existing surrogate models can be computationally cheaper but often lack the domain knowledge to ensure physically sound predictions.

Methods

The authors propose a Graph-Informed Neural Network (GINN) approach. The core idea is to embed a Probabilistic Graphical Model (PGM), specifically a Bayesian Network (BN), into the physics-based model. This BN encodes domain knowledge and dependencies between variables, creating a "structured prior." The computationally intensive parts of the physics-based model (identified as bottlenecks within the BN) are then replaced by a deep neural network (NN).

Here's a breakdown of the process:

  1. Domain-Aware Physics-Based Model (BN PDE): A Bayesian Network (BN) is constructed to represent the probabilistic relationships between variables in the system. This BN is then used to create a "BN PDE" model, which is a probabilistic version of the physics-based model. This step is crucial for encoding domain knowledge and ensuring physically sound distributions.
  2. GINN Surrogate Construction: The computationally expensive nodes in the BN PDE are identified as bottlenecks. A deep neural network (NN) is trained to learn these intermediate variables. The NN's input layer is informed by the structured priors from the BN, ensuring that the network learns physically meaningful relationships.
  3. Data Generation: The BN PDE model is used to generate a moderate amount of training data (input-output pairs of control variables and QoIs).
  4. Training the GINN: The NN is trained using this generated data. The authors use a standard feed-forward neural network with ReLU activation functions.
  5. Testing and Prediction: The trained GINN is then used to generate a massive number of output samples for the QoIs, bypassing the original computational bottlenecks. This allows for efficient and confident density estimation.

This approach differs from Physics-Informed Neural Networks (PINNs) by using simulation data from a domain-aware model rather than directly embedding physical constraints into the NN's loss function.

Datasets

The paper does not introduce new benchmark datasets. Instead, it uses data generated from a physics-based model of supercapacitor dynamics. This data is generated using a co-simulation framework involving COMSOL Multiphysics® and MATLAB®. The authors generate $N_{sam} = 10^4$ input samples from structured priors on control variables and produce corresponding output samples for the QoIs. This dataset is then split into training ($N_{train} = 0.8N_{sam}$) and testing ($N_{test} = 0.2N_{sam}$) sets. For prediction and UQ, the GINN generates $N_{pred} = 10^7$ new output samples.

Key Insights and Ideas

  • Bridging the Gap between Physics and Data-Driven Models: GINNs offer a powerful way to combine the interpretability and physical grounding of physics-based models with the computational efficiency and learning capabilities of deep neural networks.
  • Structured Priors are Key: The use of a Bayesian Network to encode domain knowledge and dependencies between control variables is crucial. This ensures that the GINN learns physically plausible relationships, unlike standard NNs that often assume independent inputs.
  • Computational Bottleneck Identification: The PGM framework naturally helps identify the most computationally expensive parts of a complex model, allowing targeted replacement with NNs.
  • Enabling High-Confidence UQ: By drastically reducing the cost of generating samples, GINNs make it feasible to obtain large datasets for accurate density estimation of non-Gaussian and skewed QoIs, leading to much tighter confidence intervals for UQ.

Key Results

  • Massive Speedup: The GINN approach achieves a computational cost reduction of almost three orders of magnitude compared to using the physics-based model alone for generating a large number of samples. For example, generating $10^7$ samples with the GINN took approximately 5 minutes on a MacBook Pro, whereas the physics-based model would take approximately $2.2 \times 10^6$ minutes.
  • Accurate Density Estimation: The GINN successfully generates large datasets that allow for the estimation of marginal and joint probability density functions (PDFs) of the QoIs with tight confidence intervals. These densities are shown to be non-Gaussian and skewed, highlighting the need for PDF-based UQ.
  • Faithful Predictions: Qualitative comparisons of density estimates from the GINN and the physics-based model show that the GINN produces faithful predictions without spurious features, especially when compared to estimates from limited data from the physics-based model.

Limitations and Future Work

  • Interpretability: While the BN PDE provides context for interpreting GINN predictions, the NN itself is still a "black box" to some extent.
  • Generalizability: The paper focuses on a specific application (supercapacitors). Further research is needed to explore the GINN's applicability to a wider range of complex systems.
  • Future Work: The authors plan to use the surrogate-based KDEs for data-driven UQ tasks like differential mutual information-based sensitivity studies, leveraging the non-Gaussian nature of the QoIs. They also suggest exploring the impact of causal reasoning and investigating alternative deep learning architectures or multifidelity approaches.

Summary updated

BibTeX
@article{hall2021ginns,
  author = {Eric Joseph Hall and Søren Taverniers and Markos A. Katsoulakis and Daniel M. Tartakovsky},
  title = {{GINNs: Graph-Informed Neural Networks for multiscale physics}},
  journal = {Journal of Computational Physics},
  year = {2021},
  doi = {10.1016/j.jcp.2021.110192},
}
Figure