Online topic model for Twitter considering dynamics of user interests and topic trends

Kentaro Sasaki, Tomohiro Yoshikawa, Takeshi FuruhashiEMNLP 2014

Abstract

This paper introduces Twitter-TTM, a probabilistic framework designed to model the short, noisy, and dynamic nature of microblogging data. By incorporating user-specific noise distributions and temporal persistence parameters, the model effectively tracks evolving global trends and individual user interests in an online fashion. Experimental results on real-world Twitter datasets demonstrate that Twitter-TTM significantly outperforms traditional models like LDA and Twitter-LDA in terms of predictive perplexity and semantic coherence.

Introduction

Standard topic models, such as Latent Dirichlet Allocation (LDA), often fail when applied to Twitter due to three primary challenges: sparsity, dynamics, and user-specific noise. Tweets are inherently short, usually focusing on a single topic rather than a mixture. Furthermore, Twitter is a high-velocity stream where global trends and individual interests shift rapidly. Finally, users exhibit varying styles; some act as topical news hubs while others engage in casual chatter filled with "background" words (e.g., "just," "really"). This paper addresses these issues by proposing an online topic tracking model that adapts to both user-level noise and temporal shifts.

The Improved-Model: Handling User Noise

To address the variation in user styles, the authors first propose an "Improved-Model" based on the existing Twitter-LDA framework. While standard Twitter-LDA assumes a universal ratio of topic-to-background words across all users, the Improved-Model introduces a user-specific distribution ($\pi_u$).

Comparison between Twitter-LDA and the Improved-model, highlighting the introduction of user-specific noise distributions ($\pi$).

As shown in Figure 1, the inclusion of $\pi$ allows the model to recognize that a news bot might have very low background noise, whereas a casual user might have a high proportion of "fluff" words. By modeling this "fluff" explicitly for each user, the model becomes more robust and prevents casual chatter from polluting meaningful topic clusters.

Twitter-TTM: Tracking Temporal Dynamics

The core contribution of the paper is Twitter-TTM (Topic Tracking Model). This model integrates the user-specific noise handling of the Improved-Model with a temporal framework that links time slices (e.g., days or weeks).

The complete Twitter-TTM architecture, showing temporal dependencies for both global topics ($\Phi$) and user interests ($\theta_k$).

Twitter-TTM employs an online inference mechanism using a stochastic expectation-maximization (EM) algorithm. Instead of re-processing the entire history, it treats the topic distributions from the previous time step ($t-1$) as the prior for the current step ($t$). This is governed by persistence parameters ($\alpha$ and $\beta$) that represent the stability of global trends and individual user interests over time. This structure allows the model to distinguish between transient "flash in the pan" trends and sustained thematic interests.

Experimental Evaluation

The researchers evaluated Twitter-TTM using two large-scale datasets collected in October 2013, comprising millions of tweets. The primary evaluation metric was Perplexity, which measures how well the probability model predicts a held-out sample of tweets.

Key findings include:

  • Superior Prediction: Twitter-TTM consistently achieved the lowest perplexity across all time steps. In some instances, its perplexity was less than half that of standard LDA (~1500 vs. ~3500), indicating a much higher predictive accuracy.
  • Semantic Coherence: By enforcing the "one tweet, one topic" constraint, the model produced more coherent topics than LDA, which often mixed unrelated concepts in short documents.
  • Trend Tracking: The model successfully tracked real-world shifts. For example, in a "Football" topic, keywords shifted from "Arsenal" to "Madrid" over the course of two weeks, accurately reflecting the actual sports schedule during that period.

Conclusion and Future Work

Twitter-TTM provides a robust solution for real-time topic modeling on microblogging platforms. By accounting for individual user noise and the temporal evolution of interests, it offers a significant improvement over static or universal models. Future work may involve extending the model to automatically discover a variable number of topics over time using dynamic hierarchical Dirichlet processes and applying the framework to personalized recommendation systems.

Summary updated

BibTeX
@inproceedings{sasaki2014online,
  author = {Kentaro Sasaki and Tomohiro Yoshikawa and Takeshi Furuhashi},
  title = {{Online topic model for Twitter considering dynamics of user interests and topic trends}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2014},
  doi = {10.3115/v1/d14-1212},
}
Figure