Skip to main content

Towards Engineering Digital Twins by Active Behaviour Mining

  • Chapter
  • First Online:
Model Checking, Synthesis, and Learning

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

Abstract

In the context of Confirm, the Irish Research Centre on Smart Manufacturing, field demonstrators are used to show new techniques to industrial partners, various kinds of students, and the general public alike. Considering the robotics demonstrator for the Digital Thread concept used in Confirm, which is a small cyberphysical system based on the UR3 cobot and a web controller for it, we apply Active Automata Learning in order to obtain a Digital Twin for it. Behavior mining done in this fashion is nowadays uncommon, but it has various advantages over, e.g., models obtained with popular AI techniques in that the AAL models are accurate deterministic behavioural explanations for the system behaviour at the chosen level of abstraction, and they may be further amenable to formal verification, e.g., by model checking, in order to establish properties of interest.

This extension has the effect of showcasing the Digital Twin concept, the AAL technique, the use of model checking, and the importance of working with formal models that are amenable to these technologies. We then reflect on the nature of the models and their uses and meaning, from the point of view of the comments and questions we receive in the demonstrations. We also consider the use of a feature-based approach to modelling the systems and their interactions, which is a further aspect for which the demonstrator could be used, with a special attention to the aspects of this work, like AAL and the feature based and feature interaction research, that connect directly with the collaboration with and the research of Bengt Jonsson.

This work was supported, in part, by Science Foundation Ireland grant 16/RC/3918 to Confirm, the Smart Manufacturing SFI Research Centre (www.confirm.ie) and 13/RC/2094 to Lero - The SFI Research Centre for Software (www.lero.ie).

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

    https://youtu.be/RaOejcczPas.

  2. 2.

    https://learnlib.de.

  3. 3.

    https://github.com/learnlib/learnlib-studio.

