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 条
  • [31] FReM - Scalable and stable decoding with fast regularized ensemble of models
    Hoyos-Idrobo, Andres
    Varoquaux, Gael
    Schwartz, Yannick
    Thirion, Bertrand
    NEUROIMAGE, 2018, 180 : 160 - 172
  • [32] Profile Likelihood for Hierarchical Models Using Data Doubling
    Lele, Subhash R.
    ENTROPY, 2023, 25 (09)
  • [33] HLMdiag: A Suite of Diagnostics for Hierarchical Linear Models in R
    Loy, Adam
    Hofmann, Heike
    JOURNAL OF STATISTICAL SOFTWARE, 2014, 56 (05):
  • [34] Hierarchical Bayesian formulations for selecting variables in regression models
    Rockova, Veronika
    Lesaffre, Emmanuel
    Luime, Jolanda
    Lowenberg, Bob
    STATISTICS IN MEDICINE, 2012, 31 (11-12) : 1221 - 1237
  • [35] Fast moment-based estimation for hierarchical models
    Perry, Patrick O.
    JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES B-STATISTICAL METHODOLOGY, 2017, 79 (01) : 267 - 291
  • [36] Ensuring identifiability in hierarchical mixed effects Bayesian models
    Ogle, Kiona
    Barber, Jarrett J.
    ECOLOGICAL APPLICATIONS, 2020, 30 (07)
  • [37] Hierarchical Generalized Linear Models: The R Package HGLMMM
    Molas, Marek
    Lesaffre, Emmanuel
    JOURNAL OF STATISTICAL SOFTWARE, 2011, 39 (13): : 1 - 20
  • [38] Robust estimation of dropout models using hierarchical likelihood
    Noh, Manegseok
    Lee, Youngjo
    Kenward, Michael G.
    JOURNAL OF STATISTICAL COMPUTATION AND SIMULATION, 2011, 81 (06) : 693 - 706
  • [39] Empirical Bayes estimators in hierarchical models with mixture priors
    Rosenkranz, Gerd K.
    JOURNAL OF APPLIED STATISTICS, 2018, 45 (16) : 2958 - 2980
  • [40] A Bayesian hierarchical framework for calibrating aquatic biogeochemical models
    Zhang, Weitao
    Arhonditsis, George B.
    ECOLOGICAL MODELLING, 2009, 220 (18) : 2142 - 2161