Benchmark for automated failure attributions in agentic systems (🏆 ICML 2025 Spotlight)
See the code
License • Paper • Dataset • Synced (机器之心) • AIEra (新智元) • QbitAI (量子位) • Discord • Project Page Awsome Failure Attributions
The first and the best benchmark debugging failures from agentic trajectories.
This repository provides the implementation of ICML 2025 spotlight paper "Which Agent Causes Task Failures and When?", which introduces the task of automated failure attribution in LLM-based multi-agent systems. Given a failed task, the goal failure attribution is to automatically identify the agent and step responsible for the failure.
Automated failure-attributions offers several key advantages:
The dataset covers a wide range of realistic multi-agent scenarios based on queries from GAIA and AssistantBench. It serves as a foundational resource for developing and evaluating methods that aim to automatically pinpoint the causes of failures in complex agentic systems. We follow the following guide to annotate these failure logs. More information could be found in the paper.
[!IMPORTANT] Check out the dataset on Hugging Face 🤗.
To install requirements:
pip install -r requirements.txt
Please ensure that you specify the AutoFA method (--method) in the corresponding sections of the code before executing it.
| Model Name | Command-line Argument |
|---|---|
| GPT-4o | --model gpt-4o |
| GPT-4 | --model gpt4 |
| GPT-4o-mini | --model gpt4o-mini |
| Llama-3.1-8B-Instruct | --model llama-8b |
| Llama-3.1-70B-Instruct | --model llama-70b |
| Qwen2.5-7B-Instruct | --model qwen-7b |
| Qwen2.5-72B-Instruct | --model qwen-72b |
python inference.py --method #METHOD --model #MODEL --is_handcrafted #DATA --directory_path #PATH
where:
--method specifies the failure attribution method:
all_at_once : All-at-Once judgingstep_by_step : Step-by-Step judgingbinary_search : Binary Search judging--is_handcrafted specifies the dataset type:
True : Use hand-crafted agentic systemsFalse : Use algorithm-generated agentic systems--directory_path specifies the path to the dataset:
../Who&When/Hand-Crafted : Path to hand-crafted systems../Who&When/Algorithm-Generated : Path to algorithm-generated systemsExample:
python inference.py --method step_by_step --model gpt-4o --is_handcrafted False --directory_path ../Who&When/Algorithm-Generated
After that, you can evaluate the results. By default, the results are stored in the outputs.
Example:
python evaluate.py --data_path ../Who\&When/Algorithm-Generated --eval_file outputs/step_by_step_gpt-4o_alg_generated.txt
|
|
More results could be found in the paper.
[!IMPORTANT] If you find it useful, please consider citing our work:
@inproceedings{
zhang2025which,
title={Which Agent Causes Task Failures and When? On Automated Failure Attribution of {LLM} Multi-Agent Systems},
author={Shaokun Zhang and Ming Yin and Jieyu Zhang and Jiale Liu and Zhiguang Han and Jingyang Zhang and Beibin Li and Chi Wang and Huazheng Wang and Yiran Chen and Qingyun Wu},
booktitle={Forty-second International Conference on Machine Learning},
year={2025},
url={https://openreview.net/forum?id=GazlTYxZss}
}
Python
100.0%
Benchmark for automated failure attributions in agentic systems (🏆 ICML 2025 Spotlight)
See the code
License • Paper • Dataset • Synced (机器之心) • AIEra (新智元) • QbitAI (量子位) • Discord • Project Page Awsome Failure Attributions
The first and the best benchmark debugging failures from agentic trajectories.
This repository provides the implementation of ICML 2025 spotlight paper "Which Agent Causes Task Failures and When?", which introduces the task of automated failure attribution in LLM-based multi-agent systems. Given a failed task, the goal failure attribution is to automatically identify the agent and step responsible for the failure.
Automated failure-attributions offers several key advantages:
The dataset covers a wide range of realistic multi-agent scenarios based on queries from GAIA and AssistantBench. It serves as a foundational resource for developing and evaluating methods that aim to automatically pinpoint the causes of failures in complex agentic systems. We follow the following guide to annotate these failure logs. More information could be found in the paper.
[!IMPORTANT] Check out the dataset on Hugging Face 🤗.
To install requirements:
pip install -r requirements.txt
Please ensure that you specify the AutoFA method (--method) in the corresponding sections of the code before executing it.
| Model Name | Command-line Argument |
|---|---|
| GPT-4o | --model gpt-4o |
| GPT-4 | --model gpt4 |
| GPT-4o-mini | --model gpt4o-mini |
| Llama-3.1-8B-Instruct | --model llama-8b |
| Llama-3.1-70B-Instruct | --model llama-70b |
| Qwen2.5-7B-Instruct | --model qwen-7b |
| Qwen2.5-72B-Instruct | --model qwen-72b |
python inference.py --method #METHOD --model #MODEL --is_handcrafted #DATA --directory_path #PATH
where:
--method specifies the failure attribution method:
all_at_once : All-at-Once judgingstep_by_step : Step-by-Step judgingbinary_search : Binary Search judging--is_handcrafted specifies the dataset type:
True : Use hand-crafted agentic systemsFalse : Use algorithm-generated agentic systems--directory_path specifies the path to the dataset:
../Who&When/Hand-Crafted : Path to hand-crafted systems../Who&When/Algorithm-Generated : Path to algorithm-generated systemsExample:
python inference.py --method step_by_step --model gpt-4o --is_handcrafted False --directory_path ../Who&When/Algorithm-Generated
After that, you can evaluate the results. By default, the results are stored in the outputs.
Example:
python evaluate.py --data_path ../Who\&When/Algorithm-Generated --eval_file outputs/step_by_step_gpt-4o_alg_generated.txt
|
|
More results could be found in the paper.
[!IMPORTANT] If you find it useful, please consider citing our work:
@inproceedings{
zhang2025which,
title={Which Agent Causes Task Failures and When? On Automated Failure Attribution of {LLM} Multi-Agent Systems},
author={Shaokun Zhang and Ming Yin and Jieyu Zhang and Jiale Liu and Zhiguang Han and Jingyang Zhang and Beibin Li and Chi Wang and Huazheng Wang and Yiran Chen and Qingyun Wu},
booktitle={Forty-second International Conference on Machine Learning},
year={2025},
url={https://openreview.net/forum?id=GazlTYxZss}
}
Python
100.0%