paper-with-me

홈 › Papers

WarpLDA: a Cache Efficient O(1) Algorithm for Latent Dirichlet Allocation

2015-10-29 · Jianfei Chen, Kaiwei Li, Jun Zhu, WenGuang Chen

Developing efficient and scalable algorithms for Latent Dirichlet Allocation (LDA) is of wide interest for many applications. Previous work has developed an O(1) Metropolis-Hastings sampling method for each token. However, the performance is far from being optimal due to random accesses to the parameter matrices and frequent cache misses. In this paper, we first carefully analyze the memory access efficiency of existing algorithms for LDA by the scope of random access, which is the size of the memory region in which random accesses fall, within a short period of time. We then develop WarpLDA, an LDA sampler which achieves both the best O(1) time complexity per token and the best O(K) scope of random access. Our empirical results in a wide range of testing conditions demonstrate that WarpLDA is consistently 5-15x faster than the state-of-the-art Metropolis-Hastings based LightLDA, and is comparable or faster than the sparsity aware F+LDA. With WarpLDA, users can learn up to one million topics from hundreds of millions of documents in a few hours, at an unprecedentedly throughput of 11G tokens per second.

📄 PDF Abstract BibTeX arXiv:1510.08628

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

LDA Linear discriminant analysis (LDA), normal discriminant analysis (NDA), or discriminant function analysis is a generalization of Fisher's linear discriminant, a method used in…

Similar Papers 제목 키워드 기반

Gaussian Hierarchical Latent Dirichlet Allocation: Bringing Polysemy Back

2020-02-25 · Takahiro Yoshida, Ryohei Hisano, Takaaki Ohnishi

Topic models are widely used to discover the latent representation of a set of documents. The two canonical models are latent Dirichlet allocation, and Gaussian latent Dirichlet allocation, where the former uses multinom…

Topic Models

Hyperspectral Unmixing with Endmember Variability using Semi-supervised Partial Membership Latent Dirichlet Allocation

2017-03-17 · Sheng Zou, Hao Sun, Alina Zare

A semi-supervised Partial Membership Latent Dirichlet Allocation approach is developed for hyperspectral unmixing and endmember estimation while accounting for spectral variability and spatial information. Partial Member…

Hyperspectral Unmixing

Vectorized Bayesian Inference for Latent Dirichlet-Tree Allocation

2026-02-21 · Zheng Wang, Nizar Bouguila arxiv

Latent Dirichlet Allocation (LDA) is a foundational model for discovering latent thematic structure in discrete data, but its Dirichlet prior cannot represent the rich correlations and hierarchical relationships often pr…

Computational EfficiencyBayesian Inference

On the Connection Between Non-negative Matrix Factorization and Latent Dirichlet Allocation

2024-05-30 · Benedikt Geiger, Peter J. Park

Non-negative matrix factorization with the generalized Kullback-Leibler divergence (NMF) and latent Dirichlet allocation (LDA) are two popular approaches for dimensionality reduction of non-negative data. Here, we show t…

Dimensionality Reduction

Hyperspectral Unmixing with Endmember Variability using Partial Membership Latent Dirichlet Allocation

2016-09-12 · Sheng Zou, Alina Zare

The application of Partial Membership Latent Dirichlet Allocation(PM-LDA) for hyperspectral endmember estimation and spectral unmixing is presented. PM-LDA provides a model for a hyperspectral image analysis that account…

Hyperspectral image analysisHyperspectral Unmixing