[Paper Review] SHAQ: Incorporating Shapley Value Theory into Multi-Agent Q-Learning
This paper proposes SHAQ, a multi-agent reinforcement learning algorithm that integrates Shapley value theory into value factorization for global reward games. By introducing Markov Shapley Value (MSV) and the Shapley-Bellman optimality equation (SBOE), SHAQ ensures theoretically grounded credit assignment, enabling both high performance and interpretability in cooperative MARL settings.
Value factorisation is a useful technique for multi-agent reinforcement learning (MARL) in global reward game, however its underlying mechanism is not yet fully understood. This paper studies a theoretical framework for value factorisation with interpretability via Shapley value theory. We generalise Shapley value to Markov convex game called Markov Shapley value (MSV) and apply it as a value factorisation method in global reward game, which is obtained by the equivalence between the two games. Based on the properties of MSV, we derive Shapley-Bellman optimality equation (SBOE) to evaluate the optimal MSV, which corresponds to an optimal joint deterministic policy. Furthermore, we propose Shapley-Bellman operator (SBO) that is proved to solve SBOE. With a stochastic approximation and some transformations, a new MARL algorithm called Shapley Q-learning (SHAQ) is established, the implementation of which is guided by the theoretical results of SBO and MSV. We also discuss the relationship between SHAQ and relevant value factorisation methods. In the experiments, SHAQ exhibits not only superior performances on all tasks but also the interpretability that agrees with the theoretical analysis. The implementation of this paper is on https://github.com/hsvgbkhgbv/shapley-q-learning.
Motivation & Objective
- To address the lack of theoretical interpretability in value factorization methods for multi-agent reinforcement learning (MARL).
- To formalize a cooperative game-theoretic framework for dynamic, Markovian environments through the concept of Markov convex games.
- To derive a theoretically sound credit assignment mechanism using Shapley values in cooperative MARL, ensuring efficiency, symmetry, and dummy agent identifiability.
- To develop a new MARL algorithm, Shapley Q-learning (SHAQ), that is both convergent and interpretable, with decentralized execution capability.
- To validate that the proposed method outperforms state-of-the-art baselines in performance while providing transparent, theory-grounded credit assignment.
Proposed method
- Introduces Markov Shapley Value (MSV) as a generalization of Shapley values to Markov convex games, ensuring core stability under the grand coalition.
- Derives the Shapley-Bellman optimality equation (SBOE), an extension of the Bellman equation, to characterize optimal MSV under joint deterministic policies.
- Proposes the Shapley-Bellman operator (SBO) and proves its convergence to the SBOE, enabling stable learning of optimal values.
- Develops SHAQ via stochastic approximation of the SBO and architectural transformations to enable decentralized execution while preserving convergence.
- Implements attention-based weighting mechanisms using hypernetworks to approximate Shapley values in practice, ensuring consistency with theoretical properties.
- Uses a coalition structure sampling strategy to estimate marginal contributions, with a monotonic function to scale attention weights for stable value factorization.
Experimental results
Research questions
- RQ1Can Shapley value theory be extended to dynamic, Markovian cooperative games to provide a theoretically grounded value factorization method?
- RQ2Does the proposed Markov Shapley Value (MSV) satisfy key axioms such as efficiency, symmetry, and dummy agent identifiability in cooperative MARL?
- RQ3Can the Shapley-Bellman optimality equation (SBOE) and associated Shapley-Bellman operator (SBO) be used to derive a convergent, decentralized MARL algorithm?
- RQ4Does the resulting SHAQ algorithm achieve superior performance and interpretability compared to existing value factorization methods in global reward games?
- RQ5Can the credit assignment in SHAQ be both theoretically justified and empirically aligned with agent contributions in cooperative tasks?
Key findings
- SHAQ achieves superior performance across all evaluated tasks, including Predator-Prey and multi-agent StarCraft benchmarks, outperforming state-of-the-art baselines.
- The credit assignment in SHAQ is interpretable and aligns with theoretical properties: it identifies dummy agents correctly, ensures efficiency, and reflects marginal contributions.
- The Shapley-Bellman operator (SBO) is proven to converge to the optimal SBOE, ensuring theoretical stability and correctness of the learning process.
- SHAQ maintains convergence and performance even under decentralized execution, thanks to the theoretical guarantees of the SBO and MSV framework.
- The implementation of attention weights in SHAQ ensures that the sum of weights across agents is always less than or equal to 1, preserving value factorization consistency.
- Empirical results confirm that the attention weights in SHAQ reflect actual agent contributions, with higher weights assigned to actions that align with optimal joint policies.
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.