LTLf Synthesis on Probabilistic Systems

Andrew M. Wells, Morteza Lahijanian, Lydia E. Kavraki, Moshe Y. Vardi

TL;DR

This paper tackles the problem of synthesizing policies for probabilistic systems (modeled as Markov Decision Processes or MDPs) to satisfy finite-horizon temporal logic specifications (LTLf). They propose two methods: one reducing LTLf to LTL synthesis and another using a native LTLf-to-automaton approach, demonstrating that the native method offers superior scalability.

What Problem Does This Paper Address?

Many real-world systems, from robotics to complex software, exhibit both probabilistic behavior and require achieving specific goals within a finite timeframe. Markov Decision Processes (MDPs) are a standard way to model such systems, and temporal logics are used to specify desired behaviors. While Linear Temporal Logic (LTL) is well-suited for infinite behaviors, many practical scenarios involve finite-duration tasks (e.g., a robot completing a specific assembly). Linear Temporal Logic over finite traces (LTLf) addresses this, but existing synthesis tools for MDPs primarily support LTL, not LTLf. This paper bridges this gap by developing and comparing two approaches for LTLf synthesis on MDPs, aiming to find policies that maximize the probability of achieving LTLf specifications.

Methods

The authors present two distinct approaches for LTLf synthesis on MDPs:

  1. Reduction to LTL Synthesis: This method involves augmenting the original MDP with a special "termination" state and an "alive" atomic proposition. The LTLf formula is then translated into an equivalent LTL formula that incorporates this termination mechanism. This allows leveraging existing, mature LTL synthesis tools on the augmented MDP.
  2. Native LTLf Approach: This approach directly translates the LTLf formula into a Deterministic Finite Automaton (DFA) using specialized tools (like MONA). This DFA is then composed with the original MDP to create a product MDP. Synthesis is then performed on this product MDP using standard techniques for maximal reachability probability.

The core novelty lies in adapting LTLf specifications to probabilistic systems and comparing the practical performance of these two synthesis strategies.

Datasets

The paper does not introduce new datasets. Instead, it uses several standard benchmark domains for evaluation:

  • Gridworld: An agent navigating a grid with probabilistic movement and specific goals.
  • Dining Philosophers: A classic concurrency problem adapted to a probabilistic setting.
  • Nim: A game against a stochastic opponent.
  • Double Counter: A game involving two probabilistic counters.

The test formulas are also not randomly generated but are designed to be relevant to these domains, including finite-trace specifications for goal achievement, safety properties, and ordering of events.

Key Insights and Ideas

  • LTLf is Crucial for Finite-Horizon Tasks: The paper strongly emphasizes that for many real-world applications, especially in robotics and planning, finite-trace properties are more natural and practical than infinite-trace properties.
  • Native LTLf Outperforms LTL Reduction in Practice: Despite both approaches having similar theoretical complexity bounds, the native approach (translating LTLf to DFA and then to product MDP) demonstrates significantly better scalability and performance in experiments.
  • Automaton Minimality Matters: The native approach's use of minimal DFAs (generated by MONA) leads to smaller intermediate representations, which can be crucial for the efficiency of subsequent steps like product construction and reachability analysis.
  • Tooling and Implementation Details Impact Performance: The choice of tools for automaton construction and the underlying symbolic representations (like BDDs) can significantly affect the overall runtime and memory usage, even for the same theoretical algorithm.

Key Results

The experimental evaluation highlights the superiority of the native LTLf synthesis approach:

  • Runtime: For longer formulas and larger MDPs, the native pipeline consistently outperforms the LTL reduction pipeline, often by orders of magnitude. For instance, in complex scenarios, the LTL pipeline runs out of memory or takes prohibitively long, while the native approach completes within seconds.
  • Automata Size: The DFAs generated by the native approach are typically smaller and minimal, whereas the LTL pipeline often produces larger, non-minimal automata (DRAs).
  • Scalability: The native approach scales much better with formula complexity and MDP size, enabling the synthesis of policies for problems that are intractable for the LTL reduction method. For example, the native approach can handle formulas up to F17, while the LTL pipeline struggles beyond F10.

Limitations and Future Work

  • External Tool Dependency: The native approach relies on external tools (like MONA) for DFA generation, which can introduce overhead due to disk I/O. An implementation that avoids this could further improve performance.
  • PRISM Integration: While the native approach is generally faster, there are specific cases where PRISM's built-in LTL translator might produce automata with BDD representations that work better within PRISM's engine, leading to faster reachability analysis. This suggests potential for optimizing the interaction between external automata and PRISM.
  • Probability Minimization: The current work focuses on maximizing probability. The authors suggest extending the framework to handle probability minimization, which is more straightforward with the native approach than the LTL reduction.
  • Symbolic Methodology: Exploring fully symbolic methods for automaton representation and product construction is a promising direction.
  • Robotics Applications: The authors express interest in applying their LTLf synthesis framework to practical robotics domains.

Summary updated

BibTeX
@inproceedings{wells2020ltlf,
  author = {Andrew M. Wells and Morteza Lahijanian and Lydia E. Kavraki and Moshe Y. Vardi},
  title = {{LTLf Synthesis on Probabilistic Systems}},
  booktitle = {GandALF},
  year = {2020},
  url = {https://openreview.net/forum?id=utaahDsQz6},
}
Figure