Physics-informed deep generative models

Yibo Yang, Paris PerdikarisarXiv 2018

Introduction

Deep learning has revolutionized predictive modeling across numerous domains. However, in scientific computing, standard neural networks face two critical hurdles: a lack of physical guarantees and the difficulty of uncertainty propagation. Traditional "black box" models can produce predictions that violate fundamental laws of nature, such as the conservation of mass or energy. Furthermore, real-world physical systems are often subject to noisy or random inputs, requiring models that can quantify how this uncertainty propagates through non-linear dynamics.

While Physics-Informed Neural Networks (PINNs) have successfully addressed physical consistency by penalizing partial differential equation (PDE) residuals, they remain largely deterministic. This paper introduces a framework for Physics-Informed Deep Generative Models, which combines the physical rigor of PINNs with the probabilistic power of Generative Adversarial Networks (GANs) to enable robust uncertainty quantification (UQ).

Methodology: Adversarial Variational Inference

The proposed architecture utilizes an adversarial variational inference framework consisting of three primary components:

  1. The Generator ($f_\theta$): Maps coordinates $(x, t)$ and a latent random variable $z$ to a prediction $u$. The latent variable allows the model to generate a distribution of possible outcomes.
  2. The Discriminator ($T_\psi$): Distinguishes between real observed data and the generator's synthetic outputs.
  3. The Inference Model/Encoder ($q_\phi$): Approximates the posterior distribution of latent variables, stabilizing training and preventing "mode collapse."

The Physics Constraint

The core innovation lies in the loss function. Beyond standard adversarial matching, the authors incorporate a PDE residual loss ($\mathcal{L}_{PDE}$). By leveraging automatic differentiation, the model calculates the derivatives of its output with respect to space and time. It is then penalized if these derivatives fail to satisfy the target physical laws (e.g., the Burgers equation). This acts as a powerful regularizer, forcing the generative model to remain within the bounds of physical reality even in regions where data is absent.

Results: The Burgers Equation

The methodology was evaluated using the Burgers equation, a fundamental PDE for modeling shock waves. The model was trained on a sparse dataset of only $N_u = 200$ points representing initial and boundary conditions, supplemented by $N_r = 10,000$ collocation points where only the physics constraint was enforced.

Spatio-temporal prediction and uncertainty quantification for the Burgers equation. The model captures the concentration of uncertainty (variance) around the shock discontinuity.

As shown in the results, the model successfully propagates non-additive noise from the initial conditions through the non-linear dynamics. A key insight is the uncertainty concentration: the model correctly identifies that variance is not uniform, instead concentrating around the shock discontinuity where the physics becomes most non-linear and difficult to predict.

Robustness and Sample Efficiency

A significant advantage of this approach is its performance in "data-limited" regimes. By using the PDE as a prior, the model effectively "fills in the gaps" between sparse observations. Systematic studies demonstrate that the framework is remarkably stable across different random weight initializations and varying amounts of training data.

Relative L2 error across different training data sizes (Nu) and collocation points (Nr). The model maintains high accuracy even with minimal data points.

As indicated in the error analysis, the model achieves a relative $\mathcal{L}_2$ error consistently around $4.7 \times 10^{-2}$ with 150-200 data points—a level of accuracy unattainable for standard physics-blind generative models.

Conclusion and Future Work

Physics-informed deep generative models represent a significant step toward reliable AI for scientific discovery. By embedding physical laws into the adversarial process, the authors provide a path toward models that are both physically consistent and capable of rigorous uncertainty quantification.

Future research will focus on addressing hyperparameter sensitivity—specifically the balance between generator and discriminator training—and scaling the framework to 3D systems with complex geometries and higher-dimensional latent spaces.

Summary updated

BibTeX
@misc{yang2018physics,
  author = {Yibo Yang and Paris Perdikaris},
  title = {{Physics-informed deep generative models}},
  year = {2018},
  eprint = {1812.03511},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.03511},
}
Figure