arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.29665cs.CL
收藏

近似失误:代理工作流中的潜在策略失败检测

Near-Miss: Latent Policy Failure Detection in Agentic Workflows

IBM Research(IBM研究院)

Ella Rabinovich, David Boaz, Naama Zwerdling, Ateret Anaby-Tavor

AI总结:

本文提出一种新指标,用于检测代理对话轨迹中的潜在策略失败,通过分析代理工具调用决策的充分性,揭示当前评估方法的盲点。

摘要:

用于业务流程自动化的企业代理系统通常需要遵守规定条件更新系统状态的政策。在基于大语言模型的代理工作流中,评估政策合规性通常通过将最终系统状态与预定义的地面真相进行比较。尽管这种方法可以检测到显式的政策违规,但它可能忽略了一种更微妙的问题:代理绕过必需的政策检查,但因有利情况而达到正确结果。我们称此类情况为近似失误或潜在失败。在本文中,我们介绍了一种新的度量方法,用于检测代理对话轨迹中的潜在政策失败。基于ToolGuard框架,该框架将自然语言政策转换为可执行的守护代码,我们的方法分析代理轨迹以确定代理的工具调用决策是否足够受信息指导。我们在$τ^2$-验证的航空公司基准上评估了我们的方法,涉及多个现代开源和专有LLM作为代理。我们的结果表明,即使最终结果与预期的地面真相状态一致,涉及修改工具调用的轨迹中潜在失败的发生率仍为8-17%。这些发现揭示了当前评估方法的盲点,并突显了需要评估不仅最终结果,还有导致这些结果的决策过程的度量标准的必要性。

英文摘要:

Agentic systems for business process automation often require compliance with policies governing conditional updates to the system state. Evaluation of policy adherence in LLM-based agentic workflows is typically performed by comparing the final system state against a predefined ground truth. While this approach detects explicit policy violations, it may overlook a more subtle class of issues in which agents bypass required policy checks, yet reach a correct outcome due to favorable circumstances. We refer to such cases as near-misses or latent failures. In this work, we introduce a novel metric for detecting latent policy failures in agent conversations traces. Building on the ToolGuard framework, which converts natural-language policies into executable guard code, our method analyzes agent trajectories to determine whether agent's tool-calling decisions where sufficiently informed. We evaluate our approach on the $τ^2$-verified Airlines benchmark across several contemporary open and proprietary LLMs acting as agents. Our results show that latent failures occur in 8-17% of trajectories involving mutating tool calls, even when the final outcome matches the expected ground-truth state. These findings reveal a blind spot in current evaluation methodologies and highlight the need for metrics that assess not only final outcomes but also the decision process leading to them.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