Solving Common-Payoff Games with Approximate Policy Iteration

Samuel Sokota, Edward Lockhart, Finbarr Timbers, Elnaz Davoodi, Ryan D'Orazio, Neil Burch, Martin Schmid, Michael Bowling, Marc Lanctot

Abstract

For artificially intelligent learning systems to have widespread applicability in real-world settings, it is important that they be able to operate decentrally. Unfortunately, decentralized control is difficult—computing even an epsilon-optimal joint policy is a NEXP-complete problem. Nevertheless, a recently rediscovered insight—that a team of agents can coordinate via common knowledge—has given rise to algorithms capable of finding optimal joint policies in small common-payoff games. The Bayesian action decoder (BAD) leverages this insight and deep reinforcement learning to scale to games as large as two-player Hanabi. However, the approximations it uses to do so prevent it from discovering optimal joint policies even in games small enough to brute force optimal solutions. This work proposes CAPI, a novel algorithm which, like BAD, combines common knowledge with deep reinforcement learning. However, unlike BAD, CAPI prioritizes the propensity to discover optimal joint policies over scalability. While this choice precludes CAPI from scaling to games as large as Hanabi, empirical results demonstrate that, on the games to which CAPI does scale, it is capable of discovering optimal joint policies even when other modern multi-agent reinforcement learning algorithms are unable to do so.

Introduction

In decentralized control or "common-payoff games," a team of agents must work together to maximize a shared reward without perfect communication or shared private information. This is notoriously difficult; mathematically, finding an optimal policy is NEXP-complete. The core challenge is non-stationarity: as one agent learns, the optimal behavior for others shifts, often leading the team into poor local optima. While recent algorithms like the Bayesian Action Decoder (BAD) address this by leveraging common knowledge, they often use approximations that sacrifice the ability to find truly optimal solutions, even in relatively small games.

Methodology: CAPI and the PuB-MDP Framework

The authors introduce CAPI (Cooperative Approximate Policy Iteration), which operates within the Public Belief MDP (PuB-MDP) framework. This framework transforms decentralized problems into a centralized decision-making process based on public information.

Key technical components include:

  • Prescription Vectors: Instead of agents choosing individual actions, a virtual coordinator issues a "prescription"—a mapping that tells each agent what to do for every possible private state they might have. This ensures agents stay synchronized based on common knowledge.
  • Approximate Policy Iteration: At each decision point, CAPI generates $K$ candidate prescription vectors. It evaluates these by looking one step ahead, using a value network to estimate the long-term reward of the resulting belief state.
  • Factored Policy Representation: To handle the astronomical number of possible prescriptions, CAPI represents the policy as a distribution that factors across agents' private information states.
  • Sufficient Statistics: To feed complex belief states into a neural network, CAPI uses a technique from the poker AI DeepStack, passing the public state and each player’s contribution to the "reach probability" of their current state.
Prescription vectors map each private information state to a specific action, allowing a coordinator to manage agent behavior based on public knowledge.

Experimental Evaluation

CAPI was evaluated on three distinct benchmarks designed to test decentralized coordination:

  1. Tiny Hanabi Suite: Six small Dec-POMDPs testing basic coordination.
  2. Trade Comm: A communication game where two players must use limited utterances to trade items successfully. It requires lossless communication for optimality.
  3. Abstracted Tiny Bridge: A simplified version of contract bridge with over 50,000 non-terminal states, requiring bidding to signal private hands.

Key Results

Empirical results demonstrate that CAPI consistently discovers optimal joint policies where standard multi-agent RL algorithms (like IQL, VDN, or IA2C2) and even previous state-of-the-art methods like BAD frequently fail.

  • Tiny Hanabi: While independent RL algorithms failed on most of the six games, the PuB-MDP approach used by CAPI solved all of them perfectly.
  • Trade Comm: CAPI achieved the maximum reward of 1.0 in 30 out of 32 runs. In contrast, none of the baselines were able to solve it even once.
  • Abstracted Tiny Bridge: CAPI discovered the optimal policy in 18 out of 32 runs, whereas none of the baseline algorithms found the optimal policy in any of their runs.
Performance comparison on the Trade Comm benchmark. CAPI consistently achieves the optimal return of 1.0, while baseline multi-agent RL algorithms fail to coordinate effectively.

Discussion and Future Work

The primary limitation of CAPI is scalability. Because it evaluates multiple prescription vectors and performs lookahead on belief states, it is computationally heavier than policy-only methods. While it handles games with tens of thousands of states, it cannot yet scale to the full game of Hanabi.

Future work aims to develop a unified algorithm that combines CAPI’s ability to find optimal solutions with the scalability of BAD. This includes researching more effective ways to represent public belief states and compressed representations of prescription vectors to tackle even larger, more complex cooperative challenges.

Summary updated

BibTeX
@inproceedings{sokota2021solving,
  author = {Samuel Sokota and Edward Lockhart and Finbarr Timbers and Elnaz Davoodi and Ryan D'Orazio and Neil Burch and Martin Schmid and Michael Bowling and Marc Lanctot},
  title = {{Solving Common-Payoff Games with Approximate Policy Iteration}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=r2fZwcUQHlc},
}
Figure