Neural Symplectic Integrator with Hamiltonian Inductive Bias for the Gravitational N-body Problem

Maxwell X. Cai, Simon Portegies Zwart, Damian Podareanu
11/28/2021
physics.comp-phastro-ph.IMcs.LG

Official code: maxwelltsai/neural-symplectic-integrator (9 stars, Jupyter Notebook, GPL-3.0, last commit 2022-04-13).

Abstract

The gravitational $N$-body problem, which is fundamentally important in astrophysics to predict the motion of $N$ celestial bodies under the mutual gravity of each other, is usually solved numerically because there is no known general analytical solution for $N>2$. Can an $N$-body problem be solved accurately by a neural network (NN)?

Show full abstract

Can a NN observe long-term conservation of energy and orbital angular momentum? Inspired by Wistom & Holman (1991)'s symplectic map, we present a neural $N$-body integrator for splitting the Hamiltonian into a two-body part, solvable analytically, and an interaction part that we approximate with a NN. Our neural symplectic $N$-body code integrates a general three-body system for $10^{5}$ steps without diverting from the ground truth dynamics obtained from a traditional $N$-body integrator. Moreover, it exhibits good inductive bias by successfully predicting the evolution of $N$-body systems that are no part of the training set.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Wisdom-Holman integrator augmented with physics informed neural interaction Hamiltonian for the gravitational N-body problem

92Jupyter Notebook, PythonMay 21, 20214 years agoGPL-3.0
astrophysicsn-body-simulationneural-networks

Similar Papers

Cite this paper

@article{cai2021neural,
  title  = {Neural Symplectic Integrator with Hamiltonian Inductive Bias for the Gravitational N-body Problem},
  author = {Maxwell X. Cai and Simon Portegies Zwart and Damian Podareanu},
  year   = {2021},
  eprint = {2111.15631},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2111.15631}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2111.15631.svg)](https://codeofpaper.com/paper/2111.15631)

Discussion