Skip to main content
QUICK REVIEW

[Paper Review] Inference Networks for Sequential Monte Carlo in Graphical Models

Brooks Paige, Frank Wood|arXiv (Cornell University)|Feb 22, 2016
Gaussian Processes and Bayesian InferenceComputer Science35 references51 citations
TL;DR

This paper introduces inference networks—learned, structured neural networks that act as high-quality, model-specific proposal distributions for sequential Monte Carlo (SMC) in directed graphical models. By training these networks offline to approximate stochastic inverses of the generative model, the method accelerates SMC inference across diverse problems, significantly reducing particle degeneracy and resampling needs, especially in high-dimensional or multimodal posteriors.

ABSTRACT

We introduce a new approach for amortizing inference in directed graphical models by learning heuristic approximations to stochastic inverses, designed specifically for use as proposal distributions in sequential Monte Carlo methods. We describe a procedure for constructing and learning a structured neural network which represents an inverse factorization of the graphical model, resulting in a conditional density estimator that takes as input particular values of the observed random variables, and returns an approximation to the distribution of the latent variables. This recognition model can be learned offline, independent from any particular dataset, prior to performing inference. The output of these networks can be used as automatically-learned high-quality proposal distributions to accelerate sequential Monte Carlo across a diverse range of problem settings.

Motivation & Objective

  • To automate the design of high-quality proposal distributions for sequential Monte Carlo (SMC) inference in directed graphical models, reducing reliance on manual tuning.
  • To enable amortized inference by learning a recognition model offline that can be reused across multiple datasets and observations.
  • To address the inefficiency of prior-based proposals in SMC when likelihoods are highly informative or multimodal.
  • To provide a structured, interpretable neural network approach that approximates stochastic inverses of the generative model for better proposal quality.
  • To improve SMC efficiency in challenging models like factorial HMMs with combinatorial latent spaces and disconnected modes.

Proposed method

  • The method learns a structured neural network that maps observed variables and previous states to an approximation of the posterior over latent variables, serving as a proposal distribution in SMC.
  • The inference network is trained using a variational objective that minimizes the KL divergence between the true posterior and the proposal distribution, using a differentiable approximation of the SMC importance weights.
  • The network is autoregressive and conditioned on both the current observation and the previous state, enabling sequential modeling of latent variables.
  • The model is trained offline using synthetic data generated from the known generative model, not from real data, ensuring robustness to data distribution shifts.
  • The proposal network is integrated into SMC by replacing the standard prior proposal with the neural network’s output, improving particle diversity and effective sample size.
  • The approach is implemented in PyTorch and evaluated on models including a hierarchical model and a factorial HMM with 20 devices, demonstrating improved sample efficiency.

Experimental results

Research questions

  • RQ1Can a neural network be trained offline to learn high-quality proposal distributions for SMC in directed graphical models?
  • RQ2How does the performance of learned proposals compare to standard prior-based proposals in terms of particle degeneracy and effective sample size?
  • RQ3Can the method generalize across different observations of the same model without retraining?
  • RQ4Does the use of a structured neural network improve proposal quality in multimodal or high-dimensional posteriors?
  • RQ5Can the method reduce the need for resampling in SMC by improving proposal quality?

Key findings

  • In the factorial HMM with 20 devices, the learned proposal reduced particle degeneracy, maintaining a higher effective sample size over 30 time steps compared to prior-based proposals.
  • The number of unique particle ancestries remained significantly higher with learned proposals, indicating better mixing across disconnected modes.
  • The method achieved stable performance across 10 runs, with mean and standard deviation of surviving particles showing consistent improvement.
  • The inference network reduced the need for resampling by providing more diverse and representative proposals, especially in high-likelihood regions.
  • The offline training of the proposal network enabled fast inference on new data without retraining, demonstrating amortization of inference costs.
  • The approach outperformed baseline bootstrap SMC in models with tightly peaked likelihoods, where prior-based proposals are statistically inefficient.

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.