arXiv(opens in a new tab)cs.AISep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.04749

DCFA: Dual-view Causal-inspired Attribution for Failure Reasoning in LLM-based Multi-agent Systems

Zehao Wang, Lanjun Wang, Shilong Jin, Junjie Chen, Yanghua Xiao

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

Abstract

Large language model (LLM)-based multi-agent systems have experienced rapid growth in recent years. Despite their promise, such systems remain fragile, frequently exhibiting reasoning and coordination errors that can lead to system-level failures. Failure attribution in such systems relies on tracing natural language interactions among agents to identify the decisive error, which refers to the earliest action whose correction can reverse system failure. There are two key challenges: 1) Shallow attribution: Existing methods often capture only minor deviations, such as incomplete retrievals or formatting errors, which verification mechanisms can correct, while missing the decisive cause of system failure. 2) Contextual degradation: As the length of the system traces increases, the model's reasoning ability rapidly deteriorates. To address these challenges, we propose DCFA, a training-free framework for failure attribution. DCFA integrates a global module that constructs structured causal-inspired dependency graphs from system traces to identify the initial decisive error, and a local module that applies local counterfactual-inspired reasoning to refine causal-inspired attribution. Experiments on the Who&When benchmark across six LLMs show that DCFA improves step-level accuracy by up to 8.27% over state-of-the-art baselines. Code is available in the public repository (https://github.com/wzhSteve/DCFA).

1 Introduction

With the emergence of large language models (LLMs), multi-agent systems (MAS) built upon LLM backends have rapidly evolved (Becattini et al., 2025; Ronanki, 2025). These systems enable autonomous collaboration among specialized agents for tasks such as code generation, knowledge search, and data analysis (Huang et al., 2024;

Figure

Figure 1: Illustration of failure attribution in an LLM-based multi-agent system. The system trace is represented as a textual record composed of interactive messages generated by agents.

Pan et al., 2024; Li et al., 2024; Majdoub et al., 2025). Despite the impressive progress in orchestration and tool integration, LLM-based multi-agent systems remain susceptible to coordination and reasoning failures (Cemri et al., 2026; Hammond et al., 2025; Shen et al., 2026). Errors such as misalignment in agents' collaborations or improper tool usage can propagate across different agents along the system trace, leading to cascading reasoning errors that ultimately derail entire workflows (Cemri et al., 2026; He et al., 2025). This fragility highlights the urgent need for failure attribution in LLM-based multi-agent systems (Cemri et al., 2026; Hammond et al., 2025), which refers to the process of identifying the earliest actions whose correction could reverse system failure, known as decisive errors.

Recent efforts have begun to explore failure attribution in LLM-based multi-agent systems using LLMs as diagnostic detectors (Zhang et al., 2025, 2026). Existing approaches can be broadly classified into fine-tuning-based (Zhang et al., 2026) and instruction-based (Zhang et al., 2025; Cemri et al., 2026) paradigms. The fine-tuning-based approach, exemplified by AgenTracer (Zhang et al., 2026), constructs specialized datasets to train dedicated models for failure analysis. In contrast, instruction-

∗^{*} Corresponding Author.

based methods (Zhang et al., 2025; Cemri et al., 2026) rely on carefully designed prompts to guide LLMs in analyzing multi-agent system traces and identifying the decisive errors. However, both paradigms face inherent limitations. Fine-tuning-based approaches offer strong controllability but require extensive annotation and repeated training, resulting in high costs. Instruction-based methods avoid these costs under a training-free constraint by leveraging LLMs' general reasoning ability, yet they often fail to reliably interpret long, multi-step, and unstructured system traces, leading to inaccurate failure attribution.

In this work, we study failure attribution in LLM-based multi-agent systems under the training-free setting to improve the extraction of decisive errors from unstructured multi-step traces. We identify two fundamental challenges: 1) Shallow attribution: Existing LLM-based attribution methods often focus on minor, recoverable deviations (e.g., incomplete retrieval or formatting errors (Cemri et al., 2026; Banerjee et al., 2025)) that do not determine the final outcome. In contrast, the decisive error refers to the earliest action whose correction would reverse the system failure, truly driving the system to fail. For example, an agent may fabricate missing content when critical information is lost during the initial collection or retrieval process. Unlike missing information that can be subsequently verified and retrieved through downstream interactions, the fabrication error is difficult to verify and thus persists throughout the reasoning chain, misleading the system's subsequent decisions. 2) Contextual degradation: As trace length and complexity increase, attribution performance degrades sharply. For instance, the Who&When benchmark (Zhang et al., 2025) reports that the step-level attribution accuracy of state-of-the-art methods decreases substantially with growing trace length with averaging around 15% for traces of length 10, but dropping to nearly 0% for those approaching length 100.

To overcome these challenges, we propose a training-free framework, named the Dual-view Causal-inspired Failure Attribution (DCFA). DCFA comprises two key modules: the Global Causal-inspired Attribution (GCA) module and the Local Counterfactual-inspired Enhancement (LCE) module, which jointly perform global reasoning over a causal-inspired dependency structure and local counterfactual-inspired validation. To move attribution beyond surface-level deviations, GCA constructs a structured causal-inspired dependency graph and performs reasoning along it to uncover deeper dependency relationships underlying system failure. GCA extracts candidate minor deviations from the interaction system trace and builds a step-level causal-inspired dependency graph centered on these candidates. By performing global reasoning over the causal-inspired dependency graph across the entire system trace, GCA generates an initial hypothesis of the decisive error. To mitigate long-context degradation, LCE refines the global hypothesis through localized counterfactual-inspired reasoning. Starting from the hypothesized error, LCE performs a bidirectional search over the causal-inspired dependency graph to identify local dependency chains through which the error propagates, and evaluates how local corrections propagate through the reasoning chain and affect the final outcome via counterfactual-inspired evaluation. By evaluating these locally induced outcome changes, LCE progressively identifies the interaction that most plausibly constitutes the decisive error. In summary, our contributions are fourfold:

  • We propose DCFA, a training-free framework for failure attribution in LLM-based multi-agent systems, integrating global reasoning with local counterfactual-inspired validation.
  • To address shallow attribution, we construct causal-inspired dependency graphs to model interaction-level dependencies, enabling LLMs to move beyond minor deviations and identify decisive errors.
  • To mitigate contextual degradation, we introduce localized counterfactual-inspired refinement that focuses reasoning on critical dependency chains, thereby improving attribution accuracy on long traces.
  • Experiments on the Who&When benchmark with six LLMs show consistent gains, improving step-level accuracy by up to 8.27% over the state-of-the-art baselines.

References (34)