References

  1. Nci-doe collaboration 2020 ideas lab: Toward building a cancer patient “digital twin.” an ideas lab to shape the future of predictive modeling across scales from biology to clinical care. Information Age (2020). https://www.imagwiki.nibib.nih.gov/news-events/relevant-meetings/nci-doe-collaboration-2020-ideas-lab-toward-building-cancer-patient

  2. Angluin, D.: Learning regular sets from queries and counterexamples. Inf. Comput. 75(2), 87–106 (1987)

    Article  MathSciNet  Google Scholar 

  3. Bakera, M., Margaria, T., Renner, C., Steffen, B.: Verification, diagnosis and adaptation: tool-supported enhancement of the model-driven verification process. In: Revue des Nouvelles Technologies de l’Information (RNTI-SM-1), pp. 85–98, December 2007

    Google Scholar 

  4. Bakera, M., Margaria, T., Renner, C., Steffen, B.: Tool-supported enhancement of diagnosis in model-driven verification. Innovations Syst. Softw. Eng. 5, 211–228 (2009). https://doi.org/10.1007/s11334-009-0091-6

    Article  Google Scholar 

  5. Berg, T., Grinchtein, O., Jonsson, B., Leucker, M., Raffelt, H., Steffen, B.: On the correspondence between conformance testing and regular inference. In: Cerioli, M. (ed.) Fundamental Approaches to Software Engineering, FASE 2005. LNCS, vol. 3442, pp. 175–189. Springer, Heidelberg (2005). https://doi.org/10.1007/978-3-540-31984-9_14

  6. Blom, J., Jonsson, B., Kempe, L.: Using temporal logic for modular specification of telephone services. In: In Feature Interactions in Telecommunications Systems, pp. 197–216. IOS Press (1994)

    Google Scholar 

  7. Boßelmann, S., et al.: DIME: a programming-less modeling environment for web applications. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation: Discussion, Dissemination, Applications, ISoLA 2016. LNCS, vol. 9953, pp. 809–832. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-47169-3_60

  8. Braun, V., Margaria, T., Steffen, B., Yoo, H., Rychly, T.: Safe service customization. In: Intelligent Network Workshop, 1997. IN 1997. IEEE, vol. 2, p. 4, May 1997. https://doi.org/10.1109/INW.1997.601576

  9. Cassel, S., Howar, F., Jonsson, B., Steffen, B.: Active learning for extended finite state machines. Formal Aspects Comput. 28(2), 233–263 (2016)

    Article  MathSciNet  Google Scholar 

  10. Gnesi, S., Margaria, T.: Formal Methods for Industrial Critical Systems: a Survey of Applications. Wiley, Hoboken (2013). http://eu.wiley.com/WileyCDA/WileyTitle/productCd-0470876182.html

  11. Graf, S.: Building correct Cyber-Physical Systems - can we improve current practice? In: Proceedings of the 23rd International Conference on Formal Methods in Industrial Critical Systems (FMICS 2018). LNCS, vol. 11119 (2018)

    Google Scholar 

  12. Hinchy, E., Carcagno, C., O’Dowd, N., McCarthy, C.: Using finite element analysis to develop a digital twin of a manufacturing bending operation. Procedia CIRP 93, 568–574 (2020)

    Article  Google Scholar 

  13. Howar, F., Isberner, M., Steffen, B., Bauer, O., Jonsson, B.: Inferring semantic interfaces of data structures. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation. Technologies for Mastering Change, ISoLA 2012. LNCS, vol. 7609, pp. 554–571. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-34026-0_41

  14. Howar, F., Jonsson, B., Vaandrager, F.: Combining black-box and white-box techniques for learning register automata. In: Steffen, B., Woeginger, G. (eds.) Computing and Software Science. LNCS, vol. 10000, pp. 563–588. Springer, Cham (2019). https://doi.org/10.1007/978-3-319-91908-9_26

    Chapter  Google Scholar 

  15. Howar, F., Merten, M., Steffen, B., Margaria, T.: Practical Aspects of Active Automata Learning, chap. 11, pp. 235–267. Wiley, Hoboken (2012). https://doi.org/10.1002/9781118459898.ch11

  16. Howar, F., Steffen, B., Jonsson, B., Cassel, S.: Inferring canonical register automata. In: Kuncak, V., Rybalchenko, A. (eds.) Verification, Model Checking, and Abstract Interpretation, VMCAI 2012. LNCS, vol. 7148, pp. 251–266. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-27940-9_17

  17. Hungar, H., Margaria, T., Steffen, B.: Test-based model generation for legacy systems. In: Test Conference 2003 Proceedings ITC 2003, International, vol. 1, pp. 971–980, October 2003. https://doi.org/10.1109/TEST.2003.1271205

  18. Isberner, M., Howar, F., Steffen, B.: The TTT algorithm: a redundancy-free approach to active automata learning. In: Bonakdarpour, B., Smolka, S.A. (eds.) Runtime Verification, RV 2014. LNCS, vol. 8734, pp. 307–322. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11164-3_26

  19. Isberner, M., Howar, F., Steffen, B.: The Open-Source LearnLib. In: Kroening, D., Păsăreanu, C.S. (eds.) Computer Aided Verification, CAV 2015. LNCS, vol. 9206, pp. 487–495. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21690-4_32

  20. Issarny, V., et al.: CONNECT challenges: towards emergent connectors for eternal networked systems. In: ICECCS, pp. 154–161. IEEE Computer Society, June 2009

    Google Scholar 

  21. Ivanov, D., Dolgui, A.: A digital supply chain twin for managing the disruption risks and resilience in the era of industry 4.0. Prod. Planning Control 32(9), 775–788 (2021). https://doi.org/10.1080/09537287.2020.1768450

    Article  Google Scholar 

  22. Jonsson, B., Margaria, T., Naeser, G., Nyström, J., Steffen, B.: Incremental requirement specification for evolving systems. Nordic J. of Computing 8, 65–87 (2001). http://dl.acm.org/citation.cfm?id=774194.774199

  23. Jonsson, B., Margaria, T., Naeser, G., Nyström, J., Steffen, B.: On modelling feature interactions in telecommunications. In: Proceedings of Nordic Workshop on Programming Theory 1999–008. http://www.it.uu.se/research/publications/reports/1999-008/nwpt99/proceedings/

  24. Karusseit, M., Margaria, T.: Feature-based Modelling of a Complex, Online-Reconfigurable Decision Support Service. ENTCS (2), 101–118. https://doi.org/10.1016/j.entcs.2005.12.049

  25. Lundberg, S.M., Lee, S.I.: A unified approach to interpreting model predictions. In: Proceedings of the 31st International Conference on Neural Information Processing Systems, pp. 4768–4777. NIPS 2017, Curran Associates Inc., Red Hook, NY, USA (2017)

    Google Scholar 

  26. Margaria, T.: Knowledge management for inclusive system evolution. In: Steffen, B. (ed.) Transactions on Foundations for Mastering Change I. LNCS, vol. 9960, pp. 7–21. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46508-1_2

    Chapter  Google Scholar 

  27. Margaria, T.: Generative model driven design for agile system design and evolution: a tale of two worlds. In: Howar, F., Barnat, J. (eds.) FMICS 2018. LNCS, vol. 11119, pp. 3–18. Springer, Cham (2018). https://doi.org/10.1007/978-3-030-00244-2_1

    Chapter  Google Scholar 

  28. Margaria, T.: Making sense of complex applications: constructive design, features, and questions. In: Margaria, T., Graf, S., Larsen, K.G. (eds.) Models, Mindsets, Meta: The What, The How, and The Why Not? LNCS, vol. 11200, pp. 129–148. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-22348-9_9

    Chapter  Google Scholar 

  29. Margaria, T., Niese, O., Raffelt, H., Steffen, B.: Efficient test-based model generation for legacy reactive systems. In: HLDVT 2004: Proceedings of the High-Level Design Validation and Test Workshop, 2004. Ninth IEEE International, pp. 95–100. IEEE Computer Society, Washington, DC, USA (2004). https://doi.org/10.1109/HLDVT.2004.1431246

  30. Margaria, T., Raffelt, H., Steffen, B.: Knowledge-based relevance filtering for efficient system-level test-based model generation. Innovations Syst. Softw. Eng. 1(2), 147–156 (2005)

    Article  Google Scholar 

  31. Margaria, T., Raffelt, H., Steffen, B., Leucker, M.: The LearnLib in FMICS-jETI. In: ICECCS 2007: Proceedings of the 12th IEEE International Conference on Engineering Complex Computer Systems, pp. 340–352. IEEE Computer Society, Washington, DC, USA (2007). https://doi.org/10.1109/ICECCS.2007.43

  32. Margaria, T., Schieweck, A.: The digital thread in industry 4.0. In: Ahrendt, W., Tapia Tarifa, S.L. (eds.) Integrated Formal Methods, IFM 2019. LNCS, vol. 11918, pp. 3–24. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-34968-4_1

  33. Margaria, T., Steffen, B.: Service-Orientation: Conquering Complexity with XMDD. In: Hinchey, M., Coyle, L. (eds.) Conquering Complexity, pp. 217–236. Springer, London (2012). https://doi.org/10.1007/978-1-4471-2297-5_10

  34. Margaria, T., Steffen, B.: eXtreme Model-Driven Development (XMDD) Technologies as a Hands-On Approach to Software Development Without Coding, pp. 1–19. Springer International Publishing, Cham (2020). https://doi.org/10.1007/978-3-319-60013-0_208-1

  35. Margaria, T., Steffen, B., Reitenspieß, M.: Service-oriented design: the roots. In: Benatallah, B., Casati, F., Traverso, P. (eds.) Service-Oriented Computing - ICSOC 2005, ICSOC 2005. LNCS, vol. 3826, pp. 450–464. Springer, Heidelberg (2005). https://doi.org/10.1007/11596141_34

  36. Merten, M., Steffen, B., Howar, F., Margaria, T.: Next generation LearnLib. In: Abdulla, P.A., Leino, K.R.M. (eds.) Tools and Algorithms for the Construction and Analysis of Systems, TACAS 2011. LNCS, vol. 6605, pp. 220–223. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-19835-9_18

  37. Naujokat, S., Lybecait, M., Kopetzki, D., Steffen, B.: CINCO: a simplicity-driven approach to full generation of domain-specific graphical modeling tools. Int. J. Softw. Tools Technol. Transf. 20(3), 327–354 (2017). https://doi.org/10.1007/s10009-017-0453-66

    Article  Google Scholar 

  38. Neubauer, J., Margaria, T., Steffen, B.: Design for verifiability: the OCS Case Study. In: Formal Methods for Industrial Critical Systems: A Survey of Applications, chap. 8, pp. 153–178. Wiley-IEEE Computer Society Press (2013)

    Google Scholar 

  39. Nyström, J., Jonsson, B.: A formalization of service independent building blocks. In: Proceedings of the International Workshop on Advanced Intelligen Networks, pp. 1–14 (1996)

    Google Scholar 

  40. Raffelt, H., Steffen, B.: LearnLib: a library for automata learning and experimentation. In: Baresi, L., Heckel, R. (eds.) Fundamental Approaches to Software Engineering, FASE 2006. LNCS, vol. 3922, pp. 377–380. Springer, Heidelberg (2006). https://doi.org/10.1007/11693017_28

  41. Raffelt, H., Steffen, B., Berg, T., Margaria, T.: LearnLib: a framework for extrapolating behavioral models. Int. J. Softw. Tools Technolo. Transf. (STTT) 11(5), 393–407 (2009). https://doi.org/10.1007/s10009-009-0111-8

    Article  Google Scholar 

  42. Raffelt, H., Steffen, B., Margaria, T.: Dynamic testing via automata learning. In: Yorav, K. (ed.) Hardware and Software: Verification and Testing, HVC 2007. LNCS, vol. 4899, pp. 136–152. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-77966-7_13

  43. Ross, A.: The top 10 strategic technology trends for 2019, according to gartner. Information Age (2019). https://www.information-age.com/strategic-technology-trends-123475549/

  44. Ryan, C., O’Neill, M., Collins, J.J.: Introduction to 20 years of grammatical evolution. In: Ryan, C., O’Neill, M., Collins, J.J. (eds.) Handbook of Grammatical Evolution, pp. 1–21. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-78717-6_1

    Chapter  Google Scholar 

  45. Schaefer, I., Lamprecht, A.L., Margaria, T.: Constraint-oriented Variability Modeling. In: Rash, J., Rouff, C. (eds.) 34th Annual IEEE Software Engineering Workshop (SEW-34), pp. 77–83. IEEE CS Press (2011). https://doi.org/10.1109/SEW.2011.17

  46. Steffen, B., Howar, F., Isberner, M.: Active automata learning: from DFAs to interface programs and beyond. J. Mach. Learn. Res.-Proc. Track, 21, 195–209 (2012)

    Google Scholar 

  47. Steffen, B., Margaria, T., Braun, V., Kalt, N.: Hierarchical service definition. Ann. Rev. Commun. ACM 51, 847–856 (1997)

    Google Scholar 

  48. Steffen, B., Margaria, T., Claßen, A., Braun, V., Nisius, R., Reitenspieß, M.: A Constraint-oriented service creation environment. In: TACAS, pp. 418–421 (1996)

    Google Scholar 

  49. Steffen, B., Margaria, T., Nagel, R., Jörges, S., Kubczak, C.: Model-driven development with the jABC. In: Bin, E., Ziv, A., Ur, S. (eds.) HVC 2006. LNCS, vol. 4383, pp. 92–108. Springer, Heidelberg (2007). https://doi.org/10.1007/978-3-540-70889-6_7

    Chapter  Google Scholar 

  50. Talkhestani, B.A., Jung, T., Lindemann, B., et al.: An architecture of an intelligent digital twin in a cyber-physical production system. Automatisierungstechnik, 67(9), 762–782 (2019). https://doi.org/10.1515/auto-2019-0039

Download references

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Tiziana Margaria or Alexander Schieweck .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Margaria, T., Schieweck, A. (2021). Towards Engineering Digital Twins by Active Behaviour Mining. In: Olderog, ER., Steffen, B., Yi, W. (eds) Model Checking, Synthesis, and Learning. Lecture Notes in Computer Science(), vol 13030. Springer, Cham. https://doi.org/10.1007/978-3-030-91384-7_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-91384-7_8

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-91383-0

  • Online ISBN: 978-3-030-91384-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics