SHAQ: Incorporating Shapley Value Theory into Multi-Agent Q-Learning

Jianhong Wang, Yuan Zhang, Yunjie Gu, Tae-Kyun Kim
5/31/2021
cs.LGcs.AIcs.MA
rl

Official code: hsvgbkhgbv/shapley-q-learning (52 stars, Python, last commit 2023-12-04).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

This repo is the implementation of paper ''SHAQ: Incorporating Shapley Value Theory into Multi-Agent Q-Learning''.

5213Python, DockerfileJan 2, 20212 years ago
interpretabilitymarlmultiagent-reinforcement-learningq-learningshapley-value+1 more

Similar Papers

Cite this paper

@article{wang2021shaq,
  title  = {SHAQ: Incorporating Shapley Value Theory into Multi-Agent Q-Learning},
  author = {Jianhong Wang and Yuan Zhang and Yunjie Gu and Tae-Kyun Kim},
  year   = {2021},
  eprint = {2105.15013},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.15013}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.15013.svg)](https://codeofpaper.com/paper/2105.15013)

Discussion