[Paper Review] Sampling-Based Accuracy Testing of Posterior Estimators for General Inference
Introduces TARP: a sampling-based coverage test to assess the accuracy of posterior estimators from generative models, proving necessary and sufficient conditions for correctness without evaluating the posterior directly.
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.
Motivation & Objective
- Motivate robust evaluation of posterior estimators when explicit posterior evaluations are unavailable.
- Develop a theoretically grounded coverage-testing framework to certify posterior accuracy.
- Provide practical algorithms (TARP) that implement the necessary and sufficient conditions for posterior correctness.
- Demonstrate the method on synthetic and high-dimensional problems, including gravitational lensing.
- Offer guidance on the choice of reference point distributions and distance metrics in testing.
Proposed method
- Define accuracy of a posterior estimator as equality to the true posterior across (x, θ).
- Introduce positionable credible region generators and compute expected coverage probabilities (ECP).
- Prove that correct expected coverage for all positionings implies exact posterior recovery (Theorem 3).
- Develop TARP (Test of Accuracy with Random Points) to estimate ECP without requiring explicit posterior evaluations.
- Propose a practical algorithm (Algorithm 2) that samples posterior draws, selects random reference points θ_r, and uses a distance metric to form random-point regions.
- Demonstrate robustness to choices of θ_r distribution and distance metric, and compare with HPD-based coverage.

Experimental results
Research questions
- RQ1Can we certify the accuracy of posterior estimators using coverage checks that do not require evaluating the posterior density?
- RQ2Is correct expected coverage for all positionable credible regions a necessary and sufficient condition for posterior accuracy (Theorem 3)?
Key findings
- TARP yields an exact diagnostic: correct expected coverage across random point regions implies the posterior estimator is accurate.
- HPD-based coverage can be blind to certain biases or uninformative posteriors, whereas TARP can detect such issues.
- TARP results are robust to the distribution of reference points and to the choice of distance metric in high-dimensional settings.
- The method successfully detects inaccuracies in synthetic Gaussian toy models and in high-dimensional gravitational lensing source reconstruction tasks.
- Experiments show TARP identifies over- and under-confident posteriors and biases that HPD coverage misses.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.