Skip to main content
Log in

Statistical model checking for stochastic hybrid systems involving nondeterminism over continuous domains

  • SMC
  • Published:
International Journal on Software Tools for Technology Transfer Aims and scope Submit manuscript

Abstract

Behavioral verification of technical systems involving both discrete and continuous components is a common and demanding task. The behavior of such systems can often be characterized using stochastic hybrid automata, leading to verification problems which can be formalized and solved using stochastic logic calculi such as stochastic satisfiability modulo theory (SSMT). While algorithms for discharging proof obligations in SSMT form exist, their applicability is limited due to the computational complexity, which often increases exponentially with the number of quantified variables. Recently, statistical model checking has been successfully applied to stochastic hybrid systems, thereby increasing the size of the system for which verification problems is tractable. However, being based on randomized simulation, these methods usually cannot handle non-determinism. In previous work, we have deviated from the usual approach of simulating the model and rather proposed a statistical method for SSMT solving which, being based on statistical AI planning algorithms, can also treat non-determinism over a finite domain. Here, we extend this previous work to the case of continuous domains. In particular, using ideas from noisy optimization, we adaptively build up a decision tree recording the findings and guiding further exploration, thereby favoring the currently most promising sub-domain. The non-determinism is resolved by translating the satisfaction problem into an optimization problem, thereby computing both optimistic and pessimistic bounds on the probability of satisfaction. At each stage of the evaluation process, we show how to obtain confidence statements about the probability of satisfaction for the overall SSMT formula, including reliable estimates on the optimal resolution of any non-deterministic choice involved.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Notes

  1. In fact, the distribution is not required to allow a representation with a density function. However, as we will assume the existence of such a function later, we assume it here for the sake of simplicity.

  2. Those variables which are mentioned within the quantifier prefix before the current variable.

