A provable SVD-based algorithm for learning topics in dominant admixture corpus

Trapit Bansal, Chiranjib Bhattacharyya, Ravindran Kannan

TL;DR

This paper introduces TSVD, a provable algorithm for topic modeling that replaces the restrictive "anchor word" assumption with a more realistic "catchwords" and "dominant admixture" framework. By combining a novel thresholding step with Singular Value Decomposition (SVD), the authors achieve significantly lower error rates on real-world text corpora compared to previous state-of-the-art provable methods.

What Problem Does This Paper Address?

Topic modeling—the process of automatically discovering themes in a collection of documents—is a cornerstone of Natural Language Processing (NLP). While models like Latent Dirichlet Allocation (LDA) are widely used, the underlying inference problem of recovering the original topics is technically NP-hard.

To make the problem solvable, researchers previously relied on the separability assumption, which requires every topic to have "anchor words"—words that appear only in that specific topic. In reality, language is messy; words like "run" might appear in "Sports," "Politics," and "Technology" topics simultaneously. Furthermore, existing provable algorithms often struggled with high $l_1$ error (a measure of how much the predicted probability distribution deviates from the true one), particularly as the dictionary size grew.

Methods

The authors propose the TSVD (Thresholded SVD) Algorithm. The core innovation is a pre-processing step that makes SVD—a standard tool for dimensionality reduction—effective for topic discovery.

  1. Thresholding: The algorithm calculates a specific frequency threshold for each word. It zeroes out entries in the word-document matrix where a word's frequency is too low to be significant. This filters out "noise" from non-dominant topics.
  2. SVD & Clustering: It performs SVD on this thresholded matrix to find a $k$-dimensional subspace. It then uses a "Project and Cluster" method followed by Lloyd’s $k$-means algorithm to identify which documents belong to which dominant topic.
  3. Catchword Identification: Instead of looking for single anchor words, the algorithm identifies "Catchwords"—groups of words that are collectively frequent in one topic and significantly more frequent there than in others.
  4. Topic Recovery: Finally, it averages the word distributions of the "nearly pure" documents identified in the previous steps to reconstruct the final topic vectors.

Key Insights and Ideas

  • Dominant Admixtures: The authors argue that while a document can have multiple topics, it usually has one overarching theme. This "Dominant Topic" assumption is much less restrictive than requiring documents to be "pure" (containing only one topic).
Corpus statistics validating the Dominant Topic and Catchword assumptions on real-world datasets.
  • Catchwords vs. Anchor Words: A topic is better characterized by a group of co-occurring words (e.g., "run," "hit," "score" for Baseball) than by a single unique word. This shift makes the model much more robust to how people actually write.
  • Error Stability: Unlike previous methods where the error grew linearly with the dictionary size ($d$), the TSVD error bound is independent of $d$. This makes it far more suitable for massive modern datasets.
  • The Thresholding "Aha": Standard SVD fails on raw word-document matrices because the frequency spread within a topic is often larger than the gap between topics. Thresholding "sharpens" the data, making the clusters visible to the SVD.

Key Results

  • Empirical Validation: The authors showed that in real datasets like NYT and NIPS, 56% to 74% of documents actually satisfy their "Dominant Topic" assumption, proving their theoretical model aligns with reality.
  • Superior Accuracy: On semi-synthetic data, TSVD outperformed the previous state-of-the-art (Recover-KL) across almost all datasets. Specifically, it achieved a 27% lower $l_1$ recovery error on 90% of the topics.
Histograms comparing the $l_1$ recovery error of TSVD and R-KL on the NIPS and NYT datasets. TSVD shows significantly lower error.
  • Document Length Matters: The algorithm performed exceptionally well on the NIPS dataset (1,500 full papers). This suggests that longer documents provide more "signal" for the thresholding step to work effectively compared to shorter, noisier texts like the 20NewsGroup dataset.

Limitations and Future Work

  • Computational Intensity: SVD can be time-consuming for extremely large matrices, though the authors note that recent distributed SVD implementations can mitigate this.
  • Parameter Sensitivity: The algorithm requires several hyperparameters (like $\epsilon$ and $\delta$) which may not be known in advance for a new corpus, requiring some empirical tuning.
  • Broadening Scope: The authors suggest that the thresholded SVD approach could be applied to other types of matrix factorization problems beyond just text, such as recommendation systems or genomic data.

Summary updated

BibTeX
@inproceedings{bansal2014provable,
  author = {Trapit Bansal and Chiranjib Bhattacharyya and Ravindran Kannan},
  title = {{A provable SVD-based algorithm for learning topics in dominant admixture corpus}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2014},
  url = {https://openreview.net/forum?id=Hy4_JvZO-B},
}
Figure