Abstract
The window mechanism was introduced to strengthen classical game objectives with time bounds. It permits to synthesize system controllers that exhibit acceptable behaviors within a configurable time frame, all along their infinite execution, in contrast to the traditional objectives that only require correctness of behaviors in the limit. The window concept has proved its interest in a variety of two-player zero-sum games because it enables reasoning about such time bounds in system specifications, but also thanks to the increased tractability that it usually yields. In this work, we extend the window framework to stochastic environments by considering Markov decision processes. A fundamental problem in this context is the threshold probability problem: given an objective it aims to synthesize strategies that guarantee satisfying runs with a given probability. We solve it for the usual variants of window objectives, where either the time frame is set as a parameter, or we ask if such a time frame exists. We develop a generic approach for window-based objectives and instantiate it for the classical mean-payoff and parity objectives, already considered in games. Our work paves the way to a wide use of the window mechanism in stochastic models.
Introduction
In formal verification, parity and mean-payoff objectives are standard tools for describing how a system should behave over an infinite timeline. However, these classical objectives have a major "blind spot": they only care about the limit. A parity objective might require that a request is eventually granted, but it doesn't care if it takes ten steps or ten trillion.
In the real world, time is a first-class citizen. A controller for a server or a robot needs to satisfy requirements within a reasonable time frame. "Window objectives" address this by requiring that conditions are met within a sliding window of size $\lambda$. This paper extends these objectives from deterministic games to stochastic environments, specifically targeting the threshold probability problem in Markov Decision Processes (MDPs): Can we find a strategy that satisfies a window objective with at least probability $\alpha$?
The Stochastic Model
The core of this research involves analyzing Markov Decision Processes where transitions are governed by probability. While the environment is random, the window constraints are deterministic, leading to the paper's central theme: "Life is Random, Time is Not."
Methodology
The authors develop a modular framework to solve the threshold probability problem using three primary pillars:
- Unfoldings and Reductions: For "fixed" windows (where $\lambda$ is a given parameter), the problem is reduced to a safety or co-Büchi problem on an "unfolded" MDP that tracks the status of the current window.
- End-Component (EC) Classification: For "prefix-independent" objectives, the authors prove a zero-one law: in any end-component, the maximum probability of satisfying a window objective is either 0 or 1. Classifying these components can be done by treating them as two-player games.
- Modular Framework: The algorithm is designed as a "black box." New window objectives can be integrated simply by providing a specific classification procedure for the general MDP solver.
Key Insights and Ideas
- The Fairness of Probability: In two-player games, an adversary can keep a window open forever. In an MDP, the fact that any transition with non-zero probability will eventually occur means that some objectives that are impossible to guarantee surely in a game become possible to satisfy almost-surely in an MDP.
- Tractability Gains: Surprisingly, window objectives are often easier to solve than their classical counterparts. For example, many window parity problems in MDPs are P-complete, whereas classical parity games are not yet known to be in P.
- Uniform Bounds: Unlike games, where a single window size $\lambda$ usually works for all runs, MDPs may require different window sizes for different runs to succeed.
Key Results
The paper establishes the complexity and memory requirements for the threshold probability problem across several variants, proving that pure (deterministic) strategies are generally sufficient.
| Objective Variant | Complexity (Parity) | Complexity (Mean-Payoff) | Memory Required |
|---|---|---|---|
| Direct Fixed (DFW) | P-c. | EXPTIME / PSPACE-h. | Polynomial |
| Fixed (FW) | P-c. | P-c. | Polynomial |
| Bounded (BW) | P-c. | NP $\cap$ coNP | Memoryless |
Notably, the Direct Fixed Window mean-payoff problem is proven to be PSPACE-hard, even for acyclic MDPs, via a reduction to the shortest path problem.
Limitations and Future Work
The authors identified that "direct bounded" windows are "ill-behaved," potentially requiring infinite memory due to their relationship with complex random walk behaviors. Future research will explore multi-objective extensions, such as multidimensional mean-payoff, which remains an open complexity challenge. Additionally, the authors are integrating these algorithms into Storm, a state-of-the-art probabilistic model checker, to bridge the gap between theory and engineering practice.
Summary updated