Learning deterministic probabilistic automata from a model checking perspective

Probabilistic automata models play an important role in the formal design and analysis of hard- and software systems. In this area of applications, one is often interested in formal model-checking procedures for verifying critical system properties. Since adequate system models are often difficult to design manually, we are interested in learning models from observed system behaviors. To this end we adopt techniques for learning finite probabilistic automata, notably the Alergia algorithm. In this paper we show how to extend the basic algorithm to also learn automata models for both reactive and timed systems. A key question of our investigation is to what extent one can expect a learned model to be a good approximation for the kind of probabilistic properties one wants to verify by model checking. We establish theoretical convergence properties for the learning algorithm as well as for probability estimates of system properties expressed in linear time temporal logic and linear continuous stochastic logic. We empirically compare the learning algorithm with statistical model checking and demonstrate the feasibility of the approach for practical system verification.

[1]  José Oncina,et al.  Learning deterministic regular grammars from stochastic samples in polynomial time , 1999, RAIRO Theor. Informatics Appl..

[2]  Edmund M. Clarke,et al.  Learning Probabilistic Systems from Tree Samples , 2012, 2012 27th Annual IEEE Symposium on Logic in Computer Science.

[3]  Enrique Vidal,et al.  Learning Subsequential Transducers for Pattern Recognition Interpretation Tasks , 1993, IEEE Trans. Pattern Anal. Mach. Intell..

[4]  Benedikt Bollig,et al.  Learning Communicating Automata from MSCs , 2010, IEEE Transactions on Software Engineering.

[5]  Christel Baier,et al.  Model-Checking Algorithms for Continuous-Time Markov Chains , 2002, IEEE Trans. Software Eng..

[6]  Mihalis Yannakakis,et al.  The complexity of probabilistic verification , 1995, JACM.

[7]  James Worrell,et al.  A behavioural pseudometric for probabilistic transition systems , 2005, Theor. Comput. Sci..

[8]  Frits W. Vaandrager,et al.  Learning I/O Automata , 2010, CONCUR.

[9]  José Oncina,et al.  Learning Stochastic Regular Grammars by Means of a State Merging Method , 1994, ICGI.

[10]  D. N. Jansen Probabilistic UML statecharts for specification and verification: a case study , 2002 .

[11]  Dana Ron,et al.  On the learnability and usage of acyclic probabilistic finite automata , 1995, COLT '95.

[12]  Kim G. Larsen,et al.  From Timed Automata to Logic - and Back , 1995, MFCS.

[13]  Alexander Clark,et al.  PAC-learnability of Probabilistic Deterministic Finite State Automata , 2004, J. Mach. Learn. Res..

[14]  Kim G. Larsen,et al.  Learning Probabilistic Automata for Model Checking , 2011, 2011 Eighth International Conference on Quantitative Evaluation of SysTems.

[15]  Mahesh Viswanathan,et al.  Statistical Model Checking of Black-Box Probabilistic Systems , 2004, CAV.

[16]  Mahesh Viswanathan,et al.  Learning continuous time Markov chains from sample executions , 2004, First International Conference on the Quantitative Evaluation of Systems, 2004. QEST 2004. Proceedings..

[17]  Christel Baier,et al.  Principles of model checking , 2008 .

[18]  Wang Yi,et al.  Developing UPPAAL over 15 years , 2011, Softw. Pract. Exp..

[19]  Bengt Jonsson,et al.  Inference of Timed Transition Systems , 2004, INFINITY.

[20]  Lu Feng,et al.  Learning-Based Compositional Verification for Synchronous Probabilistic Systems , 2011, ATVA.

[21]  Joost-Pieter Katoen,et al.  On the use of model checking techniques for dependability evaluation , 2000, Proceedings 19th IEEE Symposium on Reliable Distributed Systems SRDS-2000.

[22]  Joost-Pieter Katoen,et al.  Quantitative Model Checking of Continuous-Time Markov Chains Against Timed Automata Specifications , 2009, 2009 24th Annual IEEE Symposium on Logic In Computer Science.

[23]  Thomas Hérault,et al.  Approximate Probabilistic Model Checking , 2004, VMCAI.

[24]  Dana Angluin,et al.  Learning Regular Sets from Queries and Counterexamples , 1987, Inf. Comput..

[25]  Corina S. Pasareanu,et al.  Learning Assumptions for Compositional Verification , 2003, TACAS.

