Abstract
Short text topic modeling faces significant challenges due to data sparsity. While the Biterm Topic Model (BTM) addresses this by modeling word co-occurrences (biterms) across a corpus, it often neglects user-specific interests and background noise. This paper presents Twitter-BTM, an extension that incorporates user-level aggregation and a background topic filter. Experimental results on large-scale Twitter data demonstrate that Twitter-BTM significantly outperforms standard LDA and BTM in topic coherence, classification, and clustering tasks.
Introduction
Traditional topic models like Latent Dirichlet Allocation (LDA) are designed for long documents where word co-occurrence within a single document provides sufficient context. In short texts such as tweets, the lack of context leads to the "sparsity problem," making it difficult for models to learn meaningful latent topics.
The Biterm Topic Model (BTM) was developed to mitigate this by modeling the generative process of biterms—pairs of words that co-occur in the same document—aggregated across the entire corpus. However, BTM has limitations: it ignores individual user preferences by pooling all biterms together and is sensitive to non-topical "background" noise (e.g., common words like "good" or "lol").
Methodology: The Twitter-BTM Model
Twitter-BTM introduces two primary innovations to the biterm framework: user-based aggregation and background topic integration.
User-Based Aggregation
Instead of treating the whole corpus as one giant bucket of biterms, the model groups biterms by user. This allows the model to learn a specific topic distribution ($\theta^u$) for each individual user, capturing personal interests.
Background Topic Integration
To filter out common, non-discriminative words, Twitter-BTM incorporates a global background topic ($\phi^B$). For each word in a biterm, a Bernoulli distribution (parameterized by $\pi^u$) determines whether the word is drawn from the user’s topical distribution or the global background distribution.
The model is trained using collapsed Gibbs sampling. By estimating each user's preference for topical versus background words, the model effectively "de-noises" the data, leading to more coherent topic discovery.
Experimental Evaluation
The model was evaluated using a dataset of approximately 1.2 million tweets from 12,006 users collected in 2009. Evaluation labels were derived from 38 frequent hashtags (e.g., #iranelection, #vegan) used as ground truth for classification and clustering.
Metrics
- Topic Coherence (PMI-Score): Measures semantic meaningfulness.
- Classification Accuracy: Evaluates document representation quality.
- Clustering Performance: Measured via Adjusted Rand Index (ARI) and Normalized Mutual Information (NMI).
Results and Discussion
Twitter-BTM consistently outperformed five baselines, including standard BTM and Twitter-LDA. A key insight from the study is the "Aggregation Paradox": while user-based aggregation helps LDA, the authors found that simple aggregation actually hurts standard BTM. The inclusion of a background topic is the essential "secret sauce" that makes user-level biterm modeling effective.
Key findings include:
- Superior Coherence: Twitter-BTM achieved the highest PMI scores (e.g., 3.04 for Top 5 words at $K=50$).
- Robust Classification: As shown in the accuracy results, Twitter-BTM provides better document representations, especially as the number of topics increases.
- Effective Clustering: The model showed a significant lead in ARI and NMI metrics, particularly in scenarios where standard BTM performed poorly due to noise.
Conclusion
Twitter-BTM successfully addresses the sparsity and noise issues inherent in short-text topic modeling. By combining user-level biterm aggregation with a background noise filter, the model achieves state-of-the-art performance. Future work may involve incorporating temporal dynamics to capture how topics evolve over time on social media platforms.
Summary updated