Stopping Criteria for Value Iteration on Stochastic Games with Quantitative Objectives

Jan Kretínský, Tobias Meggendorfer, Maximilian Weininger

Abstract

Value Iteration (VI) is a fundamental algorithm for solving Markov Decision Processes (MDPs) and Stochastic Games (SGs). Despite its practical efficiency, VI has historically lacked rigorous stopping criteria for complex quantitative objectives, such as total reward and mean payoff, providing guarantees only in the limit. This paper introduces the first "anytime" VI algorithms for these objectives. By deriving sound upper and lower bounds through global MDP reductions and local reasoning on Simple End Components (SECs), the authors transform VI into a reliable tool for safety-critical verification, ensuring that model checkers no longer return results with unknown error margins.

Introduction

Value Iteration (VI) serves as a cornerstone in the formal verification and synthesis of stochastic systems. Its simplicity and performance often surpass exact methods like linear programming in practical applications. However, a significant theoretical and practical gap has persisted: VI typically only guarantees convergence to the optimal value in the limit. In practice, the algorithm must be terminated at some point, but without a formal stopping criterion, there is no way to determine how close the current estimate is to the true optimal value.

For safety-critical systems, this lack of precision is a dealbreaker. If a model checker uses VI to verify a property, it might stop too early and provide a result that is wildly inaccurate. While recent advancements provided stopping criteria for MDPs and SGs with simple reachability objectives, more complex quantitative objectives—specifically total reward (accumulated over time) and mean payoff (long-term average)—remained unaddressed. This paper fills that gap by providing the first anytime VI algorithms that offer guaranteed error bounds at every iteration.

The Challenge: Spurious Fixpoints

The primary obstacle in developing stopping criteria for total reward and mean payoff objectives is the presence of Simple End Components (SECs). These are sets of states where players can remain indefinitely. In these structures, VI can become trapped in "spurious fixpoints"—mathematical artifacts where the algorithm's iterates appear to have converged but actually remain far from the true optimal value due to cyclic dependencies in the state space.

To overcome this, an algorithm must distinguish between the "staying value" (the reward accumulated by remaining within an SEC forever) and the "exit value" (the optimal reward obtainable by eventually leaving the SEC). The authors identify that SECs are the fundamental reason VI fails to converge naturally in these settings; by informing the algorithm about the behavior "at infinity" within these components, the iterates can be forced to converge to the true value.

Proposed Methodology

The authors propose a unified framework to derive upper and lower bounds for the optimal value during the execution of VI, presenting two distinct algorithmic approaches:

1. Global Reduction to MDP

This approach utilizes a "strategy recommender" derived from the current VI iterates to fix the strategy of one player. This reduces the complex Stochastic Game into a simpler MDP. By solving these induced MDPs, the algorithm generates valid upper and lower bounds. This method is particularly elegant because it allows SG solvers to "piggyback" on any future improvements or optimizations made to MDP solvers.

2. Local Reasoning on Stochastic Games

Instead of reducing the problem to full MDPs, this algorithm operates directly on the SG structure. It identifies SECs and applies "deflating" and "inflating" techniques to manually adjust values within these components. By explicitly breaking the cyclic dependencies that cause spurious fixpoints, this local reasoning ensures that the iterates converge toward the true value without the overhead of solving large-scale MDPs repeatedly.

Key Insights and Results

The research yields several critical insights into the nature of stochastic games and iterative solvers:

  • Anytime Guarantees: Both proposed methods are anytime algorithms, providing a current estimate and a precision bound at every step. These bounds are proven to be sound (always containing the true value) and complete (guaranteed to eventually shrink below any user-defined threshold $\epsilon$).
  • Strategy Iteration Extension: Surprisingly, the proposed stopping criteria also apply to Strategy Iteration (SI). Traditionally, SI must run until it finds the absolute optimum to provide any guarantees. This work enables the first anytime SI algorithm with guaranteed approximation even before termination.
  • Objective Independence: The authors found that the structural concepts required to solve these problems (like SECs and deflating) are largely independent of the specific objective, allowing for a unified theoretical treatment of reachability, total reward, and mean payoff.

Conclusion

This work provides the theoretical foundation necessary to make VI a reliable tool for quantitative verification. By introducing rigorous stopping criteria, the authors ensure that model checkers can provide results with verifiable precision. While the authors acknowledge that worst-case computational complexity remains a challenge, the "Local" algorithm offers a path toward efficient implementation in prominent tools such as PRISM or Storm. Future work will explore extending these techniques to even more complex $\omega$-regular objectives and multi-dimensional reachability.

Summary updated

BibTeX
@inproceedings{kretinsky2023stopping,
  author = {Jan Kretínský and Tobias Meggendorfer and Maximilian Weininger},
  title = {{Stopping Criteria for Value Iteration on Stochastic Games with Quantitative Objectives}},
  booktitle = {LICS},
  year = {2023},
  doi = {10.1109/lics56636.2023.10175771},
}
Figure