A Survey for LLM Agent Trajectory Analysis: From Failure Attribution to Enhancement

计算机科学 弹道 归属 人工智能 人机交互 动作(物理) 数据建模 可靠性(半导体) 机器学习 数据挖掘 数据收集
作者
Junjie Wang,Yawen Wang,M. Chen,Xiaofei Xie,Chunyang Chen,Fangwen Mu,Zhe Liu,Qing Wang
出处
期刊:IEEE Transactions on Software Engineering [IEEE Computer Society]
卷期号:: 1-23 被引量:4
标识
DOI:10.1109/tse.2026.3717765
摘要

Large language model (LLM) agents have emerged as a transformative software paradigm, enabling autonomous task execution through natural language reasoning, multi-agent collaboration, and tool integration. However, their non-deterministic decision-making and complex interaction patterns introduce unprecedented challenges for failure diagnosis and system improvement. Unlike traditional software, where failures often manifest as code defects, agent failures are embedded in lengthy, language-heavy execution trajectories that include natural language reasoning, obscuring root causes and complicating repair. This survey provides a systematic review of the burgeoning field of trajectory analysis for failure attribution and system enhancement in LLM agents. We collect 55 papers published between early 2025 and April 2026, spanning software engineering, artificial intelligence, and human-computer interaction. We organize the literature along five key dimensions: failure taxonomy, failure attribution, system enhancement and optimization, trajectory monitoring and analysis tools, as well as datasets and benchmarks. Our analysis reveals that while the field has progressed rapidly from simple LLM prompting to causal inference, fine-tuned tracer models, and dynamic intervention, the step-level attribution accuracy remains limited, and benchmark diversity is still a bottleneck. We identify four complementary taxonomic perspectives, four methodological paradigms for attribution, and three families of enhancement strategies. We also critically assess existing benchmarks, highlighting a recent shift toward full observability and unrecoverable failure annotation. This survey serves as both a structured overview for current research and a strategic guide for advancing robust, efficient, and self-improving agent ecosystems. We further call upon the software engineering community to engage more deeply with this emerging class of software, bringing expertise in fault localization, program repair, and empirical methods to bear on the unique challenges posed by LLM agents.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Polly完成签到,获得积分10
刚刚
阿斌发布了新的文献求助10
刚刚
1秒前
活力白竹的应助被elo采纳,获得10
1秒前
2秒前
2秒前
3秒前
夏小唯发布了新的文献求助10
4秒前
辛勤仙人掌完成签到 ,获得积分10
4秒前
糊涂的万发布了新的文献求助10
5秒前
5秒前
无虞完成签到,获得积分10
5秒前
王科发布了新的文献求助30
5秒前
Polly发布了新的文献求助10
5秒前
DoctorSun发布了新的文献求助10
5秒前
大个的应助被小牛马阿欢采纳,获得10
5秒前
v0id的应助被狂跳的脉搏采纳,获得10
6秒前
6秒前
打打的应助被结实树叶采纳,获得10
6秒前
吉77发布了新的文献求助10
7秒前
7秒前
机智的白卉的应助被毓屿采纳,获得10
7秒前
死一样痛过完成签到,获得积分10
7秒前
rekha完成签到,获得积分10
7秒前
7秒前
浩想椰汁完成签到,获得积分10
8秒前
8秒前
山茶花开完成签到,获得积分10
8秒前
9秒前
DoctorSun发布了新的文献求助30
9秒前
DoctorSun发布了新的文献求助10
9秒前
DoctorSun发布了新的文献求助10
9秒前
DoctorSun发布了新的文献求助10
9秒前
研究大王完成签到,获得积分10
10秒前
小二郎的应助被znl采纳,获得10
10秒前
汉堡包的应助被杨建明采纳,获得10
10秒前
10秒前
褚幻香发布了新的文献求助10
11秒前
11秒前
11秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Entre Praga y Madrid : los contactos checoslovaco-españoles (1948-1977) 600
A REVIEW OF THE V-22 DYNAMICS VALIDATION PROGRAM 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8128907
求助须知:如何正确求助?哪些是违规求助? 9531293
关于积分的说明 21589868
捐赠科研通 7709744
什么是DOI,文献DOI怎么找? 3417462
关于科研通互助平台的介绍 2543015
邀请新用户注册赠送积分活动 2458721