Sampling-Based Accuracy Testing of Posterior Estimators for General Inference

Pablo Lemos, Adam Coogan, Yashar Hezaveh, Laurence Perreault-Levasseur
2/6/2023
stat.MLastro-ph.IMcs.LG

No official code found. Best implementation: Ciela-Institute/tarp (33 stars, MIT, last commit 2024-08-12).

Abstract

Parameter inference, i.e. inferring the posterior distribution of the parameters of a statistical model given some data, is a central problem to many scientific disciplines. Generative models can be used as an alternative to Markov Chain Monte Carlo methods for conducting posterior inference, both in likelihood-based and simulation-based problems. However, assessing the accuracy of posteriors encoded in generative models is not straightforward. In this paper, we introduce `Tests of Accuracy with Random Points' (TARP) coverage testing as a method to estimate coverage probabilities of generative posterior estimators. Our method differs from previously-existing coverage-based methods, which require posterior evaluations. We prove that our approach is necessary and sufficient to show that a posterior estimator is accurate. We demonstrate the method on a variety of synthetic examples, and show that TARP can be used to test the results of posterior inference analyses in high-dimensional spaces. We also show that our method can detect inaccurate inferences in cases where existing methods fail.

View on arXivView PDF

Code Implementations(1)

MIT

Coverage tests to check the quality of your posterior estimators.

339Python, Jupyter NotebookFeb 22, 20232 years agoMIT
bayesian-inferencestatistics

Similar Papers

Cite this paper

@article{lemos2023samplingbased,
  title  = {Sampling-Based Accuracy Testing of Posterior Estimators for General Inference},
  author = {Pablo Lemos and Adam Coogan and Yashar Hezaveh and Laurence Perreault-Levasseur},
  year   = {2023},
  eprint = {2302.03026},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.03026v2},
  journal = {ICML 2023 2023}
}

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/2302.03026.svg)](https://codeofpaper.com/paper/2302.03026)

Discussion