大规模使用扎根理论进行智能体行为分析

·

研究论文 · 2026/09/04

理解智能体行为需要能够扩展到数千条轨迹的方法,并在预构建分类器不足的长期、不熟悉任务中揭示新模式。我们提出将扎根理论引入智能体轨迹分析:这是一种源自社会科学、已有六十年历史的定性方法,具有原则性的饱和标准和从数据到理论的可审计轨迹。我们提出了AutoTraceGT(通过扎根理论进行自动化轨迹分析),这是首个在智能体轨迹上自动化扎根理论的多智能体流水线。它迭代执行开放编码、主轴编码和理论编码,直至饱和,生成针对每个任务定制的行为分类体系。在六个轨迹语料库上,AutoTraceGT生成的编码手册恢复了人工标注分类体系中73%至91%的失败模式,并揭示了这些分类体系遗漏的额外模式。涌现的理论叙述与先前专家描述一致。作为演绎特征空间使用时,该编码手册在下游失败预测任务上优于零样本和少样本LLM基线。这些结果表明,扎根理论为研究智能体实际行为的机器学习研究者和智能体开发者提供了一种可扩展的分析工具。

该论文提出了一种创新的方法,将社会科学中的扎根理论引入智能体轨迹分析,解决了大规模轨迹分析中的关键问题。AutoTraceGT的自动化流水线不仅恢复了大部分已知失败模式,还发现了新模式,并在下游任务中优于LLM基线。这对于智能体行为分析和开发具有重要价值,值得阅读。

Understanding agent behavior requires methods that scale to thousands of trajectories and surface new patterns in long, often unfamiliar tasks where pre-built classifiers fall short. We propose to bring grounded theory into agent trajectory analysis: a six-decade-old qualitative method from the social sciences, with a principled saturation criterion and an auditable trail from data to theory. We propose AutoTraceGT (Automated Trace analysis through Grounded Theory), the first multi-agent pipeline that automates grounded theory on agent trajectories. It iteratively performs open, axial, and theoretical coding until saturation, producing a behavioral taxonomy tailored to each task. Across six trajectory corpora, AutoTraceGT produces codebooks that recover 73-91 percent of the failure modes in human-annotated taxonomies and surface additional patterns that those taxonomies miss. The emergent theoretical narrative aligns with prior expert accounts. Used as a deductive feature space, the codebook outperforms zero-shot and few-shot LLM baselines on downstream failure prediction. These results suggest Grounded Theory offers a scalable analytic tool for ML researchers and agent developers studying what agents actually do.

阅读原文

参与讨论