[Paper Review] Towards Topic Modeling for Big Data
This paper proposes Peacock, a scalable hierarchical distributed system for learning large-scale topic models with at least 10⁵ topics from big data, enabling high-quality topic features for industrial applications. It achieves significant improvements in search relevance and click-through rate prediction by combining distributed LDA training, real-time inference, and topic de-duplication via asymmetric Dirichlet priors.
Latent Dirichlet allocation (LDA) is a popular topic modeling technique in academia but less so in industry, especially in large-scale applications involving search engine and online advertising systems. A main underlying reason is that the topic models used have been too small in scale to be useful; for example, some of the largest LDA models reported in literature have up to 103 topics, which cover difficultly the long-tail semantic word sets. In this paper, we show that the number of topics is a key factor that can significantly boost the utility of topic-modeling systems. In particular, we show that a “big” LDA model with at least 105 topics inferred from 109 search queries can achieve a significant improvement on industrial search engine and online advertising systems, both of which serving hundreds of millions of users. We develop a novel distributed system called Peacock to learn big LDA models from big data. The main features of Peacock include hierarchical distributed architecture, real-time prediction and topic de-duplication. We empirically demonstrate that the Peacock system is capable of providing significant benefits via highly scalable LDA topic models for several industrial applications.
Motivation & Objective
- To address the limited scalability of traditional topic models in industrial settings, where models with only up to 10³ topics fail to capture long-tail semantic word sets.
- To develop a scalable, distributed system capable of learning LDA models with at least 10⁵ topics from 10⁹ search queries.
- To enable real-time topic prediction and high-quality topic features by addressing topic duplication in large-scale models.
- To integrate big topic models into real-world systems like search engines and online advertising platforms for measurable performance gains.
Proposed method
- Designing a hierarchical distributed architecture combining data parallelism for massive corpora and model parallelism for large LDA parameter sets.
- Employing pipeline and lock-free techniques to reduce communication and synchronization overhead in distributed training.
- Implementing real-time topic prediction using optimized inference algorithms suitable for production-scale systems.
- Applying topic de-duplication via asymmetric Dirichlet prior learning to remove semantically similar topics and improve model quality.
- Using point-wise mutual information (PMI) as a metric to evaluate topic coherence across models with varying numbers of topics.
- Training and evaluating LDA models with K ∈ {10², 10³, 10⁴, 10⁵} on a large-scale query dataset to assess performance trends.
Experimental results
Research questions
- RQ1Can LDA models with 10⁵ or more topics significantly improve performance in industrial search and advertising systems compared to smaller models?
- RQ2How does topic quality, measured by PMI, vary with increasing numbers of topics in LDA models?
- RQ3What are the key technical challenges in scaling topic modeling to 10⁵+ topics for big data workloads?
- RQ4How effective is topic de-duplication in improving retrieval and prediction performance when using large topic models?
- RQ5Can real-time topic prediction be efficiently supported at scale in industrial systems using big topic models?
Key findings
- LDA models with 10⁵ topics achieve significantly higher mean PMI scores than models with 10² to 10⁴ topics, indicating better semantic coherence and interpretability.
- The mean average precision (MAP) in information retrieval improves with increasing topic count, peaking at around 10⁵ topics, with further gains from topic de-duplication.
- Topic de-duplication via asymmetric Dirichlet prior learning improves MAP by removing redundant topics, especially when reducing from 10⁶ to 10⁵ topics.
- In online advertising, models with 10⁵ topics achieve the highest AUC improvement (relative to baseline AUC = 0.7439), outperforming models with 10⁴ topics due to reduced topic duplication.
- The performance of 10⁴-topic models is worse than 10³-topic models due to topic duplication, confirming that model quality degrades without proper de-duplication.
- The system demonstrates scalability to 10⁵ topics from 10⁹ search queries, with performance gains consistent across both search and advertising applications.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.