Skip to main content
QUICK REVIEW

[Paper Review] Sequential Neural Posterior and Likelihood Approximation

Samuel Wiqvist, Jes Frellsen|arXiv (Cornell University)|Feb 12, 2021
Model Reduction and Neural NetworksPhysics and Astronomy35 references6 citations
TL;DR

This paper proposes Sequential Neural Posterior and Likelihood Approximation (SNPLA), a simulation-based inference method that jointly learns approximate posterior and likelihood distributions using normalizing flows, avoiding MCMC sampling and correction steps. SNPLA achieves up to 12,000× faster posterior sampling than MCMC-based methods like SNL, while maintaining competitive inference accuracy with the same number of model simulations.

ABSTRACT

We introduce the sequential neural posterior and likelihood approximation (SNPLA) algorithm. SNPLA is a normalizing flows-based algorithm for inference in implicit models, and therefore is a simulation-based inference method that only requires simulations from a generative model. SNPLA avoids Markov chain Monte Carlo sampling and correction-steps of the parameter proposal function that are introduced in similar methods, but that can be numerically unstable or restrictive. By utilizing the reverse KL divergence, SNPLA manages to learn both the likelihood and the posterior in a sequential manner. Over four experiments, we show that SNPLA performs competitively when utilizing the same number of model simulations as used in other methods, even though the inference problem for SNPLA is more complex due to the joint learning of posterior and likelihood function. Due to utilizing normalizing flows SNPLA generates posterior draws much faster (4 orders of magnitude) than MCMC-based methods.

Motivation & Objective

  • Address the computational inefficiency of MCMC sampling in simulation-based inference (SBI) methods for implicit models.
  • Eliminate the need for correction steps in posterior estimation, a known limitation in methods like SNPE.
  • Simultaneously learn an accurate, fast-to-sample likelihood model as a by-product, enabling efficient data generation.
  • Provide a unified framework that supports both posterior inference and rapid simulation from the learned likelihood model.
  • Enable efficient exploration of parameter spaces via the learned likelihood, especially useful under computational constraints.

Proposed method

  • Utilizes normalizing flows to model both the posterior $\tilde{p}_{\phi_P}(\theta|x_{\text{obs}})$ and likelihood $\tilde{p}_{\phi_L}(x|\theta)$ distributions.
  • Employs the reverse Kullback–Leibler (KL) divergence to train the posterior, avoiding correction steps required in SNPE.
  • Sequentially trains the posterior and likelihood models using a joint optimization objective over simulated data.
  • Leverages the invertibility and tractability of normalizing flows for fast posterior sampling via a single forward pass.
  • Integrates end-to-end learning of summary statistics alongside posterior and likelihood models for improved generalization.
  • Uses the same set of model simulations for both posterior and likelihood learning, ensuring efficiency and consistency.

Experimental results

Research questions

  • RQ1Can a single SBI method jointly learn both the posterior and likelihood distributions without relying on MCMC or correction steps?
  • RQ2How does the performance of SNPLA compare to SNL and SNPE-C in terms of posterior accuracy when using the same number of model simulations?
  • RQ3To what extent does the joint learning of posterior and likelihood improve sampling speed and computational efficiency?
  • RQ4Can the learned likelihood model be used effectively for rapid data generation and parameter space exploration?
  • RQ5Does the inclusion of learned summary statistics improve inference robustness and generalization across diverse models?

Key findings

  • SNPLA generates posterior samples approximately 12,000 times faster than SNL, achieving a 4-order-of-magnitude speedup in sampling.
  • With the same number of model simulations, SNPLA produces posterior inference comparable in accuracy to SNL and SNPE-C, though with slightly higher variability.
  • SNPLA's training run-time is on average 5.6× faster than SNL and 2× faster than SNRE-B, despite learning both posterior and likelihood jointly.
  • The learned likelihood model enables rapid simulation of artificial data, which is particularly useful for parameter space exploration and rare-event estimation.
  • For the HH model, SNPLA converges faster in wall-clock time than SNL, demonstrating practical efficiency gains in complex, high-dimensional settings.
  • The method supports plug-and-play inference by jointly learning summary statistics, posterior, and likelihood, enhancing flexibility and reusability.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.