[论文解读] LLM-Assisted Content Analysis: Using Large Language Models to Support Deductive Coding
本文提出 LLM-Assisted Content Analysis (LACA) 通过将 LLMs(GPT-3.5)整合到编码工作流中,以减少演绎编码所需时间,使用案例研究和四个公开数据集来验证该方法,并对人机可靠性进行基准比较。
Deductive coding is a widely used qualitative research method for determining the prevalence of themes across documents. While useful, deductive coding is often burdensome and time consuming since it requires researchers to read, interpret, and reliably categorize a large body of unstructured text documents. Large language models (LLMs), like ChatGPT, are a class of quickly evolving AI tools that can perform a range of natural language processing and reasoning tasks. In this study, we explore the use of LLMs to reduce the time it takes for deductive coding while retaining the flexibility of a traditional content analysis. We outline the proposed approach, called LLM-assisted content analysis (LACA), along with an in-depth case study using GPT-3.5 for LACA on a publicly available deductive coding data set. Additionally, we conduct an empirical benchmark using LACA on 4 publicly available data sets to assess the broader question of how well GPT-3.5 performs across a range of deductive coding tasks. Overall, we find that GPT-3.5 can often perform deductive coding at levels of agreement comparable to human coders. Additionally, we demonstrate that LACA can help refine prompts for deductive coding, identify codes for which an LLM is randomly guessing, and help assess when to use LLMs vs. human coders for deductive coding. We conclude with several implications for future practice of deductive coding and related research methods.
研究动机与目标
- 在定性研究中推动演绎内容分析及其编码开销。
- 介绍将 LLM 辅助的内容分析(LACA)作为将 LLM 集成到编码任务中的工作流。
- 通过案例研究和四个公开数据集证明 LACA 的有效性和可靠性。
- 在多种编码任务中对 GPT-3.5 的表现进行基准比较,与人类编码者相比。
提出的方法
- 定义与 Neuendorf 的内容分析框架对齐的 LACA 步骤。
- 与 LLM 共同开发编码表,并通过随机性和理由性提示测试有效性。
- 使用标定样本和 IRR 指标(Gwet’s AC1)评估人机可靠性。
- 在确立对人类编码的非劣性时,使用 LLM 生成最终编码。
- 比较人类与 LLM 之间的实际编码时间。
- 对特朗普推文进行案例研究,并在四个数据集上进行汇总基准比较。

实验结果
研究问题
- RQ1GPT-3.5 是否能在多样数据集上达到与人类编码者相当的演绎编码水平?
- RQ2LLMs 如何在演绎编码中协助编码表开发和有效性测试?
- RQ3在何种条件下最终数据最宜由人类编码还是 LLM 编码?
- RQ4哪些可靠性基准(IRR)和随机性测试能揭示关于 LLM 辅助编码的情况?
- RQ5与传统编码相比,LACA 能节省多少时间?
主要发现
- GPT-3.5 在演绎编码任务中常常达到与编码者的人类水平一致。
- LACA 使编码表的共同开发、有效性测试和最终编码前的可靠性评估成为可能。
- 随机性测试可以识别 LLM 难以理解的编码,从而指导提示词/编码表的改进。
- 标定显示通常与人机的一致性较高,部分编码在随机性测试失败时对齐度较低。
- 在验证后将最终编码委派给 LLM,可显著降低人工编码负担。
- 包含决策理由的提示有助于人类审阅者并帮助诊断编码分歧。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。