Transfer Topic Modeling with Ease and Scalability

Jeon-Hyung Kang, Jun Ma, Yan Liu · DOI

Abstract

The increasing volume of short texts generated on social media sites, such as Twitter or Facebook, creates a great demand for effective and efficient topic modeling approaches. While latent Dirichlet allocation (LDA) can be applied, it is not optimal due to its weakness in handling short texts with fast-changing topics and scalability concerns. In this paper, we propose a transfer learning approach that utilizes abundant labeled documents from other domains (such as Yahoo! News or Wikipedia) to improve topic modeling, with better model fitting and result interpretation. Specifically, we develop the Transfer Hierarchical LDA (thLDA) model, which incorporates label information from other domains via informative priors. In addition, we develop a parallel implementation of our model for large-scale applications. We demonstrate the effectiveness of our thLDA model on both a microblogging dataset and standard text collections including AP and RCV1 datasets.

Introduction

Topic modeling—the process of automatically discovering "themes" in a collection of documents—is notoriously difficult when applied to social media. Standard tools like Latent Dirichlet Allocation (LDA) rely on word co-occurrence; however, a 140-character tweet simply doesn't contain enough words to provide strong statistical signals. Furthermore, social media text is messy, filled with abbreviations, slang, and rapidly shifting trends. While "Labeled LDA" exists to help guide the process, it requires every document to be manually tagged—an impossible task for the millions of tweets generated daily. Existing hierarchical models (hLDA) try to organize topics into trees (e.g., "Sports" $\rightarrow$ "Baseball"), but they often collapse under the weight of noisy, sparse data, resulting in "topics" that are just clusters of unrelated, high-frequency words.

Methodology: Transfer Hierarchical LDA (thLDA)

The core innovation of this work is the Transfer Hierarchical LDA (thLDA). It bridges the gap between unsupervised discovery and human-curated knowledge by using a "source domain" (like Yahoo! News categories) to create informative priors.

The graphical model representation of thLDA, showing the integration of source domain knowledge via informative priors.

Instead of starting from scratch, thLDA measures the similarity between a new tweet and known categories. The authors modified the standard Nested Chinese Restaurant Process (nCRP) so that the model is biased toward paths that align with the transferred source knowledge, effectively "guiding" the model toward more sensible hierarchies. To handle large-scale data, the authors developed a parallel Gibbs sampling algorithm featuring a "tree merge" stage where independent trees are periodically combined based on topic similarity.

Key Results and Discussion

The researchers evaluated thLDA using a massive crawl of 2 million tweets and standard benchmarks like the Associated Press (AP) and Reuters (RCV1) datasets.

Quantitative Performance

On the Twitter dataset, thLDA significantly outperformed both standard LDA and hLDA in terms of "held-out predictive log-likelihood." In manual evaluations, thLDA's topic assignments were accurate 71% of the time, compared to just 41% for standard LDA and 46% for hLDA. Furthermore, the parallel implementation achieved a 3.25x speedup when moving from one process to four, proving the model's readiness for high-volume social media streams.

Qualitative Interpretability

One of the most significant advantages of thLDA is the clarity of its hierarchies. While standard hLDA produces trees where child nodes often have no clear relation to parents, thLDA produces trees that look like human-curated taxonomies.

Qualitative comparison between (a) standard hLDA and (b) the proposed thLDA. thLDA produces a much more coherent and interpretable topic hierarchy aligned with human knowledge.

As shown in the comparison above, thLDA uses labels as a "nudge" to discover new, specific sub-topics (like "Space/NASA" under "Science") while remaining anchored to broad, human-understandable categories. This approach overcomes the "exchangeability" trap of standard models, where noisy tweets often pollute topic clusters.

Conclusion

thLDA provides a robust framework for making sense of the "data tsunami" of social media. By transferring structured knowledge from rich sources, it produces more interpretable results and better predictive performance than standard methods. Future research may explore making the prior strength topic-specific, incorporating multiple source domains, and explicitly modeling the temporal evolution of topics over time.

Summary updated

Abstract

The increasing volume of short texts generated on social media sites, such as Twitter or Facebook, creates a great demand for effective and efficient topic modeling approaches. While latent Dirichlet allocation (LDA) can be applied, it is not optimal due to its weakness in handling short texts with fast-changing topics and scalability concerns. In this paper, we propose a transfer learning approach that utilizes abundant labeled documents from other domains (such as Yahoo! News or Wikipedia) to improve topic modeling, with better model fitting and result interpretation. Specifically, we develop Transfer Hierarchical LDA (thLDA) model, which incorporates the label information from other domains via informative priors. In addition, we develop a parallel implementation of our model for large-scale applications. We demonstrate the effectiveness of our thLDA model on both a microblogging dataset and standard text collections including AP and RCV1 datasets.
BibTeX
@misc{kang2013transfer,
  author = {Jeon-Hyung Kang and Jun Ma and Yan Liu},
  title = {{Transfer Topic Modeling with Ease and Scalability}},
  year = {2013},
  eprint = {1301.5686},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1301.5686},
}
Figure