The Complexity of Markov Equilibrium in Stochastic Games

Constantinos Daskalakis, Noah Golowich, Kaiqing Zhang

Abstract

We show that computing approximate stationary Markov coarse correlated equilibria (CCE) in general-sum stochastic games is PPAD-hard, even when there are two players, the game is turn-based, the discount factor is a constant, and the approximation error is a constant. This result suggests that the "curse of multi-agents" is fundamental when stationarity is required. Conversely, we show that nonstationary Markov CCE can be computed efficiently. We introduce SPoCMAR, the first decentralized algorithm to learn nonstationary Markov CCE with polynomial sample and computational complexity, effectively breaking the curse of dimensionality relative to the number of players.

Introduction

In single-agent reinforcement learning (RL), the community has established robust methods for finding optimal stationary policies—strategies where an action depends solely on the current state. However, the transition to multi-agent systems, modeled as Stochastic Games (SG), introduces significant complexity. The goal shifts from optimization to finding an equilibrium, such as a Nash Equilibrium or a Coarse Correlated Equilibrium (CCE).

Two fundamental questions have remained open in multi-agent reinforcement learning (MARL):

  1. Is it computationally feasible to find stationary equilibria in general-sum games?
  2. Can we learn these equilibria with a sample complexity that does not grow exponentially with the number of players (the "curse of multi-agents")?

This paper addresses both questions by identifying a fundamental "complexity gap" between stationary and nonstationary strategies.

The Hardness of Stationarity

The authors prove that the requirement for stationarity—where a policy must remain identical regardless of the time step—is the primary source of computational intractability. To demonstrate this, they employ hardness reductions from the $\epsilon$-GCircuit problem, a known PPAD-complete problem. By designing "game gadgets"—specific configurations of states and rewards that mimic logic gates like addition and comparison—they show that finding a stationary equilibrium is as hard as solving any problem in PPAD.

Surprisingly, this hardness persists even in the simplest multi-agent settings, such as two-player turn-based games with constant discount factors. This suggests that the difficulty is not merely a result of agent coordination or complex dynamics, but is inherent to the stationarity constraint itself.

SPoCMAR: Efficient Learning of Nonstationary Equilibria

While stationary equilibria are hard to compute, the authors demonstrate that nonstationary Markov equilibria (where policies can change over time) are tractable. They propose SPoCMAR (Stage-based Policy Cover for Multi-Agent Learning with Rmax), a decentralized algorithm designed to learn these equilibria efficiently.

SPoCMAR integrates three core components:

  1. Backward Induction: The algorithm solves the game iteratively from the final time step back to the first.
  2. Adversarial Bandits: At each state, agents employ a no-regret learning routine to coordinate their actions.
  3. Policy Covers & Rmax Exploration: The algorithm maintains a "cover" of policies to ensure agents can reliably return to and explore under-visited states, using optimistic rewards (Rmax) to drive exploration.

Key Results and the Complexity Gap

The most striking insight of this research is the formalization of the complexity landscape for stochastic games. As shown in the table below, the shift from stationary to nonstationary Markovian settings moves the problem from PPAD-hard to Polynomial complexity.

Summary of complexity results for computing and learning equilibria in stochastic games.

SPoCMAR achieves a sample complexity of $O\left(\frac{H^{10} S^3 \iota^2 \max_i A_i}{\epsilon^3}\right)$, which is polynomial in all parameters, including the number of players (assuming shared randomness). This effectively breaks the "curse of multi-agents" that plagued previous algorithms, which typically scaled as $O(A^m)$ for $m$ players.

Discussion and Future Work

While SPoCMAR provides a polynomial-time solution, the $1/\epsilon^3$ dependence is likely suboptimal; theoretical limits suggest $1/\epsilon^2$ may be achievable with more sophisticated exploration bonuses like UCB. Additionally, the decentralized implementation currently relies on "public randomness" (a shared random string). Future research is needed to determine if similar efficiency can be achieved using only private randomness.

Finally, the hardness results for certain equilibrium types rely on the PCP for PPAD conjecture. While widely accepted in complexity theory, a formal proof of this conjecture would further solidify the theoretical foundations of these hardness claims.

Summary updated

BibTeX
@inproceedings{daskalakis2023complexity,
  author = {Constantinos Daskalakis and Noah Golowich and Kaiqing Zhang},
  title = {{The Complexity of Markov Equilibrium in Stochastic Games}},
  booktitle = {Conference on Learning Theory},
  year = {2023},
  url = {https://openreview.net/forum?id=hAmYDvk22N},
}
Figure