Optimistic and Topological Value Iteration for Simple Stochastic Games

Muqsit Azeem, Alexandros Evangelidis, Jan Kretínský, Alexander Slivinskiy, Maximilian Weininger

Simple Stochastic Games (SSGs) are a fundamental framework for modeling decision-making in environments characterized by both competition and uncertainty. These zero-sum, two-player games are played on graphs where a Maximizer aims to reach a target state while a Minimizer seeks to prevent it, often under probabilistic transition rules. Presented at CAV 2022, this research introduces two algorithmic advancements—Optimistic Value Iteration (OVI) and Precise Topological Value Iteration (PTVI)—to address the scalability and precision limitations of existing solvers.

The Challenges of Existing Solvers

While Value Iteration (VI) is a standard approach for solving SSGs, it historically lacks a definitive stopping criterion. Unlike simpler models, VI for SSGs can approach the optimal value indefinitely without providing a guarantee of how close the current approximation is to the true value.

Recent "Optimistic" versions of VI solved this for single-player Markov Decision Processes (MDPs) by maintaining upper and lower bounds. However, these methods struggled with general two-player SSGs containing complex "end components" (loops where players can become trapped). Additionally, Topological VI, which breaks a game into smaller components to solve them sequentially, suffers from "precision creep." In deep, chain-like models, small numerical errors in early components accumulate, preventing the algorithm from converging to a precise solution in later stages.

Algorithmic Contributions

1. Optimistic VI for SSGs

The authors extended OVI to handle the complexities of two-player dynamics and cyclic structures. Their approach incorporates a verification phase that periodically guesses a potential upper bound. To manage loops, they introduced a "deflating" operator. This operator prevents the algorithm from being misled by artificially high values within end components, allowing it to verify upper bounds and terminate with a guaranteed precision level.

2. Precise Topological VI (PTVI)

To resolve the precision creep inherent in topological methods, the researchers developed PTVI. This algorithm shifts the focus from passing approximate values between components to strategy guessing.

After an initial approximate solve of a component, PTVI guesses the optimal discrete strategies for the players. Once strategies are fixed, the game simplifies into a Markov Chain, which can be solved exactly using linear algebra. The algorithm then performs a local check to verify if these strategies are truly optimal. If the guess is correct, the precise value is passed to the next component; if not, the algorithm falls back to a more computationally expensive Strategy Iteration (SI) step. This "guess-and-verify" loop proves significantly more robust than traditional value passing.

Experimental Evaluation

The algorithms were tested using the PRISM-games benchmark suite, handcrafted "corner case" models (such as the Haddad-Monmege example), and a new Random SSG Generator. This generator allows for the creation of models with specific structural features, such as deep component chains or high action density, providing a more rigorous test than standard benchmarks.

Key Results

  • Scalability: PTVI successfully solved models with 10 million states in under 15 minutes. In contrast, standard Strategy Iteration variants frequently timed out on models with more than 2 million states.
  • Efficiency: On large-scale models, PTVI often halved the runtime compared to SI. Because the algorithm usually identifies the correct strategy on the first attempt, it avoids the multiple expensive linear programming steps required by SI.
  • Robustness: In the "MulMec" model—a notoriously difficult chain of loops—traditional topological VI failed due to floating-point limitations. PTVI solved it successfully by leveraging exact linear algebra on the guessed strategies.

Insights and Future Directions

A primary takeaway of the study is that graph structure matters more than state count. A model with 100,000 states and a "flat" structure is often easier to solve than a 200-state model with deep, nested loops. The research also demonstrates that there is no "one-size-fits-all" algorithm; while the Widest Path (WP) algorithm is often the fastest for approximations, PTVI is superior when exact, high-precision solutions are required for deep models.

Future work suggests that because algorithm performance is so dependent on graph topology, machine learning could be employed to analyze a game's structure and automatically recommend the most efficient solver. Additionally, the authors aim to refine their random generator to better reflect the specific patterns found in real-world engineering and formal verification problems.

Summary updated

BibTeX
@inproceedings{azeem2022optimistic,
  author = {Muqsit Azeem and Alexandros Evangelidis and Jan Kretínský and Alexander Slivinskiy and Maximilian Weininger},
  title = {{Optimistic and Topological Value Iteration for Simple Stochastic Games}},
  booktitle = {ATVA},
  year = {2022},
  url = {https://openreview.net/forum?id=rPTxQk3VPJ},
}
Figure