Theme Recurrence as a Reliability Signal for LLM Thematic Analysis

Thematic analysis is the qualitative method of reading interviews, open-ended survey answers, or documents, tagging passages with short descriptive labels ("codes"), and grouping those codes into broader patterns ("themes"). LLM pipelines can now do this in minutes instead of the 40 to 60 hours a human team needs. They still return a single codebook with no indication of which themes are solid and which are artifacts of one particular run. The same pipeline run twice on the same transcripts, even at temperature 0, does not return the same codebook, because hosted models are not deterministic in practice. The current fix is to ask a second LLM, acting as a judge, to score each theme for credibility. That judge is itself unstable, and it is known to reward long, fluent text over substance.

This note proposes treating run-to-run variability as a measurement instead of a nuisance. Run the coding pipeline many times under controlled perturbations. Align the resulting themes across runs. Report, for each theme, how often it recurs. The core bet has two parts. First, recurrence is a cheaper and more honest reliability score than an LLM judge's rating of the theme. Second, the themes that recur rarely split into two kinds a researcher needs to tell apart: spurious themes, which human coders reject, and genuinely ambiguous themes, on which human coders also disagree.

Core Claim

Let $N$ be the number of independent pipeline runs on the same corpus. For a theme $t$ produced in a reference run, let its recurrence $r(t)$ be the fraction of the other runs that contain a theme matched to $t$. We claim three things:

  1. Low $r(t)$ predicts that human experts will judge $t$ unsupported by the data, and it predicts this better than an LLM judge's trustworthiness score for $t$.
  2. This holds after controlling for the length of the theme description, which is the confound that sinks judge scores.
  3. Among themes that humans accept, $r(t)$ correlates with per-theme agreement among human coders. Low recurrence is therefore partly a signal of real interpretive ambiguity, not only of error.

Because $r(t)$ is a binomial proportion, its standard error is about $\sqrt{r(1-r)/N}$. This tells us roughly how many runs are worth paying for. Around 10 runs give a standard error near 0.15 at $r=0.5$; around 20 runs bring it near 0.11.

The closest work does not do this. Measuring What Matters ensembles three fine-tuned small models through a moderator LLM and merges near-duplicate labels by embedding similarity. Its output is a single merged codebook, and it assigns no per-theme reliability. Auto-TA uses critic agents that score themes on Lincoln and Guba's trustworthiness criteria, and it treats those critiques as fixed and authoritative. HICode builds theme hierarchies with recursive LLM clustering and never measures how much the resulting tree changes across runs. LLM-in-the-loop fixes temperature at 0 to get reproducibility, and that assumption is what this proposal tests and drops.

Why the Gap Is Real

Two lines of evidence motivate the proposal.

The first shows that variability exists and that it compounds through a pipeline:

- Stability Analysis of ChatGPT-based Sentiment Analysis shows that temperature-0 outputs from a commercial model differ across repeated calls, and that they drift over months. - Non-Determinism of "Deterministic" LLM System Settings traces this to the hardware: GPUs add floating-point numbers in parallel, the order of those additions varies, and the tiny rounding differences can flip which token is chosen.

  • Evaluating Stochasticity in Deep Research Agents finds that in multi-step agents, the steps where the model interprets text contribute the most run-to-run variance, and that early divergences cascade into later steps. A coding pipeline that goes from codes to themes has exactly this multi-step structure.

The second line constrains the design by showing what a judge-based reliability score can and cannot do:

  • Evaluating the Consistency of LLM Evaluators samples judges repeatedly and measures their agreement with themselves using Krippendorff's α, a standard agreement statistic. It finds that models strong on general benchmarks are not the most self-consistent judges.
  • Articulate Intuition or Genuine Analysis? shows that judges scoring multi-dimensional rubrics collapse them into one factor driven largely by length. On its Kahneman4Review benchmark, length explained 74% of the naive gap between AI-written and human-written reviews.
  • When Rubrics Backfire shows that small rewordings of a rubric can pass benchmark checks while shifting the judge's preferences on new domains by up to 27.9%.

