NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deterministic Sub-exponential Algorithm for Discounted-sum Games with Unary Weights

Ali Asadi, Krishnendu Chatterjee, Raimundo Saona, Jakub Svoboda

TL;DR

This paper presents the first deterministic sub-exponential time algorithm for turn-based discounted-sum games where edge weights are represented in unary. By providing a novel analysis of the classical Strategy Iteration algorithm—linking its convergence rate to the distribution of roots of polynomials with bounded coefficients—the authors break a long-standing exponential complexity barrier for this class of games.

What Problem Does This Paper Address?

Turn-based discounted-sum games are two-player, zero-sum games played on directed graphs. Players move a token along edges to generate an infinite walk, accumulating rewards that are discounted over time by a factor $\lambda \in [0, 1)$. These games are theoretically significant because they belong to the complexity class NP $\cap$ coNP (and even UP $\cap$ coUP), a rare category of problems that are likely in P but for which no polynomial-time algorithm has been found for decades.

While these games can be solved in polynomial time if the discount factor $\lambda$ is small (represented in unary), they become much harder when $\lambda$ is close to 1 (represented in binary). Previously, if weights were small (unary) but the discount factor was arbitrary, only randomized sub-exponential algorithms or deterministic exponential ones were known. This paper fills that gap by providing a deterministic sub-exponential bound.

Methods

The authors do not propose a new algorithm; instead, they provide a sophisticated new analysis of the classical Strategy Iteration (SI) algorithm. SI works by starting with an arbitrary strategy and greedily improving it until an optimal one is reached.

The core of their method involves a deep dive into the algebraic properties of game values:

  1. Rational Function Mapping: They show that the value of any strategy profile can be expressed as a rational function of the discount factor $\lambda$, specifically $P(\lambda)/Q(\lambda)$, where $P$ and $Q$ are polynomials with bounded integer coefficients.
  2. Root Analysis: The number of iterations SI takes is related to how "close" two different strategy values can be. This led the authors to study the roots of polynomials with bounded integer coefficients.
  3. New Polynomial Bounds: They established new lower and upper bounds on how close a root $\alpha$ can be to 1. They utilized Chebyshev polynomials to bound the order of roots at 1, which is a critical technical contribution.
The distribution of real and complex roots for low-degree polynomials with small integer coefficients. The "holes" around $\pm 1$ are central to the paper's analysis of how strategy values behave as the discount factor approaches 1.

Datasets

As a theoretical computer science paper focusing on algorithmic complexity and discrete mathematics, no empirical datasets were used. The results are proven mathematically for all possible game graphs of size $n$ and maximum weight $W$.

Key Insights and Ideas

  • The Polynomial Connection: The most striking insight is linking the convergence of a graph game algorithm to the number-theoretic properties of polynomial roots. The "gap" between the payoffs of two different strategies is essentially a polynomial in $\lambda$. If this gap is never zero for $\lambda$ near 1, the ordering of strategies remains stable.
  • Breaking the Barrier: By proving that roots cannot be "sub-exponentially close" to 1, they show that once the discount factor is sufficiently large, the Strategy Iteration algorithm behaves predictably, allowing them to bound the total number of strategy improvements.
  • Unary Weights Matter: The sub-exponential bound specifically relies on the weights $W$ being small. This is because the coefficients of the polynomials mentioned above are determined by these weights. If weights were binary (exponentially large), the coefficients would explode, and the bound would revert to exponential.

Key Results

  • Main Complexity Bound: The Strategy Iteration algorithm solves discounted-sum games in $n^{O(W^{1/4}\sqrt{n})}$ iterations.
  • Deterministic Sub-exponentiality: For games where weights are constant or represented in unary ($W = poly(n)$), this bound is strictly sub-exponential, outperforming the previous best deterministic bound of $O((2+\sqrt{2})^n)$.
  • Unified Analysis: The analysis shows that for a sufficiently large $\lambda_0$, the sequence of strategies chosen by the algorithm is identical for all $\lambda \in [\lambda_0, 1)$.

Limitations and Future Work

  • Still Not Polynomial: While sub-exponential is a major theoretical improvement, the "holy grail" remains a truly polynomial-time algorithm ($n^{O(1)}$) for the general case.
  • Binary Weights: The current analysis does not break the exponential barrier for games with weights represented in binary.
  • Stochastic Games: The authors note that while discounted-sum games reduce to stochastic games, the reverse is not true. Extending these deterministic sub-exponential bounds to unary stochastic games remains an open and challenging problem.
  • Mean-Payoff Games: There is a known reduction from mean-payoff games to discounted-sum games, but the specific parameterization used here doesn't immediately yield a sub-exponential algorithm for mean-payoff games, leaving another avenue for future research.

Summary updated

BibTeX
@inproceedings{asadi2024deterministic,
  author = {Ali Asadi and Krishnendu Chatterjee and Raimundo Saona and Jakub Svoboda},
  title = {{Deterministic Sub-exponential Algorithm for Discounted-sum Games with Unary Weights}},
  booktitle = {LICS},
  year = {2024},
  url = {https://openreview.net/forum?id=u5kOYZ06Vj},
}
Figure