Variational Inference with Coverage Guarantees in Simulation-Based Inference

Yash Patel, Declan McNamara, Jackson Loper, Jeffrey Regier, Ambuj Tewari
5/23/2023
stat.MEcs.LG

No official code found. Best implementation: yashpatel5400/canvi (1 star, BSD-3-Clause, last commit 2025-10-28).

Abstract

Amortized variational inference is an often employed framework in simulation-based inference that produces a posterior approximation that can be rapidly computed given any new observation. Unfortunately, there are few guarantees about the quality of these approximate posteriors. We propose Conformalized Amortized Neural Variational Inference (CANVI), a procedure that is scalable, easily implemented, and provides guaranteed marginal coverage. Given a collection of candidate amortized posterior approximators, CANVI constructs conformalized predictors based on each candidate, compares the predictors using a metric known as predictive efficiency, and returns the most efficient predictor. CANVI ensures that the resulting predictor constructs regions that contain the truth with a user-specified level of probability. CANVI is agnostic to design decisions in formulating the candidate approximators and only requires access to samples from the forward model, permitting its use in likelihood-free settings. We prove lower bounds on the predictive efficiency of the regions produced by CANVI and explore how the quality of a posterior approximation relates to the predictive efficiency of prediction regions based on that approximation. Finally, we demonstrate the accurate calibration and high predictive efficiency of CANVI on a suite of simulation-based inference benchmark tasks and an important scientific task: analyzing galaxy emission spectra.

View on arXivView PDF

Code Implementations(1)

yashpatel5400/canviCommunity100%
BSD-3-Clause

[ICML 2024] Variational Inference with Coverage Guarantees in Simulation-Based Inference

10TeX, ShellMar 6, 202311 months agoBSD-3-Clause

Similar Papers

Cite this paper

@article{patel2023variational,
  title  = {Variational Inference with Coverage Guarantees in Simulation-Based Inference},
  author = {Yash Patel and Declan McNamara and Jackson Loper and Jeffrey Regier and Ambuj Tewari},
  year   = {2023},
  eprint = {2305.14275},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.14275v3},
  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/2305.14275.svg)](https://codeofpaper.com/paper/2305.14275)

Discussion