Scaling Qualitative Analysis with Large Language Models: Development and Validation of the Smart Coder Framework for Human-LLM Collaborative Coding
Cheng Tang, Kun Wang, Yaxuan Yang, Shiyu Wang, Allan Cohen, Rachael Eriksen Brown, Chandra Hawley Orrill
Key points
From the paper's conclusion- Overall, the framework systematically structures and monitors LLM-assisted qualitative coding while preserving human authority over coding decisions.
Abstract
Current uses of large language models (LLMs) for qualitative coding often rely on ad hoc prompting with limited guidance for reliability and human oversight. To address these limitations, we propose the Smart Coder Framework, a three-phase approach structuring human-LLM collaborative coding through Instruction, Prompt Strategy, and Reliability Check. We evaluated the framework using 72 middle-school mathematics teacher interview transcripts and a human-consensus benchmark. A factorial design compared instructed versus uninstructed prompts, few-shot versus few-shot plus chain-of-thought prompting, and single-pass versus self-consistency coding. Twelve transcripts were used for prompt development and calibration, and 60 for the formal evaluation. In the results, instruction consistently improved agreement. Chain-of-thought further improved agreement under adequate instruction, and self-consistency produced smaller, theme-dependent gains but helped identify unstable decisions for human review. Performance also varied by transcript characteristics. Overall, the framework systematically structures and monitors LLM-assisted qualitative coding while preserving human authority over coding decisions.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Human-in-the-loop LLM-assisted thematic analysis: A validated, reproducible tutorial for large-scale qualitative research.Behavior research methods · 2026
- Who Writes the Codebook? An Eight-Step Framework for Auditing LLM-Generated Category SystemsarXiv · 2026
- Automated Coding of Communication Data Using LLM: Consistency across SubgroupsJournal of Educational Measurement · 2026
- Cognitive offloading in student–AI collaboration: A longitudinal analysis of prompting strategiesComputers in Human Behavior Reports · 2026
- Large Language Model-Assisted Thematic Coding in Medical Education Research: Comparative Methodological Study.JMIR formative research · 2026
- TACT: A Pragmatic Approach to Qualitative Analysis with an AI CouncilarXiv · 2026