Abstract
We revisit the principle of Smart Sampling which makes it possible to apply Statistical Model Checking on stochastic and non-deterministic systems. We point out difficulties in the design of the initial algorithm and we propose effective solutions to solve them. Our contributions are implemented in the Plasma tool.
M. Parmentier is funded by a FNRS PhD Grant and A. Legay by a FNRS PDR - T013721.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
See https://www.prismmodelchecker.org/download.php for a description.
References
Ábrahám, E., Bartocci, E., Bonakdarpour, B., Dobe, O.: Probabilistic Hyperproperties with Nondeterminism. In: Hung, D.V., Sokolsky, O. (eds.) ATVA 2020. LNCS, vol. 12302, pp. 518–534. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-59152-6_29
Arora, S., et al.: Statistical model checking for probabilistic hyperproperties of real-valued signals. In: Legunsen, O., Rosu, G. (eds.) Model Checking Software. SPIN 2022. LNCS, vol. 13255. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-15077-7_4
Atlidakis, V., Godefroid, P., Polishchuk, M.: RESTler: stateful REST API fuzzing. In: ICSE. IEEE/ACM, pp. 748–758 (2019)
Baranov, et al.: A secure user-centred healthcare system: design and verification. In: Bowles, J., Broccia, G., Pellungrini, R. (eds.) From Data to Models and Back. DataMod 2021. LNCS, vol. 13268. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-16011-0_4
Basile, D., et al.: Exploring the ERTMS/ETCS full moving block specification: an experience with formal methods. Int. Softw. Tools Technol. Transfer 24, 351–370 (2022). https://doi.org/10.1007/s10009-022-00653-3
Budde, C.E., D’Argenio, P.R., Hartmanns, A., Sedwards, S.: An efficient statistical model checker for nondeterminism and rare events. Int. J. Softw. Tools Technol. Transfer 22(6), 759–780 (2020). https://doi.org/10.1007/s10009-020-00563-2
Caillaud, B., et al.: Constraint Markov Chains. Theor. Comput. Sci. 412(34), 4373–4404 (2011)
Clarke, E.M., et al.: Model checking, 2nd Edition. MIT Press (2018)
Colombo, A., et al.: Efficient customisable dynamic motion planning for assistive robots in complex human environments. JAISE 7(5), 617–634 (2015)
D’Argenio, P., Legay, A., Sedwards, S., Traonouez, L.-M.: Smart sampling for lightweight verification of Markov decision processes. Int. J. Softw. Tools Technol. Transfer 17(4), 469–484 (2015). https://doi.org/10.1007/s10009-015-0383-0
Dagum, P., et al.: An optimal algorithm for monte Carlo estimation. SIAM J. Comput. 29, 1484–1496 (2000)
Domingo, C., Gavalda, R., Watanabe, O.: Adaptive sampling methods for scaling up knowledge discovery algorithms. Data Min. Knowl. Discov. 6, 131–152 (2002). https://doi.org/10.1023/A:1014091514039
Dupont, S., et al.: Product incremental security risk assessment using DevSecOps practices. In: Katsikas, S., et al. (ed.) Computer Security. ESORICS 2022 International Workshops. ESORICS 2022. LNCS, vol. 13785. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-25460-4_38
Gadyatskaya, O., Hansen, R.R., Larsen, K.G., Legay, A., Olesen, M.C., Poulsen, D.B.: Modelling attack-defense trees using timed automata. In: Fränzle, M., Markey, N. (eds.) FORMATS 2016. LNCS, vol. 9884, pp. 35–50. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44878-7_3
Godefroid, P.: Fuzzing: hack, art, and science. Commun. ACM 63(2), 70–76 (2020)
Jaeger, M., Jensen, P.G., Guldstrand Larsen, K., Legay, A., Sedwards, S., Taankvist, J.H.: Teaching stratego to play ball: optimal synthesis for continuous space MDPs. In: Chen, Y.-F., Cheng, C.-H., Esparza, J. (eds.) ATVA 2019. LNCS, vol. 11781, pp. 81–97. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-31784-3_5
Jegourel, C., Legay, A., Sedwards, S.: Importance splitting for statistical model checking rare properties. In: Sharygina, N., Veith, H. (eds.) CAV 2013. LNCS, vol. 8044, pp. 576–591. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-39799-8_38
Kwiatkowska, M., Norman, G., Parker, D.: Analysis of a Gossip Protocol in PRISM. ACM SIGMETRICS Perform. Eval. 36(3), 17–22 (2008)
Kwiatkowska, M., Norman, G., Sproston, J.: Probabilistic model checking of the IEEE 802.11 wireless local area network protocol. In: Hermanns, H., Segala, R. (eds.) PAPM-PROBMIV 2002. LNCS, vol. 2399, pp. 169–187. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-45605-8_11
Kwiatkowska, M., Norman, G., Parker, D.: PRISM 4.0: verification of probabilistic real-time systems. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 585–591. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22110-1_47
Lanet, J.-L., et al.: When time meets test. Int. J. Inf. Sec. 17(4), 395–409 (2018)
Larsen, K.G., Legay, A.: 30 years of statistical model checking. In: Margaria, T., Steffen, B. (eds.) ISoLA 2020. LNCS, vol. 12476, pp. 325–330. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-61362-4_18
Legay, A., Sedwards, S., Traonouez, L.: Estimating rewards & rare events in nondeterministic systems. In: ECEASST, vol. 72 (2015)
Legay, A., Sedwards, S., Traonouez, L.-M.: Plasma lab: a modular statistical model checking platform. In: Margaria, T., Steffen, B. (eds.) ISoLA 2016. LNCS, vol. 9952, pp. 77–93. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47166-2_6
Legay, A., Lukina, A., Traonouez, L.M., Yang, J., Smolka, S.A., Grosu, R.: Statistical model checking. In: Steffen, B., Woeginger, G. (eds.) Computing and Software Science. LNCS, vol. 10000, pp. 478–504. Springer, Cham (2019). https://doi.org/10.1007/978-3-319-91908-9_23
Lin, Y., et al.: Test coverage optimization for large code problems. J. Syst. Softw. 85(1), 16–27 (2012)
Mnih, V., Szepesvari, C., Audibert, J.Y.: Empirical Bernstein stopping. In: Proceedings of the International Conference on Machine Learning, pp. 672–679 (2008)
Okamoto, M.: Some inequalities relating to the partial sum of binomial probabilities. Ann. Inst. Stat. Math. 10, 29–35 (1959). https://doi.org/10.1007/BF02883985
Paigwar, A., et al.: probabilistic collision risk estimation for autonomous driving: validation via statistical model checking. In: 2020 IEEE Intelligent Vehicles Symposium (IV). IEEE (2020)
Vardi, M.Y.: Automatic verification of probabilistic concurrent finite-state programs. In: FOCS. IEEE Computer Society, pp. 327–338 (1985)
Younes, H.S., Simmons, R.G.: Statistical probabilistic model checking with a focus on time-bounded properties. Inf. Comput. 204, 1368–1409 (2006)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Parmentier, M., Legay, A., Chenoy, F. (2024). Optimized Smart Sampling. In: Steffen, B. (eds) Bridging the Gap Between AI and Reality. AISoLA 2023. Lecture Notes in Computer Science, vol 14380. Springer, Cham. https://doi.org/10.1007/978-3-031-46002-9_10
Download citation
DOI: https://doi.org/10.1007/978-3-031-46002-9_10
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-46001-2
Online ISBN: 978-3-031-46002-9
eBook Packages: Computer ScienceComputer Science (R0)