Deconfounded Value Decomposition for Multi-Agent Reinforcement Learning

Jiahui Li, Kun Kuang, Baoxiang Wang, Furui Liu, Long Chen, Changjie Fan, Fei Wu, Jun XiaoICML 2022

In cooperative Multi-Agent Reinforcement Learning (MARL), assigning credit to individual agents based on the global state often fails due to confounding bias caused by the unobserved environment. This paper introduces Deconfounded Value Decomposition (DVD), a novel framework that uses a "trajectory graph" built from local agent histories as a proxy confounder. By applying causal backdoor adjustments, DVD cuts off spurious correlations, leading to massive performance leaps on complex benchmarks like StarCraft II.

The Challenge of Credit Assignment and Confounding Bias

In cooperative MARL, agents must learn to work together using only their local observations (Decentralized Execution), but they are typically trained together using a centralized critic that has access to the global state (Centralized Training). A major challenge in this Centralized Training with Decentralized Execution (CTDE) paradigm is credit assignment: figuring out how much each individual agent's action contributed to the team's overall reward.

Value Decomposition (VD) methods, such as QMIX or QPLEX, handle this by factoring the joint value function into individual agent values. However, the authors identify a critical flaw using the lens of causal inference: the environment acts as an unobserved confounder.

Because the environment generates both the global state and the agents' local trajectories, it creates a "backdoor path" (a spurious correlation) between the global state and the joint value function. Consequently, the central mixer learns biased credit assignments, attributing success or failure to the global state rather than the actual contributions of the agents.

Causal graphs contrasting standard VD (left) with the proposed DVD approach (right).

Deconfounded Value Decomposition (DVD)

To eliminate this confounding bias, the authors propose Deconfounded Value Decomposition (DVD), which relies on the causal principle of backdoor adjustment.

Since the true environment is unobserved and too complex to model directly, the authors cannot intervene on it. Instead, they introduce a proxy confounder: the trajectory graph ($G$). The DVD framework implements this through three main steps:

  1. Building the Trajectory Graph: The model extracts the hidden states from each local agent's Recurrent Neural Network (RNN)—which encode their local action-observation histories—and connects them to form a graph.
  2. Message Passing: A Graph Attention Network (GAT) is used to exchange messages among agents, creating a rich representation of the joint trajectory.
  3. Backdoor Adjustment via Sampling: To perform the causal intervention (calculating the probability of the joint value given a do-intervention on the global state), the model needs to sample this trajectory graph. To keep this computationally feasible in a single forward pass, DVD uses a multi-head strategy to generate multiple representations of the trajectory graph simultaneously (Monte Carlo sampling).
Architecture of the DVD framework, highlighting the trajectory graph and backdoor adjustment module.

By conditioning the credit assignment on these sampled trajectory graphs, DVD effectively severs the backdoor path from the environment, forcing the model to learn the true causal effect of each agent's actions. DVD is designed as a plug-and-play module that can be added to existing VD baselines.

Key Results

The authors evaluated DVD on two popular MARL benchmarks: the StarCraft II Micro Management Benchmark (SMAC) and the Multi-Agent COordination Challenge (MACO). Applying DVD to existing baselines (QMIX, QPLEX, RODE) yielded striking improvements, particularly in scenarios where precise credit assignment is critical:

  • StarCraft II (SMAC): On the super-hard 3s5z_vs_3s6z map, DVD improved QMIX's win rate by nearly 40%, pushing it close to a perfect 100% win rate. On 6h_vs_8z, it boosted QMIX's performance by 5x (from ~10% to ~50% win rate). Qualitative analysis showed agents learning advanced tactics, like sacrificing one unit to kite enemies away while the rest of the team dealt damage.
  • MACO: In the Hallway task (which requires agents to reach a target simultaneously without knowing others' positions), DVD improved QPLEX's win rate by nearly 40%. In Gather, DVD helped the baseline avoid suboptimal local minima, achieving a ~90% win rate.
  • Ablation Studies: The authors found that sampling the trajectory graph multiple times ($D=8$) during the backdoor adjustment was crucial for maximizing performance, proving the causal intervention was driving the gains, not just the addition of a graph network.

Insights and Limitations

The realization that MARL has a causal inference problem is a significant conceptual leap. It explains why standard credit assignment often fails to generalize in highly complex states. While the underlying environment dynamics cannot be observed, the combined local histories of all agents contain enough information to act as a powerful proxy confounder. Furthermore, repurposing Graph Neural Networks to construct this causal variable demonstrates a novel intersection of graph learning and causal MARL.

However, DVD does have limitations. It fails to improve performance on maps where credit assignment isn't the primary bottleneck. For example, on the SMAC corridor map, transforming the action space is more important, so DVD offered almost no improvement. Additionally, the method assumes the constructed trajectory graph sufficiently captures the confounding information of the environment; if local histories fail to capture a critical environmental dynamic, the backdoor adjustment will be incomplete. Future work may explore other forms of proxy confounders or apply this causal perspective to explicit communication-based MARL frameworks.

Summary updated

BibTeX
@inproceedings{li2022deconfounded,
  author = {Jiahui Li and Kun Kuang and Baoxiang Wang and Furui Liu and Long Chen and Changjie Fan and Fei Wu and Jun Xiao},
  title = {{Deconfounded Value Decomposition for Multi-Agent Reinforcement Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=q4qZpfwBfy},
}
Figure