Toward Solving 2-TBSG Efficiently

Zeyu Jia, Zaiwen Wen, Yinyu YearXiv 2019

Abstract

Two-player turn-based stochastic games (2-TBSGs) are fundamental models for finding Nash equilibria in reinforcement learning and AI. While the simplex method for solving deterministic discounted Markov decision processes (MDPs) is known to be strongly polynomial—independent of the discount factor—it has remained an open question whether a similar efficiency can be achieved for 2-TBSGs. This paper introduces two new algorithms: Simplex Strategy Iteration (SSI) and Modified Simplex Strategy Iteration (MSSI). By treating one player's updates as simplex steps and the other's as optimal counter-strategies, we demonstrate that these algorithms belong to a class of geometrically converging methods. We establish that for a fixed discount factor, these algorithms are strongly polynomial. Furthermore, we present a transformation method to reduce general 2-TBSGs into specialized versions where each state has exactly two actions.

Introduction

In the field of decision theory, Markov Decision Processes (MDPs) serve as the standard for single-agent optimization. These processes are efficiently solvable via the simplex method, which is strongly polynomial, meaning its complexity depends on the input size rather than the numerical precision of the parameters. However, the introduction of a second player with opposing objectives—forming a 2-player turn-based stochastic game (2-TBSG)—significantly complicates the mathematical landscape. Unlike MDPs, 2-TBSGs lack a straightforward Linear Programming (LP) formulation, leaving a gap in our ability to solve them with the same efficiency as single-agent models.

This research addresses the long-standing question: Can we develop a simplex-like algorithm for 2-TBSGs that mirrors the efficiency of MDP solvers? Specifically, we seek algorithms that find a Nash equilibrium in strongly polynomial time, avoiding complexity explosions as the discount factor (the value placed on future rewards) approaches 1.

Proposed Algorithmic Framework

We propose two primary algorithms that adapt the principles of the simplex method to the competitive dynamics of 2-TBSGs:

  1. Simplex Strategy Iteration (SSI): This algorithm serves as a direct generalization of the MDP simplex method. In each iteration, the first player updates their strategy by modifying a single action—specifically, the one with the highest potential for improvement (the largest "reduced cost"). Following this move, the second player immediately calculates and adopts their optimal counter-strategy.
  2. Modified Simplex Strategy Iteration (MSSI): This variant introduces a look-ahead mechanism. The first player updates the single action that yields the greatest overall improvement after accounting for the second player’s subsequent optimal response.

To analyze these methods, we define a broad class of Geometrically Converging Algorithms. This framework allows us to prove that for any algorithm within this class, non-optimal actions are eventually eliminated and never revisited after a finite number of iterations.

Structural Reductions and Complexity

A key technical contribution of this work is a mathematical reduction that transforms any general 2-TBSG into a "binary" version where every state offers exactly two possible actions. This is achieved by constructing a binary tree of virtual states to represent a single state with multiple actions. This transformation ensures that the total number of states grows only logarithmically relative to the number of actions ($O(m + l \log m)$), maintaining computational feasibility.

Key Results

  • Strongly Polynomial Bound: We prove that for a fixed discount factor $\gamma$, Simplex Strategy Iteration finds the equilibrium in $O(\frac{ml}{1-\gamma} \log \frac{l}{1-\gamma})$ iterations.
  • Action Elimination: We demonstrate that after a specific number of iterations (determined by the discount factor), at least one non-optimal action is permanently eliminated. This prevents the algorithm from entering infinite loops or suffering from exponential time complexity for a fixed $\gamma$.
  • Consistency with MDPs: When the second player’s choices are removed, our algorithms reduce exactly to the standard simplex method for MDPs, preserving known efficiency benchmarks.

Conclusion and Future Work

While this research establishes that SSI and MSSI are strongly polynomial for a fixed discount factor $\gamma$, the complexity still scales with $\gamma$. As the discount factor approaches 1—representing scenarios where players value the infinite future as much as the present—the iteration count can still grow significantly.

Our work provides a framework for understanding the relationship between simplex methods and game theory, bridging the gap between MDPs and 2-TBSGs. However, the "holy grail" of 2-TBSG research—an algorithm that is strongly polynomial independent of the discount factor—remains an open challenge. This paper points toward a potential path for future proofs that may finally decouple algorithmic complexity from the discount factor entirely.

Summary updated

BibTeX
@misc{jia2019toward,
  author = {Zeyu Jia and Zaiwen Wen and Yinyu Ye},
  title = {{Toward Solving 2-TBSG Efficiently}},
  year = {2019},
  eprint = {1906.03553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.03553},
}
Figure