arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.06948cs.LGastro-ph.IMphysics.comp-phstat.ML
收藏

用于粒子模拟的可扩展图网络

Scalable Graph Networks for Particle Simulations

Swiss Data Science Center(瑞士数据科学中心)

Karolis Martinkus, Aurelien Lucchi, Nathanaël Perraudin

摘要:

直接从观测中学习系统动力学是机器学习中一个很有前途的方向,因为它有可能显着提高我们理解物理系统的能力。然而,许多真实世界系统的动力学是具有挑战性的学习,由于存在非线性势和一些与粒子数$N$成二次方的相互作用,如在N体问题的情况下。在这项工作中,我们介绍了一种方法,将一个完全连接的交互图到一个层次的减少边缘的数量$O(N)$。这导致线性时间和空间复杂度,而分层图的预计算需要$O(N\log (N))$时间和$O(N)$空间。使用我们的方法,我们能够在更大的粒子数上训练模型,甚至在单个GPU上。我们评估了相空间位置精度和能量守恒如何依赖于模拟粒子的数量。我们的方法保持高精度和效率,即使在大规模的引力N体模拟,这是不可能运行在一台机器上,如果使用全连接图。在模拟库仑相互作用时也观察到类似的结果。此外,我们对这种新的分层模型的性能进行了几个重要的观察,包括:i)其准确性往往随着模拟中粒子的数量而提高,ii)其对看不见的粒子计数的概括也比使用所有$O(N^2)$相互作用的模型要好得多。

英文摘要:

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(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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