Skip to main content
QUICK REVIEW

[Paper Review] State Space LSTM Models with Particle MCMC Inference

Xun Zheng, Manzil Zaheer|arXiv (Cornell University)|Nov 30, 2017
Model Reduction and Neural NetworksPhysics and Astronomy22 references29 citations
TL;DR

This paper introduces State Space LSTM (SSL) models that combine the representational power of LSTMs with the probabilistic interpretability of state space models. By using particle MCMC inference via sequential Monte Carlo (SMC), the method samples directly from the joint posterior over latent states without restrictive factorization assumptions, achieving superior and more stable performance across language modeling and user behavior prediction tasks compared to prior factorized inference methods.

ABSTRACT

Long Short-Term Memory (LSTM) is one of the most powerful sequence models. Despite the strong performance, however, it lacks the nice interpretability as in state space models. In this paper, we present a way to combine the best of both worlds by introducing State Space LSTM (SSL) models that generalizes the earlier work \cite{zaheer2017latent} of combining topic models with LSTM. However, unlike \cite{zaheer2017latent}, we do not make any factorization assumptions in our inference algorithm. We present an efficient sampler based on sequential Monte Carlo (SMC) method that draws from the joint posterior directly. Experimental results confirms the superiority and stability of this SMC inference algorithm on a variety of domains.

Motivation & Objective

  • To address the lack of interpretability in standard LSTMs while preserving their ability to model complex, non-Markovian sequences.
  • To overcome the limitations of factorized posterior approximations in previous inference methods for latent sequence models.
  • To develop a principled, scalable inference method that samples from the full joint posterior over latent states without variational assumptions.
  • To demonstrate that direct joint posterior sampling via SMC leads to improved model stability and performance on diverse sequence modeling tasks.

Proposed method

  • Proposes State Space LSTM (SSL) models that decouple state dynamics (modeled by an LSTM) from observation generation (modeled via probabilistic emission).
  • Employs Sequential Monte Carlo (SMC) with Particle Gibbs sampling to directly draw from the joint posterior distribution over latent state sequences.
  • Uses a particle-based approximation to the posterior that avoids the restrictive mean-field or factorized assumptions common in variational inference.
  • Applies SMC to perform stochastic EM by replacing the E-step with full posterior samples, enabling more accurate parameter estimation.
  • Leverages particle paths to visualize and interpret latent topic transitions in sequential data.
  • Designs the inference to scale linearly with the number of particles, enabling parallelization for efficiency.

Experimental results

Research questions

  • RQ1Can we combine the representational power of LSTMs with the interpretability of state space models in a unified framework?
  • RQ2Does sampling from the full joint posterior over latent states lead to better performance than factorized posterior approximations in sequence modeling?
  • RQ3How does the proposed SMC-based inference compare to previous methods in terms of stability and generalization across diverse datasets?
  • RQ4In what settings does the full posterior sampling provide a significant advantage over approximate inference?

Key findings

  • The SMC-based inference method consistently outperforms the factorized inference method across all evaluated datasets, achieving lower perplexity on held-out test sets.
  • On the Wikipedia language modeling task, the SMC method achieved a test perplexity of 1942.26 with 250 topics, significantly outperforming the factored method and matching the performance of standard LSTMs.
  • The SMC method produced sparser word-topic matrices (fewer non-zero entries), indicating better generalization and model interpretability.
  • On user click prediction data, the SMC method reduced perplexity from 2254 (factored) to 1447 with 1M users, demonstrating superior performance on less structured data.
  • Particle path visualizations showed that the model converges to meaningful, sparse topic transitions over time, confirming interpretability and dynamic modeling capability.
  • The performance gap between SMC and factorized inference decreases with larger datasets in structured domains but remains substantial in less structured domains like user behavior.

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.