COSMOPOWER: emulating cosmological power spectra for accelerated Bayesian inference from next-generation surveys
A. Spurio Mancini, D. Piras, J. Alsing, B. Joachimi, M. P. Hobson
TL;DR
CosmoPower delivers neural-network emulators for both LSS and CMB power spectra, replacing computationally intensive Boltzmann solvers to enable rapid Bayesian inference for current and upcoming surveys. By using direct NN and PCA-based strategies, trained over broad parameter ranges and integrated with standard samplers, it achieves up to ~10^4–10^5x speed-ups while maintaining unbiased cosmological constraints as validated on KiDS, Euclid-like, and Planck analyses. The work demonstrates strong end-to-end applicability, differentiability, and GPU scalability, with plans to extend to higher-order statistics and beyond-LCDM cosmologies. Publicly available and designed to operate train-once-use-repeatedly, CosmoPower stands to substantially boost the scientific return of Stage IV cosmology analyses.
Abstract
We present $\it{CosmoPower}$, a suite of neural cosmological power spectrum emulators providing orders-of-magnitude acceleration for parameter estimation from two-point statistics analyses of Large-Scale Structure (LSS) and Cosmic Microwave Background (CMB) surveys. The emulators replace the computation of matter and CMB power spectra from Boltzmann codes; thus, they do not need to be re-trained for different choices of astrophysical nuisance parameters or redshift distributions. The matter power spectrum emulation error is less than $0.4\%$ in the wavenumber range $k \in [10^{-5}, 10] \, \mathrm{Mpc}^{-1}$, for redshift $z \in [0, 5]$. $\it{CosmoPower}$ emulates CMB temperature, polarisation and lensing potential power spectra in the $5σ$ region of parameter space around the $\it{Planck}$ best fit values with an error $\lesssim 10\%$ of the expected shot noise for the forthcoming Simons Observatory. $\it{CosmoPower}$ is showcased on a joint cosmic shear and galaxy clustering analysis from the Kilo-Degree Survey, as well as on a Stage IV $\it{Euclid}$-like simulated cosmic shear analysis. For the CMB case, $\it{CosmoPower}$ is tested on a $\it{Planck}$ 2018 CMB temperature and polarisation analysis. The emulators always recover the fiducial cosmological constraints with differences in the posteriors smaller than sampling noise, while providing a speed-up factor up to $O(10^4)$ to the complete inference pipeline. This acceleration allows posterior distributions to be recovered in just a few seconds, as we demonstrate in the $\it{Planck}$ likelihood case. $\it{CosmoPower}$ is written entirely in Python, can be interfaced with all commonly used cosmological samplers and is publicly available at https://github.com/alessiospuriomancini/cosmopower .
