Physics-informed neural networks (PINNs) are a type of universal function approximators that can embed the knowledge of any physical laws that govern a given data-set in the learning process, and can be described by partial differential equations (PDEs). They overcome the low data availability of some biological and engineering systems that makes most state-of-the-art machine learning techniques lack robustness, rendering them ineffective in these scenarios. The prior knowledge of general physical laws acts in the training of neural networks (NNs) as a regularization agent that limits the space of admissible solutions, increasing the correctness of the function approximation. This way, embedding this prior information into a neural network results in enhancing the information content of the available data, facilitating the learning algorithm to capture the right solution and to generalize well even with a low amount of training examples.
Most of the physical laws that govern the dynamics of a system can be described by partial differential equations. For example, the Navier–Stokes equations[1] are a set of partial differential equations derived from the conservation laws (i.e., conservation of mass, momentum, and energy) that govern fluid mechanics. The solution of the Navier–Stokes equations with appropriate initial and boundary conditions allows the quantification of flow dynamics in a precisely defined geometry. However, these equations cannot be solved exactly and therefore numerical methods must be used (such as finite differences, finite elements and finite volumes). In this setting, these governing equations must be solved while accounting for prior assumptions, linearization, and adequate time and space discretization.
Recently, solving the governing partial differential equations of physical phenomena using deep learning has emerged as a new field of scientific machine learning (SciML), leveraging the universal approximation[2] and high expressivity of neural networks. In general, deep neural networks could approximate any high-dimensional function given that sufficient training data are supplied.[3] However, such networks do not consider the physical characteristics underlying the problem, and the level of approximation accuracy provided by them is still heavily dependent on careful specifications of the problem geometry as well as the initial and boundary conditions. Without this preliminary information, the solution is not unique and may lose physical correctness. On the other hand, physics-informed neural networks (PINNs) leverage governing physical equations in neural network training. Namely, PINNs are designed to be trained to satisfy the given training data as well as the imposed governing equations. In this fashion, a neural network can be guided with training data that do not necessarily need to be large and complete.[3] Potentially, an accurate solution of partial differential equations can be found without knowing the boundary conditions.[4] Therefore, with some knowledge about the physical characteristics of the problem and some form of training data (even sparse and incomplete), PINN may be used for finding an optimal solution with high fidelity.
PINNs allow for addressing a wide range of problems in computational science and represent a pioneering technology leading to the development of new classes of numerical solvers for PDEs. PINNs can be thought of as a meshfree alternative to traditional approaches (e.g., CFD for fluid dynamics), and new data-driven approaches for model inversion and system identification.[5] Notably, the trained PINN network can be used for predicting the values on simulation grids of different resolutions without the need to be retrained.[6] In addition, they allow for exploiting automatic differentiation (AD)[7] to compute the required derivatives in the partial differential equations, a new class of differentiation techniques widely used to derive neural networks assessed to be superior to numerical or symbolic differentiation.
A general nonlinear partial differential equations can be:
[math]\displaystyle{ u_t + N[u; \lambda]=0, \quad x \in \Omega, \quad t \in[0, T] }[/math]
where [math]\displaystyle{ u(t,x) }[/math] denotes the solution, [math]\displaystyle{ N[\cdot; \lambda] }[/math] is a nonlinear operator parametrized by [math]\displaystyle{ \lambda }[/math], and [math]\displaystyle{ \Omega }[/math] is a subset of [math]\displaystyle{ \mathbb{R}^{D} }[/math]. This general form of governing equations summarizes a wide range of problems in mathematical physics, such as conservative laws, diffusion process, advection-diffusion systems, and kinetic equations. Given noisy measurements of a generic dynamic system described by the equation above, PINNs can be designed to solve two classes of problems:
of partial differential equations.
The data-driven solution of PDE[8] results in computing the unknown state [math]\displaystyle{ u(t,x) }[/math] of the system given noisy measurements [math]\displaystyle{ z }[/math] of the state and fixed model parameters [math]\displaystyle{ \lambda }[/math] and it reads as follows:
[math]\displaystyle{ u_t + N[u]=0, \quad x \in \Omega, \quad t \in[0, T] }[/math].
By defining [math]\displaystyle{ f(t,x) }[/math] as
[math]\displaystyle{ f := u_t + N[u]=0 }[/math],
and approximating [math]\displaystyle{ u(t,x) }[/math] by a deep neural network, [math]\displaystyle{ f(t,x) }[/math] results in a PINN. This network can be differentiated using automatic differentiation. The parameters of [math]\displaystyle{ u(t,x) }[/math] and [math]\displaystyle{ f(t,x) }[/math] can be then learned by minimizing the following loss function [math]\displaystyle{ L_{tot} }[/math]:
[math]\displaystyle{ L_{tot} = L_{u} + L_{f} }[/math].
Where [math]\displaystyle{ L_{u} = \Vert u-z\Vert_{\Gamma} }[/math], with [math]\displaystyle{ u }[/math] and [math]\displaystyle{ z }[/math] state solutions and measurements at sparse location [math]\displaystyle{ \Gamma }[/math], respectively and [math]\displaystyle{ L_{f} = \Vert f\Vert_{\Gamma} }[/math] residual function. This second term requires the structured information represented by the partial differential equations to be satisfied in the training process.
This strategies allows assembling computationally efficient physics-informed surrogate models that may find application in data-driven forecasting of physical processes,model predictive control, multi-physics/multi-scale modeling and simulation.[9]
Given noisy and incomplete measurements [math]\displaystyle{ z }[/math] of the state of the system, the data-driven discovery of PDE[5] results in computing the unknown state [math]\displaystyle{ u(t,x) }[/math] and learning model parameters [math]\displaystyle{ \lambda }[/math] that best describe the observed data and it reads as follows:
[math]\displaystyle{ u_t + N[u; \lambda]=0, \quad x \in \Omega, \quad t \in[0, T] }[/math].
By defining [math]\displaystyle{ f(t,x) }[/math] as
[math]\displaystyle{ f := u_t + N[u; \lambda]=0 }[/math],
and approximating [math]\displaystyle{ u(t,x) }[/math] by a deep neural network, [math]\displaystyle{ f(t,x) }[/math] results in a PINN. This network can be derived using automatic differentiation. The parameters of [math]\displaystyle{ u(t,x) }[/math] and [math]\displaystyle{ f(t,x) }[/math], together with the parameter [math]\displaystyle{ \lambda }[/math] of the differential operator can be then learned by minimizing the following loss function [math]\displaystyle{ L_{tot} }[/math]:
[math]\displaystyle{ L_{tot} = L_{u} + L_{f} }[/math].
Where [math]\displaystyle{ L_{u} = \Vert u-z\Vert_{\Gamma} }[/math], with [math]\displaystyle{ u }[/math] and [math]\displaystyle{ z }[/math] state solutions and measurements at sparse location [math]\displaystyle{ \Gamma }[/math], respectively and [math]\displaystyle{ L_{f} = \Vert f\Vert_{\Gamma} }[/math] residual function. This second term requires the structured information represented by the partial differential equations to be satisfied in the training process.
This strategy allows for discovering dynamic models described by nonlinear PDEs assembling computationally efficient and fully differentiable surrogate models that may find application in predictive forecasting, control, and data assimilation.[10][11][12]
XPINNs[13] is a generalized space-time domain decomposition approach for the physics-informed neural networks (PINNs) to solve nonlinear partial differential equations on arbitrary complex-geometry domains. The XPINNs further pushes the boundaries of both PINNs as well as Conservative PINNs (cPINNs),[14] which is a spatial domain decomposition approach in the PINN framework tailored to conservation laws. Compared to PINN, the XPINN method has large representation and parallelization capacity due to the inherent property of deployment of multiple neural networks in the smaller subdomains. Unlike cPINN, XPINN can be extended to any type of PDEs. Moreover, the domain can be decomposed in any arbitrary way (in space and time), which is not possible in cPINN. Thus, XPINN offers both space and time parallelization, thereby reducing the training cost more effectively. The XPINN is particularly effective for the large-scale problems (involving large data set) as well as for the high-dimensional problems where single network based PINN is not adequate. The rigorous bounds on the errors resulting from the approximation of the nonlinear PDEs (incompressible Navier–Stokes equations) with PINNs and XPINNs are proved.[12]
In the PINN framework, initial and boundary conditions are not analytically satisfied, thus they need to be included in the loss function of the network to be simultaneously learned with the differential equation (DE) unknown functions. Having competing objectives during the network’s training can lead to unbalanced gradients while using gradient-based techniques, which causes PINNs to often struggle to accurately learn the underlying DE solution. This drawback is overcome by using functional interpolation techniques such as the Theory of Functional Connections (TFC)'s constrained expression, in the Deep-TFC framework, which reduces the solution search space of constrained problems to the subspace of neural network that analytically satisfies the constraints.[15] A further improvement of PINN and functional interpolation approach is given by the Extreme Theory of Functional Connections (X-TFC) framework, where a single-layer Neural Network and the extreme learning machine training algorithm are employed.[16] X-TFC allows to improve the accuracy and performance of regular PINNs, and its robustness and reliability are proved for stiff problems, optimal control, aerospace, and rarefied gas dynamics applications.[17][18][19]
Regular PINNs are only able to obtain the solution of a forward or inverse problem on a single geometry. It means that for any new geometry (computational domain), one must retrain a PINN. This limitation of regular PINNs imposes high computational costs, specifically for a wide investigation of geometric parameters in industrial designs. Physics-informed PointNet (PIPN) [20] is fundamentally the result of a combination of PINN’s loss function with PointNet [21]. In fact, instead of using a simple fully connected network, PIPN uses PointNet as the core of its neural network. PointNet was primarily designed for deep learning of 3D object classification and segmentation by the research group of Leonidas J. Guibas. PointNet extracts geometric features of input computational domains in PIPN. Thus, PIPN is able to solve governing equations on a bunch of computational domains with irregular geometries, simultaneously. The effectiveness of PIPN has been shown for incompressible flows and thermal fields.
The content is sourced from: https://handwiki.org/wiki/Physics:Physics-informed_neural_networks