Skip to main content
Top

2019 | OriginalPaper | Chapter

Accelerated Learning of Predictive Runtime Monitors for Rare Failure

Authors : Reza Babaee, Vijay Ganesh, Sean Sedwards

Published in: Runtime Verification

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Predictive runtime verification estimates the probability of a future event by monitoring the executions of a system. In this paper we use Discrete-Time Markov Chains (DTMC) as predictive models that are trained from many execution samples demonstrating a rare event: an event that occurs with very low probability. More specifically, we propose a method of grammar inference by which a DTMC is learned with far fewer samples than normal sample distribution. We exploit the concept of importance sampling, and use a mixture of samples, generated from the original system distribution and distributions that are suitably modified to produce more failures. Using the likelihood ratios of the various samples, we ensure the final trained model is faithful to the original distribution. In this way we construct accurate predictive models with orders of magnitude fewer samples. We demonstrate the gains of our approach on a file transmission protocol case study from the literature, and highlight future directions.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
1.
go back to reference Angluin, D.: Identifying languages from stochastic examples. Technical report YALEU/ DCS/RR-614, Yale University, Department of Computer Science, New Haven, CT (1988) Angluin, D.: Identifying languages from stochastic examples. Technical report YALEU/ DCS/RR-614, Yale University, Department of Computer Science, New Haven, CT (1988)
3.
go back to reference Babaee, R., Gurfinkel, A., Fischmeister, S.: Predictive run-time verification of discrete-time reachability properties in black-box systems using trace-level abstraction and statistical learning. In: Colombo, C., Leucker, M. (eds.) RV 2018. LNCS, vol. 11237, pp. 187–204. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-03769-7_11CrossRef Babaee, R., Gurfinkel, A., Fischmeister, S.: Predictive run-time verification of discrete-time reachability properties in black-box systems using trace-level abstraction and statistical learning. In: Colombo, C., Leucker, M. (eds.) RV 2018. LNCS, vol. 11237, pp. 187–204. Springer, Cham (2018). https://​doi.​org/​10.​1007/​978-3-030-03769-7_​11CrossRef
6.
go back to reference Bauer, A., Leucker, M., Schallhart, C.: Comparing LTL semantics for runtime verification. J. Log. Comput. 20(3), 651–674 (2010)MathSciNetCrossRef Bauer, A., Leucker, M., Schallhart, C.: Comparing LTL semantics for runtime verification. J. Log. Comput. 20(3), 651–674 (2010)MathSciNetCrossRef
12.
go back to reference De la Higuera, C.: Grammatical Inference: Learning Automata and Grammars. Cambridge University Press, Cambridge (2010)CrossRef De la Higuera, C.: Grammatical Inference: Learning Automata and Grammars. Cambridge University Press, Cambridge (2010)CrossRef
13.
go back to reference Hoeffding, W.: Probability inequalities for sums of bounded random variables. J. Am. Stat. Assoc. 58(301), 13–30 (1963)MathSciNetCrossRef Hoeffding, W.: Probability inequalities for sums of bounded random variables. J. Am. Stat. Assoc. 58(301), 13–30 (1963)MathSciNetCrossRef
18.
go back to reference Jegourel, C., Legay, A., Sedwards, S.: Command-based importance sampling for statistical model checking. Theoret. Comput. Sci. 649, 1–24 (2016)MathSciNetCrossRef Jegourel, C., Legay, A., Sedwards, S.: Command-based importance sampling for statistical model checking. Theoret. Comput. Sci. 649, 1–24 (2016)MathSciNetCrossRef
19.
22.
go back to reference Leucker, M., Schallhart, C.: A brief account of runtime verification. J. Logic Algebraic Program. 78(5), 293–303 (2009)CrossRef Leucker, M., Schallhart, C.: A brief account of runtime verification. J. Logic Algebraic Program. 78(5), 293–303 (2009)CrossRef
24.
go back to reference Mao, H., et al.: Learning probabilistic automata for model checking. In: Proceedings of the 8th International Conference on Quantitative Evaluation of SysTems (QEST), pp. 111–120. IEEE, September 2011 Mao, H., et al.: Learning probabilistic automata for model checking. In: Proceedings of the 8th International Conference on Quantitative Evaluation of SysTems (QEST), pp. 111–120. IEEE, September 2011
26.
go back to reference Peshkin, L., Meuleau, N., Kaelbling, L.P.: Learning policies with external memory. In: Proceedings of the 16th International Conference on Machine Learning (ICML). pp. 307–314. Morgan Kaufmann (1999) Peshkin, L., Meuleau, N., Kaelbling, L.P.: Learning policies with external memory. In: Proceedings of the 16th International Conference on Machine Learning (ICML). pp. 307–314. Morgan Kaufmann (1999)
27.
go back to reference Peshkin, L., Shelton, C.R.: Learning from scarce experience. In: Proceedings of the 19th International Conference on Machine Learning (ICML), pp. 498–505. Morgan Kaufmann (2002) Peshkin, L., Shelton, C.R.: Learning from scarce experience. In: Proceedings of the 19th International Conference on Machine Learning (ICML), pp. 498–505. Morgan Kaufmann (2002)
28.
go back to reference Precup, D., Sutton, R.S., Dasgupta, S.: Off-policy temporal difference learning with function approximation. In: Proceedings of the 18th International Conference on Machine Learning (ICML), pp. 417–424. Morgan Kaufmann (2001) Precup, D., Sutton, R.S., Dasgupta, S.: Off-policy temporal difference learning with function approximation. In: Proceedings of the 18th International Conference on Machine Learning (ICML), pp. 417–424. Morgan Kaufmann (2001)
29.
go back to reference Rubino, G., Tuffin, B.: Rare Event Simulation Using Monte Carlo Methods. Wiley, Hoboken (2009)CrossRef Rubino, G., Tuffin, B.: Rare Event Simulation Using Monte Carlo Methods. Wiley, Hoboken (2009)CrossRef
30.
go back to reference Rubinstein, R.Y., Kroese, D.P.: Simulation and the Monte Carlo Method, 2nd edn. Wiley, Hoboken (2007)CrossRef Rubinstein, R.Y., Kroese, D.P.: Simulation and the Monte Carlo Method, 2nd edn. Wiley, Hoboken (2007)CrossRef
31.
go back to reference Russell, S.J., Norvig, P.: Artificial Intelligence - A Modern Approach (3. internat. ed.). Pearson Education, London (2010) Russell, S.J., Norvig, P.: Artificial Intelligence - A Modern Approach (3. internat. ed.). Pearson Education, London (2010)
32.
go back to reference Shelton, C.R.: Importance sampling for reinforcement learning with multiple objectives. Ph.D. thesis, Massachusetts Institute of Technology, Cambridge, MA, USA (2001) Shelton, C.R.: Importance sampling for reinforcement learning with multiple objectives. Ph.D. thesis, Massachusetts Institute of Technology, Cambridge, MA, USA (2001)
34.
go back to reference Weiss, G.M., Hirsh, H.: Learning to predict rare events in event sequences. In: Proceedings of the 4th International Conference on Knowledge Discovery and Data Mining (KDD-98), pp. 359–363. AAAI Press (1998) Weiss, G.M., Hirsh, H.: Learning to predict rare events in event sequences. In: Proceedings of the 4th International Conference on Knowledge Discovery and Data Mining (KDD-98), pp. 359–363. AAAI Press (1998)
35.
go back to reference Zuliani, P., Baier, C., Clarke, E.M.: Rare-event verification for stochastic hybrid systems. In: Hybrid Systems: Computation and Control (HSCC), pp. 217–226. ACM (2012) Zuliani, P., Baier, C., Clarke, E.M.: Rare-event verification for stochastic hybrid systems. In: Hybrid Systems: Computation and Control (HSCC), pp. 217–226. ACM (2012)
Metadata
Title
Accelerated Learning of Predictive Runtime Monitors for Rare Failure
Authors
Reza Babaee
Vijay Ganesh
Sean Sedwards
Copyright Year
2019
DOI
https://doi.org/10.1007/978-3-030-32079-9_7

Premium Partner