Abstract
Specification synthesis is the process of deriving a model from the input-output traces of a system. It is used extensively in test design, reverse engineering, and system identification. One type of the resulting artifact of this process for cyber-physical systems is hybrid automata. They are intuitive, precise, tool independent, and at a high level of abstraction, and can model systems with both discrete and continuous variables. In this article, we propose a new technique for synthesizing hybrid automaton from the input-output traces of a non-linear cyber-physical system. Similarity detection in non-linear behaviors is the main challenge for extracting such models. We address this problem by utilizing the Dynamic Time Warping technique. Our approach is passive, meaning that it does not need interaction with the system during automata synthesis from the logged traces; and online, which means that each input/output trace is used only once in the procedure. In other words, each new trace can be used to improve the already synthesized automaton. We evaluated our algorithm in one industrial and two simulated case studies. The accuracy of the derived automata shows promising results.
- [1] . 2015. Generating models of infinite-state communication protocols using regular inference with abstraction. Formal Methods Syst. Design 46, 1 (2015), 1–41.Google Scholar
Digital Library
- [2] . 1959. On adaptive control processes. IRE Trans. Autom. Control 4, 2 (1959), 1–9.Google Scholar
Cross Ref
- [3] . 2020. Hybrid system identification by incremental fuzzy c-regression clustering. In Proceedings of the IEEE International Conference on Fuzzy Systems (FUZZ’20). IEEE, 1–7.Google Scholar
Digital Library
- [4] . 2013. Automated testing of graphical user interfaces: A new algorithm and challenges. In Proceedings of the ACM Workshop on Mobile Development Lifecycle. 27–28.Google Scholar
Digital Library
- [5] . 2013. Guided gui testing of android apps with minimal restart and approximate learning. ACM Sigplan Notices 48, 10 (2013), 623–640.Google Scholar
Digital Library
- [6] . 2011. Learning workflow petri nets. Fundamenta Informaticae 113, 3-4 (2011), 205–228.Google Scholar
Digital Library
- [7] . 2016. Combining model learning and model checking to analyze TCP implementations. In Proceedings of the International Conference on Computer Aided Verification. Springer, 454–471.Google Scholar
Cross Ref
- [8] . 1978. Complexity of automaton identification from given data. Info. Control 37, 3 (1978), 302–320.Google Scholar
Cross Ref
- [9] . 2000. The theory of hybrid automata. In Verification of Digital and Hybrid Systems. Springer, 265–292.Google Scholar
Cross Ref
- [10] . 2018. Active automata learning in practice. In Machine Learning for Dynamic Software Analysis: Potentials and Limits. Springer, 123–148.Google Scholar
- [11] . 2019. TeLEx: Learning signal temporal logic from positive examples using tightness metric. Formal Methods Syst. Design 54, 3 (2019), 364–387.Google Scholar
Cross Ref
- [12] . 2015. Mining requirements from closed-loop control models. IEEE Trans. Comput.-Aided Design Integr. Circ. Syst. 34, 11 (2015), 1704–1717.Google Scholar
Digital Library
- [13] . 2005. Comparison of four procedures for the identification of hybrid systems. In Proceedings of the International Workshop on Hybrid Systems: Computation and Control. Springer, 354–369.Google Scholar
Digital Library
- [14] . 2021. Adversarial specification mining. ACM Trans. Softw. Eng. Methodol. 30, 2 (2021), 1–40.Google Scholar
Digital Library
- [15] . 2017. Comparison of different methods of measuring similarity in physiologic time series. Int. Fed. Autom. Control—Papers on Line 50, 1 (2017), 11005–11010.Google Scholar
- [16] . 2014. Temporal logic inference for classification and prediction from data. In Proceedings of the 17th International Conference on Hybrid Systems: Computation and Control. 273–282.Google Scholar
Digital Library
- [17] . 2018. HyMn: Mining linear hybrid automata from input output traces of cyber-physical systems. In Proceedings of the IEEE Industrial Cyber-Physical Systems (ICPS’18). IEEE, 264–269.Google Scholar
Cross Ref
- [18] . 2019. Hybrid system identification. In Hybrid System Identification. Springer, 77–101.Google Scholar
Cross Ref
- [19] . 2018. Deep specification mining. In Proceedings of the 27th ACM SIGSOFT International Symposium on Software Testing and Analysis. 106–117.Google Scholar
Digital Library
- [20] . 2014. Online passive learning of timed automata for cyber-physical production systems. In Proceedings of the 12th IEEE International Conference on Industrial Informatics (INDIN’14). IEEE, 60–66.Google Scholar
Cross Ref
- [21] . 2015. A framework for mining hybrid automata from input/output traces. In Proceedings of the International Conference on Embedded Software (EMSOFT’15). IEEE, 177–186.Google Scholar
Cross Ref
- [22] . 2020. Weighted automata extraction from recurrent neural networks via regression on state spaces. In Proceedings of the AAAI Conference on Artificial Intelligence, Vol. 34. 5306–5314.Google Scholar
Cross Ref
- [23] . 2016. A new kernel-based approach to hybrid system identification. Automatica 70 (2016), 21–31.Google Scholar
Digital Library
- [24] . 2008. Hybrid test of web applications with webtest. In Proceedings of the Workshop on Testing, Analysis, and Verification of Web Services and Applications. 1–7.Google Scholar
Digital Library
- [25] . 2008. Dynamic time warping algorithm review. Information and Computer Science Department, University of Hawaii at Manoa Honolulu.Google Scholar
- [26] . 2019. Membership-based synthesis of linear hybrid automata. In Proceedings of the International Conference on Computer Aided Verification. Springer, 297–314.Google Scholar
Cross Ref
- [27] . 2020. Selective review of offline change point detection methods. Signal Process. 167 (2020), 107299.Google Scholar
Digital Library
- [28] . 2018. Extracting automata from recurrent neural networks using queries and counterexamples. In Proceedings of the International Conference on Machine Learning. PMLR, 5247–5256.Google Scholar
- [29] . 2021. Temporal logic specification mining of programs. Theor. Comput. Sci. 857 (2021), 29–42.Google Scholar
Cross Ref
Index Terms
A Passive Online Technique for Learning Hybrid Automata from Input/Output Traces
Recommendations
Interrupt Timed Automata: verification and expressiveness
We introduce the class of Interrupt Timed Automata (ITA), a subclass of hybrid automata well suited to the description of timed multi-task systems with interruptions in a single processor environment.
While the reachability problem is undecidable for ...
Learning Moore machines from input–output traces
AbstractThe problem of learning automata from example traces (but no equivalence or membership queries) is fundamental in automata learning theory and practice. In this paper, we study this problem for finite-state machines with inputs and outputs, and in ...
What's decidable about recursive hybrid automata?
HSCC '15: Proceedings of the 18th International Conference on Hybrid Systems: Computation and ControlRecursive hybrid automata generalize recursive state machines in a similar way as hybrid automata generalize state machines. Recursive hybrid automata can be considered as collection of classical hybrid automata with special states that correspond to ...






Comments