Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems

  • Shaokun Zhang
  • , Ming Yin
  • , Jieyu Zhang
  • , Jiale Liu
  • , Zhiguang Han
  • , Jingyang Zhang
  • , Beibin Li
  • , Chi Wang
  • , Huazheng Wang
  • , Yiran Chen
  • , Qingyun Wu

Research output: Contribution to journalConference articlepeer-review

Abstract

Failure attribution in LLM multi-agent systems— identifying the agent and step responsible for task failures—provides crucial clues for systems debugging but remains underexplored and labor-intensive. In this paper, we propose and formulate a new research area: automated failure attribution for LLM multi-agent systems. To support this initiative, we introduce the Who&When dataset, comprising extensive failure logs from 127 LLM multi-agent systems with fine-grained annotations linking failures to specific agents and decisive error steps. Using the Who&When, we develop and evaluate three automated failure attribution methods, summarizing their corresponding pros and cons. The best method achieves 53.5% accuracy in identifying failure-responsible agents but only 14.2% in pinpointing failure steps, with some methods performing below random. Even SOTA reasoning models, such as OpenAI o1 and DeepSeek R1, fail to achieve practical usability. These results highlight the task’s complexity and the need for further research in this area. Code and dataset are available in the public repository.

Original languageEnglish (US)
Pages (from-to)76583-76599
Number of pages17
JournalProceedings of Machine Learning Research
Volume267
StatePublished - 2025
Event42nd International Conference on Machine Learning, ICML 2025 - Vancouver, Canada
Duration: Jul 13 2025Jul 19 2025

All Science Journal Classification (ASJC) codes

  • Software
  • Control and Systems Engineering
  • Statistics and Probability
  • Artificial Intelligence

Fingerprint

Dive into the research topics of 'Which Agent Causes Task Failures and When? On Automated Failure Attribution of LLM Multi-Agent Systems'. Together they form a unique fingerprint.

Cite this