Search arXiv⌕ Search

arXiv · 2612.05702

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

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Junjie Wang, Yawen Wang, Mengzhuo Chen, Xiaofei Xie, Chunyang Chen, Fangwen Mu, Zhe Liu, Qing Wang. 2026-12-03. A Survey for LLM Agent Trajectory Analysis: From Failure Attribution to Enhancement. https://doi.org/10.1109/tse.2026.3717765. https://searcharxiv.org/abs/2612.05702

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

LEMMA-RCA: A Large Multi-modal Multi-domain Dataset for Root Cause Analysis

Root cause analysis (RCA) is crucial for enhancing the reliability and performance of complex systems. However, progress in this field has been hindered by the lack of large-scale, open-source datasets tailored for RCA. To bridge this gap, we introduce LEMMA-RCA, a large dataset designed for diverse RCA tasks across multiple domains and modalities. LEMMA-RCA features various real-world fault scenarios from Information Technology (IT) and Operational Technology (OT) systems, including microservices, water distribution, and water treatment systems, with hundreds of system entities involved. We evaluate the performance of six baseline methods on LEMMA-RCA across various settings, including offline and online models, as well as single and multi-modal settings. Our study demonstrates the utility of LEMMA-RCA in facilitating fair evaluation and promoting the development of more robust RCA techniques. The dataset is publicly available at https://lemma-rca.github.io/, with archival metadata and access instructions deposited under DOI: https://doi.org/10.5281/zenodo.20516735.

cs.AI↗

Graph-to-Vision: Benchmarking Multi-Graph Visual Reasoning with Vision-Language Models

Recent advances in Vision-Language Models (VLMs) have shown promising capabilities in interpreting visualized graph data, offering a perspective on graph-structured reasoning that complements traditional Graph Neural Networks (GNNs) by dispensing with explicit graph construction. However, existing studies focus primarily on single-graph reasoning, leaving the critical challenge of multi-graph visual reasoning (MGVR) underexplored. In this work, we introduce the first comprehensive benchmark designed to evaluate and enhance the MGVR abilities of VLMs. Our benchmark covers four common graph types - knowledge graphs, flowcharts, mind maps, and route maps - and supports both homogeneous and heterogeneous graph groupings with tasks of increasing complexity. We evaluate several state-of-the-art VLMs under a multi-dimensional scoring framework that assesses graph parsing, reasoning consistency, and instruction-following accuracy. Additionally, we fine-tune multiple open-source models and observe improvements in 17 of the 18 model-dimension combinations, confirming the effectiveness of our dataset. This work provides a principled step toward advancing MGVR and reveals new opportunities for cross-modal graph intelligence.

cs.AI↗

Executable Epistemology: The Structured Cognitive Loop as an Architecture of Intentional Understanding (Extended Version)

Large language models exhibit intelligence without genuine epistemic understanding, revealing a philosophical gap: the absence of epistemic architecture. This paper introduces the Structured Cognitive Loop (SCL) as an executable epistemological framework. Rather than asking what intelligence is, SCL asks under what structural conditions cognition emerges. Drawing on process philosophy, enactive cognition, extended mind theory, and cognitive phenomenology, we reconceive intelligence as a performed process: a continuous loop of cognition, control, action, and memory governed by explicit normative regulation. SCL operationalizes philosophical claims as computationally interpretable structures ("executable epistemology"), shows that functional separation yields more coherent and traceable behavior than monolithic prompt-based agents, and redefines intelligence as the capacity to reconstruct one's own epistemic state. This extended version carries the framework from understanding to accountability. We show that SCL implements three structurally distinct paths of justified acceptance - Memory Fact (causal tool observation), Contextual Human-in-the-Loop (authoritative human judgment), and Pool-Gated Retrieval (threshold-governed evidential selection) - unified by a Grounding Principle that fixes the evidential basis of each reasoning episode at turn onset. Their analysis yields a tripartite framework of Epistemic Horizon, Warrant, and Commitment, which we argue is a general condition: any epistemic input can be incorporated into an accountable artificial agent if and only if these three conditions can be structurally specified. We conclude that the intelligence appropriate for accountable agents is normative rather than descriptive: a matter not of what an agent can produce, but of what it is entitled to produce.

cs.AI↗