Scalable Graph Networks for Particle Simulations

10/14/2020
by   Karolis Martinkus, et al.
18

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 pre-computation of the hierarchical graph requires O(Nlog (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.

READ FULL TEXT

page 14

page 16

page 18

research
05/21/2023

Towards Complex Dynamic Physics System Simulation with Graph Neural ODEs

The great learning ability of deep learning models facilitates us to com...
research
11/18/2020

Machine Learning for Phase Behavior in Active Matter Systems

We demonstrate that deep learning techniques can be used to predict moti...
research
09/03/2022

Learning the Dynamics of Particle-based Systems with Lagrangian Graph Neural Networks

Physical systems are commonly represented as a combination of particles,...
research
03/20/2020

BetheSF: Efficient computation of the exact tagged-particle propagator in single-file systems via the Bethe eigenspectrum

Single-file diffusion is a paradigm for strongly correlated classical st...
research
08/14/2017

A global scavenging and circulation ocean model of thorium-230 and protactinium-231 with realistic particle dynamics (NEMO-ProThorP 0.1)

In this paper, we set forth a 3-D ocean model of the radioactive trace i...
research
01/30/2020

Arbitrarily high-order energy-preserving methods for simulating the gyrocenter dynamics of charged particles

Gyrocenter dynamics of charged particles plays a fundamental role in pla...
research
03/09/2020

CUBE – Towards an Optimal Scaling of Cosmological N-body Simulations

N-body simulations are essential tools in physical cosmology to understa...

Please sign up or login with your details

Forgot password? Click here to reset