Physical Activation Functions (PAFs): An Approach for More Efficient Induction of Physics into Physics-Informed Neural Networks (PINNs)
arXiv:2205.14630 · doi:10.1016/j.neucom.2024.128352
Abstract
In recent years, the gap between Deep Learning (DL) methods and analytical or numerical approaches in scientific computing is tried to be filled by the evolution of Physics-Informed Neural Networks (PINNs). However, still, there are many complications in the training of PINNs and optimal interleaving of physical models. Here, we introduced the concept of Physical Activation Functions (PAFs). This concept offers that instead of using general activation functions (AFs) such as ReLU, tanh, and sigmoid for all the neurons, one can use generic AFs that their mathematical expression is inherited from the physical laws of the investigating phenomena. The formula of PAFs may be inspired by the terms in the analytical solution of the problem. We showed that the PAFs can be inspired by any mathematical formula related to the investigating phenomena such as the initial or boundary conditions of the PDE system. We validated the advantages of PAFs for several PDEs including the harmonic oscillations, Burgers, Advection-Convection equation, and the heterogeneous diffusion equations. The main advantage of PAFs was in the more efficient constraining and interleaving of PINNs with the investigating physical phenomena and their underlying mathematical models. This added constraint significantly improved the predictions of PINNs for the testing data that was out-of-training distribution. Furthermore, the application of PAFs reduced the size of the PINNs up to 75% in different cases. Also, the value of loss terms was reduced by 1 to 2 orders of magnitude in some cases which is noteworthy for upgrading the training of the PINNs. The iterations required for finding the optimum values were also significantly reduced. It is concluded that using the PAFs helps in generating PINNs with less complexity and much more validity for longer ranges of prediction.
26 pages, 9 figures
References in corpus (11)
- Machine learning accelerated computational fluid dynamics
- Self-adaptive loss balanced Physics-informed neural networks for the incompressible Navier-Stokes equations
- Construction of arbitrary order finite element degree-of-freedom maps on polygonal and polyhedral cell meshes
- Can stable and accurate neural networks be computed? -- On the barriers of deep learning and Smale's 18th problem
- Characterizing possible failure modes in physics-informed neural networks
- Solving the wave equation with physics-informed deep learning
- Learning Specialized Activation Functions for Physics-informed Neural Networks
- Accelerating Physics-Informed Neural Network Training with Prior Dictionaries
- Simulation and Prediction of Countercurrent Spontaneous Imbibition at Early and Late Times Using Physics-Informed Neural Networks
- How to Avoid Trivial Solutions in Physics-Informed Neural Networks
- NeuralPDE: Automating Physics-Informed Neural Networks (PINNs) with Error Approximations