Together these papers say a single judge score per theme is both noisy and biased toward fluent prose. That is why the proposal uses the judge narrowly, as a matcher between runs, and audits that use separately.

Distributional LLM-as-a-Judge supplies the conceptual move for the third claim. It shows that predicting the full distribution of human labels beats predicting a single label, cutting KL divergence from 0.60 to 0.23 on SNLI. Here we ask whether the spread of a pipeline's outputs across runs carries similar information about how much humans disagree.

Research Program

The program has four parts.

1. Perturbation regimes. We first build a harness that runs a fixed coding pipeline $N$ times under four regimes, each a different source of variation:

  • identical calls to a hosted model at temperature 0, to isolate serving non-determinism;
  • temperature 0.7 sampling;
  • paraphrases of the coding instructions, written as minimal rewordings in the spirit of the rubric edits in When Rubrics Backfire;
  • a different model family.

Each regime gives a different reading of $r(t)$: robustness to noise, to sampling, to wording, and to the model. Which reading best predicts human judgments is itself a finding. The pipeline is HICode's two-stage design (label each passage, then cluster the labels into themes), run on both a frontier API model and an open 8B-class model, so the consistency paradox reported by Lee et al. can be checked in this setting.

2. Cross-run theme alignment. We then align themes across runs with three interchangeable matchers:

  • an embedding matcher that pairs themes whose description embeddings exceed a similarity threshold;
  • a quote-overlap matcher that pairs themes whose assigned passages have high Jaccard overlap;
  • an LLM-judge matcher that is shown two themes with their example quotes and asked whether they describe the same pattern.

The judge matcher is itself sampled five times per pair. We report its self-consistency with Krippendorff's α, following Lee et al., and we propagate its disagreement into $r(t)$ as a fractional match. This keeps the judge's own variability visible instead of hiding it.

3. Human ground truth. On a subset of themes we collect two kinds of human labels: whether each theme is supported by the data, and how much independent coders agree on assigning it.

4. Analysis. We test the three claims against the baselines below.

Baselines

Naive reference: single run, no score. One pipeline run at temperature 0 with no reliability score, as LLM-in-the-loop does. As a ranking method it is equivalent to scoring every theme equally. Its AUROC (area under the ROC curve) for flagging rejected themes is therefore 0.5, and its precision is simply the share of themes humans accept. Any useful score must beat this.

Strongest direct competitor: Auto-TA-style judge scoring. We reproduce Auto-TA's critic, a role-conditioned judge that scores each theme on credibility, transferability, dependability, and confirmability, with persona conditioning, since Auto-TA reports that persona conditioning raises credibility by 16.28 points. Auto-TA reports no number for how well these scores predict human rejection of individual themes. For that question, no reported result found on Lacuna. For fairness, the judge gets the same total number of model calls that recurrence uses: if recurrence uses $N$ pipeline runs, the judge baseline averages $N$ sampled judgments per theme. Recurrence beats it if its AUROC for flagging human-rejected themes is higher, with a bootstrap confidence interval that excludes zero, both raw and after partialling out the length of the theme description.

Strongest codebook-level competitor: ensemble with label refinement. The Measuring What Matters ensemble reports a composite score of 0.99 for its refined Mixtral ensemble against 0.44 for standalone GPT-4 on its ChatGPT-reviews set. On Astro, HICode reports human-judged precision of 0.72 and recall of 0.74. We run both on identical corpora with matched call budgets. The comparison is whether filtering their output codebooks by recurrence raises theme precision at fixed recall, measured on the human labels from this study.

