Skip to main content

Star-Topology Decoupling in SPIN

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 10869))

Abstract

Star-topology decoupling is a state space search method recently introduced in AI Planning. It decomposes the input model into components whose interaction structure has a star shape. The decoupled search algorithm enumerates transition paths only for the center component, maintaining the leaf-component state space separately for each leaf. This is a form of partial-order reduction, avoiding interleavings across leaf components. It can, and often does, have exponential advantages over stubborn set pruning and unfolding. AI Planning relates closely to model checking of safety properties, so the question arises whether decoupled search can be successful in model checking as well. We introduce a first implementation of star-topology decoupling in SPIN, where the center maintains global variables while the leaves maintain local ones. Preliminary results on several case studies attest to the potential of the approach.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.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

Learn about institutional subscriptions

References

  1. Abd Alrahman, Y., Andric, M., Beggiato, A., Lafuente, A.L.: Can we efficiently check concurrent programs under relaxed memory models in maude? In: Escobar, S. (ed.) WRLA 2014. LNCS, vol. 8663, pp. 21–41. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-12904-4_2

    Chapter  Google Scholar 

  2. Baldan, P., Bruni, A., Corradini, A., König, B., Rodríguez, C., Schwoon, S.: Efficient unfolding of contextual Petri nets. Theoret. Comput. Sci. 449, 2–22 (2012)

    Article  MathSciNet  Google Scholar 

  3. Cimatti, A., Pistore, M., Roveri, M., Traverso, P.: Weak, strong, and strong cyclic planning via symbolic model checking. Artif. Intell. 147(1–2), 35–84 (2003)

    Article  MathSciNet  Google Scholar 

  4. Culberson, J.C., Schaeffer, J.: Pattern databases. Comput. Intell. 14(3), 318–334 (1998)

    Article  MathSciNet  Google Scholar 

  5. Domshlak, C., Katz, M., Shleyfman, A.: Enhanced symmetry breaking in cost-optimal planning as forward search. In: Bonet, B., McCluskey, L., Silva, J.R., Williams, B. (eds.) Proceedings of the 22nd International Conference on Automated Planning and Scheduling (ICAPS 2012). AAAI Press (2012)

    Google Scholar 

  6. Dräger, K., Finkbeiner, B., Podelski, A.: Directed model checking with distance-preserving abstractions. In: Valmari [38], pp. 19–34

    Chapter  Google Scholar 

  7. Edelkamp, S.: Planning with pattern databases. In: Cesta, A., Borrajo, D. (eds.) Proceedings of the 6th European Conference on Planning (ECP 2001), pp. 13–24. Springer (2001). https://www.aaai.org/ocs/index.php/ECP/ECP01/paper/view/7280

  8. Edelkamp, S.: Promela planning. In: Ball, T., Rajamani, S.K. (eds.) SPIN 2003. LNCS, vol. 2648, pp. 197–213. Springer, Heidelberg (2003). https://doi.org/10.1007/3-540-44829-2_13

    Chapter  Google Scholar 

  9. Edelkamp, S., Lafuente, A.L., Leue, S.: Directed explicit model checking with HSF-SPIN. In: Dwyer, M. (ed.) SPIN 2001. LNCS, vol. 2057, pp. 57–79. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-45139-0_5

    Chapter  MATH  Google Scholar 

  10. Edelkamp, S., Lluch-Lafuente, A., Leue, S.: Directed explicit-state model checking in the validation of communication protocols. Int. J. Softw. Tools Technol. Transf. 5(2–3), 247–267 (2004)

    Article  Google Scholar 

  11. Emerson, E.A., Sistla, A.P.: Symmetry and model-checking. Formal Methods Syst. Des. 9(1/2), 105–131 (1996)

    Article  Google Scholar 

  12. Esparza, J., Römer, S., Vogler, W.: An improvement of Mcmillan’s unfolding algorithm. Formal Methods Syst. Des. 20(3), 285–310 (2002)

    Article  Google Scholar 

  13. Fox, M., Long, D.: The detection and exploitation of symmetry in planning problems. In: Pollack, M. (ed.) Proceedings of the 16th International Joint Conference on Artificial Intelligence (IJCAI 1999), pp. 956–961. Morgan Kaufmann, Stockholm, Sweden, August 1999

    Google Scholar 

  14. Gnad, D., Hoffmann, J.: Beating LM-cut with \(h^{max}\) (sometimes): Fork-decoupled state space search. In: Brafman, R., Domshlak, C., Haslum, P., Zilberstein, S. (eds.) Proceedings of the 25th International Conference on Automated Planning and Scheduling (ICAPS 2015). pp. 88–96. AAAI Press (2015)

    Google Scholar 

  15. Gnad, D., Hoffmann, J.: Star-topology decoupled state space search. Artif. Intell. 257, 24–60 (2018)

    Article  MathSciNet  Google Scholar 

  16. Gnad, D., Torralba, Á., Hoffmann, J.: Symbolic leaf representation in decoupled search. In: Fukunaga, A., Kishimoto, A. (eds.) Proceedings of the 10th Annual Symposium on Combinatorial Search (SOCS 2017). AAAI Press (2017)

    Google Scholar 

  17. Gnad, D., Torralba, Á., Shleyfman, A., Hoffmann, J.: Symmetry breaking in star-topology decoupled search. In: Proceedings of the 27th International Conference on Automated Planning and Scheduling (ICAPS 2017). AAAI Press (2017)

    Google Scholar 

  18. Gnad, D., Wehrle, M., Hoffmann, J.: Decoupled strong stubborn sets. In: Kambhampati, S. (ed.) Proceedings of the 25th International Joint Conference on Artificial Intelligence (IJCAI 2016), pp. 3110–3116. AAAI Press/IJCAI (2016)

    Google Scholar 

  19. Godefroid, P. (ed.): Partial-Order Methods for the Verification of Concurrent Systems: An Approach to the State-Explosion Problem. Lecture Notes in Computer Science, vol. 1032. Springer, Heidelberg (1996). https://doi.org/10.1007/3-540-60761-7

    Book  MATH  Google Scholar 

  20. Groote, J.F., van de Pol, J.: State space reduction using partial \(\tau \)-confluence. In: Nielsen, M., Rovan, B. (eds.) MFCS 2000. LNCS, vol. 1893, pp. 383–393. Springer, Heidelberg (2000). https://doi.org/10.1007/3-540-44612-5_34

    Chapter  Google Scholar 

  21. Groote, J.F., Sellink, M.P.A.: Confluence for process verification. In: Lee, I., Smolka, S.A. (eds.) CONCUR 1995. LNCS, vol. 962, pp. 204–218. Springer, Heidelberg (1995). https://doi.org/10.1007/3-540-60218-6_15

    Chapter  Google Scholar 

  22. Haslum, P., Botea, A., Helmert, M., Bonet, B., Koenig, S.: Domain-independent construction of pattern database heuristics for cost-optimal planning. In: Howe, A., Holte, R.C. (eds.) Proceedings of the 22nd National Conference of the American Association for Artificial Intelligence (AAAI 2007), pp. 1007–1012. AAAI Press, Vancouver, BC, Canada, July 2007

    Google Scholar 

  23. Helmert, M., Haslum, P., Hoffmann, J., Nissim, R.: Merge and shrink abstraction: a method for generating lower bounds in factored state spaces. J. Assoc. Comput. Mach. 61(3) (2014)

    Google Scholar 

  24. Holzmann, G.: The Spin Model Checker - Primer and Reference Manual. Addison-Wesley, Reading (2004)

    Google Scholar 

  25. Jonsson, B.: State-space exploration for concurrent algorithms under weak memory orderings. SIGARCH Comput. Architect. News 36(5), 65–71 (2008)

    Article  Google Scholar 

  26. Jøsang, A.: Security protocol verification using spin. In: The First SPIN Workshop, Montreal, Quebec, Canada (1995)

    Google Scholar 

  27. Kupferschmid, S., Hoffmann, J., Dierks, H., Behrmann, G.: Adapting an AI planning heuristic for directed model checking. In: Valmari [38], pp. 35–52

    Chapter  Google Scholar 

  28. Kupferschmid, S., Dräger, K., Hoffmann, J., Finkbeiner, B., Dierks, H., Podelski, A., Behrmann, G.: Uppaal/DMC – abstraction-based heuristics for directed model checking. In: Grumberg, O., Huth, M. (eds.) TACAS 2007. LNCS, vol. 4424, pp. 679–682. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-71209-1_52

    Chapter  Google Scholar 

  29. Kupferschmid, S., Hoffmann, J., Larsen, K.G.: Fast directed model checking via Russian doll abstraction. In: Ramakrishnan, C.R., Rehof, J. (eds.) TACAS 2008. LNCS, vol. 4963, pp. 203–217. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-78800-3_15

    Chapter  Google Scholar 

  30. Linden, A., Wolper, P.: A verification-based approach to memory fence insertion in PSO memory systems. In: Piterman, N., Smolka, S.A. (eds.) TACAS 2013. LNCS, vol. 7795, pp. 339–353. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-36742-7_24

    Chapter  MATH  Google Scholar 

  31. Lynch, N.A.: Distributed Algorithms. Morgan Kaufmann, San Francisco (1996)

    MATH  Google Scholar 

  32. McMillan, K.L.: Using unfoldings to avoid the state explosion problem in the verification of asynchronous circuits. In: von Bochmann, G., Probst, D.K. (eds.) CAV 1992. LNCS, vol. 663, pp. 164–177. Springer, Heidelberg (1993). https://doi.org/10.1007/3-540-56496-9_14

    Chapter  Google Scholar 

  33. Rintanen, J.: Symmetry reduction for SAT representations of transition systems. In: Giunchiglia, E., Muscettola, N., Nau, D. (eds.) Proceedings of the 13th International Conference on Automated Planning and Scheduling (ICAPS 2003), pp. 32–41. Morgan Kaufmann, Trento, Italy (2003)

    Google Scholar 

  34. Rodríguez, C., Schwoon, S.: Cunf: a tool for unfolding and verifying petri nets with read arcs. In: Van Hung, D., Ogawa, M. (eds.) ATVA 2013. LNCS, vol. 8172, pp. 492–495. Springer, Cham (2013). https://doi.org/10.1007/978-3-319-02444-8_42

    Chapter  MATH  Google Scholar 

  35. Starke, P.: Reachability analysis of petri nets using symmetries. J. Math. Model. Simul. Syst. Anal. 8(4/5), 293–304 (1991)

    MathSciNet  MATH  Google Scholar 

  36. Travkin, O., Mütze, A., Wehrheim, H.: SPIN as a linearizability checker under weak memory models. In: Bertacco, V., Legay, A. (eds.) HVC 2013. LNCS, vol. 8244, pp. 311–326. Springer, Cham (2013). https://doi.org/10.1007/978-3-319-03077-7_21

    Chapter  Google Scholar 

  37. Valmari, A.: A stubborn attack on state explosion. Form. Methods Syst. Des. 1(4), 297–322 (1992)

    Article  Google Scholar 

  38. Valmari, A. (ed.): SPIN 2006. LNCS, vol. 3925, pp. 19–34. Springer, Heidelberg (2006). https://doi.org/10.1007/11691617_2

    Book  Google Scholar 

  39. Wehrle, M., Helmert, M.: Efficient stubborn sets: generalized algorithms and selection strategies. In: Chien, S., Do, M., Fern, A., Ruml, W. (eds.) Proceedings of the 24th International Conference on Automated Planning and Scheduling (ICAPS 2014). AAAI Press (2014)

    Google Scholar 

Download references

Acknowledgments

Daniel Gnad was partially supported by the German Research Foundation (DFG), as part of project grant HO 2169/6-1, “Star-Topology Decoupled State Space Search”.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Daniel Gnad .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Gnad, D., Dubbert, P., Lluch Lafuente, A., Hoffmann, J. (2018). Star-Topology Decoupling in SPIN. In: Gallardo, M., Merino, P. (eds) Model Checking Software. SPIN 2018. Lecture Notes in Computer Science(), vol 10869. Springer, Cham. https://doi.org/10.1007/978-3-319-94111-0_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-94111-0_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-94110-3

  • Online ISBN: 978-3-319-94111-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics