Embedding Hard Physical Constraints in Convolutional Neural Networks - - PowerPoint PPT Presentation

embedding hard physical constraints in convolutional
SMART_READER_LITE
LIVE PREVIEW

Embedding Hard Physical Constraints in Convolutional Neural Networks - - PowerPoint PPT Presentation

Embedding Hard Physical Constraints in Convolutional Neural Networks for 3D Turbulence Dr. Arvind T. Mohan Postdoctoral Researcher Center for Nonlinear Studies Computational Physics & Methods Group Los Alamos National Laboratory, New


slide-1
SLIDE 1

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

1

Embedding Hard Physical Constraints in Convolutional Neural Networks for 3D Turbulence

Valles Caldera National Preserve Los Alamos, NM

  • Dr. Arvind T. Mohan

Postdoctoral Researcher Center for Nonlinear Studies Computational Physics & Methods Group Los Alamos National Laboratory, New Mexico

LANL -Unclassified/ LA-UR-20-22481

slide-2
SLIDE 2

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

2

Nick Lubbers Daniel Livescu Michael Chertkov Information Sciences Group/LANL Computational Physics & Methods Group/LANL

  • Dept. of Mathematics, University of

Arizona

Acknowledgements

slide-3
SLIDE 3

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 3

Motivation

Primary focus on the domain specialist end-users. What do they want from a DL / statistical/ <insert your favorite> model?

  • Improved Accuracy
  • Maximum interpretability / Intuition = consistent physics
  • Robustness
  • Developed on real world physics (very challenging)

Our philosophy:

  • Satisfy physics in DL model by design with inductive bias.
  • Add transparency to black box DL models.
  • Strive for better accuracy , BUT trade-off with interpretability + robustness.
  • Need simple dataset to develop algorithm, but need to retain realism:

Use 3D, fully developed, turbulence

slide-4
SLIDE 4

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Test Case: Homogenous Isotropic Turbulence (HIT)

Slide 4

slide-5
SLIDE 5

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 5

Incompressible flows are “divergence-free”, Can we…

1) Guarantee divergence-free inductive-bias in the CNN regardless of training hyper-parameters? 2) Guarantee boundary conditions always enforced? Instead of loss functions, we directly embed mass conservation law into network architecture A is potential vector field U is velocity field

slide-6
SLIDE 6

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 6

Physics-Embedded Convolutional Autoencoder for 3D flow (PhyCAE)

slide-7
SLIDE 7

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 7

Injecting Differential Operators into CNN

Need a method that is time-tested, interpretable, And already used in production…….. FV stencil for 2nd order Central differencing Kernel form ฀

Numerical Methods

slide-8
SLIDE 8

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 8

FD/FV Stencils ฀฀ Convolutional Network Kernels

Long et. Al. - PDE-Net (2018) Dong et. Al. (2017)

slide-9
SLIDE 9

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 9

Consistent Boundary Conditions in CNN

Like PDE solvers, ensure BCs are always present during training, and not minimize as a constraint Instead of zero/reflection padding ฀ Build custom padding to enforce periodicity with Ghost cells Solution: Ghost Cell approach from CFD. Established approach in community! Can increase/decrease ghost cells for desired

  • rder of accuracy with FV numerical stencil
slide-10
SLIDE 10

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 10

RESULTS: Q-R plane morphology of Small, Inertial and Large Scales – Stringent test of 3D turbulence

Coarse-graining excellent accuracy for large scales : Small scales are largely neglected. Large scales critical for several applications

Large Inertial Small Compression ratio size(original)/size(latent space) ~ 300x

slide-11
SLIDE 11

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Slide 11

Learning: Unconstrained Network vs Physics Embedded Network

(Float32 computation)

slide-12
SLIDE 12

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

Summary

Slide 12

✔ Architecture integrates CFD/numerical methods with CNNs for embedding mass conservation. ✔ General framework to embed boundary constraints and compute various

  • perators as a CNN, with desired Finite Volume/Finite Difference schemes

✔ No increase in trainable parameters compared to the generic, unconstrained network. ✔ Useful when we don’t have the full governing equations, but only know constraints. ✔ Architecture with strong inductive bias for incompressible flow: More Interpretable

General strategy to learn 3D fields with constraint of form A Mohan, N. Lubbers, M Chertkov, D. Livescu arXiv: 2002.00021

slide-13
SLIDE 13

Managed by Triad National Security, LLC for the U.S. Department of Energy’s NNSA

UNCLASSIFIED

13

arvindm@lanl.gov @ArvindMohan15

Thank you!

Rio Grande River Los Alamos, NM