1. Synchronizing billion-scale automata.
- Author
-
Taş, Mustafa Kemal, Kaya, Kamer, and Yenigün, Hüsnü
- Subjects
- *
ALGORITHMS , *ROBOTS , *FINITE state machines , *HEURISTIC , *SYNCHRONIZATION - Abstract
• Existing synchronization heuristics do not scale due to quadratic space complexity. • We propose a simple approach to avoid memory usage thanks to massive parallelism. • We use different parallelization approaches on CPUs and GPUs, in a hybrid way. • A different treatment of parallelism is useful at different phases of the algorithm. • Our algorithms can synchronize a billion-state automaton in around 4 mins. Synchronizing sequences for large-scale automata have gained popularity recently due to their practical use cases especially to have a faster and better testing process. In many applications, shorter sequences imply less overhead and faster processing time but the problem of finding the shortest synchronizing sequence is NP-hard and requires heuristic approaches to be solved. State-of-the-art heuristics manage to obtain desirable, short sequences with relatively small execution times. However, all these heuristics suffer their quadratic memory complexity and fail to scale when the input automaton gets larger. In this paper, we propose an approach exploiting GPUs and hybrid parallelism which can generate synchronizing sequences even for billion-scale automata, in a short amount of time. Overall, the algorithm can generate a synchronizing sequence for a random automaton with n = 10 8 states in 12.1 s, n = 5 × 10 8 states in 69.1 s, and billion states in 148.2 s. [ABSTRACT FROM AUTHOR]
- Published
- 2021
- Full Text
- View/download PDF