[Paper Review] Interpretable Failure Analysis in Multi-Agent Reinforcement Learning Systems
This paper presents a two-stage gradient-based framework for interpretable failure analysis in MARL, identifying the true Patient-0 and tracing how failures propagate through learned coordination, with strong performance across Simple Spread and StarCraft II benchmarks.
Multi-Agent Reinforcement Learning (MARL) is increasingly deployed in safety-critical domains, yet methods for interpretable failure detection and attribution remain underdeveloped. We introduce a two-stage gradient-based framework that provides interpretable diagnostics for three critical failure analysis tasks: (1) detecting the true initial failure source (Patient-0); (2) validating why non-attacked agents may be flagged first due to domino effects; and (3) tracing how failures propagate through learned coordination pathways. Stage 1 performs interpretable per-agent failure detection via Taylor-remainder analysis of policy-gradient costs, declaring an initial Patient-0 candidate at the first threshold crossing. Stage 2 provides validation through geometric analysis of critic derivatives-first-order sensitivity and directional second-order curvature aggregated over causal windows to construct interpretable contagion graphs. This approach explains "downstream-first" detection anomalies by revealing pathways that amplify upstream deviations. Evaluated across 500 episodes in Simple Spread (3 and 5 agents) and 100 episodes in StarCraft II using MADDPG and HATRPO, our method achieves 88.2-99.4% Patient-0 detection accuracy while providing interpretable geometric evidence for detection decisions. By moving beyond black-box detection to interpretable gradient-level forensics, this framework offers practical tools for diagnosing cascading failures in safety-critical MARL systems.
Motivation & Objective
- Motivate the need for interpretable failure analysis in safety-critical MARL settings.
- Propose a two-stage gradient-based framework to detect the true failure source and validate propagation pathways.
- Provide interpretable contagion graphs that summarize influence, amplification, and timing of failures.
- Empirically evaluate the method across multiple environments and MARL algorithms, demonstrating high Patient-0 detection accuracy and actionable explanations.
Proposed method
- Stage 1: Detect per-agent policy instability via Taylor remainder analysis of the policy-gradient cost to identify a Patient-0 candidate at the first threshold crossing.
- Stage 2: Validate the Patient-0 candidate by tracing upstream influence using critic derivatives (first-order) and directional second-order curvature to construct an interpretable contagion graph.
- Use a directed contagion graph where edges summarize influence strength, amplification frequency, and propagation timing.
- Compute flow-based metrics such as G_{ij}, H_{ij}, and D_{ij} to distinguish accelerating vs damping influences and to expose downstream-first misdetections.
- Aggregate information over short causal windows to produce edge-level summaries (IS, CR) and episode-level influence graphs.
- Provide an intervention protocol to validate the causal role of high-influence edges by comparing attacks at critical vs robust moments.

Experimental results
Research questions
- RQ1Q1: Who is the true Patient-0—the first agent to enter a non-robust state?
- RQ2Q2: Why might a non-attacked agent be flagged first, and can traceback correct this misidentification?
- RQ3Q3: How does instability propagate across agents over time through the system’s learned coordination pathways?
- RQ4Q4: Can the framework provide interpretable contagion graphs that summarize influence, amplification, and timing of failures?
Key findings
- Stage-1 detection achieves 88.2%–99.4% Patient-0 identification accuracy across settings.
- Stage-2 correction improves accuracy, with notable gains in coordinated environments (e.g., SMAC).
- Instability Occupancy (IO) consistently outperforms traditional performance metrics (AUC-Q, AUC-Reward, reward-based measures) by roughly 20+ percentage points in many cases.
- HATRPO generally yields cleaner Taylor-error signals and higher Stage-1 accuracy than MADDPG, due to smoother gradient landscapes.
- Stage-2 traceback effectively recovers true upstream sources in downstream-first failure episodes, producing interpretable contagion graphs.
- Interventions at critical (accelerating) moments produce significantly stronger downstream instability than interventions at robust moments, validating the causal utility of the influence metrics.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.