Measuring LDA Topic Stability from Clusters of Replicated Runs
Not on the map. Why?
Abstract (arXiv)
Background: Unstructured and textual data is increasing rapidly and Latent Dirichlet Allocation (LDA) topic modeling is a popular data analysis methods for it. Past work suggests that instability of LDA topics may lead to systematic errors. Aim: We propose a method that relies on replicated LDA runs, clustering, and providing a stability metric for the topics. Method: We generate k LDA topics and replicate this process n times resulting in n*k topics. Then we use K-medioids to cluster the n*k topics to k clusters. The k clusters now represent the original LDA topics and we present them like normal LDA topics showing the ten most probable words. For the clusters, we try multiple stability metrics, out of which we recommend Rank-Biased Overlap, showing the stability of the topics inside the clusters. Results: We provide an initial validation where our method is used for 270,000 Mozilla Firefox commit messages with k=20 and n=20. We show how our topic stability metrics are related to the contents of the topics. Conclusions: Advances in text mining enable us to analyze large masses of text in software engineering but non-deterministic algorithms, such as LDA, may lead to unreplicable conclusions. Our approach makes LDA stability transparent and is also complementary rather than alternative to many prior works that focus on LDA parameter tuning.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Aug 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 1; 2025: 1.
6 papers.
- 2022Are Neural Topic Models Broken?cited by 11
- 2023No more Reviewer #2: Subverting Automatic Paper-Reviewer Assignment using Adversarial Learningcited by 7
- 2024Determination of the Number of Topics Intrinsically: Is It Possible?cited by 3
- 2023Multi-Label Topic Model for Financial Textual Datacited by 1
- 2023Optimizing Bus Travel: A Novel Approach to Feature Mining with P-KMEANS and P-LDA Algorithmscited by 0
- 2025Repeatability is not recovery: Quantifying algorithmic stability and topic recovery in Latent Dirichlet Allocationcited by 0
- 2025Repeatability is not recovery: Quantifying algorithmic stability and topic recovery in Latent Dirichlet Allocation17 Nov 2025
- 2024Determination of the Number of Topics Intrinsically: Is It Possible?14 Jun 2024
- 2023Optimizing Bus Travel: A Novel Approach to Feature Mining with P-KMEANS and P-LDA Algorithms4 Dec 2023
- 2023Multi-Label Topic Model for Financial Textual Data10 Nov 2023
- 2023No more Reviewer #2: Subverting Automatic Paper-Reviewer Assignment using Adversarial Learning25 Mar 2023
- 2022Are Neural Topic Models Broken?28 Oct 2022