Skip to content

Leveraging Restrictions to Optimize Register Automata Learning

Paul Fiterau-Brostean, Bengt Jonsson, Konstantinos Sagonas, Fredrik Tåquist

cs.FL

Abstract

Active automata learning algorithms, especially those that are able to learn extended finite state machines, such as register automata, can capture the behavior of complex systems and help analyses that uncover critical bugs in them. However, the performance and scalability of these algorithms often becomes an issue when models increase in size. SLλSL^λ, the current state-of-the-art algorithm for learning register automata, uses a cost-efficient data structure with mechanisms for computing short and restricted tests. In this paper, we present SL=λSL^λ_{=}, an extension of SLλSL^λ for the theory of equality, which improves scalability by employing knowledge gained from prior tests at subsequent steps to restrict future tests to only those that are necessary to achieve progress in the next step. We have implemented SL=λSL^λ_{=} as a new algorithm in RALib, and evaluate its performance by comparing it against SL∗SL^{*} and SLλSL^λ on a series of benchmarks, including five widely used implementations of DTLS servers. Our evaluation shows that SL=λSL^λ_{=} needs significantly fewer tests than SL∗SL^{*} and SLλSL^λ to infer models of systems, and scales clearly better than them.

Create a lesson