How AI Coders Discuss, Disagree, and Reach Consensus: Challenges and Opportunities for LLM-Based Qualitative Coding
The utility of AI in multi-coder qualitative coding has been widely discussed, yet little empirical evidence exists to delineate the contexts in which it performs reliably. We address this gap by quantifying the effectiveness of multi-agent LLM coding across varied qualitative datasets, revealing key contextual and structural factors that mediate coding outcomes. We developed a literature-informed baseline pipeline that enables AI agents to independently code, debate, and reconcile disagreements. Results revealed that coding accuracy depends on factors such as codebook length, qualitative data similarity, and agent disagreement. Notably, intense and unresolved debates between agents led to higher accuracy. Our analysis showed that while LLMs emulate many human discussion behaviors, they lack adaptive responsiveness to context. From these findings, we offer design recommendations for building automated coding systems. Our open-source AI discussion dataset and methodological framework lay the groundwork for advancing the design of AI-mediated automated thematic analysis.
Introduction. Deductive qualitative coding is the process of applying predefined frameworks to categorize and interpret qualitative data. It is a time-consuming and labor-intensive task even for experts, demanding meticulous examination and contextual understanding of nuanced data [77, 80]. The central role of qualitative coding in social science has led to a growing body of recent work on automating qualitative coding through artificial intelligence (AI) and natural language processing (NLP) techniques. Motivated by our own interest in qualitative research with large amounts of data, we investigate AI-based coding methods modeled on human practices, such as multi-coder comparison and consensus. Our study quantifies the effectiveness of multi-agent Large Language Model (LLM) coding across varied qualitative datasets, revealing key contextual and structural factors that mediate coding outcomes.
Discussion / Conclusion. 6.1 Summary of Key Findings and Implications Our study reveals that LLM “coders” can engage in a structured dialogue to perform qualitative coding, with performance influenced by specific dataset characteristics and discussion dynamics. First, we found that coding accuracy is shaped by dataset’s length and semantic similarity, and the gap of degree of specialization between codebook and data for coding. These findings highlighted that preprocessing codebooks and qualitative data for coding can boost AI coding performance. Second, our results show that the frequency of “Undecidable” label and conflict between AI agents can be utilized as a performance indicator. These signals assist users in calibrating their expectations of automated systems. We discovered that instances of disagreement and debate between the AI coders can be a positive signal for high accuracy of coding. Rather than viewing disagreement as a failure, our study indicates that when the two AI coders disagreed on how to code a segment, the conversation often increased interpretive depth. The AI’s convergence is a double-edged sword: on one hand, it led to consistent consensus in most cases, but on the other hand, we suspect it might sometimes mask uncertainty.
Lines of inquiry this paper opens 24
Research framings built by reading the notes related to this paper — the questions it feeds into.
Can debate mechanisms prevent silent agreement on wrong answers in multi-agent reasoning?- Can silence training address premature consensus failures in multi-agent reasoning systems?
- What causes silent agreement in multi-agent reasoning systems?
- Can agreement detection agents improve multi-agent deliberation beyond just negotiation?
- Why do multi-agent systems converge on wrong answers without debate safeguards?
- How often do AI agents reach false agreement in group reasoning tasks?
- Why do homogeneous multi-agent systems fail similarly to self-revision?
- Does silent agreement actually represent the biggest failure mode in multi-agent reasoning?
- Can silent agreement be prevented in multi-agent reasoning systems?
- What mechanisms drive silent agreement in multi-agent reasoning systems?
- How does silent agreement prevent genuine deliberation in multi-agent reasoning systems?
- Why does silent agreement cause premature convergence in multi-agent reasoning systems?
- How does multi-agent debate prevent degeneration from self-revision loops?
- Can multi-agent debate prevent the confident convergence on wrong answers?
- Why do multi-agent systems converge without genuine deliberation?
- Why does premature consensus form in multi-agent reasoning systems?
- How do interpretive and evaluative disagreement show up differently in agent traces?
- Can reasoning traces reliably distinguish genuine value conflicts from reasoning errors?