CERIDWEN: Fast and Flexible GPU-Accelerated Stellar Population Inference
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
- BlackJAX: Composable Bayesian inference in JAX
- JADES Data Release 4 Paper I: Sample Selection, Observing Strategy and Redshifts of the complete spectroscopic sample
- TensorFlow Distributions
- The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo
- NeuTra-lizing Bad Geometry in Hamiltonian Monte Carlo Using Neural Transport
- Data analysis recipes: Fitting a model to data
- Stellar masses of optically dark galaxies: uncertainty introduced by the attenuation law and star-formation histories
- Euclid Definition Study Report
- Modelling the nebular emission of galaxies across cosmic time with COLT
- JADES Data Release 4 -- Paper II: Data reduction, analysis and emission-line fluxes of the complete spectroscopic sample
- Wide-Field InfrarRed Survey Telescope-Astrophysics Focused Telescope Assets WFIRST-AFTA 2015 Report
- Parallel Nested Slice Sampling for Gravitational Wave Parameter Estimation
Related papers
- Apparent Stability in Self-Gravitating Turbulence and the Evolution of Molecular Clouds
- Two sets of potential-density basis pairs for the study of radial perturbations in collisionless spherical stellar systems
- Constraining reionization-era Ly alpha escape with JELS-MUSE: a highly complete H alpha-selected sample at z about6.1
- Deriving volume density profiles of filaments from observed surface densities
- Little Red Dots and Supermassive Black Hole Seed Formation in Ultralight Dark Matter Halos
- MEGATRON: how the first stars can create an iron metallicity plateau in the smallest dwarf galaxies