Introducing sapphire : Towards Hybrid Physics-informed, Data-driven Modeling of Galaxy Formation

Abstract Semianalytic models (SAMs) have been treating galaxy populations as dynamical systems for ≳50 yr, but their evolution equations remain poorly constrained. We introduce sapphire , a modular, automatically differentiable, GPU-accelerated SAM written in JAX . For the first time, we compute exact Jacobian and Hessian matrices of a galaxy formation SAM, using the V. Pandya et al. (2023) nonlinear differential equation system as an example. These allow efficient, interpretable local and global sensitivity analyses, which reveal that supernova energy loading is the key astrophysical parameter. We use gradient descent and Hamiltonian Monte Carlo (HMC) to perform comprehensive mock parameter recovery tests. These indicate that the z = 0 stellar-to-halo-mass relation alone does not contain enough information to infer many astrophysical parameters. Using observations of star-forming galaxies from the MaNGA survey and the P. Behroozi et al. (2019) empirical model as one baseline, we derive multiple posteriors assuming different combinations of data, including z = 0 interstellar medium gas fractions and metallicities. The inferred physical parameters suggest that galaxies self-regulate their star formation primarily through preventative rather than ejective feedback, though this remains uncertain due to the lack of satellite galaxies, black holes, and multiphase galactic atmosphere physics. Both Fisher and HMC forecasts demonstrate the potential of sapphire to enable precision inference for galaxy formation and cosmology in a hybrid physics-informed, data-driven way, but more work is needed to expand its library of models and methods. We make sapphire publicly available at https://github.com/virajpandya/sapphire .

Authors

Institutions

Publication Details

Journal
The Astrophysical Journal
Published
2026-10-26
DOI
https://doi.org/10.3847/1538-4357/aea55e
Primary Topic
Galaxies: Formation, Evolution, Phenomena
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Introducing sapphire : Towards Hybrid Physics-informed, Data-driven Modeling of Galaxy Formation

Richard Stiskalek, Greg L. Bryan, Pablo Lemos, Matthew Ho et al.
The Astrophysical Journal
Galaxies: Formation, Evolution, Phenomena
article

Introducing sapphire : Towards Hybrid Physics-informed, Data-driven Modeling of Galaxy Formation

Richard Stiskalek, Greg L. Bryan, Pablo Lemos, Matthew Ho, Austen Gabrielpillai, Drummond B. Fielding, Bryan A. Terrazas, Rachel S. Somerville, G. Mark Voit, Tjitske Starkenburg, Sophie Koudmani, Kartheik G. Iyer, Lucia A. Perez, Christopher C. Lovell, T. Lucas Makinen, Christian Kragh Jespersen, Lars Hernquist, Viraj Pandya, Christopher Carr, William F. Robinson, Marta Laska
article en

Abstract

Abstract Semianalytic models (SAMs) have been treating galaxy populations as dynamical systems for ≳50 yr, but their evolution equations remain poorly constrained. We introduce sapphire , a modular, automatically differentiable, GPU-accelerated SAM written in JAX . For the first time, we compute exact Jacobian and Hessian matrices of a galaxy formation SAM, using the V. Pandya et al. (2023) nonlinear differential equation system as an example. These allow efficient, interpretable local and global sensitivity analyses, which reveal that supernova energy loading is the key astrophysical parameter. We use gradient descent and Hamiltonian Monte Carlo (HMC) to perform comprehensive mock parameter recovery tests. These indicate that the z = 0 stellar-to-halo-mass relation alone does not contain enough information to infer many astrophysical parameters. Using observations of star-forming galaxies from the MaNGA survey and the P. Behroozi et al. (2019) empirical model as one baseline, we derive multiple posteriors assuming different combinations of data, including z = 0 interstellar medium gas fractions and metallicities. The inferred physical parameters suggest that galaxies self-regulate their star formation primarily through preventative rather than ejective feedback, though this remains uncertain due to the lack of satellite galaxies, black holes, and multiphase galactic atmosphere physics. Both Fisher and HMC forecasts demonstrate the potential of sapphire to enable precision inference for galaxy formation and cosmology in a hybrid physics-informed, data-driven way, but more work is needed to expand its library of models and methods. We make sapphire publicly available at https://github.com/virajpandya/sapphire .

The Astrophysical JournalVol. 1011(1)
Northwestern University (US), Pennsylvania State University (US), University of Hertfordshire (GB), Princeton University (US), University of Cambridge (GB), University of Oxford (GB), Center for Astrophysics Harvard & Smithsonian (US), Mila - Quebec Artificial Intelligence Institute (CA), Flatiron Institute (US), NSF-Simons AI Institute for the Sky (US), New York University (US), Oberlin College (US), Université de Montréal (CA), Columbia University (US), Michigan State University (US)
National Aeronautics and Space Administration, Simons Foundation
Openalex Percentile: Top 14%
Galaxies: Formation, Evolution, Phenomena
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon