Scalable Graph Networks for Particle Simulations
Karolis Martinkus, Aurélien Lucchi, Nathanaël Perraudin
Abstract
Learning system dynamics directly from observations is a promising direction in machine learning due to its potential to significantly enhance our ability to understand physical systems. However, the dynamics of many real-world systems are challenging to learn due to the presence of nonlinear potentials and a number of interactions that scales quadratically with the number of particles N , as in the case of the N-body problem. In this work, we introduce an approach that transforms a fully-connected interaction graph into a hierarchical one which reduces the number of edges to O(N ). This results in linear time and space complexity while the precomputation of the hierarchical graph requires O(N log(N )) time and O(N ) space. Using our approach, we are able to train models on much larger particle counts, even on a single GPU. We evaluate how the phase space position accuracy and energy conservation depend on the number of simulated particles. Our approach retains high accuracy and efficiency even on large-scale gravitational N-body simulations which are impossible to run on a single machine if a fully-connected graph is used. Similar results are also observed when simulating Coulomb interactions. Furthermore, we make several important observations regarding the performance of this new hierarchical model, including: i) its accuracy tends to improve with the number of particles in the simulation and ii) its generalisation to unseen particle counts is also much better than for models that use all O(N 2 ) interactions.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 0db1af36-4f3b-4de2-9d05-a2f762263000Cited by top-tier papers4
- Equivariant Graph Mechanics Networks with ConstraintsWenbing Huang, Jiaqi Han, Yu Rong, Tingyang Xu et al.ICLR 2022 · 107 citations
- Equivariant Graph Neural Operator for Modeling 3D DynamicsMinkai Xu, Jiaqi Han, Aaron Lou, Jean Kossaifi et al.ICML 2024 · 49 citations
- Physics-Informed Regularization for Domain-Agnostic Dynamical System ModelingZijie Huang, Wanjia Zhao, Jingdong Gao, Ziniu Hu et al.NeurIPS 2024 · 12 citations
- Grounding Graph Network Simulators using Physical Sensor ObservationsJonas Linkerhägner, Niklas Freymuth, Paul Maria Scheikl, Franziska Mathis-Ullrich et al.ICLR 2023 · 1 citation
Builds on7
- DropEdge: Towards Deep Graph Convolutional Networks on Node ClassificationYu Rong, Wenbing Huang, Tingyang Xu, Junzhou HuangICLR 2020 · 1,599 citations
- Learning to Simulate Complex Physics with Graph NetworksAlvaro Sanchez-Gonzalez, Jonathan Godwin, Tobias Pfaff, Rex Ying et al.ICML 2020 · 1,439 citations
- Discovering Symbolic Models from Deep Learning with Inductive BiasesMiles D. Cranmer, Alvaro Sanchez-Gonzalez, Peter W. Battaglia, Rui Xu et al.NeurIPS 2020 · 736 citations
- Generalizing Convolutional Neural Networks for Equivariance to Lie Groups on Arbitrary Continuous DataMarc Finzi, Samuel Stanton, Pavel Izmailov, Andrew Gordon WilsonICML 2020 · 372 citations
- Symplectic ODE-Net: Learning Hamiltonian Dynamics with ControlYaofeng Desmond Zhong, Biswadip Dey, Amit ChakrabortyICLR 2020 · 319 citations
Related papers
- Erwin: A Tree-based Hierarchical Transformer for Large-scale Physical SystemsMaksim Zhdanov, Max Welling, Jan-Willem van de MeentICML 2025
- Learning Physical Dynamics with Subequivariant Graph Neural NetworksJiaqi Han, Wenbing Huang, Hengbo Ma, Jiachen Li et al.NeurIPS 2022 · 72 citations
- Rapid Training of Hamiltonian Graph Networks Using Random FeaturesAtamert Rahma, Chinmay Datar, Ana Cukarska, Felix DietrichICLR 2026 · 2 citations
- Constraint-based graph network simulatorYulia Rubanova, Alvaro Sanchez-Gonzalez, Tobias Pfaff, Peter W. BattagliaICML 2022 · 34 citations
- STFlow: Data-Coupled Flow Matching for Geometric Trajectory SimulationKiet Bennema ten Brinke, Koen Minartz, Vlado MenkovskiICML 2026
