mlsanityData to 14 Oct 2026

Scalable Qualitative Coding with LLMs: Chain-of-Thought Reasoning Matches Human Performance in Some Hermeneutic Tasks

arXiv 2401.15170 ↗First posted 26 Jan 2024cs.CL cs.AIcited by 22

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Qualitative coding, or content analysis, extracts meaning from text to discern quantitative patterns across a corpus of texts. Recently, advances in the interpretive abilities of large language models (LLMs) offer potential for automating the coding process (applying category labels to texts), thereby enabling human researchers to concentrate on more creative research aspects, while delegating these interpretive tasks to AI. Our case study comprises a set of socio-historical codes on dense, paragraph-long passages representative of a humanistic study. We show that GPT-4 is capable of human-equivalent interpretations, whereas GPT-3.5 is not. Compared to our human-derived gold standard, GPT-4 delivers excellent intercoder reliability (Cohen's kappa ≥ 0.79) for 3 of 9 codes, and substantial reliability (kappa ≥ 0.6) for 8 of 9 codes. In contrast, GPT-3.5 greatly underperforms for all codes (mean(kappa) = 0.34; max(kappa) = 0.55). Importantly, we find that coding fidelity improves considerably when the LLM is prompted to give rationale justifying its coding decisions (chain-of-thought reasoning). We present these and other findings along with a set of best practices for adapting traditional codebooks for LLMs. Our results indicate that for certain codebooks, state-of-the-art LLMs are already adept at large-scale content analysis. Furthermore, they suggest the next generation of models will likely render AI coding a viable option for a majority of codebooks.

Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 19 of its 40 references that are in the map. First posted on arXiv 26 Jan 2024.

Builds on

19 of 40 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023LLaMA: Open and Efficient Foundation Language Models27 Feb
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Models6 Oct

Other references · 17

  1. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,276
  3. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  4. 2023Gemini: A Family of Highly Capable Multimodal Modelscited by 872
  5. 2022BERTopic: Neural topic modeling with a class-based TF-IDF procedurecited by 801
  6. 2024Self-Rewarding Language Modelscited by 681
  7. 2023Generating with Confidence: Uncertainty Quantification for Black-box Large Language Modelscited by 293
  8. 2023REFINER: Reasoning Feedback on Intermediate Representationscited by 205
  9. 2023Navigate through Enigmatic Labyrinth A Survey of Chain of Thought Reasoning: Advances, Frontiers and Futurecited by 184
  10. 2022Text and Patterns: For Effective Chain of Thought, It Takes Two to Tangocited by 128
  11. 2023A Confederacy of Models: a Comprehensive Evaluation of LLMs on Creative Writingcited by 99
  12. 2023Navigating the Grey Area: How Expressions of Uncertainty and Overconfidence Affect Language Modelscited by 91
5 more
  1. 2023LLM-in-the-loop: Leveraging Large Language Model for Thematic Analysiscited by 70
  2. 2023LLM-Assisted Content Analysis: Using Large Language Models to Support Deductive Codingcited by 64
  3. 2023Towards Reasoning in Large Language Models via Multi-Agent Peer Review Collaborationcited by 51
  4. 2023Principled Instructions Are All You Need for Questioning LLaMA-1/2, GPT-3.5/4cited by 48
  5. 2020A Hierarchy of Limitations in Machine Learningcited by 20

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 7; 2025: 6; 2026: 9.

22 papers.

Sort:

By area:

  1. 2024Faithful Logical Reasoning via Symbolic Chain-of-Thoughtcited by 100
  2. 2025DarkMind: Latent Chain-of-Thought Backdoor in Customized LLMscited by 20
  3. 2025A Systematic Evaluation of LLM Strategies for Mental Health Text Analysis: Fine-tuning vs. Prompt Engineering vs. RAGcited by 15
  4. 2024Large Language Models Know What To Say But Not When To Speakcited by 11
  5. 2024QuaLLM: An LLM-based Framework to Extract Quantitative Insights from Online Forumscited by 8
  6. 2025Beyond the Prompt: An Empirical Study of Cursor Rulescited by 7
  7. 2024The Evolution of LLM Adoption in Industry Data Curation Practicescited by 6
  8. 2024Large Language Model for Qualitative Research -- A Systematic Mapping Studycited by 4
  9. 2025Deconstructing Depression Stigma: Integrating AI-driven Data Collection and Analysis with Causal Knowledge Graphscited by 4
  10. 2024Using Instruction-Tuned Large Language Models to Identify Indicators of Vulnerability in Police Incident Narrativescited by 3
  11. 2025Co-DETECT: Collaborative Discovery of Edge Cases in Text Classificationcited by 3
  12. 2024Exploring the Human-LLM Synergy in Advancing Theory-driven Qualitative Analysiscited by 2
10 more
  1. 2025Position: Thematic Analysis of Unstructured Clinical Transcripts with Large Language Modelscited by 2
  2. 2026Large language models struggle with ethnographic text annotationcited by 2
  3. 2026Correct codes for the wrong reasons? validating LLMs as measurement instruments for theoretical constructscited by 2
  4. 2026Conduct Under Pressure: What Sixty Language Models Do When a User Pushescited by 1
  5. 2026Large Language Models for Large-Scale, Rigorous Qualitative Analysis in Applied Health Services Researchcited by 0
  6. 2026LLMs for Qualitative Data Analysis Fail on Security-specificComments in Human Experimentscited by 0
  7. 2026The Alignment Target Problem: Divergent Moral Judgments of Humans, AI Systems, and Their Designerscited by 0
  8. 2026Do Large Language Models Encode Institutional Experience? Evidence from Cross-Linguistic Moral Reasoning Under Ambiguitycited by 0
  9. 2026LLM-Assisted Stance Detection in Scientific Discourse: A Test Case in Bayesian Cognitive Sciencecited by 0
  10. 2026How AI Coders Discuss, Disagree, and Reach Consensus: Challenges and Opportunities for LLM-Based Qualitative Codingcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Can Large Language Models Replace Human Coders? Introducing ContentBench
  2. 2023Exploring Qualitative Research Using LLMs
  3. 2025LLMCode: Evaluating and Enhancing Researcher-AI Alignment in Qualitative Analysis ↗
  4. 2026Improving LLM Interpretability with User-Centric Chain-of-Thought Reasoning
  5. 2025Temperature and Persona Shape LLM Agent Consensus With Minimal Accuracy Gains in Qualitative Coding
  6. 2025LLM-Assisted Automated Deductive Coding of Dialogue Data: Leveraging Dialogue-Specific Characteristics to Enhance Contextual Understanding
  7. 2025Large Language Models for History, Philosophy, and Sociology of Science: Interpretive Uses, Methodological Challenges, and Critical Perspectives
  8. 2025GPT and Prejudice: A Sparse Approach to Understanding Learned Representations in Large Language Models