[26]  Wen-Guey Tzeng,et al.  Learning Probabilistic Automata and Markov Chains via Queries , 1992, Machine Learning.

[27]  Colin de la Higuera,et al.  Grammatical Inference: Learning Automata and Grammars , 2010 .

[28]  Moshe Y. Vardi Automatic verification of probabilistic concurrent finite state programs , 1985, 26th Annual Symposium on Foundations of Computer Science (sfcs 1985).

[29]  Kim G. Larsen,et al.  Model Checking One-clock Priced Timed Automata , 2007, Log. Methods Comput. Sci..

[30]  Sicco Verwer Efficient Identification of Timed Automata: Theory and practice , 2010 .

[31]  Oliver Niese,et al.  An integrated approach to testing complex systems , 2003 .

[32]  Corina S. Pasareanu,et al.  Learning-Based Assume-Guarantee Verification (Tool Paper) , 2005, SPIN.

[33]  Éric Tanter,et al.  Supporting dynamic crosscutting with partial behavioral reflection: a case study , 2004, XXIV International Conference of the Chilean Computer Science Society.

[34]  David R. Cox,et al.  SOME SIMPLE APPROXIMATE TESTS FOR POISSON VARIATES , 1953 .

[35]  Christel Baier,et al.  Probabilistic ω-automata , 2012, JACM.

[36]  Axel Legay,et al.  Statistical Model Checking: An Overview , 2010, RV.

[37]  Edmund A. Gehan,et al.  The performance of some two-sample tests in small samples with and without censoring , 1969 .

[38]  Kim G. Larsen,et al.  Quantitative analysis of real-time systems using priced timed automata , 2011, Commun. ACM.

[39]  Dana Ron,et al.  The power of amnesia: Learning probabilistic automata with variable memory length , 1996, Machine Learning.

[40]  Rishabh Singh,et al.  Learning Component Interfaces with May and Must Abstractions , 2010, CAV.

[41]  Azaria Paz,et al.  Probabilistic automata , 2003 .

[42]  Kim G. Larsen,et al.  Continuity Properties of Distances for Markov Processes , 2014, QEST.

[43]  Colin de la Higuera,et al.  Learning Stochastic Finite Automata , 2004, ICGI.

[44]  Colin de la Higuera,et al.  Probabilistic DFA Inference using Kullback-Leibler Divergence and Minimality , 2000, ICML.

[45]  Martin Leucker,et al.  Learning Meets Verification , 2006, FMCO.

[46]  Harald Raffelt,et al.  LearnLib: a library for automata learning and experimentation , 2005, FMICS '05.

[47]  Kim G. Larsen,et al.  Learning Markov Decision Processes for Model Checking , 2012, QFM.

[48]  Radha Jagadeesan,et al.  Metrics for Labeled Markov Systems , 1999, CONCUR.

[49]  Jan Maluszy¿ski Verification, Model Checking, and Abstract Interpretation , 2009, Lecture Notes in Computer Science.

[50]  Bengt Jonsson,et al.  Inference of Event-Recording Automata Using Timed Decision Trees , 2006, CONCUR.

[51]  James R. Larus,et al.  Mining specifications , 2002, POPL '02.

[52]  Yingke Chen,et al.  Active Learning of Markov Decision Processes for System Verification , 2012, 2012 11th International Conference on Machine Learning and Applications.

[53]  Marta Z. Kwiatkowska,et al.  PRISM 4.0: Verification of Probabilistic Real-Time Systems , 2011, CAV.

[54]  Fred Kröger,et al.  Temporal Logic of Programs , 1987, EATCS Monographs on Theoretical Computer Science.

[55]  Kim G. Larsen,et al.  Learning Markov Models for Stationary System Behaviors , 2012, NASA Formal Methods.

[56]  Colin de la Higuera,et al.  Identification in the Limit with Probability One of Stochastic Deterministic Finite Automata , 2000, ICGI.

[57]  Ricard Gavaldà,et al.  Towards Feasible PAC-Learning of Probabilistic Deterministic Finite Automata , 2008, ICGI.

[58]  Roberto Segala,et al.  Modeling and verification of randomized distributed real-time systems , 1996 .

[59]  Manfred Jaeger,et al.  Learning and Model-Checking Networks of I/O Automata , 2012, ACML.

[60]  Moshe Y. Vardi Probabilistic Linear-Time Model Checking: An Overview of the Automata-Theoretic Approach , 1999, ARTS.