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

SIRCA:通过静态干预实现大语言模型智能体轨迹的根本原因归因

SIRCA: Root Cause Attribution in LLM Agent Trajectories via Static Interventions

Huawei Technologies Co., Ltd.(华为技术有限公司)

Kun Jiang, Han Lin, Xingyu Liao, Guang Yang, Mengjie Zhang, Sijie Wu, Kai Zhang, Xingyu Yan, Bowen Liu, Jiantao Ye, Qitao Song, Xubin Li, Xin Chen

AI总结:

SIRCA方法利用用户反馈构建归因图定位LLM智能体轨迹的根本原因,在多个数据集上较基线显著提升准确率,还发布了相关数据集与代码。

摘要:

识别大语言模型(LLM)智能体失败的根本原因十分困难,因为错误可能会在多个轨迹步骤中传播,从而掩盖其真实起源。用户反馈通常可以指向智能体行为中的特定问题,为追踪错误起源提供直接证据。为此,我们提出了用于根本原因归因的静态干预方法(Static Intervention for Root Cause Attribution,SIRCA),该方法利用用户反馈在不重放智能体执行的情况下定位智能体轨迹中的根本原因。SIRCA将负面用户反馈用作归因锚点,构建归因图以建模错误起源及其传播过程;对于没有负面用户反馈的轨迹,它会从任务失败信息中构建替代锚点。随后,SIRCA通过基于LLM的静态干预修复方案评估来确定最终的根本原因。在Who&When的算法生成(AG)和人工构建(HC)数据集上,SIRCA在根本原因定位准确率上分别比各数据集最强基线实现了36.59%和13.51%的相对提升;在带有用户反馈的多根本原因无线智能体数据集上,SIRCA相比最强基线将轨迹平均F1值和召回率分别提升了9.58%和32.52%。此外,我们发布了无线智能体数据集和SIRCA源代码以支持未来研究。

英文摘要:

Identifying the root causes of failures in large language model (LLM) agents is difficult because errors may propagate across multiple trajectory steps, thereby obscuring their true origins. User feedback can often point to specific problems in agent behavior, providing direct evidence for tracing error origins. To this end, we propose Static Intervention for Root Cause Attribution (SIRCA), a method that leverages user feedback to localize root causes in agent trajectories without replaying agent execution. SIRCA uses negative user feedback as an attribution anchor, constructing an attribution graph to model error origins and their propagation processes. For trajectories without negative user feedback, it instead constructs alternative anchors from task failure information. SIRCA then determines the final root causes through LLM-based evaluation of static intervention repair proposals. On the Algorithm Generated (AG) and Hand Crafted (HC) datasets of Who&When, SIRCA achieves relative improvements of 36.59% and 13.51%, respectively, in root cause localization accuracy over the strongest baseline on each dataset. On the multi root cause wireless agent dataset with user feedback, SIRCA improves trajectory averaged F1 and recall by 9.58% and 32.52%, respectively, relative to the strongest baseline. In addition, we release the wireless agent dataset and the SIRCA source code to support future research.

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

↑