Accelerating astronomical and cosmological inference with Preconditioned Monte Carlo

Minas Karamanis, Florian Beutler, John A. Peacock, David Nabergoj, Uros Seljak
7/12/2022
astro-ph.IMastro-ph.COphysics.comp-ph

Official code: minaskar/pocomc (131 stars, Python, GPL-3.0, last commit 2025-09-11).

Abstract

We introduce Preconditioned Monte Carlo (PMC), a novel Monte Carlo method for Bayesian inference that facilitates efficient sampling of probability distributions with non-trivial geometry. PMC utilises a Normalising Flow (NF) in order to decorrelate the parameters of the distribution and then proceeds by sampling from the preconditioned target distribution using an adaptive Sequential Monte Carlo (SMC) scheme.

Show full abstract

The results produced by PMC include samples from the posterior distribution and an estimate of the model evidence that can be used for parameter inference and model comparison respectively. The aforementioned framework has been thoroughly tested in a variety of challenging target distributions achieving state-of-the-art sampling performance. In the cases of primordial feature analysis and gravitational wave inference, PMC is approximately 50 and 25 times faster respectively than Nested Sampling (NS). We found that in higher dimensional applications the acceleration is even greater. Finally, PMC is directly parallelisable, manifesting linear scaling up to thousands of CPUs.

View on arXivView PDF

Code Implementations(1)

minaskar/pocomcOfficial100%
GPL-3.0

pocoMC: A Python implementation of Preconditioned Monte Carlo for accelerated Bayesian Computation

13112Python, TeXFeb 2, 20221 years agoGPL-3.0
astronomyastrophysicsbayesian-inferenceblack-box-bayesian-inferencecosmology+12 more

Similar Papers

Cite this paper

@article{karamanis2022accelerating,
  title  = {Accelerating astronomical and cosmological inference with Preconditioned Monte Carlo},
  author = {Minas Karamanis and Florian Beutler and John A. Peacock and David Nabergoj and Uros Seljak},
  year   = {2022},
  eprint = {2207.05652},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.05652}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.05652.svg)](https://codeofpaper.com/paper/2207.05652)

Discussion