Improving Sample Efficiency of Model-Free Algorithms for Zero-Sum Markov Games

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

Introduction

In the realm of multi-agent reinforcement learning (MARL), the theoretical understanding of two-player zero-sum Markov games has advanced rapidly. A central debate in this field revolves around the efficiency of model-based versus model-free algorithms. Model-based methods, which learn the environment's transition dynamics, have historically enjoyed a theoretical advantage: they can find an $\epsilon$-optimal Nash Equilibrium with a sample complexity of $O(H^3 SAB/\epsilon^2)$. This rate is minimax-optimal with respect to the time horizon $H$ and the state space $S$ (where $A$ and $B$ represent the action spaces of the two players).

Model-free algorithms, which learn value functions or policies directly, are often preferred in practice due to their memory efficiency and simplicity. However, they have historically struggled to match this $O(H^3)$ optimality. This paper bridges that long-standing divide, introducing a novel variance reduction technique that proves model-free algorithms can be just as sample-efficient as their model-based counterparts.

The Challenge: The Monotonicity Hurdle

To understand why model-free algorithms previously fell short, we must look at the mechanics of variance reduction. In single-agent reinforcement learning, the most effective variance reduction technique is reference-advantage decomposition. This technique relies heavily on a critical property: the value function must be monotonic (consistently increasing or decreasing as learning progresses).

In multi-agent Markov games, this monotonicity breaks down. Policies are typically updated using complex solvers, such as Coarse Correlated Equilibrium (CCE) oracles. Because both players are simultaneously adapting their strategies, the value estimates naturally fluctuate. This lack of monotonicity breaks standard model-free proofs, leaving a gap in our understanding and making model-free MARL appear inherently less efficient in its dependence on the horizon $H$.

The Solution: "Min-Gap" Variance Reduction

To overcome the monotonicity hurdle, the authors propose a new algorithm: Q-learning with min-gap based reference-advantage decomposition. This approach introduces several key innovations to stabilize learning and reduce variance without requiring monotonic value functions.

1. Stage-Based Updates

Instead of updating the policy after every single episode, the algorithm operates in discrete stages that grow exponentially in length. This batching process stabilizes the value estimates before they are used for policy updates. At the end of each stage, a CCE solver computes the next policy, which ultimately contributes to a "certified policy" for the final output.

2. The "Min-Gap" Design

The core innovation of the paper is the "min-gap" mechanism. To implement variance reduction without monotonicity, the algorithm maintains a historical record of both optimistic ($\overline{V}$) and pessimistic ($\underline{V}$) value functions. Rather than relying on the most recent value function as a reference, the algorithm scans this history to identify the pair with the smallest difference—the "min-gap." This pair serves as the reference point for the next stage of learning, acting as a highly accurate proxy for the true value.

3. Reference-Advantage Decomposition

Equipped with the min-gap reference, the algorithm applies reference-advantage decomposition. It leverages all historical samples from previous stages to estimate the main reference value term, while strictly using the most recent (and therefore most accurate) samples to estimate the "advantage" (the deviation from the reference). This dual-timescale approach drastically reduces the variance of the $Q$-value estimates.

Key Theoretical Results

Because this is a theoretical paper focused on proving sample complexity bounds, the results are established through rigorous mathematical proofs rather than empirical benchmarks.

The primary breakthrough is that the proposed algorithm achieves a sample complexity of $\tilde{O}(H^3 SAB/\epsilon^2)$. This result is minimax-optimal with respect to the horizon $H$, the number of states $S$, and the target accuracy $\epsilon$. Most importantly, it is the first model-free algorithm to achieve $H^3$ optimality for zero-sum Markov games, definitively proving that the perceived efficiency gap between model-based and model-free paradigms was an artifact of prior proof techniques, not an inherent limitation of model-free learning.

Limitations and Future Directions

While this work represents a significant leap forward for MARL theory, several open challenges remain:

  • Action Space Dependency: The sample complexity scales with the product of the action spaces ($A \times B$). Some alternative "V-learning" algorithms achieve a better dependence on actions ($A+B$) but suffer a much worse horizon dependence ($H^5$). A major open question is whether a single algorithm can achieve minimax optimality in both $H$ and the action space simultaneously.
  • Function Approximation: The current proofs are restricted to the "tabular" setting, assuming finite states and actions. Extending the "min-gap" logic to linear or general function approximation—a necessity for deep reinforcement learning—remains a significant technical hurdle.
  • General-Sum Games: The scope of this paper is limited to two-player zero-sum games. Extending these efficiency gains to multi-player, general-sum games is a natural and highly anticipated next step for the field.

Summary updated

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