代理AI中的故障特征化:故障类型、症状和根本原因的分类
Characterizing Faults in Agentic AI: A Taxonomy of Types, Symptoms, and Root Causes
AI总结:
本文通过实证研究,提出代理AI系统故障的分类体系,涵盖34种故障类型,揭示其在结构化输出解释、工具调用、运行时执行和异常处理中的表现,以及数据模式不匹配、依赖漂移等根本原因。
摘要:
代理AI系统结合了基于大语言模型的推理、协调、工具调用和与外部环境的交互。这些系统引入了难以用现有分类法描述的故障。为解决这一差距,我们进行了代理AI系统故障的实证研究。我们收集了40个仓库中的13602个问题和拉取请求,并通过分层抽样选取了385个故障进行分析。通过扎根理论,我们推导出故障类型、症状和根本原因的分类。然后使用基于Apriori的关联规则挖掘技术,识别故障、症状和根本原因之间的关系,并通过与145名从业者进行的开发者研究验证了该分类。我们的分析产生了一个包含34种故障类型的分类,分为四个架构维度。这些故障表现为结构化输出解释、工具调用、运行时执行和异常处理中的失败,根本原因包括数据模式不匹配、依赖漂移、状态管理复杂性和模型接口不稳定性。此外,关联规则显示了跨组件传播的反复出现,将结构化数据、依赖性和状态管理故障与它们的症状和根本原因联系起来。从业者认为该分类代表了代理AI的故障,并建议改进多智能体协调和可观测性相关方面。这些发现为诊断代理AI系统的故障和提高其可靠性提供了实证基础。
英文摘要:
Agentic AI systems combine LLM-based reasoning, orchestration, tool invocation, and interaction with external environments. These systems introduce faults that are difficult to characterize using existing taxonomies. To address this gap, we present an empirical study of faults in agentic AI systems. We collected 13,602 issues and pull requests from 40 repositories and, using stratified sampling, selected 385 faults for analysis. Through grounded theory, we derived taxonomies of fault types, symptoms, and root causes. We then used Apriori-based association rule mining to identify relationships among faults, symptoms, and root causes, and validated the taxonomy through a developer study with 145 practitioners. Our analysis produced a taxonomy of 34 fault types, organized into four architectural dimensions. These faults manifested as failures in structured-output interpretation, tool calls, runtime execution, and exception handling, with root causes including data schema mismatches, dependency drift, state management complexity, and model interface instability. Furthermore, association rules showed recurring cross-component propagation, linking structured data, dependency, and state management faults to their symptoms and root causes. Practitioners considered the taxonomy representative of agentic AI failures and suggested refinements related to multi-agent coordination and observability. These findings provide an empirical basis for diagnosing faults and improving reliability in agentic AI systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。