English

High-Dimensional Bayesian Model Comparison in Cosmology with GPU-accelerated Nested Sampling and Neural Emulators

Cosmology and Nongalactic Astrophysics 2025-10-08 v2

Abstract

We demonstrate a GPU-accelerated nested sampling framework for efficient high-dimensional Bayesian inference in cosmology. Using JAX-based neural emulators and likelihoods for cosmic microwave background and cosmic shear analyses, our approach provides parameter constraints and direct calculation of Bayesian evidence. In the 39-dimensional Λ\LambdaCDM vs w0waw_0w_a shear analysis, we produce Bayes factors and a robust error bar in just 2 days on a single A100 GPU, without loss of accuracy. Where CPU-based nested sampling can now be outpaced by methods relying on MCMC sampling and decoupled evidence estimation, we demonstrate that with GPU acceleration nested sampling offers the necessary speed-up to put it on equal computational footing with these methods, especially where reliable model comparison is paramount. We also explore interpolation in the matter power spectrum for cosmic shear analysis, finding a further factor of 4 speed-up with consistent posterior contours and Bayes factor. We put forward both nested and gradient-based sampling as useful tools for the modern cosmologist, where cutting-edge inference pipelines can yield orders of magnitude improvements in computation time.

Keywords

Cite

@article{arxiv.2509.13307,
  title  = {High-Dimensional Bayesian Model Comparison in Cosmology with GPU-accelerated Nested Sampling and Neural Emulators},
  author = {Toby Lovick and David Yallup and Davide Piras and Alessio Spurio Mancini and Will Handley},
  journal= {arXiv preprint arXiv:2509.13307},
  year   = {2025}
}

Comments

12 pages 5 figures. Updated to add clarity in the main results table and detail added throughout. Comments welcome

R2 v1 2026-07-01T05:40:09.144Z