TL;DR
This paper introduces npTOT, a novel nonparametric topic model that allows for an unbounded number of topics and flexible, multimodal temporal variations in topic popularity. By extending the "Topics over Time" (TOT) model, npTOT offers a more realistic and powerful way to analyze how topics evolve in text corpora over time, outperforming existing methods in predictive tasks.
What Problem Does This Paper Address?
Traditional topic models, like Latent Dirichlet Allocation (LDA), assume documents are exchangeable, meaning their order doesn't matter. This is problematic for dynamic corpora like news articles or social media, where topic popularity changes over time. While some models incorporate time, they often impose restrictive assumptions on how topic popularity can vary (e.g., only unimodal peaks) or require computationally expensive inference. Existing nonparametric models address the unbounded number of topics but often struggle with flexible temporal dynamics. This paper aims to bridge this gap by developing a model that is both nonparametric (unbounded topics) and flexible in its temporal modeling.
Methods
The core contribution is the nonparametric Topics over Time (npTOT) model. It builds upon the "Topics over Time" (TOT) framework, which jointly models text and timestamps, treating timestamps as random variables.
Key methodological innovations include:
- Nonparametric Topic Generation: Instead of a fixed number of topics, npTOT uses a Hierarchical Dirichlet Process (HDP) to allow a countably infinite number of topics a priori, ensuring topics are shared across documents.
- Flexible Temporal Variation: The beta distribution used in TOT for modeling topic popularity over time is replaced with a mixture of Gaussians. This allows for multimodal temporal variations (topics can rise and fall multiple times) and an unbounded timeframe.
- Shared Temporal Components: To capture correlations between trending topics (e.g., a sports player and their fans), the components of the Gaussian mixture are shared across topics, sampled from a hierarchical Dirichlet process.
- Gibbs Sampling Inference: The authors develop a collapsed Gibbs sampler, leveraging the Chinese Restaurant Franchise (CRF) framework, to efficiently infer model parameters.
Datasets
The paper evaluates npTOT on both synthetic and real-world datasets:
- Synthetic Dataset: Generated to demonstrate the model's ability to recover ground truth temporal variations and topic distributions.
- Twitter Subset: Tweets from Egypt (Jan-Mar 2011), preprocessed to create daily documents. This dataset is bilingual (Arabic/English).
- State of the Union Address Dataset: Transcripts from 1790-2002, processed into three-paragraph documents.
- NIPS Dataset: Full text of NIPS conference proceedings (1987-1999).
Key Insights and Ideas
- Real-world topics rarely have simple, unimodal popularity curves: The example of "NHL" search trends highlights how topics can wax and wane, with occasional spikes, a pattern poorly captured by unimodal models.
- Nonparametric models are crucial for discovering the "true" number of topics: Forcing a fixed number of topics can lead to suboptimal results, whereas npTOT automatically learns a reasonable number of topics.
- Shared temporal dynamics reveal topic relationships: The ability of npTOT to model correlated temporal trends between topics offers a richer understanding of how topics co-evolve.
- Joint modeling of text and time is powerful: Treating timestamps as random variables, as in TOT and npTOT, allows for more flexible modeling and better predictive performance compared to models that treat time as a fixed parameter.
Key Results
- Improved Predictive Performance: npTOT consistently achieved the best average per-token negative log-likelihood (a measure of model fit) across all three real-world datasets (Twitter, State of the Union, NIPS) compared to baselines like LDA (unimodal and multimodal) and TOT (unimodal).
- Accurate Topic Recovery on Synthetic Data: npTOT successfully recovered the number of topics and captured the multimodal temporal distributions, outperforming TOT which struggled with multimodality.
- Lower Perplexity: npTOT also demonstrated lower perplexity on test data, indicating its superior ability to predict unseen document content using temporal information.
- Qualitative Analysis: The paper shows examples where npTOT captures more realistic temporal decay patterns (e.g., Twitter revolution topic) and can reuse topics to describe nuanced historical events (e.g., US-Britain tensions leading to War of 1812).
Limitations and Future Work
- Extension to Higher Dimensions: The authors note that npTOT can be extended to higher-dimensional covariate values, enabling modeling of geographical variations in topic popularity.
- Alternative Distributions for Temporal Variation: While mixtures of Gaussians are flexible, other distributions (e.g., asymmetric distributions like exponential) could be explored for specific phenomena like sudden topic emergence and decay.
- Modeling Images: The authors suggest that spatially dependent topic models based on npTOT could be applied to image modeling.
Summary updated