Manuscript Offprint

arXiv:2610.11600

Error-Propagation Modeling for Failure Attribution in LLM-Based Multi-Agent Systems

Jiaqi Liao, Yuanzhao Zhai, Huanxi Liu, Xu Zhang, Zheming Zhuang, Dawei Feng, Bo Ding, Huaimin Wang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

LLM-based multi-agent systems (MASs) are increasingly used to solve complex tasks through coordinated reasoning, tool use, and interaction with external resources. However, attributing failures in such systems remains challenging because the observed outcome often does not directly reveal the error responsible for the failed execution. In this work, the attribution target is the decisive error, defined as the agent-step pair whose correction would recover the failed execution. Existing approaches largely identify suspicious steps without explicitly modeling how errors propagate across interactions or persist in unresolved loops, making decisive errors difficult to distinguish from downstream failure symptoms. We propose Error-Propagation Modeling for Failure Attribution (EMFA). EMFA constructs a structured representation of the failed trajectory, models both cascading propagation and persistent interaction loops, and uses propagation-aware candidate screening followed by counterfactual verification to identify the decisive agent-step pair. On the Who&When benchmark, EMFA achieves state-of-the-art step-level attribution accuracy and remains competitive at the agent level. It improves the previous best step-level results by 3.45 and 4.40 percentage points on the Hand-Crafted and Algorithm-Generated subsets, respectively.

Introduction

Multi-agent systems (MASs) have emerged as a promising paradigm for solving increasingly complex tasks involving tool use, reasoning, and agent coordination by orchestrating multiple LLM-based agents to enable task decomposition, collaborative reasoning, and interaction with external resources. However, the integration of heterogeneous agents makes it difficult to trace unsuccessful executions back to the responsible agent and step. Recent empirical studies show that even advanced MAS frameworks, such as HyperAgent (Phan et al. 2025), still experience substantial failure rates (74.7%) on the SWE-Bench Lite benchmark, with failures arising from various stages of multi-agent execution (Cemri et al. 2025). These observations motivate the problem of failure attribution. Specifically, under the Who&When formulation adopted in this work, the attribution target is the decisive error, defined as the agent-step pair whose correction would recover the failed execution (Zhang et al. 2025d). Identifying this decisive error provides actionable signals for

Figure

Figure 1: Illustration of why error-propagation modeling is needed to separate decisive errors from misleading failure symptoms.

debugging, targeted repair, and learning from failed executions. Nevertheless, reliable attribution remains challenging because failures are rarely isolated events: errors may either propagate through dependent interactions or remain unresolved in repetitive interaction loops, eventually manifesting as misleading failure symptoms.

Existing failure attribution approaches can be broadly categorized into four paradigms: direct LLM-based methods that infer attribution targets from textual trajectories (Zhang et al. 2025d; Banerjee, Nair, and Borogovac 2025; Sun et al. 2026); replay-based methods that estimate step responsibility through repeated trajectory executions (Ge et al. 2025); fine-tuning-based methods that learn specialized attribution models from additional supervision (Zhang et al. 2025a,b); and structure-guided methods that exploit dependency structures to identify candidate steps (Wang et al. 2026; Rafi et al. 2026). Despite their differences, these approaches largely treat attri-

∗^{*}Co-corresponding author.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

bution as selecting suspicious steps from an observed failure, without explicitly modeling how errors propagate across the trajectory or persist in unresolved interaction loops. As illustrated in Figure 1, a failed execution may contain multiple apparently erroneous steps, including deviations that are later corrected and downstream symptoms that merely inherit an earlier error. Identifying the decisive error therefore requires tracing how errors influence subsequent execution rather than judging individual steps in isolation. The figure illustrates cascading propagation across dependent steps, while failed trajectories may also contain persistent interaction loops in which agents repeatedly act without making task progress. Accordingly, we focus on these two complementary failure patterns.

Building on these observations, we propose Error-Propagation Modeling for Failure Attribution (EMFA), a failure attribution framework that explicitly models how errors evolve within failed multi-agent executions. EMFA first transforms flat execution logs into structured dependency representations to recover how information flows across agents and steps. It then models two complementary failure patterns: cascading error propagation, where an early deviation affects subsequent decisions through dependencies, and persistent interaction loops, where agents repeatedly act without making substantive progress. Based on these structures, EMFA constructs candidate decisive errors and applies counterfactual verification to distinguish truly recoverable errors from downstream carriers and failure symptoms.

On the Who&When benchmark (Zhang et al. 2025d), EMFA achieves state-of-the-art step-level failure attribution accuracy, improving over the previous best by 3.45 and 4.40 percentage points on the Hand-Crafted and Algorithm-Generated subsets, respectively. It also achieves the best agent-level accuracy on the Hand-Crafted subset while remaining competitive on the Algorithm-Generated subset.

Our contributions are summarized as follows:

• We introduce an error-propagation-oriented perspective on failure attribution in LLM-based multi-agent systems. This perspective explicitly models how errors propagate across dependent steps or persist in unresolved interaction loops, enabling decisive errors to be distinguished from downstream failure symptoms.

• We propose EMFA, a failure attribution framework that organizes failed trajectories into structured dependency representations, models cascading error propagation and persistent interaction loops to screen candidate steps, and applies counterfactual verification to identify the decisive agent-step pair.

• Experiments on the Who&When benchmark show that EMFA achieves state-of-the-art step-level failure attribution accuracy while remaining competitive at the agent level.

References (19)