识别大语言模型(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.
From Reweighting to Rewriting: Unlocking the Intervention Effects of Influential Samples in Training Data Attribution
State Key Laboratory of Multimedia Information Processing, Peking University(北京大学多媒体信息处理国家重点实验室);YiXin-AILab(翼星人工智能实验室);Beijing Academy of Artificial Intelligence(北京人工智能研究院)
CodeCircuit: Toward Inferring LLM-Generated Code Correctness via Attribution Graphs
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Edinburgh(爱丁堡大学);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学);IQuest Research(IQuest研究)
MemAudit: Post-hoc Auditing of Poisoned Agent Memory via Causal Attribution and Structural Anomaly Detection
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Qiyuan Tech(齐元科技);Laboratory of Multimedia Information Processing, School of Computer Science, Peking University(北京大学计算机科学学院多媒体信息处理实验室);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络安全学院)
ResLRP: The Role of Residual Cancellation in Attribution Instability in Vision Transformers
Fraunhofer Heinrich Hertz Institute(弗劳恩霍夫海因里希·赫兹研究所);DSC ScaDS.AI, Leipzig University(莱比锡大学DSC ScaDS.AI);ICT Cluster, Singapore Institute of Technology(新加坡理工大学ICT集群);Institute for Cancer Genetics and Informatics (ICGI), Oslo, Norway(奥斯陆癌症遗传学与信息学研究所);Technische Universität Berlin(柏林工业大学);BIFOLD – Berlin Institute for the Foundations of Learning and Data(BIFOLD – 柏林学习与数据基础研究所)
Backdoor Attribution: Elucidating and Controlling Backdoor in Language Models
University of Science and Technology of China(中国科学技术大学);Nanyang Technological University(南洋理工大学);United Arab Emirates University(阿拉伯联合酋长国大学);University of California San Diego(加州大学圣地亚哥分校);Abel AI;National University of Singapore(新加坡国立大学);Squirrel Ai Learning
Disentangling Hallucinations: Orthogonal Semantic Projection for Robust Interpretability
U2IS, ENSTA, Institut Polytechnique de Paris(巴黎综合理工学院ENSTA学院U2IS实验室);ISIR, Université Sorbonne, Pierre et Marie Curie(索邦大学皮埃尔和玛丽·居里分校ISIR实验室);AMIAD, Pôle Recherche(AMIAD研究部)
The Attribution Blind Spot: Layerwise Trajectory Diagnostics for Source Reliance in Retrieval-Augmented Language Models
Zhejiang University(浙江大学);Binjiang Institute of Zhejiang University(浙江大学滨江研究院);East China Normal University(华东师范大学);National FinTech Evaluation Center (Bank Card Testing Center)(国家金融科技测评中心(银行卡检测中心));Hangzhou Dianzi University(杭州电子科技大学);Shanghai Jiaotong University(上海交通大学)
Mechanistic Interpretability of LLM Jailbreaks via Internal Attribution Graphs
Department of Computer Science, University of South Dakota(南达科他大学计算机科学系);School of Information and Artificial Intelligence, Yangzhou University(扬州大学信息与人工智能学院)
DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systems
Institute of Neuroscience, State Key Laboratory of Brain Cognition and Brain-inspired Intelligence Technology, Center for Excellence in Brain Science and Intelligence Technology, Chinese Academy of Sciences, Shanghai, 200031, China(中国科学院神经科学研究所、脑认知与脑启发智能技术重点实验室、脑科学与智能技术卓越中心、中国科学院、上海);University of Chinese Academy of Sciences, School of Future Technology, Beijing, 100049, China(中国科学院大学、未来技术学院、北京);Microsoft(微软公司)
FACT: Feedback Attribution with Controlled Trajectories for Long-Horizon Artifact Agents
University of Science and Technology of China(中国科学技术大学);Southern University of Science and Technology(南方科技大学);Beijing Normal University(北京师范大学);Tianjin University(天津大学);University of Birmingham(伯明翰大学);Alibaba Group(阿里巴巴集团);East China Normal University(华东师范大学)
MAS-Gate: Unlocking Multi-Agent System Lifecycle via Node-Centric Quantification
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Sun Yat-sen University(中山大学);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学)