arXiv:2609.02371cs.AI2026-09

通过行为抽象提升大模型智能体故障诊断效率与可靠性

Diagnosing with Insights: Structured Analysis of Agent Failures via Behavioral Abstractions

论文配图:Diagnosing with Insights: Structured Analysis of Agent Failures via Behavioral Abstractions
图 1 · 摘自论文原文
  • 将智能体轨迹抽象为结构化表示,构建神经不变量刻画行为特征
  • 在公开数据集和自建数据集上故障定位准确率显著优于现有方法
  • 适合研究智能体可解释性、系统调试与高可靠性应用的开发者

随着大模型智能体的普及,理解并诊断其失败原因对提升效能与可信度至关重要。由于失败常表现为长而复杂的执行轨迹,人工排查难以实现。传统软件调试方法难以适用于大模型智能体,而完全依赖大模型作为判断者又导致结果不可靠。为此,本文提出 AGENTSCOPE,一种新型神经符号化故障诊断方法。核心思想是基于轨迹将智能体行为抽象为结构化表示,并引入神经不变量以描述行为属性。AGENTSCOPE 在结构化表示基础上,结合大模型推理,精准定位轨迹中的失败步骤及其类型。我们在公开的 Agent 失败数据集(Who&When)和自建数据集(AgentErrata)上验证了有效性,结果表明其在故障定位与归因准确性上显著超越当前最优方法。本工作证明,结构化抽象与大模型推理的融合,可实现高效、可靠且可解释的智能体故障诊断。

原文摘要 · Abstract (English)

With the proliferation of LLM agents, the ability to understand and diagnose failures in agents is essential to achieving superior effectiveness and trustworthiness. As agent failures often manifest via long and complex trajectories, manually finding the needles in the haystack is untenable. However, traditional diagnosis techniques for software bugs can hardly address LLM agent failures, while completely relying on LLMs as the judge yields unreliable diagnosis results. To overcome these challenges, this paper presents AGENTSCOPE, a new neuro-symbolic approach for agent failure mode diagnosis. The key principle of AGENTSCOPE is to abstract agent behavior, based on its trajectories, into structured representations. Furthermore, AGENTSCOPE introduces the concept of neural invariants to specify agent behavior properties. AGENTSCOPE leverages LLM-guided reasoning atop the structured representation against neural invariants to pinpoint both the failure step and its type in the trajectory. We show the effectiveness of AGENTSCOPE on publicly available agent failure datasets (Who&When) and a more comprehensive dataset created by us (AgentErrata), where AGENTSCOPE significantly outperforms the current state of the art in fault localization and attribution accuracy. Our work shows that integrating structured abstractions with LLM-guided reasoning enables effective, reliable, and interpretable diagnosis for agent failures.

智能体诊断大模型可解释性故障定位

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。