arXiv:2612.05702v1 Announce Type: new
Abstract: Large language model (LLM) agents execute tasks autonomously through natural language reasoning, multi-agent collaboration, and tool integration. Their nondeterministic decisions and complex interactions can obscure the causes of failures in long execution trajectories, complicating diagnosis and repair. This survey reviews trajectory analysis for failure attribution and system enhancement in LLM agents. We examine 55 papers published between early 2025 and April 2026 across software engineering, artificial intelligence, and human-computer interaction. We organize the literature around five dimensions: failure taxonomy, failure attribution, system enhancement and optimization, trajectory monitoring and analysis tools, and datasets and benchmarks. The field has progressed from simple LLM prompting to causal inference, fine-tuned tracer models, and dynamic intervention, but step-level attribution accuracy remains limited and benchmarks still lack diversity. We identify four complementary taxonomic perspectives, four methodological paradigms for attribution, and three families of enhancement strategies. Our assessment of existing benchmarks highlights a shift toward full observability and annotation of unrecoverable failures. We outline how fault localization, program repair, and empirical methods from software engineering can help diagnose failures and improve LLM agents. We maintain a regularly updated collection of papers on LLM agent trajectory analysis at https://github.com/IcyFeather233/Awesome-LLM-Agent-Trajectory-Analysis.
arxiv
Survey on LLM Agent Trajectory Analysis: From Failure Attribution to Enhancement
This survey reviews 55 papers on trajectory analysis for LLM agents, covering failure taxonomy, attribution, enhancement, monitoring tools, and benchmarks. It identifies key methodological paradigms and highlights limitations in step-level attribution accuracy and benchmark diversity. The authors also provide a curated paper collection on GitHub.
Provides a structured overview of a rapidly evolving research area, useful for researchers and practitioners working on LLM agent reliability.
Comments & Questions (0)
No comments yet
Be the first to comment!