A complete framework for cosmological emulation and inference with <tt>CosmoPower</tt>
ABSTRACT We present a coherent, re-usable python framework building on the CosmoPower emulator code for high-accuracy calculations of cosmological observables with Einstein–Boltzmann codes. For detailed statistical analyses, such codes require high computing power, making parameter space exploration costly, especially for beyond-$\Lambda$CDM analyses. Machine learning-enabled emulators of Einstein–Boltzmann codes are becoming an increasingly popular solution to this problem. To enable generation, sharing, and use of emulators for inference, we define standards for robustly describing, packaging, and distributing them. We present software for easily performing these tasks in an automated and replicable manner and provide examples and guidelines for generating emulators and wrappers for using them in popular cosmological inference codes. We demonstrate our framework with a suite of high-accuracy emulators for the CAMB code’s calculations of CMB $C_\ell$, $P(k)$, background evolution, and derived parameter quantities. We show these emulators are accurate enough for analysing both $\Lambda$CDM and a set of extension models ($N_{\rm eff}$, $\sum m_\nu$, $w_0 w_a$) with stage-IV observatories, recovering the original high-accuracy spectra to tolerances well within the cosmic variance uncertainties. We show our emulators also recover cosmological parameters in a simulated cosmic-variance limited experiment, finding results well within $0.1 \sigma$ of the input cosmology, while requiring $\lesssim 1/50$ of the evaluation time.
Authors
- Boris Bolliet (ORCID: https://orcid.org/0000-0003-4922-7401)
- I. Harrison (ORCID: https://orcid.org/0000-0002-4437-0770)
- Hidde T. Jense (ORCID: https://orcid.org/0000-0002-9429-0015)
- Erminia Calabrese (ORCID: https://orcid.org/0000-0003-0837-0068)
- A. Spurio Mancini (ORCID: https://orcid.org/0000-0001-5698-0990)
- J. Colin Hill (ORCID: https://orcid.org/0000-0002-9539-0835)
- J. Dunkley
Institutions
- Royal Holloway University of London (GB)
- Princeton University (US)
- University of Cambridge (GB)
- Department of Space (IN)
- University College London (GB)
- Columbia University (US)
- Cardiff University (GB)
- University of Wales (GB)
Publication Details
- Journal
- RAS Techniques and Instruments
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1093/rasti/rzaf002
- Citations
- 8
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 18.16
Funders
- European Commission
- Ministry of Urban Development
- Science and Technology Facilities Council
- European Regional Development Fund