DeepAI AI Chat
Log In Sign Up

Simulation-efficient marginal posterior estimation with swyft: stop wasting your precious time

by   Benjamin Kurt Miller, et al.

We present algorithms (a) for nested neural likelihood-to-evidence ratio estimation, and (b) for simulation reuse via an inhomogeneous Poisson point process cache of parameters and corresponding simulations. Together, these algorithms enable automatic and extremely simulator efficient estimation of marginal and joint posteriors. The algorithms are applicable to a wide range of physics and astronomy problems and typically offer an order of magnitude better simulator efficiency than traditional likelihood-based sampling methods. Our approach is an example of likelihood-free inference, thus it is also applicable to simulators which do not offer a tractable likelihood function. Simulator runs are never rejected and can be automatically reused in future analysis. As functional prototype implementation we provide the open-source software package swyft.


page 1

page 2

page 3

page 4


Truncated Marginal Neural Ratio Estimation

Parametric stochastic simulators are ubiquitous in science, often featur...

Fast and Credible Likelihood-Free Cosmology with Truncated Marginal Neural Ratio Estimation

Sampling-based inference techniques are central to modern cosmological d...

Computational Discovery of Microstructured Composites with Optimal Strength-Toughness Trade-Offs

The conflict between strength and toughness is a fundamental problem in ...

On Contrastive Learning for Likelihood-free Inference

Likelihood-free methods perform parameter inference in stochastic simula...

Sequential Neural Likelihood: Fast Likelihood-free Inference with Autoregressive Flows

We present Sequential Neural Likelihood (SNL), a new method for Bayesian...

Variational Inference over Non-differentiable Cardiac Simulators using Bayesian Optimization

Performing inference over simulators is generally intractable as their r...

Score Modeling for Simulation-based Inference

Neural Posterior Estimation methods for simulation-based inference can b...

Code Repositories


A python package for truncated marginal neural ratio estimation estimation.

view repo