← back

HIcosmo: a differentiable JAX-based framework for cosmology inference

📄 arXiv:2606.28175 · 📥 PDF · 2026-06-26 · gr-qc

Authors: Jing-Zhao Qi [arXiv · scholar] , Jing-Fei Zhang [arXiv · scholar] , Xin Zhang [arXiv · scholar]

🕰 Orloj analysis

8.8
Total score
9.0
Consistency
9.5
Quality
AD relevance

Tento článek představuje HIcosmo, open-source framework založený na JAX pro efektivní kosmologickou inferenci, který využívá automatickou diferenciaci pro výpočty gradientů a Hessových matic. Framework implementuje standardní kosmologické modely a poskytuje likelihoody pro různé observační datové sady, přičemž je validován proti referenčním implementacím a Cobaya s vysokou přesností.

💡 Jde o cenný inženýrský příspěvek, který přináší významné zvýšení efektivity pro kosmologickou inferenci v éře velkých dat díky moderním výpočetním metodám.

Categories: THE-1 EXP-1 MET-1 THE-17 COS-1 THE-2

✓ code_available, falsifiable, modest_claims, limit_reductions

⚠ limited_scope_for_full_cosmology

📄 Abstract

The Stage IV cosmological surveys, such as Euclid, LSST, DESI, and SKA, will deliver observational data of unprecedented volume, calling for efficient and reliable inference tools. This paper presents HIcosmo (High-performance Inference for Cosmology), an open-source JAX-based framework for cosmology inference. In HIcosmo, the forward model, distance integrals, likelihood evaluations, posterior sampling, and Fisher forecasts are all built from JAX primitives, so that gradients and Hessians of the log-likelihood are obtained directly by automatic differentiation, without any finite-difference approximation. The framework implements the $Λ$CDM, $w$CDM, $w_0 w_a$CDM, and interacting dark-energy models, and provides likelihoods for Type Ia supernovae (Pantheon+, DES-SN5YR, Union3), baryon acoustic oscillations (DESI DR1/DR2, SDSS), Planck 2018 distance priors, local $H_0$ measurements, and strong-lensing time delays. Its scope is restricted to background cosmology, with Boltzmann solvers and full perturbation-level likelihoods left to external tools. We validate HIcosmo against the reference implementation of each likelihood and against Cobaya. $χ^2$ values agree to absolute differences of $10^{-6}$-$10^{-2}$, and the marginalized constraints from the two codes differ by less than $0.2σ$ in every analysis tested. Leveraging just-in-time compilation and automatic differentiation, HIcosmo achieves about $8.7\times$ the end-to-end sampling throughput of Cobaya on CPU. As the dataset grows to survey scale, GPU acceleration over CPU reaches up to $20\times$. As applications, we present multi-probe $Λ$CDM joint constraints, dark-energy equation-of-state constraints, and Fisher forecasts for six 21 cm intensity-mapping surveys, including SKA1, MeerKAT, BINGO, Tianlai, and CHIME.

📄 arXiv abstract page 📥 PDF