Understanding posterior projection effects with normalizing flows

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Raveri, Marco, Doux, Cyrille, Pandey, Shivam
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916393735159808
author Raveri, Marco
Doux, Cyrille
Pandey, Shivam
author_facet Raveri, Marco
Doux, Cyrille
Pandey, Shivam
contents Many modern applications of Bayesian inference, such as in cosmology, are based on complicated forward models with high-dimensional parameter spaces. This considerably limits the sampling of posterior distributions conditioned on observed data. In turn, this reduces the interpretability of posteriors to their one- and two-dimensional marginal distributions, when more information is available in the full dimensional distributions. We show how to learn smooth and differentiable representations of posterior distributions from their samples using normalizing flows, which we train with an added evidence error loss term, to improve accuracy in multiple ways. Motivated by problems from cosmology, we implement a robust method to obtain one and two-dimensional posterior profiles. These are obtained by optimizing, instead of integrating, over other parameters, and are thus less prone than marginals to so-called projection effects. We also demonstrate how this representation provides an accurate estimator of the Bayesian evidence, with log error at the 0.2 level, allowing accurate model comparison. We test our method on multi-modal mixtures of Gaussians up to dimension 32 before applying it to simulated cosmology examples. Our code is publicly available at https://github.com/mraveri/tensiometer.
format Preprint
id arxiv_https___arxiv_org_abs_2409_09101
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Understanding posterior projection effects with normalizing flows
Raveri, Marco
Doux, Cyrille
Pandey, Shivam
Instrumentation and Methods for Astrophysics
Cosmology and Nongalactic Astrophysics
Many modern applications of Bayesian inference, such as in cosmology, are based on complicated forward models with high-dimensional parameter spaces. This considerably limits the sampling of posterior distributions conditioned on observed data. In turn, this reduces the interpretability of posteriors to their one- and two-dimensional marginal distributions, when more information is available in the full dimensional distributions. We show how to learn smooth and differentiable representations of posterior distributions from their samples using normalizing flows, which we train with an added evidence error loss term, to improve accuracy in multiple ways. Motivated by problems from cosmology, we implement a robust method to obtain one and two-dimensional posterior profiles. These are obtained by optimizing, instead of integrating, over other parameters, and are thus less prone than marginals to so-called projection effects. We also demonstrate how this representation provides an accurate estimator of the Bayesian evidence, with log error at the 0.2 level, allowing accurate model comparison. We test our method on multi-modal mixtures of Gaussians up to dimension 32 before applying it to simulated cosmology examples. Our code is publicly available at https://github.com/mraveri/tensiometer.
title Understanding posterior projection effects with normalizing flows
topic Instrumentation and Methods for Astrophysics
Cosmology and Nongalactic Astrophysics
url https://arxiv.org/abs/2409.09101