ProbeAgent:可验证环境中智能体故障的原则性诊断方法
ProbeAgent: Principled Diagnosis of Agent Failures in Verifiable Environments
AI总结:
ProbeAgent是用于可验证环境中智能体故障诊断的自动化框架,通过构建测试、分组故障等方式识别故障模式,在22种智能体配置上评估,生成536个故障模式描述,准确率和特异性获人工评估支持。
摘要:
改进智能体需要发现其故障位置并理解故障原因。智能体会在不断变化的环境中执行多步动作,因此诊断其故障不能仅检查大型语言模型(LLM)的最终响应。相同的失败结果可能源于任务难度,也可能源于智能体在多个任务中重复出现的错误。我们提出ProbeAgent,这是一个自动化框架,可用于发现智能体故障、测试其提出的原因并识别共同的故障模式。从基准任务开始,ProbeAgent构建可执行测试,并通过参考解决方案、自动化检查和任务需求审查对其进行验证。对于每个失败的轨迹,它会解释错误并构建新任务,这些任务在保留疑似原因的同时改变周围上下文。让智能体在这些任务上运行,以测试相同错误是否会复发。随后,ProbeAgent将具有相似原因的故障分组,并生成能够区分其错误的描述。该过程将单个故障的解释与可执行测试以及共同故障模式的描述联系起来。我们使用来自10个基准的任务,在22种智能体配置上对ProbeAgent进行评估,共收集1244个故障并生成536个故障模式描述。这些描述能够区分广泛结果中的特定错误,例如未完成工作,包括仅规划不执行以及在交付文件前停止。在人工评估中,标注员接受了90.0%的分配描述,并正确拒绝了83.3%的类似替代方案,这支持了所发现故障模式的准确性和特异性。
英文摘要:
Improving agents requires discovering where they fail and understanding why. An agent acts over multiple steps in a changing environment, so diagnosing its failures requires more than inspecting the final response of a large language model (LLM). The same unsuccessful outcome can arise from task difficulty or from an error the agent repeats across tasks. We introduce ProbeAgent, an automated framework that discovers agent failures, tests their proposed causes, and identifies shared failure modes. Starting from benchmark tasks, ProbeAgent builds executable tests and validates them using reference solutions, automated checks, and review of the task requirements. For each failed trajectory, it explains the error and constructs new tasks that preserve the suspected cause while changing the surrounding context. Running the agent on these tasks tests whether the same error recurs. ProbeAgent then groups failures with similar causes and generates descriptions that distinguish their errors. This process connects explanations of individual failures to executable tests and descriptions of shared failure modes. We evaluate ProbeAgent across 22 agent configurations using tasks from 10 benchmarks, collecting 1,244 failures and producing 536 failure-mode descriptions. These descriptions distinguish specific errors within broad outcomes such as incomplete work, including planning without acting and stopping before delivering a file. In human evaluation, annotators accept 90.0% of assigned descriptions and correctly reject 83.3% of similar alternatives, supporting the accuracy and specificity of the discovered failure modes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。