TL;DR
SenClu is a novel topic modeling approach that bridges the gap between classical statistical models and modern deep learning. By treating documents as a "Bag of Sentences" (BoS) rather than words, and leveraging pretrained SBERT embeddings, it produces highly coherent topics with a fraction of the computational cost of complex neural models.
What Problem Does This Paper Address?
For decades, Latent Dirichlet Allocation (LDA) has been the "de-facto" standard for topic modeling. However, LDA relies on a "Bag of Words" (BoW) assumption, which treats words as independent units and ignores their context. This leads to two major issues:
- Semantic Blindness: LDA doesn't understand that "You eat a fish" and "A fish eats you" are different.
- Incoherence: Topics often change word-by-word, leading to "meaningless" results dominated by frequent but uninformative words (like "the" or "is").
Modern alternatives like BERTopic or TopClus use embeddings to fix this, but they have their own trade-offs. BERTopic often struggles to assign multiple topics to a single document effectively, while TopClus is computationally expensive, often taking hours to process modest datasets.
Methods
The authors introduce SenClu (Sentence Clustering), which uses several clever techniques:
- Bag of Sentences (BoS): Instead of looking at individual words, the model uses sequences of 1–5 sentences as the primary unit of analysis. This is the "Goldilocks" zone—large enough to capture a semantic concept, but small enough that a single sequence likely only covers one topic.
- Pretrained Embeddings: It uses Sentence-BERT (SBERT) to convert these sentence groups into high-dimensional vectors, capturing deep semantic meaning.
- Fast EM Inference: The model uses an Expectation-Maximization (EM) algorithm. In the E-step, it performs "hard assignments" (assigning a sentence group to exactly one topic). In the M-step, it updates topic vectors by averaging the embeddings of assigned sentences.
- Simulated Annealing: To avoid getting stuck in "local minima" (bad initial clusters), the model uses a decaying smoothing parameter. This allows the model to be "flexible" early in training and "decisive" toward the end.
- Controllable Priors: Like LDA, SenClu includes a hyperparameter ($\alpha$) that lets users control whether they want documents to be assigned to many topics or just a few.
Datasets
The authors evaluated SenClu on four diverse benchmarks:
- 20Newsgroups: A classic dataset of newsgroup posts across 20 categories.
- New York Times (NYT): 31,997 articles categorized by topic and location.
- Gutenberg: A collection of literary excerpts from the public domain.
- Yelp: Nearly 30,000 business reviews.
Key Insights and Ideas
- The Unit Matters: Moving from words to sentences naturally filters out "noise." A word like "bank" is ambiguous; a sentence about "withdrawing money from a bank" is not.
- Dimensionality Reduction is Optional: Unlike many embedding-based models that rely on UMAP to squash vectors down to 5 dimensions, SenClu works directly in high-dimensional space. The authors argue this prevents information loss.
- Human-Centric Scoring: The paper proposes a new word-topic scoring method. It doesn't just look at how often a word appears in a topic, but how unique that word is to the topic compared to others. This automatically excludes "stop words" without needing a manual list.
Key Results
- Topic Coherence: SenClu significantly outperformed LDA and BERTopic in PMI (Pointwise Mutual Information), a metric that measures how well topic words actually relate to each other. On the 20Newsgroups dataset, SenClu achieved a PMI of 0.79, while LDA trailed at 0.35 and BERTopic at 0.2.
- Efficiency: While TopClus took over 150 minutes to process the NYT dataset, SenClu finished in roughly 6.5 minutes. It is slower than LDA but offers a much better quality-to-speed ratio than other neural methods.
- Flexibility: Qualitative analysis showed that SenClu's topics were much easier for humans to interpret (e.g., clearly identifying "medical," "hardware," or "religion" clusters) compared to TopClus, which occasionally produced clusters of generic "thank you" phrases.
Limitations and Future Work
- Computational Overhead: While faster than TopClus, SenClu is still slower than LDA and BERTopic. The authors suggest that future versions could use subsets of documents for the EM steps to speed up convergence.
- Dependency on Embedders: The model's performance is tied to the quality of the pretrained SBERT model. If the embedder hasn't seen a specific domain (like highly technical medical jargon), SenClu's performance might degrade.
- Topic Labeling: Currently, the model outputs the top words for a topic. The authors suggest that future work could integrate LLMs to automatically generate descriptive labels for these clusters.
Summary updated