Can Failed Trajectories Reveal Where Agents Go Wrong? Agentic Failure Attribution Without Step-Level Labels
Do Nguyen-Thanh, Junlin Fang, Bing Li, Zhen Fang, Sean Du
Key points
From the paper's conclusion- We propose SOAP (Spectral scOring with Attention-guided Propagation), an effective framework requiring neither step-level training labels nor a separate success-only reference set.
Abstract
Failure attribution for LLM agents aims to identify decisive steps responsible for task failure, which is critical for debugging and improving agentic systems. Existing methods rely on costly LLM prompting, step-level error annotations, or verified successful trajectories that lack failure signals for assistance. In this paper, we study failure attribution from step-unlabeled failure trajectories, where each trajectory is known to have failed but its decisive step is unknown. We propose SOAP (Spectral scOring with Attention-guided Propagation), an effective framework requiring neither step-level training labels nor a separate success-only reference set. SOAP first constructs a spectral reference space from LLM representations and assigns each step a base error score according to its projection behavior. Importantly, later steps may exhibit stronger failure signals because they inherit an earlier mistake, causing independent scorers to favor downstream consequences over the decisive error. To address this downstream contamination, SOAP derives soft step dependencies from attention patterns and propagates downstream error evidence toward its likely upstream sources. Extensive experiments show that SOAP consistently improves attribution performance over competitive baselines.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- ReCast: Attribution-Oriented Step Representation Learning for LLM-Based Agent SystemsarXiv · 2026
- Finding Where the Buck Stops: An Automated Failure Attribution-Based Reflection Framework for Multi-Agent CollaborationarXiv · 2026
- DeFA: Dependency-Guided Failure Attribution for LLM AgentsarXiv · 2026
- AgentRx: Diagnosing AI Agent Failures from Execution TrajectoriesOpen MIND · 2026
- A Mechanistic Study of Automated Failure Attribution in LLM-based Agentic SystemsarXiv · 2026
- Error-Propagation Modeling for Failure Attribution in LLM-Based Multi-Agent SystemsarXiv · 2026