{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,25]],"date-time":"2026-02-25T18:02:12Z","timestamp":1772042532291,"version":"3.50.1"},"reference-count":38,"publisher":"Association for Computing Machinery (ACM)","issue":"10","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. VLDB Endow."],"published-print":{"date-parts":[[2016,6]]},"abstract":"<jats:p>\n            Developing efficient and scalable algorithms for Latent Dirichlet Allocation (LDA) is of wide interest for many applications. Previous work has developed an\n            <jats:italic>O<\/jats:italic>\n            (1) Metropolis-Hastings (MH) sampling method for each token. However, its performance is far from being optimal due to frequent\n            <jats:italic>cache misses<\/jats:italic>\n            caused by random accesses to the parameter matrices.\n          <\/jats:p>\n          <jats:p>\n            In this paper, we first carefully analyze the memory access behavior of existing algorithms for LDA by cache locality at document level. We then develop WarpLDA, which achieves\n            <jats:italic>O<\/jats:italic>\n            (1) time complexity per-token and fits the randomly accessed memory perdocument in the L3 cache. Our empirical results in a wide range of testing conditions demonstrate that WarpLDA is consistently 5-15x faster than the state-of-the-art MH-based LightLDA, and is faster than the state-of-the-art sparsity aware F+LDA in most settings. Our WarpLDA learns a million topics from 639 millions of documents in only five hours at an unprecedented throughput of 11 billion tokens per second.\n          <\/jats:p>","DOI":"10.14778\/2977797.2977801","type":"journal-article","created":{"date-parts":[[2016,8,5]],"date-time":"2016-08-05T12:34:02Z","timestamp":1470400442000},"page":"744-755","source":"Crossref","is-referenced-by-count":38,"title":["WarpLDA"],"prefix":"10.14778","volume":"9","author":[{"given":"Jianfei","family":"Chen","sequence":"first","affiliation":[{"name":"Tsinghua University and State Key Lab of Intelligent Technology &amp; Systems, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kaiwei","family":"Li","sequence":"additional","affiliation":[{"name":"Tsinghua University and Parallel Architecture &amp; Compiler Tech. of Mobile, Accelerated, and Networked Systems (PACMAN)"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Jun","family":"Zhu","sequence":"additional","affiliation":[{"name":"Tsinghua University and State Key Lab of Intelligent Technology &amp; Systems, Beijing, China"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Wenguang","family":"Chen","sequence":"additional","affiliation":[{"name":"Tsinghua University and Parallel Architecture &amp; Compiler Tech. of Mobile, Accelerated, and Networked Systems (PACMAN)"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2016,6]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/2124295.2124312"},{"key":"e_1_2_1_2_1","volume-title":"Uci machine learning repository","author":"Asuncion A.","year":"2007","unstructured":"A. Asuncion and D. Newman . Uci machine learning repository , 2007 . A. Asuncion and D. Newman. Uci machine learning repository, 2007."},{"key":"e_1_2_1_3_1","volume-title":"UAI","author":"Asuncion A.","year":"2009","unstructured":"A. Asuncion , M. Welling , P. Smyth , and Y. W. Teh . On smoothing and inference for topic models . In UAI , 2009 . A. Asuncion, M. Welling, P. Smyth, and Y. W. Teh. On smoothing and inference for topic models. In UAI, 2009."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/2872427.2883046"},{"key":"e_1_2_1_5_1","volume-title":"NIPS","author":"Blei D.","year":"2006","unstructured":"D. Blei and J. Lafferty . Correlated topic models . In NIPS , 2006 . D. Blei and J. Lafferty. Correlated topic models. In NIPS, 2006."},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/1143844.1143859"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5555\/944919.944937"},{"key":"e_1_2_1_8_1","volume-title":"EMNLP-CoNLL","author":"Boyd-Graber J. L.","year":"2007","unstructured":"J. L. Boyd-Graber , D. M. Blei , and X. Zhu . A topic model for word sense disambiguation . In EMNLP-CoNLL , 2007 . J. L. Boyd-Graber, D. M. Blei, and X. Zhu. A topic model for word sense disambiguation. In EMNLP-CoNLL, 2007."},{"key":"e_1_2_1_9_1","volume-title":"NIPS","author":"Broderick T.","year":"2013","unstructured":"T. Broderick , N. Boyd , A. Wibisono , A. C. Wilson , and M. I. Jordan . Streaming variational bayes . In NIPS , 2013 . T. Broderick, N. Boyd, A. Wibisono, A. C. Wilson, and M. I. Jordan. Streaming variational bayes. In NIPS, 2013."},{"key":"e_1_2_1_10_1","volume-title":"BigLearn Workshop, NIPS","author":"Canny J.","year":"2013","unstructured":"J. Canny and H. Zhao . Bidmach: Large-scale learning with zero memory allocation . In BigLearn Workshop, NIPS , 2013 . J. Canny and H. Zhao. Bidmach: Large-scale learning with zero memory allocation. In BigLearn Workshop, NIPS, 2013."},{"key":"e_1_2_1_11_1","volume-title":"AISTATS","author":"Chang J.","year":"2009","unstructured":"J. Chang and D. Blei . Relational topic models for document networks . In AISTATS , 2009 . J. Chang and D. Blei. Relational topic models for document networks. In AISTATS, 2009."},{"key":"e_1_2_1_12_1","volume-title":"NIPS","author":"Chen J.","year":"2013","unstructured":"J. Chen , J. Zhu , Z. Wang , X. Zheng , and B. Zhang . Scalable inference for logistic-normal topic models . In NIPS , 2013 . J. Chen, J. Zhu, Z. Wang, X. Zheng, and B. Zhang. Scalable inference for logistic-normal topic models. In NIPS, 2013."},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/TPAMI.2014.2361129"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1526709.1526801"},{"key":"e_1_2_1_15_1","series-title":"Series B (methodological)","first-page":"1","volume-title":"Maximum likelihood from incomplete data via the em algorithm. Journal of the royal statistical society","author":"Dempster A. P.","year":"1977","unstructured":"A. P. Dempster , N. M. Laird , and D. B. Rubin . Maximum likelihood from incomplete data via the em algorithm. Journal of the royal statistical society . Series B (methodological) , pages 1 -- 38 , 1977 . A. P. Dempster, N. M. Laird, and D. B. Rubin. Maximum likelihood from incomplete data via the em algorithm. Journal of the royal statistical society. Series B (methodological), pages 1--38, 1977."},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1073\/pnas.0307752101"},{"issue":"1","key":"e_1_2_1_17_1","first-page":"1303","volume":"14","author":"Hoffman M. D.","year":"2013","unstructured":"M. D. Hoffman , D. M. Blei , C. Wang , and J. Paisley . Stochastic variational inference. JMLR , 14 ( 1 ): 1303 -- 1347 , 2013 . M. D. Hoffman, D. M. Blei, C. Wang, and J. Paisley. Stochastic variational inference. JMLR, 14(1):1303--1347, 2013.","journal-title":"Stochastic variational inference. JMLR"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1401890.1401937"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.4159\/harvard.9780674434929"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/2623330.2623756"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.5555\/2685048.2685095"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1109\/VAST.2014.7042494"},{"key":"e_1_2_1_23_1","volume-title":"UAI","author":"Minka T.","year":"2002","unstructured":"T. Minka and J. Lafferty . Expectation-propagation for the generative aspect model . In UAI , 2002 . T. Minka and J. Lafferty. Expectation-propagation for the generative aspect model. In UAI, 2002."},{"key":"e_1_2_1_24_1","volume-title":"NIPS","author":"Newman D.","year":"2007","unstructured":"D. Newman , P. Smyth , M. Welling , and A. U. Asuncion . Distributed inference for latent dirichlet allocation . In NIPS , 2007 . D. Newman, P. Smyth, M. Welling, and A. U. Asuncion. Distributed inference for latent dirichlet allocation. In NIPS, 2007."},{"key":"e_1_2_1_25_1","volume-title":"NIPS","author":"Patterson S.","year":"2013","unstructured":"S. Patterson and Y. W. Teh . Stochastic gradient riemannian langevin dynamics on the probability simplex . In NIPS , 2013 . S. Patterson and Y. W. Teh. Stochastic gradient riemannian langevin dynamics on the probability simplex. In NIPS, 2013."},{"key":"e_1_2_1_26_1","volume-title":"NIPS","author":"Teh Y. W.","year":"2006","unstructured":"Y. W. Teh , D. Newman , and M. Welling . A collapsed variational bayesian inference algorithm for latent dirichlet allocation . In NIPS , 2006 . Y. W. Teh, D. Newman, and M. Welling. A collapsed variational bayesian inference algorithm for latent dirichlet allocation. In NIPS, 2006."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/355744.355749"},{"key":"e_1_2_1_28_1","volume-title":"ACM Transactions on Intelligent Systems and Technology","author":"Wang Y.","year":"2014","unstructured":"Y. Wang , X. Zhao , Z. Sun , H. Yan , L. Wang , Z. Jin , L. Wang , Y. Gao , J. Zeng , Q. Yang , Towards topic modeling for big data . ACM Transactions on Intelligent Systems and Technology , 2014 . Y. Wang, X. Zhao, Z. Sun, H. Yan, L. Wang, Z. Jin, L. Wang, Y. Gao, J. Zeng, Q. Yang, et al. Towards topic modeling for big data. ACM Transactions on Intelligent Systems and Technology, 2014."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1148170.1148204"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/1557019.1557121"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2736277.2741682"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2736277.2741115"},{"key":"e_1_2_1_33_1","volume-title":"AISTATS","author":"Zaheer M.","year":"2015","unstructured":"M. Zaheer , M. Wick , J.-B. Tristan , A. Smola , and G. L. Steele Jr . Exponential stochastic cellular automata for massively parallel inference . In AISTATS , 2015 . M. Zaheer, M. Wick, J.-B. Tristan, A. Smola, and G. L. Steele Jr. Exponential stochastic cellular automata for massively parallel inference. In AISTATS, 2015."},{"key":"e_1_2_1_34_1","volume-title":"Same but different: Fast and high-quality gibbs parameter estimation. arXiv:1409.5402","author":"Zhao H.","year":"2014","unstructured":"H. Zhao , B. Jiang , and J. Canny . Same but different: Fast and high-quality gibbs parameter estimation. arXiv:1409.5402 , 2014 . H. Zhao, B. Jiang, and J. Canny. Same but different: Fast and high-quality gibbs parameter estimation. arXiv:1409.5402, 2014."},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/2783258.2783371"},{"key":"e_1_2_1_36_1","first-page":"2237","volume":"13","author":"Zhu J.","year":"2012","unstructured":"J. Zhu , A. Ahmed , and E. P. Xing . MedLDA: Maximum margin supervised topic models. JMLR , 13 : 2237 -- 2278 , 2012 . J. Zhu, A. Ahmed, and E. P. Xing. MedLDA: Maximum margin supervised topic models. JMLR, 13:2237--2278, 2012.","journal-title":"MedLDA: Maximum margin supervised topic models. JMLR"},{"key":"e_1_2_1_37_1","volume-title":"ACL","author":"Zhu J.","year":"2013","unstructured":"J. Zhu , X. Zheng , L. Zhou , and B. Zhang . Bayesian logistic supervised topic models with data augmentation . In ACL , 2013 . J. Zhu, X. Zheng, L. Zhou, and B. Zhang. Bayesian logistic supervised topic models with data augmentation. In ACL, 2013."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/2487575.2487658"}],"container-title":["Proceedings of the VLDB Endowment"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.14778\/2977797.2977801","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2022,12,28]],"date-time":"2022-12-28T09:54:06Z","timestamp":1672221246000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.14778\/2977797.2977801"}},"subtitle":["a cache efficient O(1) algorithm for latent dirichlet allocation"],"short-title":[],"issued":{"date-parts":[[2016,6]]},"references-count":38,"journal-issue":{"issue":"10","published-print":{"date-parts":[[2016,6]]}},"alternative-id":["10.14778\/2977797.2977801"],"URL":"https:\/\/doi.org\/10.14778\/2977797.2977801","relation":{},"ISSN":["2150-8097"],"issn-type":[{"value":"2150-8097","type":"print"}],"subject":[],"published":{"date-parts":[[2016,6]]}}}