English

Bayesian evidence estimation from posterior samples with normalizing flows

Machine Learning 2024-12-06 v3 Cosmology and Nongalactic Astrophysics Machine Learning General Relativity and Quantum Cosmology

Abstract

We propose a novel method (floZfloZ), based on normalizing flows, to estimate the Bayesian evidence (and its numerical uncertainty) from a pre-existing set of samples drawn from the unnormalized posterior distribution. We validate it on distributions whose evidence is known analytically, up to 15 parameter space dimensions, and compare with two state-of-the-art techniques for estimating the evidence: nested sampling (which computes the evidence as its main target) and a kk-nearest-neighbors technique that produces evidence estimates from posterior samples. Provided representative samples from the target posterior are available, our method is more robust to posterior distributions with sharp features, especially in higher dimensions. For a simple multivariate Gaussian, we demonstrate its accuracy for up to 200 dimensions with 10510^5 posterior samples. floZfloZ has wide applicability, e.g., to estimate evidence from variational inference, Markov Chain Monte Carlo samples, or any other method that delivers samples and their likelihood from the unnormalized posterior density. As a physical application, we use floZfloZ to compute the Bayes factor for the presence of the first overtone in the ringdown signal of the gravitational wave data of GW150914, finding good agreement with nested sampling.

Keywords

Cite

@article{arxiv.2404.12294,
  title  = {Bayesian evidence estimation from posterior samples with normalizing flows},
  author = {Rahul Srinivasan and Marco Crisostomi and Roberto Trotta and Enrico Barausse and Matteo Breschi},
  journal= {arXiv preprint arXiv:2404.12294},
  year   = {2024}
}

Comments

15 pages, 8 figures, 1 table

R2 v1 2026-06-28T15:58:54.889Z