Fast and Credible Likelihood-Free Cosmology with Truncated Marginal Neural Ratio Estimation
arXiv:2111.08030 · doi:10.1088/1475-7516/2022/09/004
Abstract
Sampling-based inference techniques are central to modern cosmological data analysis; these methods, however, scale poorly with dimensionality and typically require approximate or intractable likelihoods. In this paper we describe how Truncated Marginal Neural Ratio Estimation (TMNRE) (a new approach in so-called simulation-based inference) naturally evades these issues, improving the efficiency, scalability, and trustworthiness of the inferred posteriors. Using measurements of the Cosmic Microwave Background (CMB), we show that TMNRE can achieve converged posteriors using orders of magnitude fewer simulator calls than conventional Markov Chain Monte Carlo (MCMC) methods. Remarkably, the required number of samples is effectively independent of the number of nuisance parameters. In addition, a property called \emph{local amortization} allows the performance of rigorous statistical consistency checks that are not accessible to sampling-based methods. TMNRE promises to become a powerful tool for cosmological data analysis, particularly in the context of extended cosmologies, where the timescale required for conventional sampling-based inference methods to converge can greatly exceed that of simple cosmological models such as CDM. To perform these computations, we use an implementation of TMNRE via the open-source code \texttt{swyft}.
arXiv commentv2: accepted journal version. v1: 37 pages, 13 figures. \texttt{swyft} is available at https://github.com/undark-lab/swyft, and demonstration code for cosmological examples is available at https://github.com/acole1221/swyft-CMB
References in corpus (78)
- SciPy 1.0--Fundamental Algorithms for Scientific Computing in Python
- Array Programming with NumPy
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- MultiNest: an efficient and robust Bayesian inference tool for cosmology and particle physics
- The 6dF Galaxy Survey: Baryon Acoustic Oscillations and the Local Hubble Constant
- The Cosmic Linear Anisotropy Solving System (CLASS) II: Approximation schemes
- The clustering of galaxies in the SDSS-III Baryon Oscillation Spectroscopic Survey: Baryon Acoustic Oscillations in the Data Release 10 and 11 galaxy samples
- The Clustering of the SDSS DR7 Main Galaxy Sample I: A 4 per cent Distance Measure at z=0.15
- Planck 2018 results. V. CMB power spectra and likelihoods
- The frontier of simulation-based inference
- Massive neutrinos and cosmology
- Karhunen-Loeve eigenvalue problems in cosmology: how should we tackle large data sets?
- Global analysis of three-flavour neutrino oscillations: synergies and tensions in the determination of theta_23, delta_CP, and the mass ordering
- Cobaya: Code for Bayesian Analysis of hierarchical physical models
- 2020 Global reassessment of the neutrino oscillation picture
- PolyChord: next-generation nested sampling
- An improved upper limit on the neutrino mass from a direct kinematic method by KATRIN
- Solving Large Scale Structure in Ten Easy Steps with COLA
- Global constraints on absolute neutrino masses and their ordering
- Dynamic nested sampling: an improved algorithm for parameter estimation and evidence calculation
- Massive Lossless Data Compression and Multiple Parameter Estimation from Galaxy Spectra
- Real-time gravitational-wave science with neural posterior estimation
- Probing cosmological parameters with the CMB: Forecasts from full Monte Carlo simulations
- Neutrino mass from Cosmology
- Fast likelihood-free cosmology with neural density estimators and active learning
- Non-linear perturbation theory extension of the Boltzmann code CLASS
- Learning to Predict the Cosmological Structure Formation
- Combining Full-Shape and BAO Analyses of Galaxy Power Spectra: A 1.6% CMB-independent constraint on H0
- COSMOPOWER: emulating cosmological power spectra for accelerated Bayesian inference from next-generation surveys
- Euclid preparation: IX. EuclidEmulator2 -- Power spectrum emulation with massive neutrinos and self-consistent dark energy perturbations
- Massive optimal data compression and density estimation for scalable, likelihood-free inference in cosmology
- Neutrino mass in cosmology: status and prospects
- Fast -free Inference of Simulation Models with Bayesian Conditional Density Estimation
- Neutrino cosmology and Planck
- Exploring Cosmic Origins with CORE: Cosmological Parameters
- Approximating Likelihood Ratios with Calibrated Discriminative Classifiers
- The promising future of a robust cosmological neutrino mass measurement
- Nuisance hardened data compression for fast likelihood-free inference
- Automatic physical inference with information maximising neural networks
- Generalized massive optimal data compression
- Addendum to: Global constraints on absolute neutrino masses and their ordering
- Flexible statistical inference for mechanistic models of neural dynamics
- Approximate Bayesian Computation for Forward Modeling in Cosmology
- Cosmology Intertwined I: Perspectives for the Next Decade
- cosmoabc: Likelihood-free inference via Population Monte Carlo Approximate Bayesian Computation
- Bayesian optimisation for likelihood-free cosmological inference
- Automatic Posterior Transformation for Likelihood-Free Inference
- Breaking the spell of Gaussianity: forecasting with higher order Fisher matrices
- Simulation-Based Inference of Reionization Parameters From 3D Tomographic 21 cm Lightcone Images
- Bayesian emulator optimisation for cosmology: application to the Lyman-alpha forest
- astroABC: An Approximate Bayesian Computation Sequential Monte Carlo sampler for cosmological parameter estimation
- Cosmological parameters from the likelihood analysis of the galaxy power spectrum and bispectrum in real space
- A Conceptual Introduction to Markov Chain Monte Carlo Methods
- CARPool: fast, accurate computation of large-scale structure statistics by pairing costly and cheap cosmological simulations
- Likelihood methods for the combined analysis of CMB temperature and polarisation power spectra
- Lossless, Scalable Implicit Likelihood Inference for Cosmological Fields
- Data compression in cosmology: A compressed likelihood for Planck data
- Kernel-Based Emulator for the 3D Matter Power Spectrum from CLASS
- sCOLA: The N-body COLA Method Extended to the Spatial Domain
- Cosmology with the CMB temperature-polarization correlation
- On the accuracy and precision of correlation functions and field-level inference in cosmology
- NECOLA: Towards a Universal Field-level Cosmological Emulator
- Parameter Inference for Weak Lensing using Gaussian Processes and MOPED
- A Bayesian method for combining theoretical and simulated covariance matrices for large-scale structure surveys
- Lightning-Fast Gravitational Wave Parameter Inference through Neural Amortization
- On Contrastive Learning for Likelihood-free Inference
- Single frequency CMB B-mode inference with realistic foregrounds from a single training image
- Fast and Accurate Non-Linear Predictions of Universes with Deep Learning
- Primordial power spectrum and cosmology from black-box galaxy surveys
- Multifield Cosmology with Artificial Intelligence
- Extreme data compression while searching for new physics
- Solving high-dimensional parameter inference: marginal posterior densities & Moment Networks
- Targeted Likelihood-Free Inference of Dark Matter Substructure in Strongly-Lensed Galaxies
- Arbitrary Marginal Neural Ratio Estimation for Simulation-based Inference
- Simulation-efficient marginal posterior estimation with swyft: stop wasting your precious time
- A Python compressed low- Planck likelihood for temperature and polarization
- Pico: Parameters for the Impatient Cosmologist
- Robust marginalization of baryonic effects for cosmological inference at the field level
Cited by in corpus (32)
- The CAMELS project: public data release
- Neural posterior estimation for exoplanetary atmospheric retrieval
- Robust Field-level Likelihood-free Inference with Galaxies
- Exploring the likelihood of the 21-cm power spectrum with simulation-based inference
- LtU-ILI: An All-in-One Framework for Implicit Inference in Astrophysics and Cosmology
- 21cmEMU: an emulator of 21cmFAST summary observables
- Constraining the X-ray heating and reionization using 21-cm power spectra with Marginal Neural Ratio Estimation
- EFTofLSS meets simulation-based inference: from biased tracers
- Primordial non-Gaussianity and non-Gaussian Covariance
- Fisher Forecasts for Primordial non-Gaussianity from Persistent Homology
- Bayesian model comparison for simulation-based inference
- One never walks alone: the effect of the perturber population on subhalo measurements in strong gravitational lenses
- Cosmology with Persistent Homology: a Fisher Forecast
- Scalable inference with Autoregressive Neural Ratio Estimation
- Fast Likelihood-free Reconstruction of Gravitational Wave Backgrounds
- Simulation-Based Inference of the sky-averaged 21-cm signal from CD-EoR with REACH
- A comparison of Bayesian sampling algorithms for high-dimensional particle physics and cosmology applications
- Fast likelihood-free inference in the LSS Stage IV era
- Inferring subhalo effective density slopes from strong lensing observations with neural likelihood-ratio estimation
- Enhancing Cosmological Model Selection with Interpretable Machine Learning
- MF-Box: Multi-fidelity and multi-scale emulation for the matter power spectrum
- Near-instantaneous Atmospheric Retrievals and Model Comparison with FASTER
- Simulation-based inference has its own Dodelson-Schneider effect (but it knows that it does)
- Reconstructing axion-like particles from beam dumps with simulation-based inference
- Bayesian technique to combine independently-trained Machine-Learning models applied to direct dark matter detection
- STAR NRE: Solving supernova selection effects with set-based truncated auto-regressive neural ratio estimation
- Towards characterizing dark matter subhalo perturbations in stellar streams with graph neural networks
- Observable Optimization for Precision Theory: Machine Learning Energy Correlators
- Finding excesses in model parameter space
- How to embed any likelihood into SBI: Application to Planck + Stage IV galaxy surveys and Dynamical Dark Energy
- Calibrating Bayesian Tension Statistics using Neural Ratio Estimation
- Fast Sampling of Cosmological Initial Conditions with Gaussian Neural Posterior Estimation