Scalable Training of Hierarchical Topic Models

被引:11
|
作者
Chen, Jianfei [1 ]
Zhu, Jun [1 ]
Lu, Jie [2 ]
Liu, Shixia [2 ]
机构
[1] Tsinghua Univ, BNRist Ctr, State Key Lab Intell Tech & Sys, Dept Comp Sci & Tech, Beijing 100084, Peoples R China
[2] Tsinghua Univ, BNRist Ctr, State Key Lab Intell Tech & Sys, Sch Software, Beijing 100084, Peoples R China
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2018年 / 11卷 / 07期
基金
北京市自然科学基金;
关键词
DIRICHLET; INFERENCE;
D O I
10.14778/3192965.3192972
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Large-scale topic models serve as basic tools for feature extraction and dimensionality reduction in many practical applications. As a natural extension of flat topic models, hierarchical topic models (HTMs) are able to learn topics of different levels of abstraction, which lead to deeper understanding and better generalization than their flat counterparts. However, existing scalable systems for flat topic models cannot handle HTMs, due to their complicated data structures such as trees and concurrent dynamically growing matrices, as well as their susceptibility to local optima. In this paper, we study the hierarchical latent Dirichlet allocation (hLDA) model which is a powerful nonparametric Bayesian HTM. We propose an efficient partially collapsed Gibbs sampling algorithm for hLDA, as well as an initialization strategy to deal with local optima introduced by tree-structured models. We also identify new system challenges in building scalable systems for HTMs, and propose efficient data layout for vectorizing HTM as well as distributed data structures including dynamic matrices and trees. Empirical studies show that our system is 87 times more efficient than the previous open-source implementation for hLDA, and can scale to thousands of CPU cores. We demonstrate our scalability on a 131-million-document corpus with 28 billion tokens, which is 4-5 orders of magnitude larger than previously used corpus. Our distributed implementation can extract 1,722 topics from the corpus with 50 machines in just 7 hours.
引用
收藏
页码:826 / 839
页数:14
相关论文
共 50 条
  • [1] Scalable Inference in Max-margin Topic Models
    Zhu, Jun
    Zheng, Xun
    Zhou, Li
    Zhang, Bo
    19TH ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING (KDD'13), 2013, : 964 - 972
  • [2] Scalable Bayesian computation for crossed and nested hierarchical models
    Papaspiliopoulos, Omiros
    Stumpf-Fetizon, Timothee
    Zanella, Giacomo
    ELECTRONIC JOURNAL OF STATISTICS, 2023, 17 (02): : 3575 - 3612
  • [3] A network approach to topic models
    Gerlach, Martin
    Peixoto, Tiago P.
    Altmann, Eduardo G.
    SCIENCE ADVANCES, 2018, 4 (07):
  • [4] HIERARCHICAL THEME AND TOPIC MODEL FOR SUMMARIZATION
    Chien, Jen-Tzung
    Chang, Ying-Lan
    2013 IEEE INTERNATIONAL WORKSHOP ON MACHINE LEARNING FOR SIGNAL PROCESSING (MLSP), 2013,
  • [5] Novel mixture allocation models for topic learning
    Maanicshah, Kamal
    Amayri, Manar
    Bouguila, Nizar
    COMPUTATIONAL INTELLIGENCE, 2024, 40 (02)
  • [6] Probabilistic Topic Models
    Blei, David
    Carin, Lawrence
    Dunson, David
    IEEE SIGNAL PROCESSING MAGAZINE, 2010, 27 (06) : 55 - 65
  • [7] Probabilistic Topic Models
    Blei, David M.
    COMMUNICATIONS OF THE ACM, 2012, 55 (04) : 77 - 84
  • [8] Hierarchical Species Sampling Models
    Bassetti, Federico
    Casarin, Roberto
    Rossini, Luca
    BAYESIAN ANALYSIS, 2020, 15 (03): : 809 - 838
  • [9] Fast and scalable computations for Gaussian hierarchical models with intrinsic conditional autoregressive spatial random effects
    Ferreira, Marco A. R.
    Porter, Erica M.
    Franck, Christopher T.
    COMPUTATIONAL STATISTICS & DATA ANALYSIS, 2021, 162
  • [10] A Scalable Hierarchical Gaussian Process Classifier
    Thi Nhat Anh Nguyen
    Bouzerdoum, Abdesselam
    Phung, Son Lam
    IEEE TRANSACTIONS ON SIGNAL PROCESSING, 2019, 67 (11) : 3042 - 3057