Abstract
This paper investigates value function approximation in the context of zero-sum Markov games, which can be viewed as a generalization of the Markov decision process (MDP) framework to the two-agent case. We generalize error bounds from MDPs to Markov games and describe generalizations of reinforcement learning algorithms to Markov games. We present a generalization of the optimal stopping problem to a two-player simultaneous move Markov game. For this special problem, we provide stronger bounds and can guarantee convergence for LSTD and temporal difference learning with linear value function approximation. We demonstrate the viability of value function approximation for Markov games by using the Least squares policy iteration (LSPI) algorithm to learn good policies for a soccer domain and a flow control problem.
Introduction
In a standard Markov Decision Process (MDP), a single agent interacts with an environment to maximize a reward. However, many real-world scenarios—from sports to cybersecurity—involve an opponent. These are modeled as Markov games.
The challenge is scale. While we have math to solve small games, real-world state spaces are massive. To handle this, researchers use value function approximation (estimating the "worth" of a state using a few features rather than a giant table). Previously, there was a perception that learning in games with function approximation was too computationally expensive or mathematically unstable. This paper aims to prove that these approximations are both theoretically sound and practically efficient.
Methods
The authors bridge the gap between single-agent MDPs and two-player games through three main contributions:
- Theoretical Generalization: They prove that the mathematical properties that make RL work in MDPs (specifically, contraction mappings) also apply to zero-sum Markov games. This allows them to port over "error bounds"—mathematical guarantees on how close an approximate solution is to the perfect one.
- The "Opt-Out" Game: They introduce a generalization of the "optimal stopping" problem. In this "opt-out" game, two players decide whether to continue or exit a process. They provide a rigorous proof that linear value function approximation is stable and convergent for this class of games.
- Minimax LSPI: The core practical contribution is extending the Least Squares Policy Iteration (LSPI) algorithm. Unlike standard Q-learning, which updates values one experience at a time, LSPI is "model-free" and "data-efficient"—it collects a batch of data and uses linear algebra to find the best policy. The authors modify LSPI to use a minimax objective, where the agent chooses actions assuming the opponent will play optimally to thwart them.
Experimental Setup
The researchers evaluated their approach on two simulated domains:
- Two-Player Soccer: Based on Littman’s (1994) benchmark. They tested on a small $4 \times 4$ grid (where the "perfect" solution is known) and scaled up to $8 \times 8$ and $40 \times 40$ grids.
- Router/Server Flow Control: A network simulation where a router (trying to minimize delay) and a server (viewed as a worst-case opponent) compete to manage a job buffer.
Key Insights
- Sample Efficiency: In games, every learning step requires solving a Linear Program (LP) to find the minimax strategy. LSPI reuses the same batch of samples across multiple iterations, drastically reducing the number of LPs needed compared to temporal-difference methods.
- Generalization Across Scales: A policy trained on a small $8 \times 8$ soccer grid performed remarkably well when dropped into a much larger $40 \times 40$ grid. This suggests that the learned "features" of the game (like distance to goal) are more important than specific coordinates.
- Stability of Minimax: By proving the "opt-out" game is a non-expansion in the weighted $L_2$ norm, the authors provided theoretical reassurance for using linear architectures in competitive RL.
Results
The experimental results demonstrate the effectiveness of the minimax LSPI approach.
- Soccer: In the $4 \times 4$ grid, the LSPI-learned player approached the performance of an "optimal" minimax player after only a few thousand training samples. In the $40 \times 40$ grid (which has over 127 million possible Q-values), LSPI found a strong policy using only 900 parameters. Figures 1 and 2 illustrate the convergence of the learned player's performance towards the optimal player in the soccer domain.
- Flow Control: The learned router policy became indistinguishable from the optimal tabular policy after only 100 training episodes, demonstrating that the polynomial basis functions effectively captured the "threshold" nature of optimal network control.
- Convergence: The algorithms typically converged in very few iterations (around 8 to 25), making the training process much faster than traditional methods.
Limitations and Future Work
- Basis Function Engineering: The success of the soccer agent relied on 36 hand-crafted basis functions. Choosing these features remains a significant challenge.
- The "Gold Standard" Problem: Evaluating agents in large games is difficult because there is no "perfect" opponent to test against in massive state spaces.
- Beyond Zero-Sum: This work is limited to two-player zero-sum games. Extending these techniques to general-sum or team-based games is a key area for future research.
Summary updated