1 of 74

Physics-informed Neural Networks

2 of 74

Potentials of Data-driven Approach

  • Deep learning as a data-driven approach

2

3 of 74

Deep Learning

  • Advantages of data-driven approaches
    • If enough data is available, a legitimate level of prediction performance can be achieved without domain knowledge

3

4 of 74

Limitations of Pure Data-driven Approaches

  •  
  • Interpretability: Physically interpretable output

4

Interpolation

Extrapolation

Extrapolation

5 of 74

Direction of Deep Learning in ME

  • Artificial Intelligence + Mechanical Engineering

5

Data-driven AI

6 of 74

Direction of Deep Learning in ME

  • Artificial Intelligence + Mechanical Engineering

6

Physics-informed AI

7 of 74

Physics-informed AI

7

8 of 74

Physics-informed AI

8

9 of 74

Physics-informed AI

9

10 of 74

Physics-informed AI

10

11 of 74

Physics-informed AI

11

More Robust and Efficient AI Model with Data + Physics

12 of 74

Taxonomy of Informed Deep Learning

12

Sung Wook Kim, "Recent Advances of Artificial Intelligence in Manufacturing Industrial Sectors: A Review," IJPE

Differential Equation

Algebraic Equation

Knowledge Graph

Simulation Result

Human Feedback

Knowledge Representation

Knowledge Integration

Feature Engineering

Designing

Regularizing

Deep Neural Networks

ANN

CNN

RNN

GNN

Generative Model

13 of 74

Taxonomy of Informed Deep Learning

13

Differential Equation

Algebraic Equation

Knowledge Graph

Simulation Result

Human Feedback

Knowledge Representation

Knowledge Integration

Feature Engineering

Designing

Regularizing

Deep Neural Networks

ANN

CNN

RNN

GNN

Generative Model

Sung Wook Kim, "Recent Advances of Artificial Intelligence in Manufacturing Industrial Sectors: A Review," IJPE

14 of 74

Knowledge Integration

  • Integrating external knowledge into DNNs is a critical step to ensure that models not only rely on large datasets but also leverage existing domain knowledge.

    • Feature Engineering: Tailoring input features to better align with domain-specific knowledge

    • Designing: Modifying model architectures to incorporate external knowledge sources

    • Regularizing: Adding constraints, priors, or penalties to the loss function ensures that the model adheres to known properties of the domain. This prevents overfitting and encourages the model to find solutions consistent with real-world knowledge

14

15 of 74

Data-driven AI

  • Models physical process near training data
  • Fails to generalize beyond it
  • Sole reliance on data raises the question of whether it truly "understood" the scientific problem

15

From Ben Moseley

16 of 74

Physics-informed AI

  • Incorporating physics enhances AI
  • Models learn from data and existing scientific knowledge
  • Leads to more powerful, informed predictions

16

From Ben Moseley

17 of 74

Physics-informed Neural Networks

17

18 of 74

Multilayer Feedforward Networks are Universal Approximators

  • The Universal Approximation Theorem
    • Neural Networks are capable of approximating any Borel measurable function
    • Neural Networks (1989)

18

19 of 74

Differential Equations

  • Types of ODEs
    • Linear

    • Nonlinear

  • Partial Differential Equation

  • Types of ODE / PDE problems
    • Initial Value Problem (IVP)
    • Boundary Value Problem (BVP)

19

20 of 74

Journal of Computational Physics (2019)

  • M. Raissi, P. Perdikaris, G.E. Karniadakis

20

Navier-Stokes equation

Burgers' equation

21 of 74

Deep Learning as a Function Approximation

  • Training a neural network on data approximates the underlying mapping from inputs to outputs

21

22 of 74

Architecture of Physics-informed Neural Networks (PINN)

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Initial and boundary conditions

  • Aim to approximate the solution of PDEs (target function) by training neural networks

22

