Particle Smoothing Variational Objectives

Antonio Khalil Moretti, Zizhao Wang, Luhuan Wu, Iddo Drori, Itsik Pe'erarXiv 2019

Abstract: We present Particle Smoothing Variational Objectives (SVO), a novel framework for training state-space models (SSMs) that leverages backward-simulation smoothing to enhance latent state estimation. Unlike traditional filtering-based Sequential Monte Carlo (SMC) methods, SVO incorporates future observations into the inference process, leading to more robust dynamics learning. Furthermore, we provide theoretical guarantees demonstrating that the resampling step in SMC preserves the signal-to-noise ratio (SNR) of gradients, allowing for effective scaling with increased particle counts. Our experiments on synthetic and real-world biological datasets show that SVO achieves state-of-the-art performance with significantly higher particle efficiency than existing methods.

1. Introduction

Inferring latent states from noisy sequential observations is a fundamental challenge in machine learning. While deep state-space models have gained popularity, they often rely on filtering-based objectives that only consider past information. This limitation is particularly acute in systems with complex or chaotic dynamics. Moreover, concerns regarding the gradient signal-to-noise ratio (SNR) in importance-weighted objectives have historically hindered the scaling of these models.

2. The SVO Algorithm

SVO addresses these challenges by employing a backward-simulation smoothing process. After a standard forward pass, the algorithm performs a recursive backward pass, drawing subparticles from a reverse-dynamics proposal. This subsampling strategy increases particle diversity and ensures that the estimated latent states are informed by the entire observation sequence. We prove that SVO provides an unbiased estimate of the evidence lower bound (ELBO), making it a valid variational objective.

3. Theoretical Analysis: SNR and Resampling

A key contribution of this work is the analysis of gradient SNR in SMC-based models. We demonstrate that the discrete resampling step, often viewed as a computational hurdle, serves as a critical mechanism for maintaining gradient quality. By resetting particle weights, resampling prevents the SNR collapse observed in other importance-weighted estimators like IWAE. We show that a biased gradient estimator, which ignores the resampling step's gradient, yields an SNR that improves at a rate of $O(\sqrt{K})$ relative to the number of particles $K$.

Training convergence and scaling of SVO across different particle counts (K).

4. Experimental Evaluation

We evaluated SVO on three distinct systems: the Fitzhugh-Nagumo (FN) neuron model, the chaotic Lorenz attractor, and real-world electrophysiology data from the Allen Brain Atlas.

In the Fitzhugh-Nagumo task, SVO demonstrated exceptional particle efficiency. With only 32 particles, SVO achieved a predictive $R^2$ of 0.993, significantly outperforming the filtered AESMC baseline, which reached only 0.954 despite using 1024 particles.

Reconstruction of Fitzhugh-Nagumo dynamics and predictive R² performance compared to baselines.

For the Lorenz attractor, SVO successfully reconstructed the characteristic "butterfly" shape of the chaotic system, whereas filtered methods struggled to capture the long-term dependencies. On real-world neuronal data, SVO accurately modeled complex nonlinearities, outperforming both GfLDS and AESMC.

5. Conclusion

Particle Smoothing Variational Objectives provide a powerful and efficient framework for learning latent dynamics. By integrating smoothing and leveraging the SNR-preserving properties of resampling, SVO offers a scalable solution for complex sequence modeling tasks. Future work will explore the application of this framework to higher-dimensional generative models and more specialized proposal architectures.

Summary updated

BibTeX
@misc{moretti2019particle,
  author = {Antonio Khalil Moretti and Zizhao Wang and Luhuan Wu and Iddo Drori and Itsik Pe'er},
  title = {{Particle Smoothing Variational Objectives}},
  year = {2019},
  eprint = {1909.09734},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1909.09734},
}
Figure