OAT Debugs LLM Agent Failures Using Success Trajectories.

Samuel Yeh, Yiwen Zhu, Shaleen Deep, Sharon Li· July 15, 2026 View original

Summary

This paper introduces OAT, an unsupervised failure attribution model for LLM-based agentic systems that identifies error steps in failure trajectories by learning the dynamics of successful trajectories. OAT is significantly faster and more accurate than prompting-based methods, requiring only successful trajectory data for training.

Debugging and improving LLM-based agentic systems critically depends on identifying the specific steps within a failed task trajectory that led to the failure. Current methods for this "failure attribution" are often either computationally expensive, relying on extensive prompting, or require costly, difficult-to-scale step-level error annotations on failure data for post-training. This research proposes a more practical and efficient approach called OAT, which tackles the problem of unsupervised failure attribution. OAT is designed to be lightweight and trainable without the need for step-level supervision on failure data; instead, it learns exclusively from successful trajectories. OAT frames this problem as a one-class learning task, utilizing neural controlled differential equations to model the dynamic patterns observed in successful trajectories within a latent space. During inference, when a failure trajectory is encountered, each step is assigned an anomaly score based on how much it deviates from the learned dynamics of success. This score then helps identify the error steps. Experiments show that OAT, trained on just 100 successful trajectories, is 200-5000 times faster than prompting-based baselines and consistently outperforms them in F1 scores across both in-domain and out-of-distribution datasets, demonstrating its efficiency and effectiveness in diagnosing agentic system failures.

Why it matters

This breakthrough offers a significantly more efficient and scalable method for debugging and improving complex LLM agent systems, reducing development costs and accelerating the deployment of more reliable AI agents.

How to implement this in your domain

  1. 1Adopt OAT or similar unsupervised failure attribution techniques for debugging internal LLM agent workflows.
  2. 2Prioritize collecting and curating high-quality successful trajectory data for agent training and monitoring.
  3. 3Integrate anomaly detection systems based on successful patterns into agent monitoring dashboards.
  4. 4Train engineering teams on new debugging paradigms that leverage success-based learning.
  5. 5Evaluate the cost-benefit of moving away from manual error annotation for agent failure analysis.

Who benefits

Software DevelopmentRoboticsCustomer ServiceAutonomous SystemsAI Development

Key takeaways

  • Debugging LLM agents requires identifying specific failure steps.
  • OAT offers an unsupervised, efficient failure attribution method.
  • It learns successful trajectory dynamics using neural controlled differential equations.
  • OAT significantly outperforms prompting-based methods in speed and accuracy, requiring only successful data.

Original post by Samuel Yeh, Yiwen Zhu, Shaleen Deep, Sharon Li

"arXiv:2607.12747v1 Announce Type: new 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-ba…"

View on X

Originally posted by Samuel Yeh, Yiwen Zhu, Shaleen Deep, Sharon Li on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses