Skip to main content

Optimized Smart Sampling

  • Conference paper
  • First Online:
Bridging the Gap Between AI and Reality (AISoLA 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14380))

Included in the following conference series:

  • 511 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    See https://www.prismmodelchecker.org/download.php for a description.

References

  1. Á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

    Chapter  Google Scholar 

  2. 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

  3. Atlidakis, V., Godefroid, P., Polishchuk, M.: RESTler: stateful REST API fuzzing. In: ICSE. IEEE/ACM, pp. 748–758 (2019)

    Google Scholar 

  4. 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

  5. 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

  6. 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

    Article  Google Scholar 

  7. Caillaud, B., et al.: Constraint Markov Chains. Theor. Comput. Sci. 412(34), 4373–4404 (2011)

    Google Scholar 

  8. Clarke, E.M., et al.: Model checking, 2nd Edition. MIT Press (2018)

    Google Scholar 

  9. Colombo, A., et al.: Efficient customisable dynamic motion planning for assistive robots in complex human environments. JAISE 7(5), 617–634 (2015)

    Google Scholar 

  10. 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

    Article  Google Scholar 

  11. Dagum, P., et al.: An optimal algorithm for monte Carlo estimation. SIAM J. Comput. 29, 1484–1496 (2000)

    Article  MathSciNet  Google Scholar 

  12. 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

  13. 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

  14. 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

    Chapter  Google Scholar 

  15. Godefroid, P.: Fuzzing: hack, art, and science. Commun. ACM 63(2), 70–76 (2020)

    Google Scholar 

  16. 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

    Chapter  Google Scholar 

  17. 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

    Chapter  Google Scholar 

  18. Kwiatkowska, M., Norman, G., Parker, D.: Analysis of a Gossip Protocol in PRISM. ACM SIGMETRICS Perform. Eval. 36(3), 17–22 (2008)

    Google Scholar 

  19. 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

    Chapter  Google Scholar 

  20. 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

    Chapter  Google Scholar 

  21. Lanet, J.-L., et al.: When time meets test. Int. J. Inf. Sec. 17(4), 395–409 (2018)

    Google Scholar 

  22. 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

    Chapter  Google Scholar 

  23. Legay, A., Sedwards, S., Traonouez, L.: Estimating rewards & rare events in nondeterministic systems. In: ECEASST, vol. 72 (2015)

    Google Scholar 

  24. 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

    Chapter  Google Scholar 

  25. 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

    Chapter  Google Scholar 

  26. Lin, Y., et al.: Test coverage optimization for large code problems. J. Syst. Softw. 85(1), 16–27 (2012)

    Google Scholar 

  27. Mnih, V., Szepesvari, C., Audibert, J.Y.: Empirical Bernstein stopping. In: Proceedings of the International Conference on Machine Learning, pp. 672–679 (2008)

    Google Scholar 

  28. 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

  29. 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)

    Google Scholar 

  30. Vardi, M.Y.: Automatic verification of probabilistic concurrent finite-state programs. In: FOCS. IEEE Computer Society, pp. 327–338 (1985)

    Google Scholar 

  31. Younes, H.S., Simmons, R.G.: Statistical probabilistic model checking with a focus on time-bounded properties. Inf. Comput. 204, 1368–1409 (2006)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Maxime Parmentier .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics