Giter Site home page Giter Site logo

kaist-silab / graphsplinenets Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 25.32 MB

[NeurIPS 23] Official Code for "Learning Efficient Surrogate Dynamic Models with Graph Spline Networks"

Home Page: https://arxiv.org/abs/2310.16397

Jupyter Notebook 80.05% Python 19.78% Makefile 0.14% Shell 0.03%
collocation-method forecasting graph-neural-networks

graphsplinenets's Introduction

GraphSplineNets

arXiv OpenReview License: MIT

graphsplinenets

Abstract

While complex simulations of physical systems have been widely used in engineering and scientific computing, lowering their often prohibitive computational requirements has only recently been tackled by deep learning approaches. In this paper, we present GraphSplineNets, a novel deep-learning method to speed up the forecasting of physical systems by reducing the grid size and number of iteration steps of deep surrogate models. Our method uses two differentiable orthogonal spline collocation methods to efficiently predict response at any location in time and space. Additionally, we introduce an adaptive collocation strategy in space to prioritize sampling from the most important regions. GraphSplineNets improve the accuracy-speedup tradeoff in forecasting various dynamical systems with increasing complexity, including the heat equation, damped wave propagation, Navier-Stokes equations, and real-world ocean currents in both regular and irregular domains.

How to run

Installation

pip install -r requirements.txt

Quick Start

Run the example notebook:

python run.py experiment=example

Examples

Train model with chosen experiment configuration from configs/experiment/

Train model with default configuration

# train on CPU
python run.py trainer=cpu

# train on GPU
python run.py trainer=gpu

You can override any parameter from command line like this

python run.py trainer.max_epochs=20 datamodule.batch_size=64

Citation

If you find our work useful, please consider citing us:

@article{hua2024learning_graphsplinenets,
  title={Learning Efficient Surrogate Dynamic Models with Graph Spline Networks},
  author={Hua, Chuanbo and Berto, Federico and Poli, Michael and Massaroli, Stefano and Park, Jinkyoo},
  journal={Advances in Neural Information Processing Systems},
  volume={36},
  year={2024}
}

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.