Gist: A Solver for Probabilistic Games

Krishnendu Chatterjee, Thomas A. Henzinger, Barbara Jobstmann, Arjun Radhakrishna

Abstract

Gist is an open-source tool designed to solve turn-based probabilistic games, known as $2\frac{1}{2}$-player games, and automatically rectify incomplete system specifications. By calculating the minimal environment assumptions needed to make a specification realizable, Gist enables engineers to transition from impossible requirements to functional reactive systems. This paper presents the tool's architecture, its novel linear-time reduction techniques, and an evaluation of its performance on large-scale benchmarks.

Introduction

In the field of formal methods, synthesizing a system—such as a controller—from a logical specification written in Linear Temporal Logic (LTL) is a powerful approach to ensuring correctness. However, in practice, these specifications are frequently "unrealizable." This often occurs because the designer has omitted critical assumptions about the environment. For example, a controller might only function correctly if a sensor eventually provides data; if this "eventuality" is not explicitly stated, the synthesis process fails.

Furthermore, many real-world systems involve probabilistic transitions. While theoretical frameworks for $2\frac{1}{2}$-player games (involving two players and a "nature" player representing randomness) have existed, there has been a lack of efficient, integrated tools capable of handling complex $\omega$-regular objectives like "always eventually." Gist addresses this gap by providing a robust solver that not only determines realizability but also acts as a debugger by suggesting the necessary environment assumptions to fix broken specifications.

Methodology and Tool Architecture

Gist bridges the gap between theory and practice through a sophisticated pipeline that integrates several existing formal methods tools.

The workflow of Gist, illustrating the path from LTL formula to a synthesized system.

The tool's operation follows a multi-step process:

  1. Automata Construction: Gist utilizes the GOAL tool to convert LTL formulas into deterministic parity automata (DPA).
  2. Linear-Time Reduction: A core innovation of Gist is its implementation of a novel reduction that transforms a $2\frac{1}{2}$-player probabilistic game into a standard 2-player game in linear time. This allows the tool to leverage highly optimized solvers for non-probabilistic games.
  3. Two-Step Assumption Synthesis: When a specification is unrealizable, Gist identifies the missing constraints in two stages:
  4. Safety Assumptions: It identifies and removes a minimal set of environment transitions that would lead to a guaranteed failure.
  5. Fairness Assumptions: It identifies "fairness" conditions (e.g., "if the environment requests $X$ infinitely often, it must eventually provide $Y$") to make the system winnable.
  6. Game Solving: The underlying parity games are solved using PGSolver.

Key Insights: Qualitative Analysis and Complexity

Gist focuses on qualitative analysis, determining if a player can win with probability 1. This approach is more robust for system synthesis than quantitative analysis because it does not rely on precise probability values, which are often mere estimates. By focusing on "almost-sure" winning conditions, the resulting systems are more resilient to modeling errors.

Another significant insight is that the "nature" player is computationally "cheap." By demonstrating a linear-time reduction from $2\frac{1}{2}$-player to 2-player games, the authors show that adding randomness to a model does not necessarily increase the complexity of the qualitative winning problem.

Experimental Evaluation

The authors evaluated Gist using synthetic benchmarks from the PGSolver suite, modified to include probabilistic states (10% of states with uniform distributions over successors).

Performance metrics for Gist across different game sizes, showing average, best, and worst-case runtimes.

The results demonstrate that Gist is efficient enough for medium-to-large scale problems. As shown in the performance table, games with 10,000 states and 50,000 edges are solved in an average of 51.43 seconds. Even large games with 50,000 states and 250,000 edges remain tractable, taking an average of 2513.18 seconds (approximately 42 minutes). Crucially, the evaluation revealed that the probabilistic reduction itself is extremely fast; the total runtime is dominated by the underlying 2-player parity game solver.

Limitations and Future Work

Despite its efficiency, Gist faces certain theoretical and practical challenges. Finding a globally minimal set of fairness assumptions is NP-hard; consequently, Gist currently provides "locally minimal" assumptions, which may not always be the simplest possible. Additionally, the conversion of LTL formulas to DPAs remains a significant computational bottleneck as formula complexity increases. Future improvements in LTL-to-automata tools and 2-player parity solvers will directly enhance Gist's performance and utility in industrial verification.

Summary updated

BibTeX
@inproceedings{chatterjee2010gist,
  author = {Krishnendu Chatterjee and Thomas A. Henzinger and Barbara Jobstmann and Arjun Radhakrishna},
  title = {{Gist: A Solver for Probabilistic Games}},
  booktitle = {CAV},
  year = {2010},
  doi = {10.1007/978-3-642-14295-6\_57},
}
Figure