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.
pip install -r requirements.txt
Run the example notebook:
python run.py experiment=example
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
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}
}