[Paper Review] The Dynamic Embedded Topic Model
The Dynamic Embedded Topic Model (d-ETM) integrates dynamic latent Dirichlet allocation (d-lda) with word embeddings to model time-evolving topics in document collections. By representing topics as time-varying vectors in the word embedding space and using a random walk prior for smooth trajectories, d-ETM achieves superior topic coherence and diversity while reducing training time compared to d-lda.
Topic modeling analyzes documents to learn meaningful patterns of words. For documents collected in sequence, dynamic topic models capture how these patterns vary over time. We develop the dynamic embedded topic model (D-ETM), a generative model of documents that combines dynamic latent Dirichlet allocation (D-LDA) and word embeddings. The D-ETM models each word with a categorical distribution parameterized by the inner product between the word embedding and a per-time-step embedding representation of its assigned topic. The D-ETM learns smooth topic trajectories by defining a random walk prior over the embedding representations of the topics. We fit the D-ETM using structured amortized variational inference with a recurrent neural network. On three different corpora---a collection of United Nations debates, a set of ACL abstracts, and a dataset of Science Magazine articles---we found that the D-ETM outperforms D-LDA on a document completion task. We further found that the D-ETM learns more diverse and coherent topics than D-LDA while requiring significantly less time to fit.
Motivation & Objective
- To address the limitations of traditional topic models in capturing rare words and long-tail language patterns in temporal document collections.
- To extend the Embedded Topic Model (ETM) to model topic evolution over time, overcoming the static nature of ETM.
- To develop a scalable inference method that enables efficient training on large-scale, time-ordered document corpora.
- To evaluate whether the integration of word embeddings and dynamic topic modeling improves predictive performance and topic quality over d-lda.
Proposed method
- Models each topic as a time-varying vector in the pre-trained word embedding space, with topic-word probabilities derived from the dot product between word embeddings and topic embeddings.
- Implements a random walk prior over topic embeddings across time steps to ensure smooth, continuous topic evolution.
- Uses structured amortized variational inference with a long short-term memory (LSTM) network to parameterize the variational posterior over latent variables.
- Applies data subsampling and reparameterization gradients to enable stochastic optimization and scalable training on large corpora.
- Collapses discrete topic indicators during inference to enable backpropagation through stochasticity and improve optimization efficiency.
- Employs a fully factorized Gaussian approximation for most latent variables, with full-covariance Gaussians for topic embedding trajectories to capture dependencies.
Experimental results
Research questions
- RQ1Can combining word embeddings with dynamic topic modeling improve topic coherence and diversity in temporal document collections?
- RQ2Does the d-ETM outperform d-lda in predictive performance on document completion tasks?
- RQ3Is the performance gain of d-ETM due to its model structure rather than the inference procedure used?
- RQ4How well do the learned topic trajectories align with real-world historical events and semantic shifts in language use?
Key findings
- The d-ETM outperforms d-lda in document completion, achieving lower perplexity across all three evaluated corpora: United Nations debates, ACL abstracts, and Science Magazine articles.
- The d-ETM produces topics with significantly higher coherence and diversity than d-lda, with topic quality (product of coherence and diversity) improved across all datasets.
- The d-ETM requires substantially less training time than d-lda, demonstrating superior computational efficiency despite its richer model structure.
- The model successfully captures semantic shifts over time, such as the evolution of a climate change topic from ozone layer concerns in the 1990s to global warming and emissions in 2015.
- Word probability trajectories reflect historical events, such as the decline of 'Vietnam' in a Southeast Asia topic post-1975 and the rising relevance of 'Iran' in nuclear weapons discussions.
- Ablation experiments show that d-lda with the same inference setup (d-lda-rep) performs worse than d-lda and is only faster, confirming that the gains of d-ETM stem from its model design, not inference method.
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.