Skip to main content
QUICK REVIEW

[Paper Review] $\it{CosmoPower} \,$: emulating cosmological power spectra for accelerated Bayesian inference from next-generation surveys

A. Spurio Mancini, Davide Piras|arXiv (Cornell University)|Jun 9, 2021
Galaxies: Formation, Evolution, PhenomenaPhysics and Astronomy20 references5 citations
TL;DR

CosmoPower introduces a suite of differentiable neural network emulators for cosmological power spectra that accelerate Bayesian inference by up to 10,000× by replacing slow Boltzmann code computations. It achieves sub-0.4% error in matter power spectra and <20% error relative to shot noise in CMB spectra across key cosmological parameter spaces, enabling near-instant posterior estimation with full compatibility to standard samplers.

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\sigma$ region of parameter space around the $\it{Planck}$ best fit values with an error $\lesssim 20\%$ 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 https://github.com/alessiospuriomancini/cosmopower .

Motivation & Objective

  • To address the computational bottleneck in cosmological parameter estimation caused by repeated calls to slow Boltzmann solvers during Markov Chain Monte Carlo (MCMC) sampling.
  • To develop a flexible, reusability-friendly emulator that does not require retraining when nuisance parameters or redshift distributions change.
  • To achieve high-accuracy emulation of both matter and CMB power spectra across relevant cosmological parameter spaces for upcoming large-scale structure and CMB surveys.
  • To demonstrate that the emulator preserves statistical fidelity by matching fiducial posterior constraints within sampling noise.
  • To enable real-time cosmological inference by reducing inference pipeline runtime from hours to seconds.

Proposed method

  • The method employs deep neural networks trained on a large, diverse set of cosmological simulations spanning the $\Lambda$CDM parameter space and beyond.
  • The emulators are trained to predict matter power spectra $P(k,z)$ and CMB power spectra $C_l^{\text{TT}}, C_l^{\text{EE}}, C_l^{\text{PP}}$ as functions of cosmological parameters and redshift.
  • The architecture is designed to be differentiable, allowing seamless integration with standard Bayesian samplers such as MultiNest, PyStan, and Dynesty.
  • The training data includes $k \in [10^{-5}, 10] \, \mathrm{Mpc}^{-1}$ and $z \in [0, 5]$ for matter spectra, and the $5\sigma$ region around Planck 2018 best-fit values for CMB spectra.
  • The emulators are validated by comparing posterior distributions from full likelihoods and emulator-based inference, ensuring statistical consistency.
  • The entire framework is implemented in Python and released as an open-source library for broad community use.

Experimental results

Research questions

  • RQ1Can a neural network emulator replace Boltzmann code computations in cosmological likelihood evaluations with negligible statistical bias?
  • RQ2To what extent can the emulator maintain accuracy across varying astrophysical nuisance parameters and redshift distributions without retraining?
  • RQ3What speedup can be achieved in full Bayesian inference pipelines using the emulator compared to traditional methods?
  • RQ4How accurate are the emulator predictions relative to expected experimental noise levels, particularly for upcoming CMB and weak lensing surveys?
  • RQ5Can the emulator be used directly with standard cosmological samplers while preserving posterior constraints within sampling noise?

Key findings

  • The matter power spectrum emulator achieves a maximum relative error of less than 0.4% across $k \in [10^{-5}, 10] \, \mathrm{Mpc}^{-1}$ and $z \in [0, 5]$.
  • The CMB temperature, polarization, and lensing potential power spectrum emulators achieve errors less than 20% of the expected shot noise for the Simons Observatory in the $5\sigma$ region around Planck 2018 best-fit values.
  • Posterior distributions recovered using CosmoPower match those from full likelihood evaluations within statistical sampling noise in all tested cases, including Kilo-Degree Survey and Euclid-like simulations.
  • The inference pipeline achieves a speed-up factor of up to $O(10^4)$, reducing runtime from hours to just a few seconds for a full posterior exploration.
  • The emulator enables real-time cosmological inference, as demonstrated by a full Planck 2018 temperature and polarization likelihood analysis completed in seconds.
  • The open-source implementation is fully compatible with major cosmological samplers and requires no retraining for changes in nuisance parameters or redshift distributions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.