References

  1. Groote, J.F., van Vlijmen, Sebastiaan F.M., Koorn, Jan W.C.: The safety guaranteeing system at station hoorn-kersenboogerd. In: Proceedings of the Tenth Annual Conference on Computer Assurance (COMPASS), IEEE, pp 57–68 (1995)

  2. Audemard, G., Bozzano, M., Cimatti, A., Sebastiani, R.: Verifying industrial hybrid systems with mathsat. Electron Notes Theor Comput Sci 119(2), 17–32 (2005)

    Article  Google Scholar 

  3. Sproston, J.: Model checking for probabilistic timed and hybrid systems. Ph.D. thesis, School of Computer Science, The University of Birmingham (2001)

  4. Fränzle, M., Hermanns, H., Teige, T.: Stochastic satisfiability modulo theory: a novel technique for the analysis of probabilistic hybrid systems. In: Egerstedt, M., Mishra, B. (eds.) Hybrid Systems: Computation and Control. Lecture Notes in Computer Science, vol. 4981, pp. 172–186. Springer, Berlin, Heidelberg (2008)

  5. Littman, M.L., Majercik, S.M., Pitassi, T.: Stochastic boolean satisfiability. J. Autom. Reason. 27(3), 251–296 (2001)

    Article  MathSciNet  Google Scholar 

  6. Teige, T., Eggers, A., Fränzle, M.: Constraint-based analysis of concurrent probabilistic hybrid systems: an application to networked automation systems. Nonlinear Anal. Hybrid Syst. 5(2), 343–366 (2011)

    Article  MathSciNet  Google Scholar 

  7. Ellen, C., Gerwinn, S., Fränzle, M.: Confidence bounds for statistical model checking of probabilistic hybrid systems. In: Proceedings of Formal Modeling and Analysis of Timed Systems, Springer, Heidelberg, pp. 123–138 (2012)

  8. Kocsis, L., Szepesvári, C.: Bandit based monte-carlo planning. In: Proceedings of Machine Learning: ECML, Springer, Berlin, Heidelberg, pp. 282–293 (2006)

  9. Blom, H.A.P., Lygeros, J., (eds.): Stochastic Hybrid Systems: Theory and Safety Critical Applications, vol. 337. Springer, Heidelberg (2006)

  10. Bubeck, S., Munos, R., Stoltz, G., Szepesvari, C.: X-armed bandits. J. Mach. Learn. Res. 12, 1655–1695 (2011)

    MathSciNet  Google Scholar 

  11. Fränzle, M., Herde, C.: HySAT: an efficient proof engine for bounded model checking of hybrid systems. Form. Methods Syst. Des. 30(3), 179–198 (2007)

    Article  Google Scholar 

  12. Fränzle, M., Hahn, E.M., Hermanns, H., Wolovick, N., Zhang, L.: Measurability and safety verification for stochastic hybrid systems. In: Caccamo, M., Frazzoli, E., Grosu, R. (eds.) HSCC, ACM, pp 43–52 (2011)

  13. Larsen, K.G., Skou, A.: Bisimulation through probabilistic testing. Inf. Comput. 94(1), 1–28 (1991)

    Article  MathSciNet  Google Scholar 

  14. Sen, K., Viswanathan, M., Agha, G.: Statistical model checking of black-box probabilistic systems. In: Alur, R., Peled, D. (eds) Computer Aided Verification, Lecture Notes in Computer Science, vol. 3114. Springer, Berlin, Heidelberg, pp. 399–401 (2004)

  15. Younes, H.L.S.: Ymer: a statistical model checker. In: Etessami, K., Rajamani, S. (eds.) Computer Aided Verification, Lecture Notes in Computer Science. vol. 3576. Springer, Berlin, Heidelberg, pp 171–179 (2005)

  16. David, A., Larsen, K., Legay, A., Mikučionis, M., Poulsen, D., van Vliet, J., Wang, Z.: Statistical model checking for networks of priced timed automata. In: Fahrenberg, U., Tripakis, S. (eds.) Formal Modeling and Analysis of Timed Systems. Lecture Notes in Computer Science, vol. 6919. Springer, Berlin, Heidelberg, pp. 80–96, (2011)

  17. Zuliani, P., Platzer, A., Clarke, E.M.: Bayesian statistical model checking with application to stateflow/simulink verification. In: Johansson, K.H., Wang Y. (eds.) Proceedings of the 13th ACM International Conference on Hybrid Systems: Computation and Control, ACM, Stockholm, Sweden, pp. 243–252 (2010)

  18. Henriques, D., Martins, J.G., Zuliani, P., Platzer, A., Clarke, E.M.: Statistical model checking for markov decision processes. In: Proceedings of Quantitative Evaluation of Systems (QEST), 2012 Ninth International Conference on IEEE, pp. 84–93, (2012)

  19. Fränzle, M., Herde, C., Teige, T., Ratschan, S., Schubert, T.: Efficient solving of large non-linear arithmetic constraint systems with complex boolean structure. J. Satisf. Boolean Model. Comput. 1(3–4), 209–236 (2007)

  20. Auer, P., Cesa-Bianchi, N., Fischer, P.: Finite-time analysis of the multiarmed bandit problem. Mach. Learn. 47(2), 235–256 (2002)

    Article  Google Scholar 

  21. Hoeffding, W.: Probability inequalities for sums of bounded random variables. J. Am. Stat. Assoc. 58(301), 13–30 (1963)

  22. Audibert, J.-Y., Bubeck, S., Munos R.: Bandit view on noisy optimization. In: Prfoceedings of Optimization for Machine Learning, MIT Press, pp 1–23 (2011)

  23. Maron, O., Moore, A.W.: Hoeffding races: accelerating model selection search for classification and function approximation. In: Cowan, J.D., Tesauro, G., Alspector, J. (eds.) Advances in Neural Information Processing Systems 6. Morgan-Kaufmann, Burlington, MA, pp. 59–66 (1994)

  24. Abate, A., D’Innocenzo, A., Di Benedetto, M.D.: Approximate abstractions of stochastic hybrid systems. Autom. Control IEEE Trans. 56(11), 2688–2694 (2011)

    Article  Google Scholar 

  25. Hahn, E.M..: Model checking stochastic hybrid systems. dissertation, Universität des Saarlandes (2013)

Download references

Acknowledgments

The research leading to these results has received funding from the ARTEMIS Joint Undertaking under Grant Agreement No. 332830 (CRYSTAL) and German national funding from BMBF No. 01IS13001A, from the EU within the FP7 STREP “Modelling, verification and control of complex systems: From foundations to power network applications (MoVeS)”, and by Deutsche Forschungsgemeinschaft DFG through the Transregional Coordinate Research Action SFB/TR 14 AVACS. In addition, we would like to thank DENSO Automotive Deutschland GmbH and DENSO Corp. for kindly providing the path planning use case. In particular, we would like to thank M. Toyoshima, M. Adachi and B. Böddeker for many fruitful discussions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Christian Ellen.

Appendix: Proof of lemmas

Appendix: Proof of lemmas

