Improving Long-Range Interactions in Graph Neural Simulators via Hamiltonian Dynamics

Abstract

Learning to simulate complex physical systems from data has emerged as a promising way to overcome the limitations of traditional numerical solvers, which often require prohibitive computational costs for high-fidelity solutions. Recent Graph Neural Simulators (GNSs) accelerate simulations by learning dynamics on graph-structured data, yet often struggle to capture long-range interactions and suffer from error accumulation under autoregressive rollouts. To address these challenges, we propose Information-preserving Graph Neural Simulators (IGNS), a graph-based neural simulator built on the principles of Hamiltonian dynamics. This structure guarantees preservation of information across the graph, while extending to port-Hamiltonian systems allows the model to capture a broader class of dynamics, including non-conservative effects. IGNS further incorporates a warmup phase to initialize global context, geometric encoding to handle irregular meshes, and a multi-step training objective that facilitates PDE matching, where the trajectory produced by integrating the port-Hamiltonian core aligns with the ground-truth trajectory, thereby reducing rollout error. To evaluate these properties systematically, we introduce new benchmarks that target long-range dependencies and challenging external forcing scenarios. Across all tasks, IGNS consistently outperforms state-of-the-art GNSs, achieving higher accuracy and stability under challenging and complex dynamical systems. Our project page: https://thobotics.github.io/neural_pde_matching.

Cite

Text

Hoang et al. "Improving Long-Range Interactions in Graph Neural Simulators via Hamiltonian Dynamics." International Conference on Learning Representations, 2026.

Markdown

[Hoang et al. "Improving Long-Range Interactions in Graph Neural Simulators via Hamiltonian Dynamics." International Conference on Learning Representations, 2026.](https://mlanthology.org/iclr/2026/hoang2026iclr-improving/)

BibTeX

@inproceedings{hoang2026iclr-improving,
  title     = {{Improving Long-Range Interactions in Graph Neural Simulators via Hamiltonian Dynamics}},
  author    = {Hoang, Tai and Trenta, Alessandro and Gravina, Alessio and Freymuth, Niklas and Becker, Philipp and Bacciu, Davide and Neumann, Gerhard},
  booktitle = {International Conference on Learning Representations},
  year      = {2026},
  url       = {https://mlanthology.org/iclr/2026/hoang2026iclr-improving/}
}