Manuscript Offprint

arXiv:2611.08634

Benchmarking Machine Learning for Chaotic Three-Body Dynamics in Astrophysics

Sheng Wan, Pavan Vynatheya, Duo Xu, Li Kevin Wenliang, Ye Zhu

Sheng Wan

École Polytechnique, IP Paris

sheng.wan@polytechnique.edu

Pavan Vynatheya

CITA, University of Toronto

pavanvyn@cita.utoronto.ca

Duo Xu

CITA, University of Toronto

xuduo@cita.utoronto.ca

Li Kevin Wenliang

Google DeepMind

kevinwli@outlook.com

Ye Zhu

LIX, CNRS, École Polytechnique, IP Paris

ye.zhu@polytechnique.edu

Abstract

Machine learning (ML) and generative AI have recently made impressive progress in understanding physics. We explore a hierarchy of prediction problems stemming from chaotic three-body systems and benchmark existing ML approaches, including general-purpose prediction algorithms and those that build on top of foundational physics models. We first simulate the trajectories of triple systems near the critical boundary of stable/unstable initial conditions. We then design a hierarchy of learning tasks, focusing mainly on two broad problems: stability prediction and trajectory prediction. The former classifies whether a given triple system has diverged or not up to a specific horizon, while the latter predicts the exact trajectory, both given suitable input features. We benchmark a range of ML approaches, from simple regression methods to state-of-the-art foundational physics models, across these tasks, and compare them against astrophysical methods such as the Mardling–Aarseth stability criterion. Our experiments reveal a clear order of task difficulties in chaotic three-body dynamics: early dynamics enable strong stability prediction, while precise long-horizon trajectory forecasting remains difficult. Code and dataset are publicly available at https://github.com/Simonwan03/ThreeBodyMLBench.

1 Introduction

Recent research in machine learning has increasingly shifted from learning the semantics of data such as language and images [11, 27] toward understanding the physics underlying everyday observations, as evidenced by the growing popularity of world models [13, 14, 2] and recent physics-aware benchmarks [24, 4, 23]. In this work, we focus on one of the fundamental problems in physics that remains relatively underexplored in current AI research: the three-body problem [36, 6, 17, 37]. It is a classical problem for understanding the stability and dynamics of stellar systems, and provides one of the simplest yet best-controlled settings for benchmarking ML methods.

A triple system consists of three masses whose motions are deterministically governed by their initial physical conditions through Newtonian dynamics. Their long-term stability and orbital evolution are relevant to a broad range of astrophysical phenomena [33]. Depending on the initial conditions, a

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: Sim2Science: ML with Imperfect Scientific Models.

Feature# Ch.Physical meaning
aratos1semi-major-axis ratio ain/aouta_{\text{in}}/a_{\text{out}}
mratos2mass ratios of the hierarchical triple
eccs2eccentricities e∗e_* of the orbits
incs2inclinations of the orbital planes i∗i_*
APs4arguments of periapsis ω∗\omega_*
LANs4longitudes of ascending node Ω∗\Omega_*

Figure

Figure 1: Left: Orbital representation used in our experiments. * stands for either the inner or the outer orbit. Right: Illustration of orbital features. Adapted from Lasunncy [18], with changes to colors and annotations. The original and this adapted figure are licensed under CC BY-SA 3.0.

triple system may either remain stable over long timescales or rapidly diverge and become unbounded. However, between these two regimes lies a critical region in which systems that only differ very slightly in initial conditions can lead to markedly different stability outcomes [34, 37]. We focus on this boundary regime from which we select the initial conditions for our simulations, used as the ground-truth trajectories.

Given the trajectories, we design a suite of tasks with different levels of difficulty, broadly categorized as stability prediction and trajectory prediction. Stability prediction aims to determine whether or not a given triple system will remain bound or eventually become unbounded. The input features are either its physical initial conditions or a short prefix of the ground-truth trajectory [17]. Trajectory prediction goes beyond the binary stability outcome and predicts the detailed dynamical evolution of the system. To see how hard these tasks are, we benchmark a range of ML approaches against conventional astrophysical methods, spanning from classical supervised learning models [30, 19, 3, 8, 9] to more recent foundation models [16, 1, 26, 15] and our own fine-tuned variants. We additionally consider established analytical stability criteria in astrophysics: Mardling–Aarseth [22] and Vynatheya et al. criterion [37]. Our extensive experiments show that the performance of ML methods varies depending on the task specification; while short-term and coarse-grained properties (e.g. stability) can be learned with high accuracy, long-term trajectory prediction remains substantially more challenging. Overall, our main contributions are summarized as follows:

  • We construct a large-scale controlled perturbation-ensemble dataset of chaotic hierarchical three-body systems concentrated near the challenging astrophysical stability boundary.
  • We design a hierarchical suite of stability and trajectory prediction tasks that probe different levels of dynamical prediction difficulty, and evaluate a broad range of ML approaches against conventional astrophysical methods.
  • Through systematic experiments and analysis, we characterize both the capabilities and limitations of ML in learning chaotic three-body dynamics, providing insights into the limitations and challenges of existing ML approaches.

References (36)