structured autoencoders for operator theoretic
play

Structured Autoencoders for Operator-theoretic decomposition and - PowerPoint PPT Presentation

Structured Autoencoders for Operator-theoretic decomposition and Model reduction Karthik Duraisamy Thanks to Motivation Decomposition & Reduced Order Modeling of Complex Multiscale Problems [K] [W/m3] Large scale simulations O(10 6 )-


  1. Structured Autoencoders for Operator-theoretic decomposition and Model reduction Karthik Duraisamy

  2. Thanks to…

  3. Motivation Decomposition & Reduced Order Modeling of Complex Multiscale Problems [K] [W/m3] Large scale simulations O(10 6 )- O(10 8 ) CPU hours / run Complex physics : Flow, turbulence, combustion, heat transfer, etc

  4. The Autoencoder Structure: encoder (compression) + decoder (decompression) – Encoder 𝚾 𝐲; 𝛊 𝚾 – Decoder 𝛀 . ; 𝛊 𝛀 – POD: 𝚾 → 𝐕 ) · , 𝛀 → 𝐕 · – Trained as one single network, 𝛊 𝚾 and 𝛊 𝛀 are optimized jointly – Automatically separated into encoder and decoder by cutting at the “bottleneck” 𝚾 𝛀 x = Ψ ( · , θ Ψ ) � Φ ( x, θ Φ ) ˜ x “Applied Deep Learning” 4 https://towardsdatascience.com/

  5. Embedding (in the right coordinates)

  6. Part 1 Operator-theoretic Learning & Decomposition

  7. Koopman operator and linear embedding

  8. Connections of Koopman to other operators Liouville operator L := f · r x ∂ u Liouville PDE ∂ t = L u ; u ( · , 0) = h K t h = h � φ t = e t L h Generator Liouville generates Koopman Perron-Frobenius operator ρ ( · , t ) = P t � ρ Duality h h, P t ρ i = h K t h, ρ i Perron-Frobenius is adjoint of Koopman

  9. Spectral expansion of Koopman operators

  10. Koopman operators & “Deep” Learning Several works since 2018

  11. Extracting a Koopman-invariant subspace Goal: Extracting the Koopman operator defined on Observation functionals We are also interested in retrieving the state x Arbabi & Mezic 2019

  12. Enforcing structure for Learning : “Physics information”

  13. Enforcing structure for Learning : Tractable optimization

  14. “Data-free”, “Physics-informed” Trajectory data, ”Unknown physics”

  15. Enforcing structure for Learning : “DMD ResNet”

  16. Enforcing structure for Learning : Stability

  17. Naïve “Autoencoders” x f(x)

  18. Putting it all together (deterministic form) x f(x) Pan. S. & Duraisamy, K., Physics-Informed Probabilistic Learning of Linear Embeddings of Non-linear Dynamics With Guaranteed Stability , SIAM J. of Applied Dynamical Systems, 2020.

  19. Bayesian Neural Networks & Variational Inference

  20. Variational Inference

  21. Verification on Model dynamical systems Duffing oscillator: Eigenfunctions (with uncertainty) Prediction and sensitivity to data 100 data points. 1000 data points 10000 data points

  22. Flow over cylinder: Prediction with uncertainties • Gaussian white noise added

  23. Flow over cylinder: Velocity magnitude Prediction with (mean) uncertainties Velocity magnitude (standard deviation) Physics-Informed Probabilistic Learning of Linear Embeddings of Non-linear Dynamics With Guaranteed Stability, Pan, S., and Duraisamy, K., SIADS, 2020

  24. Multi-task learning framework to extract sparse Proposed framework Koopman-invariant subspaces Steps: I a-priori cross validation to choose an appropriate hyperparameter I mode-by-mode error analysis I choose a trade-o ff between reconstruction error and linear evolving error I sparse reconstruction of system with multi-task learning Sparsity-promoting algorithms for the discovery of informative Koopman invariant subspaces , Pan, S., N. A-M and Duraisamy, K., arXiv:2002.10637 4 / 9

  25. Turbulent Ship Airwake I transient behavior is accurately reconstructed I stable modes are successfully extracted from strongly nonlinear transient data I left mode: due to side edge of superstructure. right mode: due to funnel Sparsity-promoting algorithms for the discovery of informative Koopman invariant subspaces , Pan, S., N. A-M and Duraisamy, K., arXiv:2002.10637 6 / 9

  26. Summary Many opportunities to enforce structure in Autoencoders è flexible and powerful tools 26

  27. Part 2 Learning Reduced Order Models of Parametric Spatio-temporal dynamics

  28. Non-intrusive data-driven ROMs q n +1 = f ( q n +1 l , .... q n − l , q n , B ( u n +1 ) , µ ) l l l Some recent works: B. Kramer, K. E. Willcox, AIAA Journal ,2019 • M. Guo, J. S. Hesthaven, CMAME, 2018. • A. Mohan, D. Daniel, M. Chertkov, D. Livescu, arXiv, 2019 • S. Lee, D. You, arXiv, 2019. • Q. Wang, J. S. Hesthaven, D. Ray, JCP, 2019. •

  29. Basic Component: Convolutional Layer Convolutional layers preserve complex • spatio-temporal “information” Convolutional operation on a local window w • 26 28 𝑦 ∗ 𝑥 ./ = ∑ ∑ 𝑦 .23,/25 𝑥 3,5 – 378 576 Ideal for “localized” feature identification • Rotation and translation invariant, if • properly constructed : “Applied Deep Learning” https://towardsdatascience.com/ http://cs231n.github.io/convolutional-networks/ 29

  30. Temporal Convolutional Performs dilated 1D convolutional operation in temporal/sequential direction • :2; 𝑦 ∗ 9 𝑥 . = ∑ 𝑦 .293 𝑥 3 – 37< Exponential increase in reception field è an increasingly popular alternative to • RNN/LSTM Example: k = 2 , d = 2 i Output/Conv-4: d =8 reception field: 16 Conv-3: d =4 reception field: 8 Conv-2: d =2 reception field: 4 Conv-1: d =1 reception field: 2 Input sequence Source of image: github.com/philipperemy/keras-tcn

  31. Training Multi-level convolutional AE networks

  32. Example CAE architecture 32

  33. Prediction using Multilevel AE networks

  34. Example TCAE architecture

  35. Prediction using Multilevel AE networks

  36. Time stepping

  37. Example TCN architecture Example TCN architecture 0 1 0 1 0 1 0 0 0 0 1 1 1 1 1 0 0 1 0 0 1 0 0 0 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 1 𝑜 > input 𝑜 ? channels steps * 𝑜 > channels 𝑜 ? steps * Input Jumping Jumping Jumping Dense Input Non-strided Non-strided 1D convolution .,? .A; .,? .A; 𝐫 > 𝐫 > dilated 1D dilated 1D dilated 1D dilated 1D dilated 1D 𝐑 > 𝐑 > convolution convolution convolution convolution convolution *: Convolution direction *: Convolution direction Many-to-one Many-to-many 37

  38. Numerical Tests: Discontinuous compressible flow CAE reconstruction CAE + TCN Component (final step) Training Testing Pressure 0.04% 0.1% 0.12% Density 0.01% 0.04% 0.14% 38 Velocity 0.04% 0.08% 0.13%

  39. Discontinuous compressible flow : Impact of data 39

  40. Numerical Tests : 3D Ship Airwake – Incompressible Navier-Stokes – 576k DOF, 400 time snapshots – Global parameter: sliding angle 𝛽 – Training: 𝛽 = 5 ° :5 ° :20 ° – Prediction: 𝛽 = 12.5 40 𝛽 = 5 ° 𝛽 = 20 °

  41. Numerical Test: 3D Ship Airwake Truth Latent variable Prediction vs Truth Prediction CAE reconstruction Component MLP + TCAE + CAE Training Testing U 0.12% 0.30% 0.51% V 0.09% 0.38% 0.89% W 0.08% 0.29% 0.62% Relative absolute error 41 Manuscript “Multi-level Convolutional Autoencoder Networks for Parametric Prediction of Spatio-temporal Dynamics,” Submitted CMAME

  42. Summary Fully Data-driven framework • • Multi-level neural network architecture • Convolutions in space & time Non-linear manifolds • Fast training, faster prediction • • Up to 6 orders of reduction in DoF • Total training time: 3.6 hours on one NVIDIA Tesla P100 GPU for 3D ship air wake • Prediction time: Seconds for a new parameter or hundreds of future steps Caveats • Require large amounts of data • No indicator for choice of latent dimensions è use singular values to find an upper bound Manuscript “Multi-level Convolutional Autoencoder Networks for Parametric Prediction of Spatio-temporal Dynamics” to be submitted to ArXiv in a week 42

  43. Acknowledgments DARPA Physics of AI program (Technical Monitor: Dr. Ted Senator ) • Air Force Center of Excellence grant (Program Managers: Dr. Mitat Birkan and Dr. • Fariba Fahroo) Office of Naval Research (Program manager: Dr. Brian Holm-Hansen) • Computational infrastructure : NSF-MRI (Program manager: Dr. Stefan Robila) • 43

  44. Numerical Tests 𝛽 = 5 ° 44

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend