Skip to main content
QUICK REVIEW

[Paper Review] Neural Adaptive Sequential Monte Carlo

Shixiang Gu, Zoubin Ghahramani|arXiv (Cornell University)|Jun 10, 2015
Gaussian Processes and Bayesian InferenceComputer Science23 references44 citations
TL;DR

This paper proposes Neural Adaptive Sequential Monte Carlo (NASMC), a gradient-based method that automatically learns optimal proposal distributions for Sequential Monte Carlo (SMC) using neural networks. By minimizing the inclusive Kullback-Leibler divergence between the true posterior and the proposal via stochastic gradient descent, NASMC significantly improves inference accuracy and parameter learning in non-linear state space models and enables effective training of latent variable RNNs, outperforming existing adaptive filters and state-of-the-art baselines.

ABSTRACT

Sequential Monte Carlo (SMC), or particle filtering, is a popular class of methods for sampling from an intractable target distribution using a sequence of simpler intermediate distributions. Like other importance sampling-based methods, performance is critically dependent on the proposal distribution: a bad proposal can lead to arbitrarily inaccurate estimates of the target distribution. This paper presents a new method for automatically adapting the proposal using an approximation of the Kullback-Leibler divergence between the true posterior and the proposal distribution. The method is very flexible, applicable to any parameterized proposal distribution and it supports online and batch variants. We use the new framework to adapt powerful proposal distributions with rich parameterizations based upon neural networks leading to Neural Adaptive Sequential Monte Carlo (NASMC). Experiments indicate that NASMC significantly improves inference in a non-linear state space model outperforming adaptive proposal methods including the Extended Kalman and Unscented Particle Filters. Experiments also indicate that improved inference translates into improved parameter learning when NASMC is used as a subroutine of Particle Marginal Metropolis Hastings. Finally we show that NASMC is able to train a latent variable recurrent neural network (LV-RNN) achieving results that compete with the state-of-the-art for polymorphic music modelling. NASMC can be seen as bridging the gap between adaptive SMC methods and the recent work in scalable, black-box variational inference.

Motivation & Objective

  • To address the critical sensitivity of SMC methods to poor proposal distributions, which leads to high-variance estimates and poor performance.
  • To develop a flexible, end-to-end trainable framework for automatically adapting proposal distributions in SMC using neural networks.
  • To improve inference accuracy and mixing in Particle Marginal Metropolis-Hastings (PMMH) by enhancing the proposal quality.
  • To enable effective training of complex latent variable models, such as recurrent neural networks, using SMC.
  • To bridge the gap between adaptive SMC and black-box variational inference by leveraging neural parameterizations and gradient-based optimization.

Proposed method

  • The method minimizes the inclusive Kullback-Leibler divergence between the true posterior and the proposal distribution using gradient-based optimization.
  • It uses differentiable neural networks to parameterize the proposal distribution, enabling flexible, high-capacity models including mixture density networks.
  • Gradients of the KL divergence are estimated using samples from the SMC algorithm, enabling stochastic backpropagation through the sequential filtering process.
  • The framework supports both online and batch learning variants, allowing adaptation during sequential inference or in a retrospective manner.
  • The proposal network is trained via stochastic gradient descent (e.g., Adam optimizer) using importance weights derived from SMC.
  • The method integrates seamlessly into existing SMC pipelines and can be used as a subroutine in PMMH for Bayesian parameter learning.

Experimental results

Research questions

  • RQ1Can a neural network be effectively trained to adaptively improve proposal distributions in SMC, leading to more accurate posterior approximations?
  • RQ2How does NASMC compare to established adaptive SMC methods like EKPF and UPF in terms of inference accuracy and effective sample size?
  • RQ3To what extent does improved SMC inference enhance the mixing and convergence of Particle Marginal Metropolis-Hastings (PMMH) for parameter learning?
  • RQ4Can NASMC train complex latent variable models, such as LV-RNNs, with performance competitive to state-of-the-art methods?
  • RQ5What is the impact of using the inclusive KL divergence in SMC compared to the exclusive KL used in variational inference?

Key findings

  • NASMC significantly outperforms the bootstrap filter and adaptive methods like EKPF and UPF on standard SMC benchmarks, especially in non-linear state space models.
  • On the JSBChorales dataset, NASMC achieved a negative log-likelihood of 3.99, outperforming the bootstrap filter (4.26) and matching or surpassing other state-of-the-art models.
  • The method improved mixing and reduced burn-in in PMMH, demonstrating that better proposals lead to more efficient Bayesian parameter learning.
  • NASMC enabled effective training of latent variable RNNs (LV-RNNs), achieving competitive results on music generation tasks, including a test set NLL of 7.61 on the piano-midi-de dataset.
  • The framework successfully handled high-dimensional and complex models, such as those with deep neural network proposals, which are intractable for traditional particle filters.
  • Experiments show that using the inclusive KL divergence in SMC, combined with SMC-based gradient estimation, leads to more robust and accurate posterior approximations than variational free-energy methods in sequential settings.

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.