{"slug":"llm-assisted-coding-interview-transcripts-2026","title":"LLM-Assisted Coding of Interviews: 40 Hours to 1 (2026 Study)","description":"LLM-assisted coding of interviews: a 2026 Stanford study cut deductive coding of 22 transcripts from 39 hours to under 1, with moderate agreement (κ = 0.66).","keywords":"LLM-assisted coding, AI qualitative coding, deductive coding with GPT-4, LLM interview transcript coding, semantic chunking qualitative data, AI coding reliability, human-in-the-loop qualitative analysis","date":"2026-12-01","author":"Qualitati Research Team","category":"Methodology","readTime":"7 min read","content":"<div class=\"short-answer\"><p><strong>Short answer:</strong> Partly. In a 2026 Stanford proof-of-concept, GPT-4 applied a human-built codebook to 22 hour-long interviews in under an hour, against about 39 hours for human coders. Agreement with the humans was moderate (modified pooled kappa 0.66), and reviewers judged 71.8% of the model's codes sound, so human review stayed essential.</p></div>\n\n<p><em>Last updated: December 1, 2026</em></p>\n\n<p>Most tests of LLM qualitative coding use short, tidy text: survey answers, forum posts, social media comments. Real interview transcripts are different. They run for an hour, wander between topics, and rely on pronouns and context set up twenty minutes earlier. A new preprint from Stanford's Department of Psychiatry and Behavioral Sciences asks what happens when you give an LLM that harder material, along with a codebook the research team already trusts.</p>\n\n<h2>What did the study test?</h2>\n<p>The study tested whether an LLM can apply a deductive codebook to long semi-structured interviews while keeping the analysis rigorous. The paper, <a href=\"https://doi.org/10.21203/rs.3.rs-9726844/v1\" target=\"_blank\" rel=\"noopener\">\"Integrating Large Language Models into Qualitative Methods in Health Services Research: A Proof-of-Concept Study\"</a> by Lia Chin-Purcell, Elena Rosenberg-Carlson, Hélène Chokron Garneau, Marzan Hamid and Mark McGovern, was posted to Research Square in 2026. It is a preprint and has not yet been peer reviewed.</p>\n<p>The data were 22 interviews with public health officials, law enforcement, community organizers and medical professionals in one California county, about gaps in substance use services. According to Chin-Purcell et al. (2026), each transcript averaged about 8,300 tokens, 12.8 single-spaced pages and roughly an hour of talk. Two human coders first refined a mostly deductive codebook in ATLAS.ti until their inter-coder reliability passed a Cohen's kappa of 0.95, then coded 11 transcripts each. That human coding became the benchmark.</p>\n\n<h2>How does the NLP-assisted coding workflow work?</h2>\n<p>The workflow keeps humans in charge of the codebook and the final judgement, and uses the LLM only for the repetitive step of applying codes. The authors describe five steps:</p>\n<ol>\n<li><strong>Humans build the codebook and code a subset.</strong> The team writes the codebook and coding guidelines and codes some transcripts by hand, so they know the data and can later judge the model's output.</li>\n<li><strong>Humans build and refine the prompt.</strong> The prompt casts GPT-4 as a qualitative researcher and supplies the codebook, the guidelines, the chunk to code and the previous chunk for context. It asks for JSON output with a certainty rating (high, medium, low) and an explanation for every code. The prompt was iterated across 5 transcripts, about 22% of the data.</li>\n<li><strong>A semantic shift algorithm splits transcripts into chunks.</strong> Instead of cutting at fixed lengths, it uses sentence embeddings (all-mpnet-base-v2) to detect topic changes, plus rules that keep each interviewer question with its answer.</li>\n<li><strong>GPT-4 codes every chunk.</strong> The team used a secure, private GPT-4 instance hosted by an academic medical center, because transcripts can contain protected health information. Each chunk received 2–3 codes on average.</li>\n<li><strong>Humans review the codes for credibility.</strong> Like an arbiter, the team checks the model's codes, corrects them and notes patterns.</li>\n</ol>\n<p>The small trick in step 2 is worth copying. When the model under-used parent codes, the team added \"(Parent Code)\" to those code names, and the model began using them more appropriately.</p>\n\n<h2>How accurate was LLM coding compared with human coders?</h2>\n<p>Agreement was moderate to substantial, but it was measured in a specific way. Because the model codes every chunk while humans code only relevant passages, the authors used a modified, recall-oriented Cohen's kappa: how well the LLM captured what humans coded. According to Chin-Purcell et al. (2026):</p>\n<table>\n<thead><tr><th>Measure</th><th>Result</th></tr></thead>\n<tbody>\n<tr><td>Modified kappa, all codes (per transcript)</td><td>0.45–0.85, pooled κ = 0.63</td></tr>\n<tr><td>Modified kappa, excluding \"Miscellaneous\"</td><td>0.54–0.85, pooled κ = 0.66</td></tr>\n<tr><td>Rows coded only by the LLM</td><td>46.8% of rows, 24.2% of characters</td></tr>\n<tr><td>Codes rated sound by two reviewers (5 transcripts)</td><td>71.8% (295 of 411)</td></tr>\n<tr><td>Sound rate, high-certainty codes</td><td>82% (244 of 296)</td></tr>\n<tr><td>Sound rate, medium-certainty codes</td><td>45% (51 of 113)</td></tr>\n<tr><td>Coding time, all 22 interviews</td><td>57 min 40 s (LLM) vs 39 h 15 min (humans)</td></tr>\n<tr><td>Average time per transcript</td><td>2 min 30 s (LLM) vs 107 min (humans)</td></tr>\n</tbody>\n</table>\n<p>The authors warn that the modified kappa is not directly comparable to standard agreement between two human coders. Read it as \"how much of the human coding did the model recover\", not as inter-coder reliability.</p>\n\n<h2>Where did the LLM get codes wrong?</h2>\n<p>The model did best on straightforward, discrete codes and worst on relational ones that depend on context. Codes describing an organization's resources or populations of focus were rated sound about 88–91% of the time. Codes about collaboration facilitators or communication patterns were sound only about 55% of the time. The authors found four recurring problems:</p>\n<ul>\n<li><strong>Over-coding.</strong> GPT-4 added lower-certainty second and third codes where one code was clearly right. It also applied some topical codes whenever related keywords appeared, rather than when the passage actually matched the code's definition.</li>\n<li><strong>Losing the entity.</strong> A vague \"we\" referring to the interviewee's organization was sometimes coded as if it meant the wider service network.</li>\n<li><strong>Leaning on the previous chunk.</strong> The context chunk sometimes drove the code instead of the chunk being coded, especially in messy back-and-forth or at the end of an interview.</li>\n<li><strong>Renamed or invented codes.</strong> The model occasionally altered code names or made up a code that was not in the codebook, which required post-processing.</li>\n</ul>\n<p>Segmentation was the root of many of these errors. When conversation was non-linear, the semantic shift algorithm produced poorly defined chunks, and coding quality fell with it. The authors suggest that segmenting during transcription may work better for free-form interviews.</p>\n\n<h2>What this means for researchers</h2>\n<p>The study supports a narrow but useful claim: an LLM can speed up deductive coding of long interviews if humans own the codebook, prompt and review. It does not claim LLM coding equals reflexive, interpretive analysis, and the authors say so directly. Five practical lessons follow:</p>\n<ul>\n<li><strong>Code a subset yourself first.</strong> Your own coding is what lets you spot the 28% of codes that are not sound.</li>\n<li><strong>Ask for a certainty rating and an explanation.</strong> High-certainty codes were far more reliable, so you can focus your review on medium- and low-certainty ones.</li>\n<li><strong>Chunk by meaning, not by length.</strong> Keep each question with its answer, and expect weaker results on unstructured talk.</li>\n<li><strong>Constrain code names.</strong> Validate model output against the codebook so invented or renamed codes are caught automatically.</li>\n<li><strong>Protect the data.</strong> Use a secure or local model when transcripts contain sensitive information.</li>\n</ul>\n<p>If you run repeated rounds of interviews, the setup cost is paid once and each later round is much cheaper. Tools such as <a href=\"https://qualitati.com/themelens\">ThemeLens</a> apply the same principle: AI proposes codes with explanations, and the researcher reviews and accepts them. If you collect interviews with an <a href=\"https://qualitati.com/ai-interviewer\">AI Interviewer</a>, transcripts arrive with clear question-and-answer turns, which addresses the segmentation problem this study identified.</p>\n\n<h2>FAQ</h2>\n<h3>Can ChatGPT or GPT-4 code qualitative interviews?</h3>\n<p>It can apply a predefined codebook with moderate agreement with human coders. In this study about 72% of its codes were judged sound, so a researcher still needs to review the output before analysis.</p>\n<h3>How much time does LLM-assisted coding save?</h3>\n<p>Here, coding 22 hour-long interviews took under an hour with the LLM against about 39 hours by hand. That excludes building the codebook and refining the prompt, which humans still did.</p>\n<h3>Is a kappa of 0.66 good for AI qualitative coding?</h3>\n<p>It indicates moderate agreement, but this was a modified, recall-oriented kappa. It should not be compared directly with human inter-coder reliability figures.</p>\n<h3>Does this work for inductive or reflexive thematic analysis?</h3>\n<p>The study tested deductive coding only. The authors call for future work on inductive approaches and other data types.</p>\n\n<p><strong>Source:</strong> Chin-Purcell, L., Rosenberg-Carlson, E., Garneau, H. C., Hamid, M., &amp; McGovern, M. (2026). <a href=\"https://doi.org/10.21203/rs.3.rs-9726844/v1\" target=\"_blank\" rel=\"noopener\">Integrating Large Language Models into Qualitative Methods in Health Services Research: A Proof-of-Concept Study</a>. Research Square preprint, doi:10.21203/rs.3.rs-9726844/v1.</p>\n<p><em>Last updated: December 1, 2026. This is an independent editorial summary of third-party research by the Qualitati Research Team. It is not affiliated with or endorsed by the paper's authors.</em></p>\n","related":[{"slug":"ai-qualitative-analysis-rapid-review-42-studies-2026","title":"How Good Is AI at Qualitative Analysis? A 42-Study Review (2026)","description":"How good is AI at qualitative analysis? A 2026 JMIR review of 42 studies found 80%+ agreement on descriptive themes but about 30% on culturally nuanced ones.","category":"Methodology","date":"2026-12-02","readTime":"7 min read","author":"Qualitati Research Team"},{"slug":"synthetic-respondents-factor-structure-2026","title":"Do Synthetic Respondents Reproduce Scale Structure? A 2026 Test","description":"Do synthetic respondents reproduce questionnaire structure? A 2026 study finds persona prompts reach 0.50 factor congruence; trained adapters about 0.85.","category":"Methodology","date":"2026-11-30","readTime":"7 min read","author":"Qualitati Research Team"},{"slug":"research-paradigms-qualitative-research-2026","title":"Research Paradigms in Qualitative Research (2026 Guide)","description":"Research paradigms in qualitative research explained: post-positivism, interpretivism, critical theory and pragmatism, plus an AI fit matrix and template.","category":"Methodology","date":"2026-11-28","readTime":"11 min read","author":"Qualitati Research Team"}]}