Breaking the Curse of Multiagents in a Large State Space: RL in Markov Games with Independent Linear Function Approximation

Qiwen Cui, Kaiqing Zhang, Simon S. Du

Abstract

We propose a new model, independent linear Markov game, for multi-agent reinforcement learning with a large state space and a large number of agents. This is a class of Markov games with independent linear function approximation, where each agent has its own function approximation for the state-action value functions that are marginalized by other players' policies. We design new algorithms for learning the Markov coarse correlated equilibria (CCE) and Markov correlated equilibria (CE) with sample complexity bounds that only scale polynomially with each agent's own function class complexity, thus breaking the curse of multiagents. In contrast, existing works for Markov games with function approximation have sample complexity bounds scale with the size of the joint action space when specialized to the canonical tabular Markov game setting, which is exponentially large in the number of agents. Our algorithms rely on two key technical innovations: (1) utilizing policy replay to tackle non-stationarity incurred by multiple agents and the use of function approximation; (2) separating learning Markov equilibria and exploration in the Markov games, which allows us to use the full-information no-regret learning oracle instead of the stronger bandit-feedback no-regret learning oracle used in the tabular setting. Furthermore, we propose an iterative-best-response type algorithm that can learn pure Markov Nash equilibria in independent linear Markov potential games. In the tabular case, by adapting the policy replay mechanism for independent linear Markov games, we propose an algorithm with $\tilde{O}(\epsilon^{-2})$ sample complexity to learn Markov CCE, which improves the state-of-the-art result $\tilde{O}(\epsilon^{-3})$ in Daskalakis et al. 2022, and also significantly improves other problem parameters.

Introduction: The Dual Curses of MARL

Multi-Agent Reinforcement Learning (MARL) faces two significant hurdles that often make theoretical guarantees difficult to achieve in practice. First is the Curse of Large State Spaces, where environments like autonomous driving have too many states for traditional tabular methods. This is typically addressed via function approximation. Second is the Curse of Multiagents: in a game with $m$ agents each having $A$ actions, the joint action space $A^m$ grows exponentially. Most existing theoretical models suffer from sample complexity that scales with this joint space, making them impractical for systems with many agents.

This paper bridges the gap between empirical success and theoretical understanding by introducing a framework where agents learn efficiently using independent function approximations, effectively bypassing the exponential bottleneck.

Independent Linear Markov Games

The authors introduce Independent Linear Markov Games, a model where each agent $i$ maintains its own feature map $\phi_i$. The core assumption is that an agent's state-action value function—when marginalized over the policies of other players—can be represented linearly. This shift from joint action modeling to individual marginalization is the key to breaking the "curse of multiagents."

Algorithmic Innovations

To navigate this new model, the researchers developed three primary algorithmic strategies:

  1. Policy Replay (PReFI & PReBO): To combat the non-stationarity inherent in multi-agent systems (where the environment "changes" as others learn), the authors use policy replay. Unlike standard experience replay, this method maintains a set of policies and refreshes the entire dataset periodically, creating a "stationary" window for reliable learning.
  2. Decoupling Exploration from Equilibrium Learning: By separating the task of exploring the state space from the task of finding a game-theoretic equilibrium, the authors can simulate a "full-information" environment. This allows the use of efficient "no-regret" learning oracles (like EXP3) rather than more complex adversarial bandit oracles.
  3. Nash Coordinate Ascent (Lin-Nash-CA): For specialized "Markov Potential Games" (e.g., congestion games), this algorithm iteratively optimizes each agent's policy to converge toward a pure Nash Equilibrium.

Key Results and Comparisons

The proposed algorithms achieve several breakthroughs in sample complexity, as summarized in the following table:

Comparison of sample complexity for general Markov Games, showing the breakthrough in scaling and efficiency.
  • Breaking the Curse: The PReFI algorithm achieves a sample complexity of $\tilde{O}(m^4 H^{10} d_{max}^4 \epsilon^{-4})$. Crucially, $d_{max}$ represents the dimension of an individual agent's feature space, not the joint space.
  • Tabular State-of-the-Art: In the standard tabular setting, the PReBO algorithm improves the sample complexity for learning Coarse Correlated Equilibria (CCE) from the previous best of $\tilde{O}(\epsilon^{-3})$ to $\tilde{O}(\epsilon^{-2})$.

Efficiency in Potential Games

The research also extends to Markov Potential Games and Congestion Games. The Lin-Nash-CA algorithm provides the first provably efficient decentralized approach for these settings.

Sample complexity comparison for Markov Potential and Congestion Games.

Conclusion and Future Directions

This work provides a robust theoretical foundation for independent learning in MARL. While the polynomial bounds are a major step forward, the authors note that the $\epsilon^{-4}$ rate for general games might be further optimized toward $\epsilon^{-2}$. Additionally, while the current model relies on linear function approximation, future research could extend these principles to more complex, non-linear function classes like deep neural networks.

Summary updated

Abstract

We propose a new model, independent linear Markov game, for multi-agent reinforcement learning with a large state space and a large number of agents. This is a class of Markov games with independent linear function approximation, where each agent has its own function approximation for the state-action value functions that are marginalized by other players' policies. We design new algorithms for learning the Markov coarse correlated equilibria (CCE) and Markov correlated equilibria (CE) with sample complexity bounds that only scale polynomially with each agent's own function class complexity, thus breaking the curse of multiagents. In contrast, existing works for Markov games with function approximation have sample complexity bounds scale with the size of the \emph{joint action space} when specialized to the canonical tabular Markov game setting, which is exponentially large in the number of agents. Our algorithms rely on two key technical innovations: (1) utilizing policy replay to tackle non-stationarity incurred by multiple agents and the use of function approximation; (2) separating learning Markov equilibria and exploration in the Markov games, which allows us to use the full-information no-regret learning oracle instead of the stronger bandit-feedback no-regret learning oracle used in the tabular setting. Furthermore, we propose an iterative-best-response type algorithm that can learn pure Markov Nash equilibria in independent linear Markov potential games. In the tabular case, by adapting the policy replay mechanism for independent linear Markov games, we propose an algorithm with $\widetilde{O}(\epsilon^{-2})$ sample complexity to learn Markov CCE, which improves the state-of-the-art result $\widetilde{O}(\epsilon^{-3})$ in Daskalakis et al. 2022, where $\epsilon$ is the desired accuracy, and also significantly improves other problem parameters.
BibTeX
@inproceedings{cui2023breaking,
  author = {Qiwen Cui and Kaiqing Zhang and Simon S. Du},
  title = {{Breaking the Curse of Multiagents in a Large State Space: RL in Markov Games with Independent Linear Function Approximation}},
  booktitle = {Conference on Learning Theory},
  year = {2023},
  url = {https://openreview.net/forum?id=Eu3dwsBj5A},
}
Figure