Differentiable N-body code for Galactic Dynamics -- Odisseo
Giuseppe Viterbo, Tobias Buck

TL;DR
Odisseo is a differentiable N-body code in JAX that enables efficient, scalable modeling of stellar streams for constraining the Milky Way's gravitational potential using gradient-based optimization.
Contribution
The paper introduces Odisseo, a novel differentiable N-body code optimized for large-scale dynamical modeling of stellar streams in the Milky Way.
Findings
Successfully recovers stream morphology and parameters in mock simulations.
Achieves near-linear scaling across multiple GPUs for large simulations.
Demonstrates effective parameter optimization via gradient descent.
Abstract
We introduce \textsc{Odisseo} (Optimized Differentiable Integrator for Stellar Systems Evolution of Orbits), a differentiable N-body code designed to constrain the gravitational potential of the Milky Way (MW) through dynamical modeling of accreted structures such as stellar streams. \textsc{Odisseo} is implemented in JAX, enabling just-in-time compilation, automatic differentiation, and hardware acceleration on GPUs and TPUs. The code features efficient, fully vectorized force calculations and exhibits near-linear scaling when distributing a single simulation across multiple GPUs, making it suitable for large scale optimization tasks. As a demonstration, we present a case study using a mock GD-1 stellar stream simulation, where we optimize four physical parameters via gradient descent: the accretion time and progenitor mass, as well as the masses of the host Navarro-Frenk-White (NFW)…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStellar, planetary, and galactic studies · Astronomy and Astrophysical Research · Astrophysics and Star Formation Studies
