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

Posterior Sampling for Competitive RL: Function Approximation and Partial Observation

Shuang Qiu, Ziyu Dai, Han Zhong, Zhaoran Wang, Zhuoran Yang, Tong Zhang

Introduction

In Multi-Agent Reinforcement Learning (MARL), agents must learn to make decisions in environments where their rewards depend on the actions of others. While MARL has seen massive empirical success in complex domains like AlphaGo and Dota 2, theoretical guarantees have historically lagged behind. This gap is especially pronounced under two difficult but realistic conditions: general function approximation (using powerful models like neural networks to handle massive state spaces) and partial observability (where agents only receive noisy or incomplete observations of the true state, known as Partially Observable Markov Games or POMGs).

Most existing theoretical work relies on the "Optimism in the Face of Uncertainty" (OFU) principle. While mathematically sound, OFU is notoriously difficult to implement because it requires designing complex "bonus functions" to encourage exploration. Posterior sampling (also known as Thompson Sampling) offers a more practical alternative that explores by sampling models from a distribution. However, its theoretical properties in competitive, partially observable settings were previously unknown.

This paper introduces the first generic model-based posterior sampling framework for competitive reinforcement learning that successfully handles both general function approximation and partial observability.

Methodology: Posterior Sampling in Markov Games

The authors develop model-based posterior sampling algorithms tailored for zero-sum Markov Games (MGs). Their approach is built upon three main pillars:

1. Generalized Eluder Coefficients (GEC)

To quantify the difficulty of exploration, the authors introduce new complexity measures: the Self-play GEC and Adversarial GEC. These coefficients act as a theoretical yardstick to measure how difficult it is to explore a specific class of games. A low GEC indicates that the agent can efficiently learn the environment's dynamics, effectively capturing the exploration-exploitation trade-off.

2. Self-Play Algorithm

For settings where the learner controls both players to find a Nash Equilibrium, the authors propose a "Main Player vs. Exploiter" framework. The Main Player uses posterior sampling to maximize rewards, while a sampled "Exploiter" actively tries to find and penalize the Main Player's weaknesses. This adversarial dynamic forces the system toward equilibrium. The "Exploiter" serves as a diagnostic tool; by sampling a pessimistic model for the main player, the algorithm identifies unmastered regions of the state space.

3. Adversarial Learning Algorithm

For settings where the opponent is uncontrollable and potentially malicious, the authors design a robust posterior sampling method. Crucially, this method does not require knowing the opponent's policy. Instead, it relies on carefully constructed likelihood functions based on observation histories.

Theoretical Benchmarks

As a theoretical paper, this work validates its framework against several mathematically defined classes of Markov Games rather than standard empirical datasets:

  • Linear MGs and Linear Mixture MGs: Games with linear structures in their transitions and rewards.
  • Low Witness Rank MGs: A broad class of games that generalizes linear models.
  • $\alpha$-Weakly Revealing POMGs: Partially observable games where observations provide at least a minimum amount of information about the hidden state.
  • Decodable POMGs: A novel class introduced in this paper where hidden states can be recovered from observations via an unknown decoder.

Key Insights and Results

The GEC framework provides a unified way to analyze vastly different types of games. Whether a game is fully or partially observable, its "learnability" can be distilled into its GEC value.

A major insight of the paper is that likelihood is key for partial information. By using log-likelihood functions based on history (sequences of observations and actions), posterior sampling can implicitly "filter" the latent states of a POMG without needing explicit belief-state computation.

The authors prove that their algorithms achieve sublinear regret bounds that scale with $\sqrt{T}$ (where $T$ is the number of episodes). This guarantees that as the agents play more, their average performance converges to the optimal strategy. Furthermore, the regret bounds scale with the proposed GEC and a term measuring how well the initial "prior" distribution covers the true environment model, ensuring statistical efficiency. This work provides the first posterior sampling guarantees for Linear Mixture MGs and various POMG classes, outperforming previous model-free approaches limited to fully observable settings.

Limitations and Future Work

While groundbreaking, the framework has a few limitations that pave the way for future research:

  • Zero-Sum Limitation: The current work focuses strictly on two-player zero-sum games. Extending these posterior sampling guarantees to general-sum games—where agents might cooperate or have non-conflicting goals—remains an open challenge.
  • Computational Complexity: Although posterior sampling is generally easier to implement than OFU, sampling from complex posterior distributions (especially with neural networks) can still be computationally expensive. Techniques like Langevin dynamics are suggested, but practical implementation requires further exploration.
  • Expanding Tractable Classes: The "menu" of tractable MGs is still growing. Future work could identify even broader classes of games that fit within the GEC framework.

Summary updated

BibTeX
@inproceedings{qiu2023posterior,
  author = {Shuang Qiu and Ziyu Dai and Han Zhong and Zhaoran Wang and Zhuoran Yang and Tong Zhang},
  title = {{Posterior Sampling for Competitive RL: Function Approximation and Partial Observation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=S75ccNdOYG},
}
Figure