A Mechanistic Study of Automated Failure Attribution in LLM-based Agentic Systems
On the map: LLM agents and tool use → General LLM agent frameworks and benchmarks also fits: Software engineering coding agents
Abstract (arXiv)
Agentic systems have demonstrated strong capabilities on complex tasks by enabling multiple interacting large language model (LLM)-based agents to collaborate and execute subtasks in parallel. However, this collaborative structure introduces new challenges for reliably evaluating and diagnosing system failures, particularly failure attribution: tracing a system's execution to identify the agent step responsible for an incorrect final outcome. Because manually performing this task is time- and labor-intensive, recent work has turned to LLMs as judges to automate the process, referred to as automated failure attribution (AFA). These approaches assume that a sufficiently capable model can infer the failing step directly from an interaction transcript. In practice, however, direct prompting often performs poorly, which motivates follow-up work that explores various ways to improve AFA performance, including alternative prompting strategies and inference-time interventions. In this paper, we examine a more fundamental question: whether this weak behavioral performance reflects a genuine capability limitation. Using linear probes applied to internal activations, we uncover a significant knows-but-won't-say gap: models encode sufficient information to attribute a failure correctly but fail to explicitly output the responsible step. Building on this finding, we propose grafting, a simple manual intervention that exploits knowledge already encoded in the model to improve AFA performance without requiring ground-truth labels at inference time. Extensive evaluations across multiple LLMs and benchmark settings demonstrate that grafting consistently outperforms direct-prompting approaches, underscoring the potential of leveraging latent model knowledge for more reliable failure attribution. Our code is available at https://github.com/wendyzheng22/mi4afa.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in General LLM agent frameworks and benchmarks, one of 16 directions in LLM agents and tool use. Builds on 20 of its 28 references that are in the map. Submitted 20 Oct 2026.
Builds on
20 of 28 references.
Closest ancestors · 1
Same direction, newest first
Other references · 19
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 2,189
- 2025Gemma 3 Technical Reportcited by 2,058
- 2016Understanding intermediate layers using linear classifier probescited by 1,541
- 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,530
- 2023Inference-Time Intervention: Eliciting Truthful Answers from a Language Modelcited by 1,427
- 2023Steering Language Models With Activation Engineeringcited by 1,128
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 971
- 2022Discovering Latent Knowledge in Language Models Without Supervisioncited by 840
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
- 2023The Internal State of an LLM Knows When It's Lyingcited by 725
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
7 more
- 2025Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systemscited by 217
- 2025AgenTracer: Who Is Inducing Failure in the LLM Agentic Systems?cited by 139
- 2025Agentic AI for Scientific Discovery: A Survey of Progress, Challenges, and Future Directionscited by 87
- 2026Seeing the Whole Elephant: A Benchmark for Failure Attribution in LLM-based Multi-Agent Systemscited by 37
- 2025DoVer: Intervention-Driven Auto Debugging for LLM Multi-Agent Systemscited by 35
- 2025Where Did It All Go Wrong? A Hierarchical Look into Multi-Agent Error Attributioncited by 29
- 2025Abduct, Act, Predict: Scaffolding Causal Inference for Automated Failure Attribution in Multi-Agent Systemscited by 16
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Who&When Pro: Can LLMs Really Attribute Failures in AI Agents?
- 2026Can Failed Trajectories Reveal Where Agents Go Wrong? Agentic Failure Attribution Without Step-Level Labels
- 2026StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems
- 2026MASPrism: Lightweight Failure Attribution for Multi-Agent Systems Using Prefill-Stage Signals
- 2026DCFA: Dual-view Causal-inspired Attribution for Failure Reasoning in LLM-based Multi-agent Systems
- 2026FALAT: Tracing Failures in LLM Agent Trajectories via Dependency-Guided Search
- 2026VerifyMAS: Hypothesis Verification for Failure Attribution in LLM Multi-Agent Systems
- 2026Finding Where the Buck Stops: An Automated Failure Attribution-Based Reflection Framework for Multi-Agent Collaboration