[Paper Review] Variational Sequential Monte Carlo
This paper introduces Variational Sequential Monte Carlo (vSMC), a novel variational inference framework that combines variational inference with sequential Monte Carlo to enable flexible, accurate, and scalable Bayesian inference. By treating SMC proposal parameters as variational parameters and optimizing them via stochastic gradient ascent on a lower bound, vSMC achieves tighter evidence lower bounds than baseline methods like IWAE and structured VI, especially in complex sequential models with long time horizons.
Many recent advances in large scale probabilistic inference rely on variational methods. The success of variational approaches depends on (i) formulating a flexible parametric family of distributions, and (ii) optimizing the parameters to find the member of this family that most closely approximates the exact posterior. In this paper we present a new approximating family of distributions, the variational sequential Monte Carlo (VSMC) family, and show how to optimize it in variational inference. VSMC melds variational inference (VI) and sequential Monte Carlo (SMC), providing practitioners with flexible, accurate, and powerful Bayesian inference. The VSMC family is a variational family that can approximate the posterior arbitrarily well, while still allowing for efficient optimization of its parameters. We demonstrate its utility on state space models, stochastic volatility models for financial data, and deep Markov models of brain neural circuits.
Motivation & Objective
- To develop a flexible and accurate variational inference method for complex sequential models such as state space models and deep Markov models.
- To address the limitations of standard variational inference and importance-weighted autoencoders (IWAE) in long-horizon time series by improving posterior approximation fidelity.
- To enable a trade-off between computational cost and approximation accuracy through particle count in a principled way.
- To optimize proposal distributions in SMC using variational principles, improving convergence and posterior estimation.
Proposed method
- Proposes a new variational family, vSMC, where each distribution corresponds to an SMC run with a parameterized proposal distribution.
- Treats the parameters of the SMC proposal as variational parameters to be optimized via stochastic gradient ascent on a variational lower bound.
- Derives a differentiable lower bound (ELBO) for vSMC that generalizes the IWAE bound and allows for end-to-end training.
- Uses weighted particle trajectories from SMC as samples from the variational approximation, with one particle selected according to final weights.
- Employs reparameterization gradients to enable efficient optimization of proposal parameters in the presence of stochasticity.
- Supports both amortized and non-amortized inference, allowing scalable learning of complex proposal distributions in deep models.
Experimental results
Research questions
- RQ1Can a variational family based on SMC achieve tighter evidence lower bounds than existing methods like IWAE and structured VI in sequential models?
- RQ2How does the performance of vSMC scale with the number of particles, and does it maintain advantages over IWAE as sequence length increases?
- RQ3Can vSMC learn more efficient and accurate proposals than baseline methods in stochastic volatility and deep Markov models?
- RQ4To what extent does vSMC outperform IWAE in terms of ELBO and computational efficiency on real-world time series data?
- RQ5Can vSMC be effectively applied to complex neural circuit models with nonlinear dynamics and high-dimensional observations?
Key findings
- On a stochastic volatility model with 119 months of exchange rate data, vSMC achieved an ELBO of 6936.6 with N=16 particles, outperforming IWAE (6913.3) and structured VI (6905.1).
- vSMC showed significant gains in ELBO as particle count increased, while IWAE's improvement plateaued quickly, indicating vSMC's superior scalability with N.
- In deep Markov models of macaque motor cortex data, vSMC reached the same ELBO as IWAE but with faster convergence, demonstrating improved training efficiency.
- vSMC maintained a diverse set of high-weight particles over long sequences, avoiding the particle degeneracy that plagues standard importance sampling and IWAE.
- The method achieved nearly the true marginal likelihood in a toy Gaussian state space model, demonstrating its ability to approximate complex posteriors accurately.
- vSMC generalizes the IWAE bound, showing that IWAE is a special case of the vSMC lower bound when resampling is omitted.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.