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

John Chen, Alexandros Lotsos, Sihan Cheng, Caiyi Wang, Lexie Zhao +4 more
11/19/2024
cs.CLcs.AIcs.HC

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chen2024computational,
  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 Jessica Hullman and Bruce Sherin and Uri Wilensky and Michael Horn},
  year   = {2024},
  eprint = {2411.12142},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.12142v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.12142.svg)](https://codeofpaper.com/paper/2411.12142)

Discussion