English

Capse.jl: efficient and auto-differentiable CMB power spectra emulation

Cosmology and Nongalactic Astrophysics 2024-02-02 v3

Abstract

We present Capse.jl, a novel neural network-based emulator designed for rapid and accurate prediction of Cosmic Microwave Background (CMB) temperature, polarization, and lensing angular power spectra. The emulator computes predictions in just a few microseconds with emulation errors below 0.1σ0.1\sigma for all the scales relevant for the upcoming CMB-S4 survey. Capse.jl can also be trained in an hour's time on a 8-cores CPU. We test Capse.jl on Planck 2018, ACT DR4, and 2018 SPT-3G data and demonstrate its capability to derive cosmological constraints comparable to those obtained by traditional methods, but with a computational efficiency that is three to six orders of magnitude higher. We take advantage of the differentiability of our emulators to use gradient-based methods, such as Pathfinder and Hamiltonian Monte Carlo (HMC), which speed up the convergence and increase sampling efficiency. Together, these features make Capse.jl a powerful tool for studying the CMB and its implications for cosmology. When using the fastest combination of our likelihoods, emulators, and analysis algorithm, we are able to perform a Plancky TT + TE + EE analysis in less than a second. To ensure full reproducibility, we provide open access to the codes and data required to reproduce all the results of this work.

Keywords

Cite

@article{arxiv.2307.14339,
  title  = {Capse.jl: efficient and auto-differentiable CMB power spectra emulation},
  author = {Marco Bonici and Federico Bianchini and Jaime Ruiz-Zapatero},
  journal= {arXiv preprint arXiv:2307.14339},
  year   = {2024}
}

Comments

16 pages, 6 figures. Accepted for publication in The Open Journal of Astrophysics. Capse.jl is available $\href{https://github.com/CosmologicalEmulators/Capse.jl}{\text{here}}$

R2 v1 2026-06-28T11:40:57.364Z