arXiv:2608.28264cs.AIAug 2026

Manuscript Offprint

arXiv:2608.28264

Finding Where the Buck Stops: An Automated Failure Attribution-Based Reflection Framework for Multi-Agent Collaboration

Xiaoqing Wang, Keman Huang, Bin Liang, Hongyu Li, Xiaoyong Du, Wuqiong Pan

Abstract

Multi-agent systems (MAS) powered by large language models have shown promise for complex tasks but suffer from high failure rates. Current self-reflection methods for MAS require all agents to reflect upon failure, overlooking a critical reality: failures typically stem from a specific agent leading the task astray, namely the decisive error agent, while others merely fulfill their regular duties. Forcing regular-behaving agents to reflect contaminates their memory with wrong insights. Hence, we propose DoCtOR (Diagnose-then-Correct PPO-enhanced Reflection), a novel reflection framework that enhances multi-agent collaboration. DoCtOR first identifies the decisive error step and decisive error agent through automated failure attribution, then employs counterfactual reasoning to generate a corrected decisive error step, and finally engages only the decisive error agent to produce targeted reflections. Experimental results show DoCtOR achieves 22%, 26%, and 27% improvements over initial success rates on HotPotQA, ChartQAPro, and Mind2Web datasets, outperforming Reflexion, Retroformer, and COPPER. We further establish the generalizability of our diagnose-then-correct paradigm and demonstrate that in low-resource settings, focusing reflection on reasoning steps after the decisive error step achieves comparable quality to reflecting on the complete failure trajectory.

1 Introduction

In recent years, multi-agent systems (MAS) powered by large language models have attracted considerable attention and are increasingly regarded as a promising approach for tackling complex tasks (Wu et al., 2024; Qian et al., 2024; Chen et al., 2023; Hong et al., 2024; Fourney et al., 2024). Intuitively, multiple specialized agents working

TASK: Analyze the sales performance of product X on an e-commerce platform over the past six months and propose strategies for operational improvement.

Figure

Figure 1: A multi-agent collaboration failure process replay in a data analysis task and the detrimental effects of forced reflection on regular-behaving agents.

collaboratively should leverage collective intelligence to overcome challenges insurmountable for single agents. However, recent empirical studies (Wang et al., 2024b; Zhang et al., 2025a; Pan et al., 2025) have revealed a perplexing phenomenon: despite consuming additional computational resources, MAS frequently fail to reliably outperform robust single-agent baselines. Pan et al. (2025) further documents that prominent MAS, including Chatdev (Qian et al., 2024), MetaGPT (Hong et al., 2024), Magentic-One (Fourney et al., 2024), and AppWorld (Trivedi et al., 2024), demonstrate failure rates between 60% and 86.7%, even on tasks they were specifically designed to excel at. Such alarming failure rates raise fundamental concerns regarding the practical application of MAS.

To enhance collaborative performance in MAS, a natural approach involves collecting extensive collaboration data for agent fine-tuning. Nevertheless, this strategy may compromise the model's general capabilities (Yang et al., 2024), which con-

tradicts the goal of achieving artificial general intelligence. Therefore, a more prevalent approach is to optimize the collaboration process through self-reflection mechanisms (Shinn et al., 2023; Yao et al., 2024; Bo et al., 2024), which transform binary or scalar rewards from the environment into verbal reflections, thereby providing additional context to improve task performance.

Existing literature has developed self-reflection methods for MAS, such as COPPER (Bo et al., 2024), which fine-tunes a shared reflector to generate personalized reflections according to agent roles. Specifically, COPPER requires all participating agents to reflect on task trajectories when failures occur. The underlying assumption of COPPER is that every agent shares responsibility for the failure and should reflect on its causes. However, it overlooks an important reality: When tasks fail, responsibility often falls on a specific agent leading the task astray, namely the decisive error agent, while others merely fulfill their normal duties.

Figure 1 illustrates this phenomenon through a multi-agent collaboration failure process replay: AgentAAgent_{A} successfully collected the monthly sales data, while AgentBAgent_{B} correctly generated a corresponding line graph. However, AgentCAgent_{C} erroneously interpreted minor fluctuations as a downward trend, leading AgentDAgent_{D} to develop inappropriate strategies based on this misanalysis. In this scenario, AgentCAgent_{C} is the decisive error agent, while others are regular-behaving agents. Forced reflection can be detrimental for regular-behaving agents: AgentAAgent_{A} might question whether daily data would have been more appropriate, while AgentBAgent_{B} might wonder if a bar chart would have been superior to the line graph. Such misguided reflections contaminate the memory of regular-behaving agents, providing erroneous insights for future task execution and thus probably introducing new errors, such as AgentAAgent_{A} collecting redundant data or AgentBAgent_{B} abandoning line chart visualization methods.

Therefore, we propose Diagnose-then-Correct PPO-enhanced Reflection (DoCtOR), a novel framework for enhancing multi-agent collaboration. The framework consists of an action module for generating reasoning trajectories and a reflection module that provides feedback and updates agent memory. Within the reflection module, we introduce a lightweight ♣ diagnosis submodule for automatic failure attribution (Zhang et al., 2025b), which identifies the decisive error step and the corresponding decisive error agent in multi-agent reasoning trajectories. Inspired by Process Reward Models (PRM) (Lightman et al., 2023; Zhang et al., 2025c; Song et al., 2025), we propose a Process reward-based Automated Failure Attribution (ProFA) method that assigns correctness scores to individual reasoning steps, where the first incorrect step is designated as the decisive error step and its agent as the decisive error agent. Based on the identified failure points, the ♣ correction submodule applies counterfactual reasoning to generate a corrected decisive error step, whose correctness is subsequently verified by ProFA. Finally, only the decisive error agent performs targeted reflection through the ♥ reflector model, enabling self-correction and self-improvement. The reflector is further fine-tuned through proximal policy optimization (Schulman et al., 2017).

Our contributions can be concluded as follows:

① Framework Proposal. We propose DoCtOR, a novel reflection framework that addresses limitations of existing multi-agent reflection methods. Unlike approaches that require all agents to reflect upon failure, DoCtOR first identifies the decisive error step through automated failure attribution, then employs counterfactual reasoning to generate the corrected decisive error step, and finally engages the decisive error agent to generate precise reflections while avoiding memory contamination of regular-behaving agents.

② Experimental Validation. Experiments show that (I) DoCtOR exhibits superior reflection capabilities, improving initial success rates by 22%, 26%, and 27% on HotPotQA, ChartQAPro, and Mind2Web datasets respectively, outperforming baselines including Reflexion, Retroformer, and COPPER; (II) ProFA provides effective automated failure attribution, achieving 4%-35% improvement in agent-level accuracy and 9%-28% improvement in step-level accuracy on the Who & When dataset compared to existing methods.

③ Practical Solution. We demonstrate the generalizability of the diagnose-then-correct paradigm in enhancing existing prompt-based reflection methods such as Reflexion. Additionally, our analysis reveals that providing only the reasoning steps following the decisive error step achieves comparable reflection quality to complete trajectories, enabling efficient reflection generation under low-resource settings.

Figure

Figure 2: Overview of DoCtOR framework. Our framework comprises two components: an action module for generating reasoning trajectories, and a reflection module that provides feedback to action module agents and enriches their memory. The reflection module follows a three-stage workflow: (1) diagnosis submodule identifies the decisive error step and agent; (2) correction submodule generates a corrected decisive error step; and (3) reflector model leverages the previous two stages' outputs to produce targeted reflections for the decisive error agent.