Differentiable Sequential Monte Carlo for Variational Inference

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 116 papers26 conceptsfrozen 2026-10-04

Sequential Monte Carlo (SMC) methods, or particle filters, provide a powerful way to estimate the marginal likelihood of complex time-series data. However, integrating them into deep learning frameworks requires differentiating through the algorithm to train model parameters. The central challenge in this research direction is the "resampling" step—a discrete operation that is traditionally non-differentiable and introduces high-variance gradients.

The Core Mechanism: Tighter Variational Bounds

Standard variational autoencoders for sequences often rely on the Evidence Lower Bound (ELBO). Researchers like Chris J. Maddison and Maximilian Igl proposed replacing the ELBO with objectives derived from SMC, such as Filtering Variational Objectives (FIVO) and Auto-Encoding Sequential Monte Carlo (AESMC).

By using a particle filter to estimate the marginal likelihood, these methods create a tighter bound on the true log-likelihood. As Scott W. Linderman and Rajesh Ranganath demonstrate in Variational Sequential Monte Carlo, the approximation becomes increasingly precise as the number of particles grows, allowing for high-fidelity Bayesian inference in deep generative models.

The Gradient Dilemma: Bias vs. Variance

The primary hurdle in training these models is the resampling step, where particles are duplicated or discarded based on their weights. This step is discrete, making it incompatible with standard backpropagation. There are two main strategies to handle this:

  1. Biased Gradients: Most practical implementations, including the original FIVO and AESMC papers, simply ignore the stochasticity of the resampling step during backpropagation. While technically biased, this approach significantly reduces gradient variance. Johannes Zenn and Robert Bamler argue in Resampling Gradients Vanish in Differentiable Sequential Monte Carlo Samplers that these gradients actually vanish as the sampler improves, justifying the use of biased estimates.
  2. Differentiable Resampling: To maintain theoretical consistency, researchers like Adrien Corenflos and Arnaud Doucet have developed Differentiable Particle Filtering via Entropy-Regularized Optimal Transport. This replaces discrete resampling with a smooth transport mechanism (the Sinkhorn algorithm), allowing for end-to-end gradients without the variance issues of REINFORCE-style estimators.

Moving Toward Online and Unbiased Learning

While batch methods are well-established, recent work has pushed toward real-time applications. Alessandro Mastrototaro and Jimmy Olsson introduced Online Variational Sequential Monte Carlo, which distributes gradient computations over time for streaming data.

Despite the success of biased gradients, the quest for unbiasedness continues. Shuangshuang Chen and colleagues proposed Monte Carlo Filtering Objectives (MCFOs), which decompose the likelihood into conditional steps to eliminate persistent bias. This allows models to converge exactly to analytical parameters, solving a limitation where biased objectives might prevent a model from reaching the true optimum regardless of the particle count.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_differentiable_sequential_monte_carlo_fo_308ee1da,
  title = {Differentiable Sequential Monte Carlo for Variational Inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-sequential-monte-carlo-for-variational-inference/rdr_308ee1da2d5b452b9af77e68feec4777},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_differentiable_sequential_monte_carlo_fo_308ee1da_v1,
  title = {Differentiable Sequential Monte Carlo for Variational Inference},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/differentiable-sequential-monte-carlo-for-variational-inference/rdr_308ee1da2d5b452b9af77e68feec4777/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}