Skip to main content

Non-Automata Based Conformance Checking of Declarative Process Specifications Based on ASP

  • Conference paper
  • First Online:
Business Process Management Workshops (BPM 2023)

Abstract

We investigate the use of Answer Set Programming (ASP) for the problem of conformance checking of LTL-based Declarative Process Specifications. In particular, we propose ASP solutions that are independent of automata. That is: in related works, the semantics of the declarative process specifications are often captured by means of finite state automata. This means that for conformance checking, the constraints of the specification first have to be transformed into a corresponding automata representation, which introduces a computational burden. In this work, we present a new ASP-based approach which encodes the constraint semantics directly and therefore can be used to check conformance without the need of performing automata operations. We implement our approach and perform experiments with real-life datasets, comparing our approach to a selection of state-of-the-art approaches. Our experiments show that our approach can outperform existing approaches in some cases. Furthermore, our approach can easily be extended to check whether the considered constraint sets are satisfiable (i.e., consistent).

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

    \(d(\varphi )\) is inductively defined via \(d(a)=0\) for \(a\in \textsf{At}\), \(d(\lnot \varphi )=d(\varphi )\), \(d(\varphi _1\wedge \varphi _2)=d(\varphi _1\vee \varphi _2)=\max \{d(\varphi _1),d(\varphi _2)\}\), \(d({\textbf {X}} \varphi )=1+d(\varphi )\), and \(d(\varphi _1 {\textbf {U}} \varphi _2)=1+\max \{d(\varphi _1),d(\varphi _2)\}\).

  2. 2.

    Recall that we assume time of a fixed length \(t_0,\ldots ,t_m\) and interpretations only vary in what is true at each state.

  3. 3.

    We will denote all sequences \(s=\langle s_0,\ldots ,s_m\rangle \in \textsf{At}^*\) as \(s_0\ldots s_m\) for readability, e.g., abc instead of \(\langle a,b,c\rangle \).

  4. 4.

    See for example [9] for an algorithm for this problem.

  5. 5.

    We refer the reader to [4] to further details on FSAs.

  6. 6.

    Note that we also use anonymous variables. Such variables, denoted by “_”, do not recur within the rule at hand.

  7. 7.

    For some years, e.g., 2020, there were multiple sub data sets - as these were similar, we only present the respective first sub data set of those years due to space reasons.

  8. 8.

    The implementation is available under https://e.feu.de/cc-asp.

