Abstract
Topic modeling is a fundamental task in information retrieval, traditionally dominated by computationally intensive methods like Latent Dirichlet Allocation (LDA). Separable Non-negative Matrix Factorization (SNMF) provides a faster alternative by leveraging the "separability assumption," which posits that every topic is uniquely identified by at least one "anchor word." This paper introduces SoftClique, a novel graph-based approach to anchor word selection. By representing vocabulary as a word similarity graph and identifying anchor sets as minimum weight cliques, SoftClique achieves superior topic coherence and significant speedups over traditional geometric methods.
Introduction
In the era of big data, extracting latent themes from massive text collections is critical. While LDA is the industry standard, its reliance on complex inference makes it difficult to scale. SNMF offers a more efficient path by reducing topic discovery to the identification of anchor words. Historically, these words were found using geometric algorithms that treat words as points in high-dimensional space to find the convex hull. However, these methods are often slow and struggle with the nuances of word co-occurrence. This research proposes shifting the paradigm from geometry to graph theory to simplify the search for unique, semantically distinct anchors.
Methodology
The proposed SoftClique (SC) algorithm transforms the anchor selection problem into a combinatorial optimization task on a graph.
The Word Similarity Graph
Instead of high-dimensional vectors, the vocabulary is represented as a graph where nodes are words and edges are weighted based on co-occurrence probability. Under the separability assumption, anchor words for different topics should have minimal semantic similarity. Consequently, a set of $K$ anchor words should form a "clique" (a fully connected subgraph) where the total weight of the edges is minimized.
Optimization via SoftClique
Finding the absolute minimum weight clique is computationally challenging. SoftClique addresses this through two iterative sub-routines:
- MergeInit: A greedy initialization strategy that starts from random nodes and expands to find candidate sets.
- LocalSearch: An iterative process that swaps words in and out of the candidate set to further reduce the total edge weight.
This process is integrated into the broader SNMF framework to recover the final word-topic matrix.
Experimental Evaluation
The researchers evaluated SoftClique on four real-world corpora from the UCI Machine Learning Repository: NIPS (research papers), KOS (blog posts), Enron (emails), and 20NewsGroup (news messages).
Key Results
- Superior Coherence: On smaller datasets like NIPS and KOS, SoftClique significantly outperformed both LDA and the previous state-of-the-art SNMF method (FAW). For the NIPS dataset, SoftClique achieved a coherence score of -24.5, a massive improvement over FAW's -134.8.
- Computational Efficiency: SoftClique demonstrated a dramatic speedup. On the KOS dataset, as the number of topics ($K$) scaled to 100, SoftClique’s processing time remained stable near 1 second, whereas the competing FAW algorithm increased toward 3 seconds.
- Discovery of Hidden Models: An interesting finding was that datasets often contain multiple valid "anchor cliques." This suggests that documents can be categorized in various equally valid ways (e.g., a document about an allergy could be anchored in "Health" or "Disease"), and SoftClique is capable of identifying these alternative models.
Conclusion and Future Work
SoftClique represents a significant advancement in efficient topic modeling by reframing anchor word selection as a graph problem. While highly effective, the method currently requires a pre-defined number of topics ($K$). Future research will focus on automatically determining the optimal $K$ and refining the combinatorial methods used to identify cliques in even larger, more complex vocabularies.
Summary updated