CERIDWEN: Fast and Flexible GPU-Accelerated Stellar Population Inference

arXiv:2609.30145 · astro-ph.GA, astro-ph.IM · Submitted 2026-09-24 · Read on arXiv

astro-ph.GA, astro-ph.IM

Submitted: 2026-09-24

Updated: 2026-09-24

Comments: 25 pages, 18 figures, 2 tables, plus appendices. Submitted to MNRAS. The package is available at https://github.com/Espe13/ceridwen and via pip install ceridwen

Code: https://github.com/Espe13/ceridwen

License: http://creativecommons.org/licenses/by/4.0/

The gist: JWST has increased both the number of high-redshift galaxies with high-quality spectral energy distributions (SEDs) and their information content.

Terminology

Abstract

JWST has increased both the number of high-redshift galaxies with high-quality spectral energy distributions (SEDs) and their information content. In parallel, wide-area surveys from Euclid, Rubin's LSST, and Roman will increase galaxy samples by orders of magnitude. Analysing these datasets requires stellar-population models that are both flexible and computationally efficient. We present CERIDWEN, a GPU-native SED fitting framework written in JAX, with an end-to-end differentiable forward model spanning stellar populations, nebular emission, dust attenuation and emission, and projection into the observer frame. Its vectorised, compiled architecture lets nested sampling replace a batch of live points in parallel on the GPU, which makes flexible stellar-population models tractable under full Bayesian inference. Automatic differentiation also provides exact gradients for the gradient-based samplers in the package. We jointly infer time-dependent chemical-enrichment histories instead of a single stellar metallicity, and demonstrate non-parametric star-formation histories (SFHs) with about 120 age bins. Using α-enhanced stellar libraries from FSPS, CERIDWEN can sample stellar [α /Fe] jointly with [Fe/H], mass, and SFH, so that the joint posterior represents the [Fe/H]-[α /Fe] degeneracy explicitly. In controlled mocks, CERIDWEN recovers parameters with well-calibrated posterior uncertainties, while fits to real JWST observations reproduce posteriors from the established Prospector framework: on a single GPU, CERIDWEN completes a fit in a median sampling time of about 4 min, about 134 times faster per fit than equivalent CPU-based Prospector runs. CERIDWEN therefore makes full Bayesian inference practical for larger galaxy samples and more flexible stellar-population models, reducing computational constraints on the physical complexity explored in SED fitting.

Sources

Related papers