References

  1. van der Aalst, W.M.: Process mining: a 360 degree overview. In: van der Aalst, W.M.P., Carmona, J. (eds.) Process Mining Handbook. LNBIP, vol. 448, pp. 3–34. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-08848-3_1

  2. Carmona, J., van Dongen, B., Weidlich, M.: Conformance checking: foundations, milestones and challenges. In: van der Aalst, W.M.P., Carmona, J. (eds.) Process Mining Handbook. LNBIP, vol. 448, pp. 155–190. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-08848-3_5

  3. Chiariello, F., Maggi, F.M., Patrizi, F.: Asp-based declarative process mining. In: Proceedings of the AAAI Conference on Artificial Intelligence, pp. 5539–5547 (2022)

    Google Scholar 

  4. Di Ciccio, C., Montali, M.: Declarative process specifications: reasoning, discovery, monitoring. In: van der Aalst, W.M.P., Carmona, J. (eds.) Process Mining Handbook. LNBIP, vol. 448, pp. 108–152. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-08848-3_4

  5. Di Ciccio, C., Maggi, F.M., Montali, M., Mendling, J.: Resolving inconsistencies and redundancies in decl. process models. Inf. Syst. 64, 425–446 (2017)

    Google Scholar 

  6. Pesic, M., Schonenberg, H., Van der Aalst, W.M.: Declare: full support for loosely-structured processes. In: 11th IEEE International Enterprise Distributed Object Computing Conference (EDOC 2007), p. 287. IEEE (2007)

    Google Scholar 

  7. Corea, C., Grant, J., Thimm, M.: Measuring inconsistency in declarative process specifications. In: Di Ciccio, C., Dijkman, R., del Rio Ortega, A., Rinderle-Ma, S. (eds.) Business Process Management. BPM 2022. LNCS, vol. 13420, pp. 289–306. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-16103-2_20

  8. Giacomo, G.D., Vardi, M.Y.: Linear temporal logic and linear dynamic logic on finite traces. In: Proceedings of the 23rd IJCAI, pp. 854–860, Beijing, AAAI (2013)

    Google Scholar 

  9. Westergaard, M., Stahl, C., Reijers, H.A.: Unconstrainedminer: efficient discovery of generalized declarative process models. BPM Center Rep. 207, 28 (2013)

    Google Scholar 

  10. Dunzer, S., Stierle, M., Matzner, M., Baier, S.: Conformance checking: a state-of-the-art literature review. In: Proceedings of the 11th International Conference on Subject-Oriented Business Process Management, pp. 1–10 (2019)

    Google Scholar 

  11. Burattin, A., Maggi, F.M., van der Aalst, W.M., Sperduti, A.: Techniques for a posteriori analysis of declarative processes. In: 2012 IEEE 16th International Enterprise Distributed Object Computing Conference, pp. 41–50. IEEE (2012)

    Google Scholar 

  12. Burattin, A., Maggi, F.M., Sperduti, A.: Conformance checking based on MP declarative process models. Expert Syst. Appl. 65, 194–211 (2016)

    Article  Google Scholar 

  13. Donadello, I., Riva, F., Maggi, F.M., Shikhizada, A.: Declare4py: a python library for declarative process mining. BPM’22 Demo Track 3216, 117–121 (2022). https://github.com/francxx96/declare4py

  14. de Leoni, M., Maggi, F.M., van der Aalst, W.M.P.: Aligning event logs and declarative process models for conformance checking. In: Barros, A., Gal, A., Kindler, E. (eds.) BPM 2012. LNCS, vol. 7481, pp. 82–97. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-32885-5_6

    Chapter  Google Scholar 

  15. van Dongen, B.F., De Smedt, J., Di Ciccio, C., Mendling, J.: Conformance checking of mixed-paradigm process models. Inf. Syst. 102, 101685 (2021). https://www.sciencedirect.com/science/article/pii/S0306437920301344

  16. Montali, M., Pesic, M., Aalst, W.M.V.D., Chesani, F., Mello, P., Storari, S.: Declarative specification and verification of service choreographiess. ACM Trans. Web (TWEB) 4(1), 1–62 (2010)

    Google Scholar 

  17. Ielo, A., Ricca, F., Pontieri, L.: Declarative mining of business processes via ASP. In: Workshop on Process Management in the AI Era (PMAI 2022) co-located with IJCAI-ECAI ’22, Wien, Austria, pp. 105–108. CEUR-WS.org (2022)

    Google Scholar 

  18. De Giacomo, G., Maggi, F.M., Marrella, A., Patrizi, F.: On the disruptive effectiveness of automated planning for LTL\(f\)-based trace alignment. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 31 (2017)

    Google Scholar 

  19. Brewka, G., Eiter, T., Truszczynski, M.: Answer set programming at a glance. Commun. ACM 54(12), 92–103 (2011)

    Article  Google Scholar 

  20. Gebser, M., Kaminski, R., Kaufmann, B., Schaub, T.: Answer Set Solving in Practice. In: Synthesis Lectures on AI and Machine Learning, vol. 6, no. 3, pp. 1–238 (2012). https://doi.org/10.1007/978-3-031-01561-8

  21. Kuhlmann, I., Thimm, M.: An algorithm for the contension inconsistency measure using reductions to answer set programming. In: Davis, J., Tabia, K. (eds.) SUM 2020. LNCS (LNAI), vol. 12322, pp. 289–296. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-58449-8_23

    Chapter  Google Scholar 

  22. Kuhlmann, I., Thimm, M.: Algorithms for inconsistency measurement using answer set programming. In: NMR 2021, pp. 159–168 (2021)

    Google Scholar 

  23. Kuhlmann, I., Gessler, A., Laszlo, V., Thimm, M.: A comparison of ASP-based and SAT-based algorithms for the contension inconsistency measure. In: Dupin de Saint-Cyr, F., Ozturk-Escoffier, M., Potyka, N. (eds.) Scalable Uncertainty Management. SUM 2022. LNCS, vol. 13562, pp. 139–153. Springer, Cham (2022). https://doi.org/10.1007/978-3-031-18843-5_10

  24. Reiter, R.: A logic for default reasoning (1980)

    Google Scholar 

  25. Gebser, M., Kaminski, R., Kaufmann, B., Ostrowski, M., Schaub, T., Wanko, P.: Theory solving made easy with Clingo 5. In: Technical Communications of ICLP, pp. 2:1–2:15. OASICS, Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik (2016)

    Google Scholar 

  26. Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: Proceedings of the ICLP/SLP, pp. 1070–1080, MIT Press (1988)

    Google Scholar 

  27. Käppel, M., Schützenmeier, N., Schönig, S., Ackermann, L., Jablonski, S.: Logic based look-ahead for the execution of multi-perspective declarative processes. In: Reinhartz-Berger, I., Zdravkovic, J., Gulden, J., Schmidt, R. (eds.) BPMDS/EMMSAD -2019. LNBIP, vol. 352, pp. 53–68. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-20618-5_4

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Isabelle Kuhlmann .

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

Kuhlmann, I., Corea, C., Grant, J. (2024). Non-Automata Based Conformance Checking of Declarative Process Specifications Based on ASP. In: De Weerdt, J., Pufahl, L. (eds) Business Process Management Workshops. BPM 2023. Lecture Notes in Business Information Processing, vol 492. Springer, Cham. https://doi.org/10.1007/978-3-031-50974-2_30

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-50974-2_30

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-50973-5

  • Online ISBN: 978-3-031-50974-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics