Truncated Marginal Neural Ratio Estimation

Benjamin Kurt Miller, Alex Cole, Patrick Forré, Gilles Louppe, Christoph Weniger
7/2/2021
80 citations
stat.MLastro-ph.IMcs.LG

Official code: undark-lab/swyft (172 stars, Jupyter Notebook, PyTorch, last commit 2024-03-30). 1 more implementation below.

Abstract

Parametric stochastic simulators are ubiquitous in science, often featuring high-dimensional input parameters and/or an intractable likelihood. Performing Bayesian parameter inference in this context can be challenging.

Show full abstract

We present a neural simulation-based inference algorithm which simultaneously offers simulation efficiency and fast empirical posterior testability, which is unique among modern algorithms. Our approach is simulation efficient by simultaneously estimating low-dimensional marginal posteriors instead of the joint posterior and by proposing simulations targeted to an observation of interest via a prior suitably truncated by an indicator function. Furthermore, by estimating a locally amortized posterior our algorithm enables efficient empirical tests of the robustness of the inference results. Since scientists cannot access the ground truth, these tests are necessary for trusting inference in real-world applications. We perform experiments on a marginalized version of the simulation-based inference benchmark and two complex and narrow posteriors, highlighting the simulator efficiency of our algorithm as well as the quality of the estimated marginal posteriors.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
undark-lab/swyftOfficial172Jupyter Notebook–2024-03-30
bkmi/tmnreOfficial8Jupyter NotebookMIT2021-11-29
undark-lab/swyftOfficial100%
PyTorch

A system for scientific simulation-based inference at scale.

17219Jupyter Notebook, PythonMay 25, 20202 years agoNOASSERTION
likelihood-free-inferencemachine-learningmarginal-neural-ratio-estimationneural-ratio-estimationparameter-estimation+4 more
bkmi/tmnreOfficial100%
MIT

Truncated marginal neural ratio estimation based on swyft and amortized approximate ratio estimators.

83Jupyter Notebook, PythonMay 31, 20215 years agoMIT

Similar Papers

Cite this paper

@article{miller2021truncated,
  title  = {Truncated Marginal Neural Ratio Estimation},
  author = {Benjamin Kurt Miller and Alex Cole and Patrick Forré and Gilles Louppe and Christoph Weniger},
  year   = {2021},
  eprint = {2107.01214},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.01214}
}

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

Discussion