Tracing Agentic Failure from the Flow of Success
cs.AI, cs.CL
Submitted: 2026-07-14
Updated: 2026-10-10
Comments: Accepted by NeurIPS 2026
License: http://creativecommons.org/licenses/by/4.0/
The gist: Failure attribution for LLM-based agentic systems, i.e., identifying which steps in a failure trajectory caused the task to fail, is critical for debugging and improving these systems.
Terminology
Abstract
Failure attribution for LLM-based agentic systems, i.e., identifying which steps in a failure trajectory caused the task to fail, is critical for debugging and improving these systems. Existing approaches either rely on prompting-based pipelines, which are computationally expensive, or require post-training on failure trajectories with step-level error annotations, which are costly to collect and difficult to scale. We argue that a practical failure attribution model should be lightweight and trainable without step-level supervision on failure data. To this end, we address unsupervised failure attribution, i.e., training exclusively on successful trajectories and identifying error steps at inference time given a failure trajectory. We propose OAT, which casts this problem as one-class learning with neural controlled differential equations, modeling the dynamical pattern of successful trajectories in latent space. At inference time, each step in a failure trajectory is assigned an anomaly score based on its deviation from the dynamics learned on successful trajectories, which is then used to form a set of error steps. With training on only 100 successful trajectories, experiments show that OAT is 200--5000 times faster than prompting-based baselines, and, at the same time, consistently outperforms them in both in-domain and out-of-distribution datasets with +20% and +7% F1 scores, respectively, demonstrating that OAT is a promising and efficient direction for diagnosing agentic system failures.
Sources
- Towards Scientific Intelligence: A Survey of LLM-based Scientific Agents
- From Flat Logs to Causal Graphs: Hierarchical Failure Attribution for LLM-based Multi-Agent Systems
- Instant and Reversible Adhesive-free Bonding Between Silicones and Glossy Papers for Soft Robotics
- GraphTracer: Graph-Guided Failure Tracing in LLM Agents for Robust Multi-Turn Deep Search
- MCP-Atlas: A Large-Scale Benchmark for Tool-Use Competency with Real MCP Servers
- TRAIL: Trace Reasoning and Agentic Issue Localization
- The Why Behind the Action: Unveiling Internal Drivers via Agentic Attribution
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- RC-NF: Robot-Conditioned Normalizing Flow for Real-Time Anomaly Detection in Robotic Manipulation
- Deep Learning for Anomaly Detection: A Survey
- Neural Controlled Differential Equations for Online Prediction Tasks
- GPT-4o System Card
- OpenAI GPT-5 System Card
- Neural Stochastic Differential Equations: Deep Latent Gaussian Models in the Diffusion Limit
- Adaptive In-conversation Team Building for Language Model Agents
- Magentic-One: A Generalist Multi-Agent System for Solving Complex Tasks
- Correlation Alignment for Unsupervised Domain Adaptation
- gpt-oss-120b & gpt-oss-20b Model Card
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems