Model-Free Algorithm with Improved Sample Efficiency for Zero-Sum Markov Games

Songtao Feng, Ming Yin, Yu-Xiang Wang, Jing Yang, Yingbin Liang · DOI

Abstract

This paper addresses the long-standing sample efficiency gap between model-based and model-free reinforcement learning (RL) in two-player zero-sum Markov games. We present a novel model-free algorithm that achieves the minimax-optimal sample complexity of $\tilde{O}(H^3SAB/\epsilon^2)$, matching the best theoretical performance previously reserved for model-based approaches. By introducing a "min-gap" reference-advantage decomposition, the algorithm overcomes the challenges of non-monotonicity inherent in multi-agent settings, providing a robust framework for efficient learning in competitive environments.

Introduction

In reinforcement learning, algorithms are broadly categorized into model-based methods, which learn environment transitions, and model-free methods, which learn action values directly. While model-free approaches like Q-learning are favored for their simplicity and lower memory requirements, they have historically been less sample-efficient than model-based counterparts.

This discrepancy is particularly evident in two-player zero-sum Markov games. In these settings, standard variance reduction techniques used in single-agent RL often fail because they rely on the monotonic improvement of value estimates. In multi-agent games, value estimates fluctuate as players constantly update their strategies against one another, breaking the assumptions required for traditional model-free efficiency. This work bridges that gap, proving that model-free paradigms are not inherently less efficient in terms of the time horizon ($H$).

Methodology

The proposed algorithm utilizes Stage-based Q-learning with min-gap based reference-advantage decomposition. The core innovations include:

1. Reference-Advantage Decomposition

To mitigate noise in the learning process, the algorithm estimates the "advantage" (the difference) relative to a stable "reference" value rather than estimating total state values. This variance reduction technique is critical for achieving high sample efficiency.

2. The "Min-Gap" Innovation

In competitive games, value estimates do not improve predictably. To solve this, the authors track the "gap" between optimistic (best-case) and pessimistic (worst-case) value functions. The algorithm updates its reference values only when it identifies a pair with the smallest historical gap, ensuring the reference point is as stable and accurate as possible.

3. Stage-Based Updates and CCE Oracle

The learning process is divided into stages of exponentially increasing length. Policies and reference values are updated only at the end of these stages to maintain stability. The algorithm employs a Coarse Correlated Equilibrium (CCE) oracle to update policies, allowing players to converge toward a stable Nash Equilibrium.

Algorithm 2: The certified policy construction used to output the final strategy for the max-player.

Key Results

The algorithm successfully finds an $\epsilon$-optimal Nash Equilibrium in $\tilde{O}(H^3SAB/\epsilon^2)$ episodes. This result is minimax-optimal regarding the horizon ($H$), the number of states ($S$), and the accuracy ($\epsilon$).

Key insights from these results include:

  • Closing the Gap: The paper demonstrates that the perceived efficiency gap between model-free and model-based methods was a limitation of previous algorithmic designs, not the model-free paradigm itself.
  • Stability via Selection: The "min-gap" serves as a powerful proxy for confidence, allowing for effective variance reduction even in non-monotonic environments where the opponent's strategy is constantly shifting.

Discussion and Future Work

While this work achieves optimality in $H$ and $S$, it scales with the product of the players' action spaces ($A \times B$). Other algorithms, such as V-learning, scale with the sum ($A + B$) but currently possess worse scaling with the horizon $H$. Achieving simultaneous $H$-optimality and $(A+B)$ scaling remains an open challenge.

Furthermore, this research focuses on tabular RL. Extending these optimal bounds to deep reinforcement learning settings using function approximation is a natural next step. Future work may also investigate applying these techniques to general-sum games or offline learning scenarios.

Summary updated

BibTeX
@inproceedings{feng2024model,
  author = {Songtao Feng and Ming Yin and Yu-Xiang Wang and Jing Yang and Yingbin Liang},
  title = {{Model-Free Algorithm with Improved Sample Efficiency for Zero-Sum Markov Games}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=ZVmMV3AHjC},
}
Figure