Flow-Based Synthesis of Reactive Tests for Discrete Decision-Making Systems with Temporal Logic Specifications
Josefine B. Graebener, Apurva S. Badithela, Denizalp Goktas, Wyatt Ubellacker, Eric V. Mazumdar, Aaron D. Ames, Richard M. Murray
TL;DR
The paper addresses automatic synthesis of test environments for autonomous systems by combining temporal-logic specifications with flow-based optimization. It builds a virtual product graph to capture system and test objectives, then solves a mixed-integer linear program to identify the minimal edge-cuts (restrictions) needed to force the test objective while preserving system feasibility. For dynamic test agents, a GR(1) synthesis step via TuLiP coupled with a counterexample-guided refinement ensures realizable strategies, all performed offline. The approach is demonstrated on grid-world simulations and hardware with quadrupeds, showing that it yields least-restrictive tests and scalable runtimes on medium-sized problems. Overall, the work provides a practical, off-line, semi-cooperative testing framework that complements falsification and classical reactive synthesis.
Abstract
Designing tests to evaluate if a given autonomous system satisfies complex specifications is challenging due to the complexity of these systems. This work proposes a flow-based approach for reactive test synthesis from temporal logic specifications, enabling the synthesis of test environments consisting of static and reactive obstacles and dynamic test agents. The temporal logic specifications describe desired test behavior, including system requirements as well as a test objective that is not revealed to the system. The synthesized test strategy places restrictions on system actions in reaction to the system state. The tests are minimally restrictive and accomplish the test objective while ensuring realizability of the system's objective without aiding it (semi-cooperative setting). Automata theory and flow networks are leveraged to formulate a mixed-integer linear program (MILP) to synthesize the test strategy. For a dynamic test agent, the agent strategy is synthesized for a GR(1) specification constructed from the solution of the MILP. If the specification is unrealizable by the dynamics of the test agent, a counterexample-guided approach is used to resolve the MILP until a strategy is found. This flow-based, reactive test synthesis is conducted offline and is agnostic to the system controller. Finally, the resulting test strategy is demonstrated in simulation and experimentally on a pair of quadrupedal robots for a variety of specifications.
