← Latest papers
💬 NLP

Repeatability is not recovery: Quantifying algorithmic stability and topic recovery in Latent Dirichlet Allocation

This paper demonstrates that the repeatability of Latent Dirichlet Allocation (LDA) outputs across repeated runs does not guarantee the accurate recovery of underlying topics, arguing that internal stability and ground-truth recovery are distinct properties that must be evaluated separately to avoid misleading conclusions.

Original authors: Saranzaya Magsarjav, Jonathan Tuke, Lewis Mitchell, Melissa Humphries

Published 2026-08-20
📖 5 min read🧠 Deep dive

Original authors: Saranzaya Magsarjav, Jonathan Tuke, Lewis Mitchell, Melissa Humphries

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the vast, unlabelled oceans of human writing, from ancient manuscripts to modern social media posts, there are hidden patterns waiting to be found. These patterns are groups of words that frequently appear together, forming the invisible themes or "topics" that give a collection of text its meaning. For decades, scientists have used mathematical tools to sift through these mountains of words, hoping to pull out these hidden themes automatically. The goal is to let a computer read a library of documents and tell us, "Here are the main subjects being discussed." This process is called topic modelling, and it has become a standard way to understand everything from historical archives to medical records. However, because the computers use a bit of randomness to find these patterns, running the same analysis twice on the same text can sometimes yield slightly different results. For a long time, researchers assumed that if a computer kept finding the same themes over and over again, it must have found the "true" themes hidden in the data.

A team of researchers at Adelaide University has challenged this assumption, showing that just because a computer is consistent, it does not mean it is correct. They set out to test whether the ability of a topic model to repeat its own findings is the same thing as its ability to recover the actual truth. To do this, they created a controlled experiment where they knew the answer before they even started. They generated fifty different sets of simulated text, each built from a known, hidden structure of ten distinct topics. They then ran their topic-finding algorithm on these texts fifty times each, using different random starting points for every run. By comparing the results of these repeated runs against the known truth they had built into the simulation, they could see exactly how well the computer was doing.

The researchers discovered a surprising gap between consistency and accuracy. They found that the algorithm was very good at being consistent; when they ran it multiple times, it almost always produced the same set of topics. However, those repeated topics were not always the same as the true topics they had planted in the data. In many cases, the computer was confidently and repeatedly finding the wrong answer. It was as if the algorithm had learned to find a specific pattern that looked like a topic, but it was not the actual topic the data was built on. This distinction is crucial because in the real world, where we do not know the hidden truth, we often rely on repeatability as a sign of quality. This study shows that repeatability is a measure of how stable the computer's process is, not a guarantee that it has found the right answer.

To get a clearer picture, the team looked at the data in three different ways. First, they compared the full list of words and their probabilities for every topic. Second, they looked only at the top ten most important words for each topic, which is how humans usually read and interpret these results. Third, they checked the order in which those top words appeared. They found that the algorithm was much better at finding the correct top words and their order than it was at getting the full mathematical distribution right. For the clearest, most separated topics, the computer could accurately identify the key words and their ranking. But for topics that were more mixed or overlapping, the computer's repeated results were consistent with each other, yet they still drifted away from the true structure.

The researchers also tested their method on a real-world dataset of twenty thousand messages from twenty different online discussion groups, ranging from religion to sports. Since they did not know the exact mathematical structure of this real data, they could not measure "recovery" in the same way, but they could still measure consistency. They found that the measures of consistency were lowest when the number of topics matched the twenty known categories of the discussion groups. This suggests that the algorithm was most stable when it was trying to find a number of topics that aligned with the real-world structure of the data. However, other measures of quality, which looked at how coherent the words within a topic seemed, pointed toward different numbers of topics. This reinforces the idea that different ways of measuring success can tell different stories.

The ultimate takeaway is that in the world of automated text analysis, a stable result is not necessarily a correct one. A topic model can be highly repeatable, producing the same themes every time it runs, while still missing the true underlying structure of the data. The researchers conclude that scientists and analysts should not treat a repeatable output as proof that the topics are correct. Instead, they must look at repeatability, accuracy, and the coherence of the words together. If a model is consistent but the topics do not make sense, or if the words are coherent but the model is unstable, the results are incomplete. By understanding that repeatability is not the same as recovery, we can use these powerful tools more carefully, knowing that finding the same pattern twice does not mean we have found the truth.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →