Enforcing Deterministic Constraints on Generative Adversarial Networks for Emulating Physical Systems

Zeng Yang, Jin-Long Wu, Heng Xiao
11/15/2019
physics.comp-phstat.ML

Official code: zengyang7/ConstrainedGANs (5 stars, Python, last commit 2019-11-15).

Abstract

Generative adversarial networks (GANs) were initially proposed to generate images by learning from a large number of samples. Recently, GANs have been used to emulate complex physical systems such as turbulent flows.

Show full abstract

However, a critical question must be answered before GANs can be considered trusted emulators for physical systems: do GANs-generated samples conform to the various physical constraints? These include both deterministic constraints (e.g., conservation laws) and statistical constraints (e.g., energy spectrum of turbulent flows). The latter have been studied in a companion paper (Wu et al., Enforcing statistical constraints in generative adversarial networks for modeling chaotic dynamical systems. Journal of Computational Physics. 406, 109209, 2020). In the present work, we enforce deterministic yet imprecise constraints on GANs by incorporating them into the loss function of the generator. We evaluate the performance of physics-constrained GANs on two representative tasks with geometrical constraints (generating points on circles) and differential constraints (generating divergence-free flow velocity fields), respectively. In both cases, the constrained GANs produced samples that conform to the underlying constraints rather accurately, even though the constraints are only enforced up to a specified interval. More importantly, the imposed constraints significantly accelerate the convergence and improve the robustness in the training, indicating that they serve as a physics-based regularization. These improvements are noteworthy, as the convergence and robustness are two well-known obstacles in the training of GANs.

View on arXivView PDF

Code Implementations(1)

This is the code for paper " Enforcing Deterministic Constraints on Generative Adversarial Networks for Emulating Physical Systems"

52PythonNov 14, 20197 years ago

Similar Papers

Cite this paper

@article{yang2019enforcing,
  title  = {Enforcing Deterministic Constraints on Generative Adversarial Networks for Emulating Physical Systems},
  author = {Zeng Yang and Jin-Long Wu and Heng Xiao},
  year   = {2019},
  eprint = {1911.06671},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1911.06671}
}

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/1911.06671.svg)](https://codeofpaper.com/paper/1911.06671)

Discussion