Ablations isolating the key ingredient. Two ablations separate recurrence from its mechanics:

  • Swapping among the three matchers tests whether the signal depends on an LLM judge at all.
  • Running recurrence on BERTopic clustering instead of LLM clustering tests whether the LLM pipeline matters, or whether bootstrap stability of any clustering method gives the same signal.

Why not just…?

Why not just set temperature to 0 and accept the single output? Stability Analysis of ChatGPT-based Sentiment Analysis and Non-Determinism of "Deterministic" LLM System Settings already show that temperature-0 outputs vary. What is unknown is whether that variation is large enough at the level of themes to matter. The temperature-0 regime answers this directly. If codebooks from identical temperature-0 calls are nearly identical, that regime contributes nothing, and the method reduces to deliberate perturbation by sampling or paraphrase. We would report this plainly.

Why not just ask a strong judge how trustworthy each theme is? This is the main threat. It is also cheaper per call than full reruns, since a judge reads a theme, not the corpus. The evidence against it is indirect. Judges collapse rubrics onto length (Articulate Intuition or Genuine Analysis?), and capable judges are not reliably self-consistent (Evaluating the Consistency of LLM Evaluators). The matched-budget, length-controlled comparison settles it. If the judge wins or ties, the honest conclusion is that recurrence is not worth its cost, and we would say so.

Why not just ensemble several models and merge their labels? Measuring What Matters already turns variability into a better codebook. However, merging keeps whatever survives the moderator and assigns no per-theme confidence, so a researcher cannot tell which merged themes are fragile. We treat recurrence as complementary: it is applied on top of the ensemble. The test is whether it raises precision there. If the ensemble's output contains almost no human-rejected themes, there is nothing for recurrence to filter, and its remaining value is only the ambiguity analysis.

Why not just measure stability with embeddings and skip the LLM judge? This may well work as well, and the design allows for that, because the claim concerns recurrence, not the matcher. If the embedding or quote-overlap matchers predict human labels as well as the judge matcher, the recommended method becomes judge-free. In that case the judge's role in this proposal shrinks to that of the competitor being beaten.

Proposed Experiments

Corpora. We use public corpora that come with codes or themes:

  • Music Shuffle (35 narratives) and Password Manager (280 responses) from LLM-in-the-loop, which reports human-to-LLM agreement of κ = 0.87 and 0.81 and human-to-human agreement of 0.77 on Password Manager;
  • the Astro, Frame, and Values sets from HICode;
  • the 100-review ChatGPT set from Measuring What Matters.

Human annotation. Existing gold codebooks do not provide per-theme agreement among several coders, so we will collect it. Three to five trained qualitative coders will independently mark about 300 pooled themes as supported or unsupported. They will also assign passages to themes, which gives a per-theme Krippendorff's α. This annotation is the main cost of the study.

Measurement 1: does variability exist at the theme level? For each perturbation regime and model, we measure how much codebooks differ across runs. The metrics are theme-set overlap after matching, and changes in which passages are assigned to which code, scored with adjusted Rand index.

Measurement 2: does recurrence flag bad themes? We compute AUROC for predicting human rejection, comparing $r(t)$ against the matched-budget judge score, both raw and length-residualized. We also plot precision against recall for codebooks filtered by recurrence.

Measurement 3: does recurrence track ambiguity? Among human-accepted themes, we compute the Spearman correlation between $r(t)$ and per-coder α.

Measurement 4: cost. We trace AUROC as a function of $N$ and check it against the expected $\sqrt{r(1-r)/N}$ shrinkage in standard error.

Decisive outcomes. The proposal succeeds if recurrence beats the length-controlled judge score on AUROC across at least four of the six corpora. Its distinctive claim succeeds if it also shows a positive correlation with human agreement among accepted themes; this is the part that would let a qualitative researcher tell a contested interpretation from a hallucinated one. It fails if the judge ties it at matched budget, or if low-recurrence themes are uniformly rejected by humans regardless of how much coders agree. In that second case, recurrence is merely an error detector and says nothing about ambiguity.