Introduction
Imagine a hospital where a clinician and an AI assistant work together to treat a patient. If a treatment fails, a natural question arises: "What if the clinician had ignored the AI's advice at step 10 and used a different medication?"
Current causal analysis can estimate the Total Counterfactual Effect—for instance, determining that the patient would have had an 82% chance of recovery under the alternative scenario. However, it struggles to explain the underlying mechanism. Did the recovery happen because the medication directly improved the patient's vitals (environment dynamics), or because it prompted the AI to suggest better follow-up actions (agent behavior)?
In multi-agent sequential settings, an action’s influence ripples through an exponential number of future paths. This paper addresses the lack of a systematic way to attribute these ripples to specific actors and environmental factors, introducing a framework to explain why a different action would have changed an outcome.
Methodology: A Bi-Level Decomposition
The authors propose a bi-level decomposition framework based on Multi-Agent Markov Decision Processes (MMDPs) represented as Structural Causal Models (SCMs).
Level 1: The Causal Explanation Formula The researchers prove that the total counterfactual effect can be mathematically split into two distinct parts:
- Total Agent-Specific Effect (tot-ASE): The portion of the effect that propagates through the future actions of all agents.
- Reverse State-Specific Effect (r-SSE): The portion of the effect that propagates through the environment's state transitions. Counter-intuitively, the total effect isn't just a simple sum of agent and state effects; this "reverse" effect acts as a necessary mathematical bridge to make the decomposition work.
Level 2: Attributing to Agents and States To drill down into which agent mattered, the framework uses the Shapley value from cooperative game theory. This ensures that the attribution is "fair" (satisfying axioms like efficiency and symmetry), effectively dividing the "agent-specific" credit among the participants.
To understand the environment's role, they use Intrinsic Causal Contributions (ICC). This identifies which specific state variables (e.g., blood pressure at time $t$) were most informative in determining the counterfactual outcome.
Experimental Setup
The researchers evaluated their framework on two distinct simulated environments:
- Sepsis Management Simulator: A healthcare-inspired environment where a clinician and an AI agent take turns treating a patient. This environment is used to model human-AI collaboration and trust.
- Gridworld with LLM-assisted RL agents: A multi-agent task where two reinforcement learning (RL) "actors" receive high-level instructions from an LLM "planner." This tests the method's ability to handle complex hierarchies and stochastic penalties.
Key Findings and Insights
The framework clearly separates an agent's policy (how they react to changes) from the environment's mechanisms (how the world changes), yielding several critical insights:
- Interpretability in Healthcare: In the Sepsis simulator, the method successfully attributed approximately 45.6% of the counterfactual effect to agent behavior (how the AI and doctor would have reacted) and 54.4% to the direct impact on the patient's state.
- Trust Impacts Attribution: As the clinician’s trust in the AI increases in the Sepsis model, the clinician’s attributed contribution to the outcome decreases. If a human follows an AI blindly, their "agency" in the causal chain is demonstrably reduced.
- Pinpointing Stochasticity: In the Gridworld environment, the state-attribution method (r-SSE-ICC) correctly identified exactly which time-steps involved the most "luck" (stochastic penalty), providing a clear timeline of where the environment influenced the outcome.
- Sparsity in Explanations: The results show that only a few "key" states usually contribute to the counterfactual effect. This suggests that we don't need to explain every single detail of a simulation to provide a meaningful explanation.
- Theoretical Soundness: The authors provide a uniqueness result, proving that their Shapley-based method is the only one that satisfies essential fairness properties for agent attribution.
Limitations and Future Work
While powerful, the framework has limitations. Calculating exact Shapley values is computationally complex and scales exponentially as the number of agents grows, making very large-scale systems a challenge without sampling-based approximations.
Furthermore, the framework assumes access to a known Structural Causal Model (SCM). In many real-world scenarios, the "ground truth" equations for the world are unknown and must be estimated from data, introducing potential errors. Finally, the method relies on a technical assumption called "noise monotonicity" for causal identifiability. Extending this approach to non-identifiable domains—where only bounds on effects are available—remains an important next step for future research.
Summary updated