{"slug":"best-llm-thematic-analysis-reliability-study","title":"Which LLM Is Best at Thematic Analysis? A 2026 Study","description":"A December 2025 study ran Gemini 2.5 Pro, GPT-4o and Claude 3.5 Sonnet on an interview transcript: all passed kappa 0.80 for inter-rater reliability, with Gemini highest.","keywords":"Which LLM Is Best at Thematic Analysis? A 2026 Study","date":"2026-07-27","author":"Qualitati Research Team","category":"Guides","readTime":"8 min read","content":"<p><strong>Can large language models produce reliable thematic analysis?</strong> A December 2025 study says yes &mdash; when you run the same model several times and measure agreement. Testing Gemini 2.5 Pro, GPT-4o, and Claude 3.5 Sonnet on an interview transcript, all three exceeded the &kappa; &gt; 0.80 threshold for &ldquo;excellent&rdquo; inter-rater reliability, with Gemini scoring highest.</p>\n\n<h2>What did the study test?</h2>\n<p>The paper, <em>&ldquo;Multi-LLM Thematic Analysis with Dual Reliability Metrics&rdquo;</em> by Nilesh Jain, Hyungil Suh, Seyi Adeyinka, Leor Roseman, and Aza Allsop (arXiv, December 2025; revised February 2026), asks a practical question: if you ask an LLM to code a qualitative transcript, how do you know the output is trustworthy rather than a one-off hallucination?</p>\n<p>Their answer is an <strong>ensemble approach</strong>. Instead of running a model once, they ran each model <strong>six independent times</strong> on the same psychedelic art-therapy interview transcript, varying random seeds (1&ndash;6) and temperature (0.0&ndash;2.0). They then measured how consistently each model reproduced the same themes across runs, using two complementary metrics.</p>\n\n<h2>How was reliability measured?</h2>\n<p>The study used two metrics that capture different kinds of agreement:</p>\n<ol>\n  <li><strong>Cohen&rsquo;s Kappa (&kappa;)</strong> &mdash; measures inter-rater agreement corrected for chance. It answers: <em>do the runs assign the same codes to the same segments?</em> Standard interpretation: below 0.40 is poor, 0.40&ndash;0.60 moderate, 0.60&ndash;0.80 substantial, and above 0.80 excellent.</li>\n  <li><strong>Cosine (semantic) similarity</strong> &mdash; measures whether theme <em>descriptions</em> mean the same thing even when worded differently. This catches agreement that exact-match kappa would miss.</li>\n</ol>\n<p>Combining the two is the paper&rsquo;s core methodological contribution: kappa alone penalizes harmless rewording, while semantic similarity alone can mask genuine coding disagreement. Together they give a fuller picture of reliability.</p>\n\n<h2>Which LLM was most reliable for thematic analysis?</h2>\n<p>According to Jain et al. (2025), all three models cleared the &kappa; &gt; 0.80 bar, but Gemini led on both metrics:</p>\n<table border=\"1\" cellpadding=\"8\" cellspacing=\"0\">\n  <thead>\n    <tr><th>Model</th><th>Cohen&rsquo;s Kappa</th><th>Cosine Similarity</th><th>Consensus Themes</th></tr>\n  </thead>\n  <tbody>\n    <tr><td>Gemini 2.5 Pro</td><td>0.907</td><td>95.3%</td><td>6 (50&ndash;83% consistency)</td></tr>\n    <tr><td>GPT-4o</td><td>0.853</td><td>92.6%</td><td>5</td></tr>\n    <tr><td>Claude 3.5 Sonnet</td><td>0.842</td><td>92.1%</td><td>4</td></tr>\n  </tbody>\n</table>\n<p>The gap between models is real but modest. More striking is that <strong>every</strong> model surpassed the excellence threshold once results were aggregated across runs &mdash; a reminder that the reliability gain comes as much from the ensemble method as from the choice of model.</p>\n\n<h2>Why does running the model multiple times matter?</h2>\n<p>Because LLMs are probabilistic, a single run can surface an idiosyncratic reading of a transcript. That is the same worry a qualitative researcher has about a single human coder. The classic fix in qualitative methods is a second coder and an inter-rater agreement statistic. The study reframes that fix for AI: treat each model run as a separate &ldquo;rater,&rdquo; then require themes to survive across runs before you trust them. Gemini&rsquo;s six consensus themes, for instance, each recurred in 50&ndash;83% of runs &mdash; the themes that appear once and vanish are exactly the ones you should be skeptical of.</p>\n\n<h2>What this means for researchers</h2>\n<p>The takeaway is not &ldquo;use Gemini.&rdquo; It is that <strong>AI-assisted coding needs a reliability protocol, not a single prompt</strong>. Three practices transfer directly to everyday work:</p>\n<ul>\n  <li><strong>Run more than once.</strong> Multiple runs at varied temperature expose which themes are stable and which are artifacts.</li>\n  <li><strong>Report an agreement metric.</strong> A kappa (or an equivalent) makes AI coding auditable and defensible to reviewers, just as it does for human coders.</li>\n  <li><strong>Keep a human interpreter.</strong> High reliability means the model is <em>consistent</em>, not necessarily <em>correct</em>. Consistency across runs is a floor for trust, not a substitute for researcher judgment about meaning and context.</li>\n</ul>\n<p>This is the workflow behind AI-assisted qualitative tools generally. If you want to try structured, auditable theme extraction on your own transcripts, <a href=\"https://qualitati.com/themelens\">ThemeLens</a> applies AI thematic analysis with a transparent coding trail, and <a href=\"https://qualitati.com/ai-interviewer\">QualiTaTi&rsquo;s AI Interviewer</a> can generate the transcripts to analyze in the first place.</p>\n\n<h2>Limitations to keep in mind</h2>\n<p>This was a single interview transcript in one domain, so the exact kappa values should not be read as universal model rankings. The metrics validate <em>internal consistency</em> across runs &mdash; they do not verify that the themes match a human expert&rsquo;s interpretation or the participant&rsquo;s intended meaning. Reliability and validity remain distinct questions, and the paper measures the former.</p>\n\n<h2>FAQ</h2>\n<p><strong>Is AI thematic analysis reliable?</strong><br/>In this study, yes &mdash; when aggregated over multiple runs, all three tested LLMs reached Cohen&rsquo;s &kappa; above 0.80, the conventional threshold for excellent agreement. Reliability from a single run is not guaranteed.</p>\n<p><strong>Which LLM did best?</strong><br/>Gemini 2.5 Pro (&kappa; = 0.907, 95.3% semantic similarity), narrowly ahead of GPT-4o (0.853) and Claude 3.5 Sonnet (0.842).</p>\n<p><strong>Does high reliability mean the coding is correct?</strong><br/>No. The metrics measure consistency across runs, not agreement with human interpretation. A human researcher should still validate that the themes are meaningful and accurate.</p>\n<p><strong>How many runs should I use?</strong><br/>The study used six per model with varied seeds and temperature. The principle &mdash; run multiple times and keep only themes that recur &mdash; matters more than the exact count.</p>\n\n<p><em>Last updated: July 27, 2026. This is an independent editorial summary of third-party research; QualiTaTi is not affiliated with the study&rsquo;s authors. Read the original paper: <a href=\"https://arxiv.org/abs/2512.20352\">Multi-LLM Thematic Analysis with Dual Reliability Metrics (arXiv:2512.20352)</a>.</em></p>","related":[{"slug":"ai-conversational-interviewing-2026-study","title":"Can AI Conduct Research Interviews? A 2026 Field Study","description":"Wuttke et al. (2026) ran AI-led interviews with 571 respondents on migration attitudes: richer reasoning than surveys, and ratings at or above the survey. Delivery mode matters.","category":"Guides","date":"2026-07-31","readTime":"8 min read","author":"Qualitati Research Team"},{"slug":"digital-twins-survey-respondents-2026-study","title":"Can Digital Twins Replace Survey Respondents? A 2026 Study","description":"A 2026 Columbia Business School study found LLM digital twins correlate with real survey answers at only r = 0.20 across 164 outcomes: funhouse mirrors, not substitutes.","category":"Guides","date":"2026-07-29","readTime":"8 min read","author":"Qualitati Research Team"},{"slug":"is-ai-qualitative-coding-biased-2025","title":"Is AI Qualitative Coding Biased? What a 2025 Study Found","description":"A 2025 Sociological Methods & Research study found ChatGPT and Llama 2 coding errors correlated with respondent traits; a small supervised model was more accurate and less biased.","category":"Guides","date":"2026-07-28","readTime":"8 min read","author":"Qualitati Research Team"}]}