A Computational Method for Measuring "Open Codes" in Qualitative Analysis
Abstract
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.
Cite
@article{arxiv.2411.12142,
title = {A Computational Method for Measuring "Open Codes" in Qualitative Analysis},
author = {John Chen and Alexandros Lotsos and Sihan Cheng and Caiyi Wang and Lexie Zhao and Yanjia Zhang and Jessica Hullman and Bruce Sherin and Uri Wilensky and Michael Horn},
journal= {arXiv preprint arXiv:2411.12142},
year = {2026}
}
Comments
Accepted by ACL 2026 Findings