CosmoPower-JAX: high-dimensional Bayesian inference with differentiable cosmological emulators

05/10/2023
by   D. Piras, et al.
0

We present CosmoPower-JAX, a JAX-based implementation of the CosmoPower framework, which accelerates cosmological inference by building neural emulators of cosmological power spectra. We show how, using the automatic differentiation, batch evaluation and just-in-time compilation features of JAX, and running the inference pipeline on graphics processing units (GPUs), parameter estimation can be accelerated by orders of magnitude with advanced gradient-based sampling techniques. These can be used to efficiently explore high-dimensional parameter spaces, such as those needed for the analysis of next-generation cosmological surveys. We showcase the accuracy and computational efficiency of CosmoPower-JAX on two simulated Stage IV configurations. We first consider a single survey performing a cosmic shear analysis totalling 37 model parameters. We validate the contours derived with CosmoPower-JAX and a Hamiltonian Monte Carlo sampler against those derived with a nested sampler and without emulators, obtaining a speed-up factor of 𝒪(10^3). We then consider a combination of three Stage IV surveys, each performing a joint cosmic shear and galaxy clustering (3x2pt) analysis, for a total of 157 model parameters. Even with such a high-dimensional parameter space, CosmoPower-JAX provides converged posterior contours in 3 days, as opposed to the estimated 6 years required by standard methods. CosmoPower-JAX is fully written in Python, and we make it publicly available to help the cosmological community meet the accuracy requirements set by next-generation surveys.

READ FULL TEXT
research
07/18/2023

Field-Level Inference with Microcanonical Langevin Monte Carlo

Field-level inference provides a means to optimally extract information ...
research
02/15/2022

GIGA-Lens: Fast Bayesian Inference for Strong Gravitational Lens Modeling

We present GIGA-Lens: a gradient-informed, GPU-accelerated Bayesian fram...
research
05/23/2019

Gaussbock: Fast parallel-iterative cosmological parameter estimation with Bayesian nonparametrics

We present and apply Gaussbock, a new embarrassingly parallel iterative ...
research
12/18/2018

Computational Solutions for Bayesian Inference in Mixture Models

This chapter surveys the most standard Monte Carlo methods available for...
research
03/14/2022

Accelerated Bayesian SED Modeling using Amortized Neural Posterior Estimation

State-of-the-art spectral energy distribution (SED) analyses use a Bayes...
research
07/16/2021

Hamiltonian Monte Carlo for Regression with High-Dimensional Categorical Data

Latent variable models are becoming increasingly popular in economics fo...
research
05/17/2021

GPU-Accelerated Hierarchical Bayesian Inference with Application to Modeling Cosmic Populations: CUDAHM

We describe a computational framework for hierarchical Bayesian inferenc...

Please sign up or login with your details

Forgot password? Click here to reset