Efficient physics-informed neural networks using hash encoding

02/26/2023
by   Xinquan Huang, et al.
0

Physics-informed neural networks (PINNs) have attracted a lot of attention in scientific computing as their functional representation of partial differential equation (PDE) solutions offers flexibility and accuracy features. However, their training cost has limited their practical use as a real alternative to classic numerical methods. Thus, we propose to incorporate multi-resolution hash encoding into PINNs to improve the training efficiency, as such encoding offers a locally-aware (at multi resolution) coordinate inputs to the neural network. Borrowed from the neural representation field community (NeRF), we investigate the robustness of calculating the derivatives of such hash encoded neural networks with respect to the input coordinates, which is often needed by the PINN loss terms. We propose to replace the automatic differentiation with finite-difference calculations of the derivatives to address the discontinuous nature of such derivatives. We also share the appropriate ranges for the hash encoding hyperparameters to obtain robust derivatives. We test the proposed method on three problems, including Burgers equation, Helmholtz equation, and Navier-Stokes equation. The proposed method admits about a 10-fold improvement in efficiency over the vanilla PINN implementation.

READ FULL TEXT

page 7

page 9

research
05/11/2023

LatentPINNs: Generative physics-informed neural networks via a latent representation learning

Physics-informed neural networks (PINNs) are promising to replace conven...
research
10/25/2022

FO-PINNs: A First-Order formulation for Physics Informed Neural Networks

We present FO-PINNs, physics-informed neural networks that are trained u...
research
05/19/2022

Accelerated Training of Physics Informed Neural Networks (PINNs) using Meshless Discretizations

We present a new technique for the accelerated training of physics-infor...
research
06/26/2022

Noise-aware Physics-informed Machine Learning for Robust PDE Discovery

This work is concerned with discovering the governing partial differenti...
research
10/07/2022

Certified machine learning: Rigorous a posteriori error bounds for PDE defined PINNs

Prediction error quantification in machine learning has been left out of...
research
04/09/2022

A Deep Learning Approach for Predicting Two-dimensional Soil Consolidation Using Physics-Informed Neural Networks (PINN)

Soil consolidation is closely related to seepage, stability, and settlem...
research
10/23/2022

MR-Based Electrical Property Reconstruction Using Physics-Informed Neural Networks

Electrical properties (EP), namely permittivity and electric conductivit...

Please sign up or login with your details

Forgot password? Click here to reset