Code Monkey home page Code Monkey logo

baldwinian-pinn's Introduction

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

baldwinian-pinn's People

Contributors

chiuph avatar

Stargazers

宋思蔓 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.