arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.20352cs.CLcs.AI
收藏

多LLM主题分析与双可靠性指标:结合Cohen's Kappa和语义相似性进行定性研究验证

Multi-LLM Thematic Analysis with Dual Reliability Metrics: Combining Cohen's Kappa and Semantic Similarity for Qualitative Research Validation

AZA Lab, Department of Psychiatry, Yale University(AZA实验室、精神病学系、耶鲁大学);Department of Psychiatry and Behavioral Sciences, Center for Collective Healing, Howard University(精神病学与行为科学系、集体愈合中心、霍华德大学);Department of Psychology, University of Exeter(心理学系、埃克塞特大学)

Nilesh Jain, Hyungil Suh, Seyi Adeyinka, Leor Roseman, Aza Allsop

AI总结:

本文提出一种结合Cohen's Kappa和语义相似性的多LLM主题分析框架,通过多轮验证提升定性研究的可靠性。

摘要:

定性研究面临关键的可靠性挑战:传统的人际一致性方法需要多个人类编码器,耗时且通常产生中等一致性。我们提出了一种多视角验证框架,用于基于LLM的主题分析,结合了集验证与双可靠性指标:Cohen's Kappa(κ)用于人际一致性,以及余弦相似性用于语义一致性。我们的框架允许配置分析参数(1-6个种子,温度0.0-2.0),支持自定义提示结构和变量替换,并提供在任何JSON格式下的共识主题提取。作为概念验证,我们评估了三种领先的LLM(Gemini 2.5 Pro、GPT-4o、Claude 3.5 Sonnet)在一种迷幻艺术治疗访谈转录文本上的表现,对每个模型进行六次独立运行。结果表明,Gemini的可靠性最高(κ=0.907,余弦=95.3%),随后是GPT-4o(κ=0.853,余弦=92.6%)和Claude(κ=0.842,余弦=92.1%)。所有三种模型都实现了高水平的一致性(κ>0.80),验证了多轮集方法的有效性。该框架成功地在不同运行中提取了共识主题,Gemini识别出6个共识主题(50-83%的一致性),GPT-4o识别出5个主题,Claude识别出4个主题。我们的开源实现为研究人员提供了透明的可靠性指标、灵活的配置和结构无关的共识提取,为可靠的AI辅助定性研究奠定了方法学基础。

英文摘要:

Qualitative research faces a critical reliability challenge: traditional inter-rater agreement methods require multiple human coders, are time-intensive, and often yield moderate consistency. We present a multi-perspective validation framework for LLM-based thematic analysis that combines ensemble validation with dual reliability metrics: Cohen's Kappa ($κ$) for inter-rater agreement and cosine similarity for semantic consistency. Our framework enables configurable analysis parameters (1-6 seeds, temperature 0.0-2.0), supports custom prompt structures with variable substitution, and provides consensus theme extraction across any JSON format. As proof-of-concept, we evaluate three leading LLMs (Gemini 2.5 Pro, GPT-4o, Claude 3.5 Sonnet) on a psychedelic art therapy interview transcript, conducting six independent runs per model. Results demonstrate Gemini achieves highest reliability ($κ= 0.907$, cosine=95.3%), followed by GPT-4o ($κ= 0.853$, cosine=92.6%) and Claude ($κ= 0.842$, cosine=92.1%). All three models achieve a high agreement ($κ> 0.80$), validating the multi-run ensemble approach. The framework successfully extracts consensus themes across runs, with Gemini identifying 6 consensus themes (50-83% consistency), GPT-4o identifying 5 themes, and Claude 4 themes. Our open-source implementation provides researchers with transparent reliability metrics, flexible configuration, and structure-agnostic consensus extraction, establishing methodological foundations for reliable AI-assisted qualitative research.

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

↑