Nothing Special   »   [go: up one dir, main page]

Scalable Collapsed Inference for High-Dimensional Topic Models

Rashidul Islam, James Foulds


Abstract
The bigger the corpus, the more topics it can potentially support. To truly make full use of massive text corpora, a topic model inference algorithm must therefore scale efficiently in 1) documents and 2) topics, while 3) achieving accurate inference. Previous methods have achieved two out of three of these criteria simultaneously, but never all three at once. In this paper, we develop an online inference algorithm for topic models which leverages stochasticity to scale well in the number of documents, sparsity to scale well in the number of topics, and which operates in the collapsed representation of the topic model for improved accuracy and run-time performance. We use a Monte Carlo inner loop in the online setting to approximate the collapsed variational Bayes updates in a sparse and efficient way, which we accomplish via the MetropolisHastings Walker method. We showcase our algorithm on LDA and the recently proposed mixed membership skip-gram topic model. Our method requires only amortized O(kd) computation per word token instead of O(K) operations, where the number of topics occurring for a particular document kd the total number of topics in the corpus K, to converge to a high-quality solution.
Anthology ID:
N19-1291
Volume:
Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers)
Month:
June
Year:
2019
Address:
Minneapolis, Minnesota
Editors:
Jill Burstein, Christy Doran, Thamar Solorio
Venue:
NAACL
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
2836–2845
Language:
URL:
https://aclanthology.org/N19-1291
DOI:
10.18653/v1/N19-1291
Bibkey:
Cite (ACL):
Rashidul Islam and James Foulds. 2019. Scalable Collapsed Inference for High-Dimensional Topic Models. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 2836–2845, Minneapolis, Minnesota. Association for Computational Linguistics.
Cite (Informal):
Scalable Collapsed Inference for High-Dimensional Topic Models (Islam & Foulds, NAACL 2019)
Copy Citation:
PDF:
https://aclanthology.org/N19-1291.pdf
Code
 dr97531/SparseSCVB0