1.1 Proof of Lemma 1

Proof

We only consider the upper bound, the argument for the lower bound is analogous. We first consider the case of an existential or universal quantifier. Within the construction of the empirical means, we used interval arithmetic to obtain the maximum and minimum over the whole domain \(\mathcal {P}^j_{h,i},\mathcal {P}_{\searrow j}\) for each individual sample [see Eq. (20a)]. That is the empirical mean can be written as:

$$\begin{aligned} \overline{\mu }_{h,i}^j = \frac{1}{T_{h,i}}\sum \max _{\mathcal {P}^j_{h,i},\mathcal {P}_{\searrow j}} \phi (x_j,x_{\searrow j}) \end{aligned}$$

Therefore, setting \(\epsilon :=|\phi ^s_{j+1}(\mathcal {P}_{h,i}^j,\mathcal {P}_{-j})|\sqrt{-\frac{\log (\delta )}{2T_{h,i}^j}}\) and by applying Jensen’s inequality (as the maximum is a convex operation), we have:

$$\begin{aligned}&P\left( \overline{\mu }_{h,i}^j + \epsilon > \max _{\mathcal {P}^j_{h,i},\mathcal {P}_{\searrow {j}}} \mathbb {E}[\phi _{j+1}(x_1,\dots ,x_n)] \right) \\&\quad \ge P\left( \overline{\mu }_{h,i}^j + \epsilon > \mathbb {E}\left[ \max _{\mathcal {P}^j_{h,i},\mathcal {P}_{\searrow {j}}} \phi _{j+1}(x_1,\dots ,x_n)\right] \right) \\&\quad \ge 1-\delta \end{aligned}$$

where the last inequality is a result of applying Hoeffding’s inequality to the modified random variable \(Z: = \max _{\mathcal {P}^j_{h,i},\mathcal {P}_{\searrow {j}}}\phi (x_1,\dots ,x_n)\).\(\square \)

1.2 Proof of Lemma 2

Proof

The above inequality can be shown for each of the following cases

Case \(\mathop {\text {arg max}}\limits \{\mu _i\} = \mathop {\text {arg max}}\limits \{l_i\}\)    

Holds trivially by assumption.

Case \(\mathop {\text {arg max}}\limits \{\mu _i\} \ne \mathop {\text {arg max}}\limits \{l_i\}\)    

Let \(i^* = \mathop {\text {arg max}}\limits \{\mu _i\}, k^*=\mathop {\text {arg max}}\limits \{l_i\}\). As \(\mu _{k^*} \le \mu _{i^*} \), the set of estimators \(l_{k^*}\) for which \(\mu _{i^*}\le l_{k^*}\) is included in \(\mu _{k^*}\le l_{k^*}\). Therefore, we have

$$\begin{aligned} P\left( \max \{\mu _1, \mu _2\} \le \max \{l_1, l_2\} \right)&= P\left( \mu _{i^* } \le l_{k^*} \right) \\&\le P\left( \mu _{k^* } \le l_{k^*} \right) \le \delta \end{aligned}$$

\(\square \)

1.3 Proof of Lemma 3

Proof

As above, we consider the following proof-by-cases: Case \(\mathop {\text {arg max}}\limits \{\mu _i\} = \mathop {\text {arg max}}\limits \{u_i\}\)    

Holds trivially by assumption.

Case \(\mathop {\text {arg max}}\limits \{\mu _i\} \ne \mathop {\text {arg max}}\limits \{u_i\}\)    

Let \(i^* = \mathop {\text {arg max}}\limits \{\mu _i\}, k^*=\mathop {\text {arg max}}\limits \{u_i\}\). Therefore, we have

$$\begin{aligned}&1- P\left( \max \{\mu _1, \mu _2\} \le \max \{u_1, u_2\} \right) \\&= 1- P\left( \mu _{i^* } \le u_{k^*} \right) \\&\ge 1- P\left( \mu _{k^* } \le u_{k^*} \right) \ge 1- \delta \\&\Rightarrow P\left( \max \{\mu _1, \mu _2\} \ge \max \{u_1, u_2\} \right) \le \delta \end{aligned}$$

\(\square \)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ellen, C., Gerwinn, S. & Fränzle, M. Statistical model checking for stochastic hybrid systems involving nondeterminism over continuous domains. Int J Softw Tools Technol Transfer 17, 485–504 (2015). https://doi.org/10.1007/s10009-014-0329-y

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10009-014-0329-y

Keywords

Navigation