从引语到概念:利用集成语言模型进行政治辩论的轴向编码
From Quotes to Concepts: Axial Coding of Political Debates with Ensemble LMs
AI总结:
本文提出利用集成语言模型进行政治辩论的轴向编码,通过聚类和LLM分组方法生成层次化代码,提升辩论分析的结构化和语义对齐性。
摘要:
轴向编码是一种常用的定性分析方法,通过将句级开放代码组织成更广泛的类别来增强文档理解。在本文中,我们利用大型语言模型(LLMs)对轴向编码进行操作化。通过扩展一个基于集成的开放编码方法,并加入LLM主持人,我们添加了一个轴向编码步骤,将开放代码分组到更高阶的类别中,将原始辩论 transcripts 转化为简洁的层次化表示。我们比较了两种策略:(i)使用密度基和分区算法对代码-发言对的嵌入进行聚类,然后通过LLM标注;(ii)直接使用LLM将代码和发言分组到类别中。我们将方法应用于荷兰议会辩论,将长篇 transcripts 转换为紧凑且层次化的代码和类别。我们通过与人类分配的主题标签对齐的外在指标(ROUGE-L、余弦、BERTScore)以及描述代码组的内在指标(覆盖率、简洁性、连贯性、新颖性、JSD分歧)来评估我们的方法。我们的结果揭示了一种权衡:密度基聚类实现了高覆盖率和强聚类对齐,而直接LLM分组则实现了更高的细粒度对齐,但覆盖率降低了20%。总体而言,聚类最大化了覆盖率和结构分离,而LLM分组则产生了更简洁、可解释且语义对齐的类别。为了支持未来研究,我们公开释放完整的发言和代码数据集,以促进可重复性和比较研究。
英文摘要:
Axial coding is a commonly used qualitative analysis method that enhances document understanding by organizing sentence-level open codes into broader categories. In this paper, we operationalize axial coding with large language models (LLMs). Extending an ensemble-based open coding approach with an LLM moderator, we add an axial coding step that groups open codes into higher-order categories, transforming raw debate transcripts into concise, hierarchical representations. We compare two strategies: (i) clustering embeddings of code-utterance pairs using density-based and partitioning algorithms followed by LLM labeling, and (ii) direct LLM-based grouping of codes and utterances into categories. We apply our method to Dutch parliamentary debates, converting lengthy transcripts into compact, hierarchically structured codes and categories. We evaluate our method using extrinsic metrics aligned with human-assigned topic labels (ROUGE-L, cosine, BERTScore), and intrinsic metrics describing code groups (coverage, brevity, coherence, novelty, JSD divergence). Our results reveal a trade-off: density-based clustering achieves high coverage and strong cluster alignment, while direct LLM grouping results in higher fine-grained alignment, but lower coverage 20%. Overall, clustering maximizes coverage and structural separation, whereas LLM grouping produces more concise, interpretable, and semantically aligned categories. To support future research, we publicly release the full dataset of utterances and codes, enabling reproducibility and comparative studies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。