Counterfactual Effect Decomposition in Multi-Agent Sequential Decision Making
Stelios Triantafyllou, Aleksa Sukovic, Yasaman Zolfimoselo, Goran Radanovic
TL;DR
This work addresses explaining counterfactual outcomes in multi-agent sequential decision making by introducing a causal explanation framework that decomposes the total counterfactual effect (TCFE) of an action into two principal pathways: propagation through subsequent agents (tot-ASE) and propagation through environment state transitions (r-SSE). It further refines these components by attributing tot-ASE to individual agents via Shapley-value-based agent-specific effects (ASE-SV) and allocating r-SSE across state variables through intrinsic causal contributions (ICC) with the r-SSE-ICC method. The central theoretical result shows TCFE = ASE - r-SSE, connecting agent-centric and state-centric mechanisms, and is complemented by an algorithmic approach for estimating conditional variances to enable counterfactual attributions. Empirical validation in Gridworld with an LLM-guided planner and a sepsis management simulator demonstrates the interpretability and practical utility of the decomposition, highlighting distinct roles for agents and environment in shaping counterfactual outcomes. These contributions offer a principled, interpretable toolkit for accountability in multi-agent decision systems and lay groundwork for extensions under partial identifiability and scalable computation.
Abstract
We address the challenge of explaining counterfactual outcomes in multi-agent Markov decision processes. In particular, we aim to explain the total counterfactual effect of an agent's action on the outcome of a realized scenario through its influence on the environment dynamics and the agents' behavior. To achieve this, we introduce a novel causal explanation formula that decomposes the counterfactual effect by attributing to each agent and state variable a score reflecting their respective contributions to the effect. First, we show that the total counterfactual effect of an agent's action can be decomposed into two components: one measuring the effect that propagates through all subsequent agents' actions and another related to the effect that propagates through the state transitions. Building on recent advancements in causal contribution analysis, we further decompose these two effects as follows. For the former, we consider agent-specific effects -- a causal concept that quantifies the counterfactual effect of an agent's action that propagates through a subset of agents. Based on this notion, we use Shapley value to attribute the effect to individual agents. For the latter, we consider the concept of structure-preserving interventions and attribute the effect to state variables based on their "intrinsic" contributions. Through extensive experimentation, we demonstrate the interpretability of our approach in a Gridworld environment with LLM-assisted agents and a sepsis management simulator.
