Introduction
In the field of formal methods, reactive synthesis has traditionally focused on generating a single strategy that guarantees a system will satisfy its specifications regardless of environmental interference. However, in many practical applications—ranging from security patrolling to automated software testing—predictability is a significant vulnerability. This paper introduces Reactive Control Improvisation (RCI), a novel framework that bridges the gap between reactive synthesis and control improvisation to generate systems that are both provably safe and intentionally unpredictable.
Problem Definition: The Need for Variety
Standard synthesis tools typically output a single, deterministic path. For a security robot patrolling a facility, a fixed path allows an adversary to easily time their movements to avoid detection. Similarly, in network "fuzz testing," a tool that generates the same valid input repeatedly fails to explore the state space effectively.
To address this, RCI incorporates three distinct types of constraints:
- Hard Constraints: Inviolable safety requirements (e.g., obstacle avoidance).
- Soft Constraints: Probabilistic performance goals (e.g., completing a task within a time limit).
- Randomness Constraints: A formal requirement that no single behavior occurs with a probability higher than a specified parameter $\rho$.
The RCI Framework and the Concept of Width
The core technical innovation of this work is the quantitative measure of Width. While traditional games ask if a winning strategy exists, RCI asks how many distinct winning strategies are available to the player, even when an adversary attempts to minimize those options.
As shown in the trellis-like game structures used for synthesis, the "width" of a state represents the variety of behaviors the system can exhibit while still guaranteeing a win. The authors prove a Realizability Theorem: a randomized strategy exists if and only if the width of the initial state $W(I)$ is at least $1/\rho$. This allows variety to be treated as a measurable resource during the design phase.
Complexity and Synthesis Algorithms
A major contribution of the paper is the proof of Complexity Parity. The authors demonstrate that adding randomness requirements does not increase the computational difficulty of the synthesis problem. If a safety game can be solved in polynomial time, its randomized RCI counterpart can also be solved in polynomial time. For complex specifications in Linear Temporal Logic (LTL), both problems remain PSPACE-complete.
For specifications represented as Deterministic Finite Automata (DFAs)—the standard for many robotics tasks—the authors provide an efficient algorithm. This algorithm uses width measurements to weight a randomized walk through the system's state space, ensuring the resulting distribution is as close to uniform as possible while respecting all safety bounds.
Experimental Validation: Patrolling Drones
The researchers validated the RCI framework using a simulated patrolling drone in a 7x7 grid-world. Using the PX4 autopilot and Gazebo simulator, they synthesized a controller tasked with visiting target locations while avoiding an adversary.
The results demonstrate that the RCI-synthesized controller successfully generates a wide variety of safe paths. Unlike a standard controller that would repeat a single optimal route, the RCI controller explores the grid unpredictably, making it significantly harder for an adversary to anticipate its movements.
Conclusion and Future Work
Reactive Control Improvisation provides a rigorous mathematical foundation for building unpredictable yet safe autonomous systems. While currently focused on finite-horizon tasks and discrete state spaces, future work aims to extend these guarantees to infinite behaviors and continuous environments, further increasing the applicability of RCI to high-speed aerial robotics and autonomous vehicles.
Summary updated