Abstract
Data-centric methods have shown great potential in understanding and predicting spatiotemporal dynamics, enabling better design and control of the object system. However, deep learning models often lack interpretability, fail to obey intrinsic physics, and struggle to cope with the various domains. While geometry-based methods, e.g., graph neural networks (GNNs), have been proposed to further tackle these challenges, they still need to find the implicit physical laws from large datasets and rely excessively on rich labeled data. In this paper, we herein introduce the conservation-informed GNN (CiGNN), an end-to-end explainable learning framework, to learn spatiotemporal dynamics based on limited training data. The network is designed to conform to the general conservation law via symmetry, where conservative and non-conservative information passes over a multiscale space enhanced by a latent temporal marching strategy. The efficacy of our model has been verified in various spatiotemporal systems based on synthetic and real-world datasets, showing superiority over baseline models. Results demonstrate that CiGNN exhibits remarkable accuracy and generalizability, and is readily applicable to learning for prediction of various spatiotemporal dynamics in a spatial domain with complex geometry.
Introduction
Predicting the evolution of physical systems across space and time—from ocean currents to chemical reactions—is fundamental to modern science. While traditional numerical solvers for partial differential equations (PDEs) provide high accuracy, they are computationally intensive and require precisely defined equations. Conversely, data-driven deep learning models offer speed but often function as "black boxes," failing to respect intrinsic physical constraints like the conservation of mass or energy. This lack of physical consistency often leads to unrealistic predictions, particularly when training data is limited.
To address these challenges, we present the Conservation-informed Graph Neural Network (CiGNN). Unlike methods that rely solely on loss-function penalties, CiGNN embeds physical conservation laws directly into its architecture through mathematical symmetry, enabling highly accurate spatiotemporal predictions with minimal training data.
Methodology
The CiGNN architecture follows an "Encoder-Processor-Decoder" pipeline, incorporating three key innovations to ensure physical consistency and data efficiency:
- Symmetry-Preserved Message Passing (SymMPNN): Inspired by Noether’s theorem, information exchange is split into two channels: a skew-symmetric channel representing conservative flux (what flows in must flow out) and a symmetric channel representing non-conservative source terms (e.g., internal reactions).
- Multi-mesh Space Block: A hierarchical graph strategy captures both local interactions and long-range dependencies by processing the system at multiple spatial resolutions through node masking.
- Latent Time Integrator: The network treats GNN layers as sequential temporal steps, using a trainable 1D convolutional filter as a numerical integrator in latent space. This significantly reduces error accumulation during long-term "rollout" predictions.
Experimental Evaluation
The authors evaluated CiGNN on four diverse spatiotemporal systems: the 2D Viscous Burgers Equation, the 3D Gray-Scott reaction-diffusion system, 2D Flow past a Cylinder (CF) involving irregular geometry, and real-world Black Sea (BS) hydrological data.
CiGNN demonstrated significant improvements over state-of-the-art baselines like Fourier Neural Operators (FNO) and MeshGraphNet (MGN). On the Burgers equation, CiGNN reduced prediction error (RMSE) by one to two orders of magnitude compared to all other baselines.
Results and Discussion
A defining strength of CiGNN is its data efficiency. The model achieves high-fidelity predictions using only a few dozen training trajectories, whereas standard models typically require thousands. Furthermore, its graph-based nature allows for excellent generalization across complex and irregular geometries; it can be trained on one mesh and tested on a different, more complex geometry without retraining.
In the Black Sea application, CiGNN maintained a Pearson correlation above 0.8 for 20-day forecasts of both water velocity and temperature, effectively capturing low-frequency hydrological trends where other models might drift.
Conclusion
CiGNN represents a significant step toward explainable and physically consistent machine learning for spatiotemporal dynamics. By hard-coding conservation laws into the network structure, it achieves superior accuracy, robustness, and generalizability. While memory intensity during training remains a challenge for extremely large 3D meshes, the framework's ability to learn from limited data makes it a powerful tool for complex physical modeling.
Summary updated