Skip to main content
QUICK REVIEW

[Paper Review] Scalable Generalized Dynamic Topic Models

Patrick Jähnichen, Florian Wenzel|arXiv (Cornell University)|Mar 21, 2018
Data Management and AlgorithmsComputer Science18 citations
TL;DR

This paper proposes a scalable generalized dynamic topic model that extends traditional dynamic topic models by replacing Wiener process priors with arbitrary Gaussian process priors, enabling flexible modeling of diverse temporal dynamics such as event localization, long-term memory, and smooth evolution. Using stochastic variational inference with inducing points, the method achieves scalable training on large-scale text data while outperforming baseline models in predictive likelihood and revealing novel temporal patterns in real-world datasets.

ABSTRACT

Dynamic topic models (DTMs) model the evolution of prevalent themes in literature, online media, and other forms of text over time. DTMs assume that word co-occurrence statistics change continuously and therefore impose continuous stochastic process priors on their model parameters. These dynamical priors make inference much harder than in regular topic models, and also limit scalability. In this paper, we present several new results around DTMs. First, we extend the class of tractable priors from Wiener processes to the generic class of Gaussian processes (GPs). This allows us to explore topics that develop smoothly over time, that have a long-term memory or are temporally concentrated (for event detection). Second, we show how to perform scalable approximate inference in these models based on ideas around stochastic variational inference and sparse Gaussian processes. This way we can train a rich family of DTMs to massive data. Our experiments on several large-scale datasets show that our generalized model allows us to find interesting patterns that were not accessible by previous approaches.

Motivation & Objective

  • To overcome the limitations of traditional dynamic topic models, which are restricted to Wiener process priors and lack scalability.
  • To generalize dynamic topic modeling by allowing arbitrary Gaussian process priors on topic evolution, enabling richer temporal dynamics such as event detection and long-term memory.
  • To develop a scalable approximate Bayesian inference algorithm based on stochastic variational inference and sparse Gaussian processes for large-scale text data.
  • To demonstrate that the generalized model improves predictive performance and reveals new qualitative insights into topic evolution across diverse datasets.

Proposed method

  • The model generalizes dynamic topic models by modeling topic evolution as a latent Gaussian process (GP) rather than a Wiener process, allowing for diverse temporal correlation structures.
  • The authors employ a sparse GP approximation using inducing points to reduce computational complexity from cubic in time stamps to cubic in inducing points, enabling scalability.
  • Stochastic variational inference is used with natural gradient updates in closed-form, ensuring efficient and stable optimization without numerical sampling or iterative solvers.
  • The variational inference framework supports arbitrary GP covariance kernels (e.g., Ornstein-Uhlenbeck, Cauchy, RBF), allowing flexible modeling of different temporal dynamics.
  • The method uses a lower bound on the marginal likelihood that enables data subsampling and efficient optimization over large document collections.
  • The inference algorithm is designed to scale to massive datasets by leveraging the sparse GP framework and stochastic optimization.

Experimental results

Research questions

  • RQ1Can dynamic topic models be generalized beyond Wiener processes to capture more complex temporal dynamics such as event localization and long-term memory?
  • RQ2How can scalable approximate Bayesian inference be achieved in generalized dynamic topic models with non-Markovian, non-Markovian priors?
  • RQ3What are the qualitative and quantitative benefits of using different GP kernels (e.g., OU, Cauchy, RBF) in modeling topic evolution across diverse text corpora?
  • RQ4Can the proposed method outperform standard dynamic topic models in predictive performance on held-out data?
  • RQ5To what extent can the model reveal interpretable, time-localized topics such as those related to historical events or political elections?

Key findings

  • The generalized dynamic topic model with Gaussian process priors consistently outperforms the Wiener process baseline in terms of per-word predictive perplexity across all datasets: 1.45575 (SoU), 1.48105 (NIPS), and 1.42073 (NYT) with the Cauchy kernel.
  • The Ornstein-Uhlenbeck kernel effectively localizes topics in time, enabling accurate detection of event-driven topic activity such as wars and elections.
  • The Cauchy kernel demonstrated superior performance on the NIPS and SoU datasets, capturing long-term memory effects and generalizing better to unseen data.
  • The model successfully identified time-localized topics in State of the Union speeches, including peaks corresponding to World War I, World War II, and the Vietnam War, with relevant keywords like 'attack' and 'japanese' emerging at the correct times.
  • The RBF and Cauchy kernels produced smoother word trajectory estimates, while the OU kernel allowed for sharper, event-specific topic activations, demonstrating the value of kernel choice in modeling different temporal phenomena.
  • The ELBO objective function converged to an optimum across all kernels when training on the SoU dataset, confirming the stability and scalability of the inference algorithm.

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.