BOPINN presents new paradigm to solve inverse problems by bringing an amalgamation of PINNs and BO. It uses BO (a gradient-free and global optimization scheme) and PINNs (a fast neural surrogate solver for PDEs). In BOPINN, a PINN utilizes a neural surrogate to solve the partial differential equation (wave propagation here). Bayesian optimization runs over the PINN model and estimates the optimum parameters (wave velocity in the medium here) using a single snapshot observation of the field. BOPINN queries the black-box PINN model at different wave velocities until it converges to the true wave velocity. The proposed method is simpler (uses single neural network), robust (capturs uncertainty) and flexible (useful in real-time and online settings) as compared to it's counterparts.
- Written in tensorflow 2.10 with cuda 11.8 and cudnn 8.x
- The code uses BO repository from bayesian-optimization.
- "BOPINN.py" is the python file (run in spyder) and "BOPINN.ipynb" is a notebook (use colab or jupyter)
- "PINN.py" is a PINN based solver for forward wave propagation problem. It's an auxillary code to understand the forward problem
- "analytical.py" gives the exact solution of the wave equation with dirichlet BC and it is used to collect data (added white noise)
- data folder contains the snapshot observation collected from "analytical.py"
- lib folder has .py files required to run "PINN.py" and "BOPINN.py"
For more information:
- Link of the paper: Bayesian optimized physics-informed neural network for estimating wave propagation velocities.
- Please cite the paper if you are using code, paper or data.
@article{rautela2023bayesian,
title={Bayesian optimized physics-informed neural network for estimating wave propagation velocities},
author={Rautela, Mahindra and Gopalakrishnan, S and Senthilnath, J},
journal={arXiv preprint arXiv:2312.14064},
year={2023}
}