Abstract
Tracking the evolution of topics in massive document streams requires models that can capture both rapid shifts and long-term trends. We present the Multiscale Dynamic Topic Model (MDTM), an online framework that integrates information across multiple time horizons. By employing a memory-efficient stochastic EM algorithm, MDTM maintains temporal consistency and outperforms traditional static and dynamic models in predictive performance while remaining scalable for high-volume data.
Introduction
Traditional topic models, such as Latent Dirichlet Allocation (LDA), typically treat document collections as static entities. While Dynamic Topic Models (DTM) were developed to account for temporal changes, they often focus solely on the immediate preceding epoch. This approach fails to account for the varying speeds at which topics evolve. For instance, in news media, certain terms remain stable for decades, while others are ephemeral. Furthermore, many existing dynamic models require batch processing, making them unsuitable for real-time streams like social media or news feeds.
Methodology
The primary innovation of MDTM is the multiscale word distribution. Unlike models that rely on a single previous time step, MDTM draws the current topic's word distribution from a Dirichlet prior whose parameters are a weighted sum of estimates from multiple timescales (e.g., $s=1, 2, 4, 8, \dots$ epochs).
Online Inference and Efficiency
To handle streaming data, MDTM utilizes a stochastic EM algorithm combined with collapsed Gibbs sampling. This allows for sequential parameter updates without the need to store or re-process historical documents. To maintain efficiency, the authors implement an approximation that decreases the update frequency for longer-term scales. This reduces memory complexity from exponential $O(2^{S-1}ZW)$ to linear $O(SZW)$, where $S$ is the number of scales, $Z$ is the number of topics, and $W$ is the vocabulary size.
Temporal Consistency
By leveraging multiscale distributions as priors, the model ensures "topic labels" remain consistent over time. This prevents the common issue in dynamic modeling where topic identities might swap or drift randomly between epochs.
Experimental Evaluation
The MDTM framework was evaluated on four diverse datasets:
- NIPS: Research papers from 1987–1999 (13 annual epochs).
- PNAS: Paper titles from 1915–2005 (91 annual epochs).
- Digg: Social news posts over 23 days (23 daily epochs).
- Addresses: State of the Union addresses from 1790–2002 (205 annual epochs).
Key Insights and Results
The model demonstrates significant advantages in both robustness and predictive power:
- Robustness through Smoothing: Long-term scales act as stabilizers, preventing the model from overreacting to short-term anomalies or noise in the data stream.
- Adaptive Weighting: The model automatically infers weights ($\lambda$) for each scale, allowing it to adapt to topics that are either rapidly shifting or highly stable.
- Predictive Performance: MDTM consistently achieved lower perplexity scores across all datasets compared to DTM and LDA baselines, indicating superior predictive accuracy for future words.
- Qualitative Evolution: Analysis of the NIPS dataset showed that MDTM successfully distinguishes "evergreen" terms (e.g., speech, recognition) from transient technical trends (e.g., HMM, phoneme classification).
Conclusion
MDTM provides a scalable and robust solution for tracking topic evolution across multiple timescales. While the current model requires a fixed number of topics and manual epoch definitions, it sets a strong foundation for future work in nonparametric Bayesian extensions and automated time-interval learning.
Summary updated