The Complexity of Markov Equilibrium in Stochastic Games

Constantinos Daskalakis, Noah Golowich, Kaiqing Zhang

Abstract

This paper addresses a fundamental challenge in multi-agent reinforcement learning (MARL): the computational and sample complexity of finding Markov equilibria in stochastic games. We prove that finding stationary Markov Coarse Correlated Equilibria (CCE) is PPAD-hard, even in simple two-player, turn-based games. To circumvent this intractability, we introduce SPoCMAR, the first decentralized algorithm capable of learning nonstationary Markov equilibria with a sample complexity that scales polynomially with the number of players. Our results pinpoint stationarity as the primary source of computational hardness and provide a path forward for scalable multi-agent learning.

Introduction

In single-agent reinforcement learning (RL), agents interacting with a Markov Decision Process (MDP) can efficiently learn stationary policies—where actions depend solely on the current state—that are near-optimal. However, transitioning to Multi-Agent RL (MARL) introduces significant complexity. In a Stochastic Game (SG), transitions and rewards depend on the joint actions of all players. Researchers typically seek a Coarse Correlated Equilibrium (CCE), a state where no player has an incentive to deviate from a recommended joint strategy.

Two major gaps have persisted in MARL theory: the Stationary Gap, where the complexity of finding stationary Markov CCEs remained unknown, and the Curse of Multi-Agents, where existing algorithms often required exponential time and samples relative to the number of players. This work resolves these gaps by characterizing the complexity landscape of stochastic games.

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

Computational Intractability of Stationary Equilibria

We establish that the requirement for stationarity is the fundamental driver of computational hardness in MARL. By employing a reduction from the $\epsilon$-GCircuit problem, we demonstrate that computing an $\epsilon$-approximate stationary Markov CCE is PPAD-hard. This result holds even in restricted settings, such as two-player, turn-based stochastic games with a constant discount factor.

The proof utilizes "stochastic game gadgets"—specific clusters of states and rewards designed to mimic the behavior of logic gates (e.g., AND, OR, NOT). This construction shows that if one could efficiently find a stationary Markov CCE, they could also solve $\epsilon$-GCircuit, a problem known to be PPAD-complete.

The SPoCMAR Algorithm

To bypass the hardness of stationary policies, we propose SPoCMAR (Stage-based Policy Cover for Multi-Agent Learning with Rmax). This algorithm shifts the focus to nonstationary policies, which can vary over the game's horizon. SPoCMAR integrates several key mechanisms:

  • Nonstationarity: By allowing policies to be time-dependent, the problem becomes solvable in polynomial time.
  • Adversarial Bandits: Agents employ "no-regret" bandit algorithms at each state to update strategies based on local rewards.
  • Policy Covers: The algorithm maintains a set of policies to ensure robust exploration of the state space.
  • Optimism (Rmax): Optimistic reward estimates encourage agents to explore unknown state-action pairs.

Key Results

SPoCMAR is the first algorithm to achieve polynomial dependence on the number of players ($m$), a significant milestone for scaling MARL. It learns an $\epsilon$-nonstationary Markov CCE with a sample complexity of:

$$O\left(\frac{H^{10} S^3 \iota^2 \max_i |A_i|}{\epsilon^3}\right)$$

where $H$ is the horizon, $S$ is the state space size, and $A_i$ is the action space for player $i$. Furthermore, the algorithm is decentralized; agents can operate independently provided they have access to shared randomness (a "public coin").

Conclusion and Future Work

Our findings reveal that stationarity is the primary culprit behind the computational intractability of Markov equilibria. By relaxing this constraint, we enable efficient learning in complex multi-agent environments. While SPoCMAR provides a theoretical breakthrough, the $H^{10}$ term in its sample complexity suggests room for optimization. Future research should focus on tightening these bounds and exploring the necessity of shared randomness in decentralized settings.

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