jax-SNANA: A GPU-accelerated Supernova Framework for the SBI Era
Matthew Grayling
Key points
From the paper's conclusion- We present jax-SNANA, a JAX reimplementation of the supernova analysis framework SNANA. jax-SNANA enables GPU-accelerated transient simulations and light curve fitting, supernova standardisation and cosmological inference.
Abstract
We present jax-SNANA, a JAX reimplementation of the supernova analysis framework SNANA. jax-SNANA enables GPU-accelerated transient simulations and light curve fitting, supernova standardisation and cosmological inference. Running in single precision on an NVIDIA A100 GPU, jax-SNANA simulates more than 100,000 LSST-observed supernovae per second and fits 5,000 light curves per second after JIT compilation, a two orders-of-magnitude increase over current tools, essential for analysing samples at the scale expected from LSST. jax-SNANA currently supports the SALT and BayeSN spectral energy distribution (SED) models as well as physical models from redback-jax and a variety of SN SED templates; light curve fitting is supported with both photometric and spectroscopic redshifts. We fully validate the accuracy of jax-SNANA by comparing to SNANA, finding excellent consistency between the two across a variety of tasks. The code provides a modular JAX end-to-end supernova cosmology pipeline, user-extensible to support new features including different SED templates and photometric classification algorithms. jax-SNANA has been designed with future applications of simulation-based inference in mind, providing fast simulations and enabling fully compiled on-the-fly simulations to be generated within the training loop of downstream SBI tasks. jax-SNANA extends beyond SNANA by supporting simulations of generic SN-host galaxy relationships and multiple sub-populations of events, for example originating from young and old progenitors. jax-SNANA is publicly available at https://github.com/mattgrayling/jax-snana and installable through pip.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- 2Flow2SN: Dusty Supernova Cosmology with Photometric Redshifts and Contamination using Neural Simulation-Based InferencearXiv · 2026
- Radiative Transfer Modeling of Stripped-envelope Supernovae II: Neural Network Emulation of Light CurvesarXiv · 2026
- TransFit: An Efficient Framework for Transient Light-curve Fitting with Time-dependent Radiative DiffusionThe Astrophysical Journal · 2025
- CIGaRS I: combined simulation-based inference from type Ia supernovae and host photometryNature Astronomy · 2026
- Superfit: A Supernova Spectral Classification Tool with Host-Galaxy DecompositionarXiv · 2026
- phenjax: the IMRPhenomT waveform family in JAX for accelerated analyses on CPUs and GPUsarXiv · 2026