Enforcing Analytic Constraints in Neural-Networks Emulating Physical Systems

Tom Beucler, Michael Pritchard, Stephan Rasp, Jordan Ott, Pierre Baldi +1 more
9/3/2019
434 citations
physics.comp-phphysics.ao-ph

Official code: raspstephan/CBRAIN-CAM (76 stars, Jupyter Notebook, MIT, last commit 2020-04-24). 1 more implementation below.

Abstract

Neural networks can emulate nonlinear physical systems with high accuracy, yet they may produce physically-inconsistent results when violating fundamental constraints. Here, we introduce a systematic way of enforcing nonlinear analytic constraints in neural networks via constraints in the architecture or the loss function.

Show full abstract

Applied to convective processes for climate modeling, architectural constraints enforce conservation laws to within machine precision without degrading performance. Enforcing constraints also reduces errors in the subsets of the outputs most impacted by the constraints.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
raspstephan/CBRAIN-CAMOfficial76Jupyter NotebookMIT2020-04-24
tbeucler/CBRAIN-CAMOfficial19Jupyter NotebookMIT2023-11-06
MIT

Code for neural network parameterization project

7652Jupyter Notebook, HTMLFeb 9, 20186 years agoMIT
MIT

Code for neural network parameterization project

195Jupyter Notebook, HTMLJan 10, 20193 years agoMIT

Similar Papers

Cite this paper

@article{beucler2019enforcing,
  title  = {Enforcing Analytic Constraints in Neural-Networks Emulating Physical Systems},
  author = {Tom Beucler and Michael Pritchard and Stephan Rasp and Jordan Ott and Pierre Baldi and Pierre Gentine},
  year   = {2019},
  eprint = {1909.00912},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1909.00912}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1909.00912.svg)](https://codeofpaper.com/paper/1909.00912)

Discussion