NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Self-Play Posterior Sampling Algorithm for Zero-Sum Markov Games

Wei Xiong, Han Zhong, Chengshuai Shi, Cong Shen, Tong Zhang

Introduction

In Reinforcement Learning (RL), agents constantly face the exploration-exploitation dilemma. In Multi-Agent RL (MARL), the standard theoretical approach to this dilemma relies on the Optimism in the Face of Uncertainty (OFU) principle—adding a "bonus" to rarely visited states to encourage exploration. However, OFU-based algorithms can be overly optimistic in practice, leading to suboptimal average-case performance.

Posterior sampling (or Thompson Sampling) offers a strong empirical alternative by sampling policies from a historical data distribution. Yet, proving its efficiency in MARL is notoriously difficult because the environment is non-stationary: as one agent learns, the optimal strategy for its opponent shifts. This paper bridges that gap, introducing the first provably efficient posterior sampling algorithm for two-player zero-sum Markov Games (MGs) using general function approximation.

Methodology: Asymmetric Self-Play

The core contribution is a novel algorithm: Conditional Posterior Sampling with Booster. The authors tackle the non-stationarity problem using an asymmetric "Self-Play" structure:

  1. The Main Agent (Max-player): This agent aims to learn the Nash Equilibrium. It utilizes an optimistic prior that favors high values at the start of an episode to encourage exploration. It samples a function from a posterior distribution calculated using a specific likelihood function based on squared Bellman errors.
  2. The Booster Agent (Min-player): Instead of independently learning its own equilibrium, the Booster acts as an "exploiter." Its sole objective is to find the best response to the Main Agent’s current policy. By playing against a strong opponent that actively targets its weaknesses, the Main Agent is forced to learn much faster.

To analyze this setup, the authors introduce the Multi-Agent Decoupling Coefficient, a new complexity measure that characterizes how well function approximation works in competitive game settings. It extends single-agent decoupling concepts to handle the statistical dependencies created by two interacting agents.

Key Insights

  • The Booster as a Catalyst: The asymmetric structure is a critical breakthrough. In a zero-sum game, learning against an opponent actively trying to exploit you simplifies the proof of convergence for the Main Agent.
  • Global vs. Step-wise Optimism: The authors demonstrate that adding an optimistic term only at the initial state of an episode (Global Optimism) is sufficient. This is more efficient than the step-wise optimism used in previous works, allowing for a regret bound improvement in linear games by a factor of $\sqrt{d}$ (where $d$ is the feature dimension).
  • Variance Reduction: The algorithm employs a specific denominator in its likelihood function to cancel out variance during theoretical analysis, though this necessitates a "completeness" assumption for the function class.

Main Results

As a theoretical paper focused on algorithmic foundations, the results are validated through mathematical proofs applied to general classes of Markov Games (Tabular, Linear, and Generalized Linear MGs) rather than empirical datasets.

  • Optimal Regret Bound: The algorithm achieves a frequentist regret of $\tilde{O}(\sqrt{T})$, where $T$ is the number of episodes. This represents the "gold standard" for online learning, proving the algorithm converges to the optimal strategy at an efficient rate.
  • Linear MG Performance: For linear Markov Games, the regret bound tightens to $O(H^2 d \sqrt{T} \ln(HT))$, matching or exceeding the best-known results for OFU-based algorithms.
  • Broad Applicability: Thanks to the multi-agent decoupling coefficient, the theoretical guarantees apply to any function class (including neural networks) that satisfies certain structural conditions.

Limitations and Future Directions

While the paper makes significant theoretical strides, the authors note several limitations:

  • Computational Efficiency: The algorithm is statistically efficient (learning from few samples), but sampling from a complex posterior distribution remains a difficult optimization problem, particularly with neural networks.
  • Completeness Assumption: The theoretical guarantees rely on the assumption that the function class is rich enough to represent the Bellman backup of any other function in the class—a common but restrictive caveat in RL theory.
  • Scope: The framework is strictly designed for two-player zero-sum games. Extending these guarantees to general-sum games, where players might cooperate or have non-conflicting goals, remains an open challenge.

Summary updated

BibTeX
@inproceedings{xiong2022self,
  author = {Wei Xiong and Han Zhong and Chengshuai Shi and Cong Shen and Tong Zhang},
  title = {{A Self-Play Posterior Sampling Algorithm for Zero-Sum Markov Games}},
  booktitle = {GMS @ ICLR},
  year = {2022},
  url = {https://openreview.net/forum?id=BqEPi5ypx5},
}
Figure