Posterior sampling for multi-agent reinforcement learning: solving extensive games with imperfect information

Yichi Zhou, Jialian Li, Jun ZhuICLR 2020

Introduction

Reinforcement Learning (RL) traditionally involves an agent learning to act optimally in an unknown environment. In single-agent settings, Posterior Sampling for Reinforcement Learning (PSRL) has emerged as a powerful, data-efficient "Bayesian" approach to exploration. The agent maintains a probability distribution over possible environments, samples one hypothetical version of the world, and acts optimally according to that sample.

However, extending this logic to Multi-Agent Reinforcement Learning (MARL) introduces significant complexities. In a game setting, an "optimal" move depends not just on the environment's rules, but also on the opponent's strategy. Consequently, the objective shifts from simply maximizing a reward to finding a Nash Equilibrium (NE)—a state where no player can unilaterally improve their outcome by changing their strategy.

This paper introduces CFR-PSRL, the first algorithm to successfully adapt PSRL to multi-agent settings, specifically focusing on Two-player zero-sum Extensive-Games with Imperfect Information (TEGI), such as Poker. By combining Bayesian exploration with Counterfactual Regret Minimization (CFR), CFR-PSRL provably converges to a Nash Equilibrium at a rate of $O(\sqrt{\log T / T})$, significantly outperforming traditional model-free approaches in data efficiency.

The Challenge of Imperfect Information

The authors focus on TEGI environments. These are sequential games where players possess private information (e.g., hidden cards in Texas Hold'em). While algorithms like Counterfactual Regret Minimization (CFR) are highly effective when the game's rules and transition probabilities are perfectly known, they struggle when the environment's dynamics are unknown.

Exploration in these games is inherently difficult: an agent cannot simply act "greedily" to learn about the environment, as a strategic opponent will quickly exploit predictable exploratory actions.

Methodology: The CFR-PSRL Algorithm

To bridge the gap between unknown environments and strategic play, the authors propose CFR-PSRL, which integrates two major components:

  1. Posterior Sampling: The algorithm maintains a posterior distribution over the game's unknown parameters (such as transition probabilities and rewards). In each episode, it samples two "hypothetical" versions of the game, denoted as $d_t$ and $\tilde{d}_t$.
  2. Counterfactual Regret Minimization (CFR): CFR, a standard tool for solving known games, is then applied to the sampled environment ($d_t$) to generate a baseline strategy.
Game tree illustrating an extensive-form game with imperfect information and sampled parameters

The "Secret Sauce": Interaction Strategies

The core innovation of CFR-PSRL lies in its interaction strategies. In single-agent RL, playing the optimal strategy for a sampled model is sufficient. In MARL, this naive approach fails to learn the environment effectively while remaining unexploitable.

The authors designed a specific mechanism to calculate strategies for interacting with the real environment to collect data. These interaction strategies are mathematically tuned to minimize the "gap" between the sampled models and the true underlying game. This ensures that exploration is purposeful, safe from severe exploitation, and consistently drives the system toward a Nash Equilibrium.

Experimental Setup and Key Results

The algorithm was evaluated on variants of Leduc Hold’em Poker, a standard benchmark in the game theory community. The authors generated 20 variants of Leduc-4 and Leduc-5 by keeping the standard betting tree structure but randomly generating the transition and reward functions. This simulates a scenario where the agent must learn the deck's composition and payout rules from scratch. These games involved up to 34,776 distinct game states (histories).

Key findings include:

  • Superior Sample Efficiency: In empirical tests, CFR-PSRL converged to a Nash Equilibrium significantly faster than traditional baselines like Fictitious Play (FP) and Monte Carlo CFR (MCCFR-OS). By building a model (the posterior) and planning within it, CFR-PSRL avoids the massive data requirements of model-free approaches.
  • Failure of Naive Approaches: The authors demonstrated that a "Naive" version of CFR-PSRL—which omits the specialized interaction strategies—plateaus and stops improving after about 10,000 rounds. This proves that simply plugging PSRL into a game solver is insufficient; the interaction design is critical.
  • Theoretical Guarantees: CFR-PSRL maintains a sublinear bound on error relative to time ($T$), guaranteeing that the algorithm gets closer to the optimal strategy the longer it runs.

Limitations and Future Work

While CFR-PSRL represents a significant theoretical contribution to Bayesian MARL, the authors note several areas for future development:

  • Theoretical Bounds: The current proof provides a "Bayesian" regret bound (average performance over the prior). Establishing a "Frequentist" (worst-case) bound remains a challenging future goal.
  • Scalability: The current method is tabular, meaning it relies on representing the game as an explicit tree. Scaling to massive games like full-scale No-Limit Texas Hold'em will require integrating deep learning techniques, such as function approximators.
  • Beyond Two Players: The theoretical guarantees currently apply strictly to two-player zero-sum games. Extending this framework to general-sum games or environments with more than two players is an open challenge.

Summary updated

BibTeX
@inproceedings{zhou2020posterior,
  author = {Yichi Zhou and Jialian Li and Jun Zhu},
  title = {{Posterior sampling for multi-agent reinforcement learning: solving extensive games with imperfect information}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
}
Figure