Introduction
Hybrid systems, which integrate discrete control logic with continuous physical dynamics, are essential in safety-critical applications such as autonomous vehicles and industrial robotics. Verifying these systems often involves solving the "reachability problem": determining if a system can ever enter an unsafe state. For Linear Hybrid Automata (LHA), this task is notoriously difficult as the state space grows exponentially with the number of continuous variables.
Traditional sequential algorithms, such as Iterative Relaxation Abstraction (IRA), utilize counterexample-guided abstraction refinement (CEGAR) to manage complexity by analyzing simplified versions of the model. However, as systems grow more complex, even these abstractions become a computational bottleneck. This paper presents d-IRA, the first distributed reachability algorithm designed to leverage multi-core and distributed environments to accelerate LHA verification.
The d-IRA Algorithm
The d-IRA framework adopts a master-slave architecture to distribute the heavy computational load of the CEGAR loop. The master node acts as the central coordinator, managing the global abstraction and distributing refinement tasks, while slave nodes perform reachability analysis on relaxed models.
Distributed Abstraction and Refinement
Slave nodes independently construct relaxations of the LHA and compute discrete abstractions (Finite State Machines) in parallel. This stage involves computationally intensive operations, such as Fourier-Motzkin elimination. The master node then collects these abstractions to maintain a "global" view of the system's reachability.
A core innovation in d-IRA is the use of a partial-order relation based on dominance to select non-redundant counterexamples. A counterexample is considered to dominate another if its infeasibility can be explained by a subset of the variables required by the other. By establishing this order, the master node ensures that slave nodes work on mathematically distinct sub-problems, maximizing parallel efficiency. To further optimize performance, the algorithm employs a dynamic heuristic involving a timer and a multiplier ($m = m \times 2$) to determine the optimal number of counterexamples to check in each iteration.
Experimental Evaluation
The performance of d-IRA was evaluated using parameterized Adaptive Cruise Control (ACC) benchmarks, ranging from 4 to 19 continuous variables. These benchmarks represent increasing levels of complexity in vehicle dynamics verification, where each additional vehicle adds new continuous variables and discrete states.
Key Results
Experimental results on a four-processor machine demonstrate that d-IRA provides significant performance gains over sequential IRA. As shown in the performance data, the benefits of the distributed approach become more pronounced as problem complexity increases. For the most complex benchmark (ACC-19), the execution time was reduced from 9,752 seconds to 2,438 seconds—a fourfold improvement. Overall, the parallel implementation achieved a speedup of up to 3.41x on the tested hardware.
Beyond speed, d-IRA offers robust fault tolerance. Because slave nodes are stateless, the system can survive node failures; the master node simply assumes a worst-case scenario (treating the task as reachable) for the failed node's assignment, allowing the slave to rejoin the process in the subsequent round without complex recovery logic.
Discussion and Future Work
While d-IRA significantly improves scalability, the master node remains a potential serial bottleneck and a single point of failure. Future enhancements could include the implementation of "shadow masters" to provide redundancy for the global abstraction. Additionally, while the current evaluation was conducted on a symmetric multiprocessing (SMP) machine, further testing on distributed clusters with varying network latencies would better characterize the algorithm's scalability in large-scale cloud environments. Refining the heuristics for selecting the optimal number of counterexamples relative to available nodes also remains an area for future optimization.
Summary updated