Skip to content

chiuph/Baldwinian-PINN

Repository files navigation

Baldwinian-PINN

python >3.8

Generalizable Neural Physics Solvers by Baldwinian Evolution

Jian Cheng Wong, Chin Chun Ooi, Abhishek Gupta, Pao-Hsiung Chiu, Joshua Shao Zheng Low, My Ha Dao, Yew-Soon Ong

Physics-informed neural networks (PINNs) are at the forefront of scientific machine learning, making possible the creation of machine intelligence that is cognizant of physical laws and able to accurately simulate them. In this paper, the potential of discovering PINNs that generalize over an entire family of physics tasks is studied, for the first time, through a biological lens of the Baldwin effect. Drawing inspiration from the neurodevelopment of precocial species that have evolved to learn, predict and react quickly to their environment, we envision PINNs that are pre-wired with connection strengths inducing strong biases towards efficient learning of physics. To this end, evolutionary selection pressure (guided by proficiency over a family of tasks) is coupled with lifetime learning (to specialize on a smaller subset of those tasks) to produce PINNs that demonstrate fast and physics-compliant prediction capabilities across a range of empirically challenging problem instances. The Baldwinian approach achieves an order of magnitude improvement in prediction accuracy at a fraction of the computation cost compared to state-of-the-art results with PINNs meta-learned by gradient descent. This paper marks a leap forward in the meta-learning of PINNs as generalizable physics solvers.

Install

jax-0.3.23 evojax-0.2.15 evosax-0.0.9 flax-0.6.1 optax-0.1.3 numpy-1.24.4 pandas-1.4.4 matplotlib-3.5.2

Usage

You can download this repo and run the demo tasks on your computing machine.

Time cost

Typical install time should be under 30min for all the above packages.

Expected time required for training and run across all tasks in the provided scripts should be under 4 hours on a workstation with 2 GPUs (Intel Xeon W-2275 and 2 Nvidia GeForce RTX 3090). Individual tasks might take as little as 10 mins.

Coypright

This tool is developed in Fluid Dynamics department, Institute of High Performance Computing (IHPC), A*STAR.

The copyright holder for this project is Fluid Dynamics department, Institute of High Performance Computing (IHPC), A*STAR.

All rights reserved.

Citation

Jian Cheng Wong, Chin Chun Ooi, Abhishek Gupta, Pao-Hsiung Chiu, Joshua Shao Zheng Low, My Ha Dao, Yew-Soon Ong, "Generalizable Neural Physics Solvers by Baldwinian Evolution". https://arxiv.org/abs/2312.03243

About

Generalizable Neural Physics Solvers by Baldwinian Evolution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published