Reproduce “Analyzing Political Text at Scale with Online Tensor LDA” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Sara Kangaslahti, Danny Ebanks, Jean Kossaifi, Anqi Liu, R. Michael Alvarez, Animashree Anandkumar
Researchers at Harvard, Caltech, and NVIDIA developed Online Tensor Latent Dirichlet Allocation (TLDA), a GPU-accelerated, open-source method for topic modeling that scales linearly to over a billion documents. This approach achieved a 15-143x speedup compared to existing LDA implementations on political text datasets while maintaining or improving topic coherence.
Key insights
- Centering document word count vectors simplifies higher-order moment calculations, enabling efficient online updates for massive datasets.
- Implicitly computing the second moment through incremental PCA and then whitening reduces dimensionality from vocabulary size to number of topics, vastly improving scalability.
- End-to-end GPU acceleration, from preprocessing to tensor operations, is crucial for achieving billion-document scale analysis and significant speedups over CPU-based methods.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.