[

23 of 74

Architecture of Physics-informed Neural Networks (PINN)

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Initial and boundary conditions

  • Aim to approximate the solution of PDEs (target function) by training neural networks

23

24 of 74

Architecture of Physics-informed Neural Networks (PINN)

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Initial and boundary conditions

  • Aim to approximate the solution of PDEs (target function) by training neural networks

24

Approximate the relationship, not values

25 of 74

Characteristics of Physics-informed Neural Networks (PINN)

  • Loss function with multiple terms
    • Adam and quasi-Newton L-BFGS optimizers are often used

  • Mesh-free approach
  • Collocation method
    • Monte Carlo sampling method

25

26 of 74

Characteristics of Physics-informed Neural Networks (PINN)

  • Loss function with multiple terms
    • Adam and quasi-Newton L-BFGS optimizers are often used

  • Mesh-free approach
  • Collocation method
    • Monte Carlo sampling method
    • (optional) Uniform grid

26

27 of 74

Collocation Points

  • Meshfree approach
  • Collocation method
    • Monte Carlo sampling method

  • Time transient

27

28 of 74

PDE

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Some measured data from initial and boundary conditions

28

29 of 74

PDE + Data

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Some measured data from initial and boundary conditions

  • Data

29

30 of 74

PDE + Data

  • NN as an universal function approximator

  • Given
    • ODE or PDE
    • Some measured data from initial and boundary conditions

  • Data

30

Intentionally Make an Overdetermined System

31 of 74

PINN as Inverse Problem Solver

  • Inverse problems involve determining unknown parameters, functions, or underlying physical laws

  • Given the typically ill-posed nature of inverse problems, they often suffer from insufficient information, making it challenging to obtain unique and stable solutions

  • To address this issue, a combination of observed data and physical laws is essential

31

32 of 74

Formulation of an Inverse Problem with PINNs

  •  

32

33 of 74

Summary of Physics-informed AI

  • Leverage inductive bias and sparsity

33

34 of 74

Summary: Physics-informed Neural Networks (PINNs)

  • PINN can be used as a physics solver to address physics problems
    • PINN can operate without data by utilizing physics loss.
    • Both physics and data can also be used to calculate the loss function

34

Only physics loss

Physics loss + Data loss

35 of 74

Lab 1: Euler Beam (Solid Mechanics)

35

36 of 74

Lab 1: Euler Beam (Solid Mechanics)

  • Partial differential equations & boundary conditions

  • One Dirichlet boundary condition on the left boundary:
  • One Neumann boundary condition on the left boundary:
  • Two boundary conditions on the right boundary:

  • The exact solution for reference is

36

37 of 74

Collocation Points

  • Collocation Points
    • Uniformly distributed

    • (also possible) Randomly distributed

37

38 of 74

Lab 1: Euler Beam (Solid Mechanics)

  • PINN as a ODE solver
  • Neural network and loss functions

38

 

 

39 of 74

Neural Network and Loss Functions

39

40 of 74

PDE

40

41 of 74

Boundary Conditions

41

42 of 74

Train

42

43 of 74

Result

43

 

 

 

 

The exact solution is

44 of 74

Lab 2: Elastic Deformation for Thin Plate

44

45 of 74

Lab 2: Elastic Deformation for Thin Plate (2D Problem)

  • Find displacement and stress distribution of thin plate
  • Based on Kirchhoff-Love plate theory, three hypotheses were used
    • Straight lines normal to the mid-surface remain straight after deformation
    • Straight lines normal to the mid-surface remain normal to the mid-surface after deformation
    • The thickness of the plate does not change during a deformation

  • Only one quarter of the plate is considered since the geometry and in-plane forces are symmetric

45

46 of 74

Lab 2: Elastic Deformation for Thin Plate (2D Problem)

  • Föppl–von Kármán equations for the isotropic elastic plate

  • Dirichlet boundary conditions at and

  • Free boundary conditions at

  • Free boundary condition and in-plane force boundary condition at

46

47 of 74

Numerical Solution (= Exact Solution)

  •  

47

48 of 74

Collocation Points

  • Uniformly distributed

  • (also possible) Randomly distributed

48

49 of 74

Lab 2: Elastic Deformation for Thin Plate

49

50 of 74

Lab 2: Elastic Deformation for Thin Plate

50

51 of 74

Governing Equations

51

52 of 74

Boundary Conditions

52

53 of 74

Training

53

54 of 74

Results

54

FEM

PINN

55 of 74

 

55

PINN

56 of 74

PINN + Data

  • Adding data constraints for regularization

56

57 of 74

Data

57

FEM

PINN

58 of 74

 

58

PINN

59 of 74

Lab 3: �(Inverse Problem) Unknown Parameter Estimation

59

60 of 74

Flow Around a Cylinder

  • 2D Navier-Stokes equations

  • Boundary conditions of flow around a cylinder

60

61 of 74

Inverse Problem: Unknown Parameter Estimation

  • Solving 2D Naiver-Stokes equation with unknown density and viscosity variables

61

62 of 74

Physics + Data

  •  

62

63 of 74

Physics + Data

  •  
  •  

63

64 of 74

Collocation Points

  •  

64

65 of 74

PINN Network

65

66 of 74

Results

  •  

66

67 of 74

Lab 4�(Inverse Problem) Unknown Boundary Condition Estimation

67

68 of 74

Lab 4: Heat Transfer in 2D

  • Solving 2D heat transfer equation with unknown boundary condition
  • Laplace’s equation

68

69 of 74

Lab 4: Heat Transfer in 2D

  • Solving 2D heat transfer equation with unknown boundary condition
  • Laplace’s equation

69

sensors for temperature

70 of 74

Lab 4: Heat Transfer

70

71 of 74

Inverse Problem: Unknown Boundary Conditions

  • PINN w/o data

  • PINN + Data

71

72 of 74

+ Data and Prior Knowledge

  • PINN + Data

  • PINN + Data + Prior Knowledge (= constant temperature)

72

73 of 74

+ Data and Prior Knowledge

  • Predicted temperature on top

73

74 of 74

Redistribute Collocation Points

  • Mesh generation in CFD
    • Fine mesh is required in areas with radical shifts.[7]

74

Collocation points

Redistributed collocation points

Coarse mesh

Fine mesh