Skip to content

PredictiveIntelligenceLab/CausalPINNs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Respecting causality is all you need for training physics-informed neural networks

⚠️The proposed causal training algorithm cannot be used for commercial purposes (protected by a patent at the University of Pennsylvania).⚠️

Code and data (available upon request) accompanying the manuscript titled "Respecting causality is all you need for training physics-informed neural networks", authored by Sifan Wang, Shyam Sankaran, and Paris Perdikaris.

Abstract

While the popularity of physics-informed neural networks (PINNs) is steadily rising, to this date PINNs have not been successful in simulating dynamical systems whose solution exhibits multi-scale, chaotic or turbulent behavior. In this work we attribute this shortcoming to the inability of existing PINNs formulations to respect the spatio-temporal causal structure that is inherent to the evolution of physical systems. We argue that this is a fundamental limitation and a key source of error that can ultimately steer PINN models to converge towards erroneous solutions. We address this pathology by proposing a simple re-formulation of PINNs loss functions that can explicitly account for physical causality during model training. We demonstrate that this simple modification alone is enough to introduce significant accuracy improvements, as well as a practical quantitative mechanism for assessing the convergence of a PINNs model. We provide state-of-the-art numerical results across a series of benchmarks for which existing PINNs formulations fail, including the chaotic Lorenz system, the Kuramoto–Sivashinsky equation in the chaotic regime, and the Navier-Stokes equations in the turbulent regime. To the best of our knowledge, this is the first time that PINNs have been successful in simulating such systems, introducing new opportunities for their applicability to problems of industrial complexity.

Citation

@article{wang2024respecting,
  title={Respecting causality for training physics-informed neural networks},
  author={Wang, Sifan and Sankaran, Shyam and Perdikaris, Paris},
  journal={Computer Methods in Applied Mechanics and Engineering},
  volume={421},
  pages={116813},
  year={2024},
  publisher={Elsevier}
}

Examples

Allen–Cahn equation

AC.mp4

Kuramoto–Sivashinsky equation

KS.mp4

Navier-Stokes equation

NS.mp4

License

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published