Skip to main content
QUICK REVIEW

[Paper Review] Solving Discounted Stochastic Two-Player Games with Near-Optimal Time and Sample Complexity

Aaron Sidford, Mengdi Wang|arXiv (Cornell University)|Aug 29, 2019
Reinforcement Learning in RoboticsComputer Science38 references17 citations
TL;DR

This paper presents a novel algorithm for solving discounted stochastic two-player zero-sum games with near-optimal sample and time complexity, achieving $ tilde{O}((1-γ)^{-3}\epsilon^{-2})$ samples—matching the best-known bounds for Markov decision processes. By generalizing Q-learning with monotonicity-preserving updates and variance reduction, the method ensures high-probability convergence to an $ε$-optimal strategy using nearly linear runtime and space in the number of samples.

ABSTRACT

In this paper, we settle the sampling complexity of solving discounted two-player turn-based zero-sum stochastic games up to polylogarithmic factors. Given a stochastic game with discount factor $γ\in(0,1)$ we provide an algorithm that computes an $ε$-optimal strategy with high-probability given $ ilde{O}((1 - γ)^{-3} ε^{-2})$ samples from the transition function for each state-action-pair. Our algorithm runs in time nearly linear in the number of samples and uses space nearly linear in the number of state-action pairs. As stochastic games generalize Markov decision processes (MDPs) our runtime and sample complexities are optimal due to Azar et al (2013). We achieve our results by showing how to generalize a near-optimal Q-learning based algorithms for MDP, in particular Sidford et al (2018), to two-player strategy computation algorithms. This overcomes limitations of standard Q-learning and strategy iteration or alternating minimization based approaches and we hope will pave the way for future reinforcement learning results by facilitating the extension of MDP results to multi-agent settings with little loss.

Motivation & Objective

  • To close the gap in sample complexity between solving Markov decision processes (MDPs) and stochastic games in reinforcement learning.
  • To develop an algorithm for two-player stochastic games that matches the optimal sample complexity of MDP solvers, up to polylogarithmic factors.
  • To generalize near-optimal Q-learning algorithms from single-agent MDPs to multi-agent settings with provable convergence and efficiency.
  • To overcome limitations of standard Q-learning and strategy iteration in two-player games by enforcing two-sided monotonicity constraints.
  • To enable broader application of MDP-based reinforcement learning results to multi-agent environments with minimal overhead.

Proposed method

  • The algorithm uses a variant of Q-learning with value iteration and strategy updates, maintaining monotonicity in value and strategy sequences through careful initialization and error control.
  • It introduces a two-stage sampling process: an initial large batch for estimating value and variance, followed by smaller batches for refining value estimates with one-sided error bounds.
  • A key component is the use of a clipped Q-function update that ensures values remain within $[0, (1-γ)^{-1}]$, preserving stability and monotonicity.
  • The method applies a bias correction term $\alpha_1^{3/4}\beta$ and a confidence-based adjustment $C(1-\u03b3)u$ to ensure one-sided error in value estimates.
  • It maintains a monotone increasing value-strategy sequence (MIVSS) by enforcing $\boldsymbol{v}^{-(i)} \geq \boldsymbol{v}^{-(i-1)}$ and $\pi^{-(i)}$ consistent with the current value estimate.
  • The algorithm runs in nearly linear time and space relative to the number of samples, achieving nearly optimal sample complexity.

Experimental results

Research questions

  • RQ1Can we achieve near-optimal sample complexity for solving discounted stochastic games, matching the best-known bounds for MDPs?
  • RQ2Can Q-learning-based methods be generalized to two-player stochastic games while preserving convergence and monotonicity?
  • RQ3Is it possible to reduce the number of MDP solves required in strategy iteration for stochastic games, avoiding the $\Omega(1/(1-\u03b3))$ barrier?
  • RQ4Can we maintain two-sided monotonicity in value and strategy sequences under sampling uncertainty in two-player games?
  • RQ5Can the theoretical guarantees of MDP algorithms be extended to multi-agent settings with minimal loss in sample or time complexity?

Key findings

  • The algorithm achieves a sample complexity of $\ttilde{O}((1-\u03b3)^{-3}\epsilon^{-2})$ for computing an $\epsilon$-optimal strategy with high probability.
  • The runtime is nearly linear in the number of samples, and space usage is nearly linear in the number of state-action pairs.
  • The method matches the optimal sample complexity known for MDPs, as established by Azar et al. (2013), up to polylogarithmic factors.
  • The algorithm successfully generalizes the near-optimal Q-learning framework of Sidford et al. (2018a) to two-player stochastic games.
  • By enforcing two-sided monotonicity and using variance-aware sampling, the method avoids the inefficiencies of standard strategy iteration or alternating minimization.
  • The theoretical analysis confirms that the gap in sampling complexity between MDPs and stochastic games can be closed, despite the computational hardness gap in exact solution time.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.