Uppaal-Tiga: Timed Games for Everyone

Gerd Behrmann, Agnès Cougnard, Alexandre David, Emmanuel Fleury, Kim G. Larsen, Didier Lime2008

TL;DR

This paper introduces UPPAAL-TIGA, a significantly improved tool for analyzing timed games. It now boasts orders-of-magnitude performance gains and full UPPAAL language support, making the complex task of synthesizing control strategies for real-time systems more accessible and efficient.

What Problem Does This Paper Address?

Designing and verifying complex real-time systems, especially those involving interactions with an unpredictable environment, is a significant challenge. Timed games provide a formal framework to model such systems, where one player (the controller) tries to achieve a goal while another player (the environment) can act to thwart it. The core problem is to determine if a controller can guarantee a specific outcome (like reaching a safe state or avoiding a dangerous one) despite the environment's actions, and if so, to synthesize a strategy for the controller. Previous approaches were often computationally expensive and limited in expressiveness.

Methods

The paper presents UPPAAL-TIGA, a tool that implements an "on-the-fly" algorithm for solving timed games. The key advancements in this new version include:

  • Re-implementation and Performance Boost: A complete re-implementation of the core algorithm and its underlying Difference Bound Matrix (DBM) library. This led to dramatic improvements in performance, with the tool being over 1000 times faster and consuming 100 times less memory on large examples compared to its predecessor.
  • Enhanced Input Language Support: Full support for the UPPAAL 4.0 input language, allowing for more complex system modeling with C-like syntax for functions and custom types.
  • Strategy Generation: The tool can now output synthesized strategies for the controller. These strategies can be generated with different compactness levels, including BDD/CDD representations.
  • TCTL Formulas for Winning Conditions: Winning and losing conditions are now specified using Temporal Logic of Actions (TLA) formulas, supporting both reachability and safety properties.

Datasets

Not discussed in the paper. The paper uses an example of a "production cell" for experimental evaluation.

Key Insights and Ideas

  • The Power of On-the-Fly Analysis: The "on-the-fly" approach, combined with an optimized DBM library, is crucial for tackling the state-space explosion inherent in timed game analysis.
  • Strategy Synthesis is Key: Simply knowing if a controller can win isn't enough; providing the actual strategy makes the tool practical for system design.
  • Compact Strategy Representation: Generating strategies in compact forms like BDDs is essential for handling the complexity of synthesized strategies.
  • Efficiency Gains are Game-Changers: The significant performance improvements make UPPAAL-TIGA applicable to much larger and more realistic systems than before.

Key Results

The paper highlights substantial performance improvements:

  • Speedup: Over 1000x faster on large examples.
  • Memory Reduction: 100x less memory usage on large examples.
  • Model Handling: The new version can handle models with 12 plates, whereas the old version could not.
  • Experimental Validation: The "production cell" example demonstrates the tool's effectiveness and the dramatic improvements over the previous version.

Limitations and Future Work

  • Interactive Simulation: The authors note that the ability to play strategies interactively within the simulator is the only missing feature they are currently working on.
  • Priorities: Priorities in the UPPAAL language are noted as being incompatible with the tool's current implementation.
  • Back-propagation Efficiency: An interesting remark suggests that back-propagating only winning or losing information is more efficient than back-propagating both, a departure from their initial thoughts.

Summary updated

Abstract

In 2005 we proposed the first efficient on-the-fly algorithm for solving games based on timed game automata with respect to reachability and safety properties. Since then we have completely re-implemented the first prototype and made dramatic improvements both in terms of performance (several orders of magnitude) and the input language (complete support of all the language features of Uppaal). In addition, the tool supports the new feature of strategy generation with different compactness levels. In this paper we present this new version of Uppaal-Tiga. 1
BibTeX
@misc{behrmann2008uppaal,
  author = {Gerd Behrmann and Agnès Cougnard and Alexandre David and Emmanuel Fleury and Kim G. Larsen and Didier Lime},
  title = {{Uppaal-Tiga: Timed Games for Everyone}},
  year = {2008},
}
Figure