arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.12142cs.CLcs.AIcs.HCcs.LG
收藏

一种用于定性分析中测量'开放代码'的计算方法

A Computational Method for Measuring "Open Codes" in Qualitative Analysis

University of Arizona(亚利桑那大学);Northwestern University(西北大学)

John Chen, Alexandros Lotsos, Sihan Cheng, Caiyi Wang, Lexie Zhao, Yanjia Zhang, Jessica Hullman, Bruce Sherin, Uri Wilensky, Michael Horn

AI总结:

本文提出一种基于理论的计算方法,用于评估人类和生成式AI在定性分析中的开放代码结果,通过合并代码本和四种新指标验证方法的稳定性与鲁棒性。

摘要:

定性分析在许多社会科学领域中至关重要。这一过程中核心方法是归纳编码,即研究者直接从数据集中识别和解释代码。然而,这种探索性方法在满足方法学期望(如'深度'和'变异性')方面存在挑战,尤其是在研究者越来越多地使用生成式AI(GAI)辅助的情况下。基于真实数据的度量标准不足,因为它们与归纳编码的探索性本质相矛盾,而手动评估则耗时。本文提出了一种理论指导的计算方法,用于测量人类和GAI的归纳编码结果。我们的方法首先使用一个LLM增强的算法合并个体代码本。它通过四种新指标:覆盖度、重叠度、新颖性和差异性,测量每个编码者的贡献相对于合并结果。通过在一个人类编码的在线对话数据集上的两个实验,我们1)揭示了合并算法对指标的影响;2)验证了指标在多次运行和不同LLM中的稳定性和鲁棒性;3)展示了指标诊断编码问题的能力,如过度或不相关(幻觉)的代码。我们的工作为确保人类-AI定性分析的方法学严谨性提供了一条可靠途径。

英文摘要:

Qualitative analysis is critical to understanding human datasets in many social science disciplines. A central method in this process is inductive coding, where researchers identify and interpret codes directly from the datasets themselves. Yet, this exploratory approach poses challenges for meeting methodological expectations (such as ``depth'' and ``variation''), especially as researchers increasingly adopt Generative AI (GAI) for support. Ground-truth-based metrics are insufficient because they contradict the exploratory nature of inductive coding, while manual evaluation can be labor-intensive. This paper presents a theory-informed computational method for measuring inductive coding results from humans and GAI. Our method first merges individual codebooks using an LLM-enriched algorithm. It measures each coder's contribution against the merged result using four novel metrics: Coverage, Overlap, Novelty, and Divergence. Through two experiments on a human-coded online conversation dataset, we 1) reveal the merging algorithm's impact on metrics; 2) validate the metrics' stability and robustness across multiple runs and different LLMs; and 3) showcase the metrics' ability to diagnose coding issues, such as excessive or irrelevant (hallucinated) codes. Our work provides a reliable pathway for ensuring methodological rigor in human-AI qualitative analysis.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