Author: Moritz Hauschulz (moritz.hauschulz@gmail.com)
Physics-informed neural networks (PINNs) have demonstrated remarkable performance in modeling partial differential equations. PINNacle is a recently proposed algorithm that efficiently selects the most informative points in the domain during training. However, as we show, it is not robust to domain-rescaling. In this paper, we propose sPINNacle, which mitigates this short-coming by introducing NTK-based learning rate adaptation. We conduct experiments on the two-dimensional Poisson equation and find that sPINNacle improves on PINNacle across scales in this setting. It also outperforms an alternative based on the MultiAdam optimizer.
The code is based on that from the paper "PINNACLE: PINN Adaptive ColLocation and Experimental points selection" (https://arxiv.org/abs/2404.07662).
Follow these steps to quickly set up and run the project.
Clone this repository to your local machine:
git clone https://github.com/moritzhauschulz/sPINNacle
cd sPINNacle/pip install -r requirements.txtSome data is available in the repo, other data needs to be obtained from https://github.com/pdebench/PDEBench due to large file sizes.
e.g.
cd pinnacle_code/
bash al_pinn_meh.sh "0" "0" "0" "--pdebench_dir /path/to/pdebench"