StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems

Taiyu Zhu, Yifan Wu, Weilin Jin, Ying Li, Gang Huang
6/2/2026
5 citations
cs.AI

Official code: taiyu-zhu/StepFinder (7 stars, Python, MIT, last commit 2026-09-15).

Abstract

LLM-based multi-agent systems exhibit remarkable collaborative capabilities in complex multi-step tasks. However, these systems are highly sensitive to single-step execution errors that can propagate through agent interactions and lead to cascading failures.

Show full abstract

To understand the causes of failure and improve system reliability, failure attribution has been introduced as a task that aims to automatically identify the root cause step responsible for a failure. Existing failure attribution methods mainly rely on LLMs to reason over original execution trajectories, which not only incur high inference costs and latency, but also suffer from interference caused by redundant and noisy execution logs, causing LLMs to struggle in accurately identifying the true root cause step. To address this, we propose StepFinder, a lightweight failure attribution framework. We use LLMs solely during the feature construction phase to encode execution logs into temporal semantic sequences. Subsequently, a parameter-efficient combination of temporal modeling and attention modules is applied to capture the sequential evolution and cross-step dependencies of the trajectories. Finally, the step-level error score is refined through multi-scale differences and position bias, enabling precise root cause identification. Experimental results on the Who&When benchmark demonstrate that StepFinder outperforms LLM-based methods in step-level failure attribution while achieving substantially higher inference efficiency, reducing inference time by 79% compared with the fastest LLM-based method, with no text generation overhead. Our code is available at https://github.com/taiyu-zhu/StepFinder.

View on arXivView PDF

Code Implementations(1)

MIT

StepFinder is a lightweight framework for step-level failure attribution in LLM-based multi-agent systems (MAS). It encodes execution logs into temporal semantic sequences and applies a parameter-efficient combination of temporal modeling and attention modules to identify the root cause step.

72PythonMay 23, 20262 months agoMIT

Similar Papers

Cite this paper

@article{zhu2026stepfinder,
  title  = {StepFinder: A Temporal Semantic Framework for Failure Attribution in Multi-Agent Systems},
  author = {Taiyu Zhu and Yifan Wu and Weilin Jin and Ying Li and Gang Huang},
  year   = {2026},
  eprint = {2606.03467},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.03467v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.03467.svg)](https://codeofpaper.com/paper/2606.03467)

Discussion