Modelling and Predictive Monitoring of Business Processes under Uncertainty with Reinforcement Learning
<p>An example of the XES format.</p> "> Figure 2
<p>The Petri net derived from Alpha Miner.</p> "> Figure 3
<p>The Petri net derived from Inductive Miner.</p> "> Figure 4
<p>The Petri net derived from Heuristic Miner.</p> "> Figure 5
<p>Performance-based DFG.</p> "> Figure 6
<p>Frequency-based DFG.</p> "> Figure 7
<p>The Petri net derived from DFG.</p> "> Figure 8
<p>Bar chart with the frequency of activities in the event log.</p> "> Figure 9
<p>Visualization of the transitions among the states.</p> "> Figure 10
<p>Q-learning training scores.</p> "> Figure 11
<p>The most efficient path on the Petri-net.</p> "> Figure 12
<p>ANN model description.</p> ">
Abstract
:1. Introduction
2. Background and Related Works
3. The Proposed Approach for the Modelling and Predictive Monitoring of Business Processes
3.1. Event Log Extraction
3.2. Process Discovery for Generating Options in Process Models
3.3. Process Statistical Analysis for Selection of the Process Model
3.4. Handling Incomplete Traces
3.5. Creating the Uncertain Process Model and Providing Predictions about the Business Process
- Policy (π): defines the agent’s strategy to decide on the next action based on the present state.
- Discount factor γ (gamma): a number between 0 and 1 that determines the significance of future rewards. If γ is equal to or greater than 1 in a problem without a terminal state or when we cannot reach the terminal state, the undiscounted rewards may become infinite. If γ is 0, the agent only values short-term rewards, making it short-sighted.
- Value function (V): calculates the expected long-term reward with discount.
- Learning rate: determines the rate at which the agent overrides old knowledge with newly acquired knowledge.
4. Implementation and Deployment in the Banking Sector
4.1. Technology Stack
4.2. Application of the Proposed Approach
4.2.1. Event Log Extraction
4.2.2. Process Discovery for Generating Options in Process Models
4.2.3. Process Statistical Analysis for Selection of the Process Model
4.2.4. Handling Incomplete Traces
4.2.5. Creating the Uncertain Process Model and Providing Predictions about the Business Process
- Available_actions: This takes a number matching a state as input, which corresponds to an activity. The available actions for the input state are selected from that row, which are all indexes whose elements are non-negative.
- next_action: this takes the list of available actions as input and randomly selects one of them.
- learn: This has three inputs, including the current state, an action, and the discount factor gamma. The Q function is implemented, and a greedy method is used to select an action.
4.3. Comparative Analysis with Deep Learning Extensions
- Main elements:
- ○
- case: MonthlyCost
- ○
- case: FirstWithdrawalAmount
- ○
- case: CreditScore
- ○
- case: OfferedAmount
- ○
- case: NumberOfTerms
- Classification Results:
- ○
- Selected
- ○
- Accepted
5. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Baiyere, A.; Salmela, H.; Tapanainen, T. Digital transformation and the new logics of business process management. Eur. J. Inf. Syst. 2020, 29, 238–259. [Google Scholar] [CrossRef]
- Garcia, C.D.S.; Meincheim, A.; Junior, E.R.F.; Dallagassa, M.R.; Sato, D.M.V.; Carvalho, D.R.; Santos, E.A.P.; Scalabrin, E.E. Process mining techniques and applications—A systematic mapping study. Expert Syst. Appl. 2019, 133, 260–295. [Google Scholar] [CrossRef]
- Hammer, M. What is business process management? In Handbook on Business Process Management 1: Introduction, Methods, and Information Systems; Springer: Berlin/Heidelberg, Germany, 2015; pp. 3–16. [Google Scholar]
- Van Der Aalst, W. Process mining: Overview and opportunities. ACM Trans. Manag. Inf. Syst. (TMIS) 2012, 3, 1–17. [Google Scholar] [CrossRef]
- Imran, M.; Ismail, M.A.; Hamid, S.; Nasir, M.H.N. Complex Process Modeling in Process Mining: A Systematic Review. IEEE Access 2022, 10, 101515–101536. [Google Scholar] [CrossRef]
- Prasidis, I.; Theodoropoulos, N.-P.; Bousdekis, A.; Theodoropoulou, G.; Miaoulis, G. Handling uncertainty in predictive business process monitoring with Bayesian networks. In Proceedings of the 2021 12th International Conference on Information, Intelligence, Systems & Applications (IISA), Chania Crete, Greece, 12–14 July 2021; pp. 1–8. [Google Scholar] [CrossRef]
- Di Francescomarino, C.; Ghidini, C.; Maggi, F.M.; Milani, F. Predictive process monitoring methods: Which one suits me best? In Proceedings of the 16th International Conference on Business Process Management (BPM 2018), Sydney, Australia, 9–14 September 2018; pp. 462–479. [Google Scholar] [CrossRef] [Green Version]
- Chiorrini, A.; Diamantini, C.; Mircoli, A.; Potena, D. A preliminary study on the application of reinforcement learning for predictive process monitoring. In Proceedings of the International Conference on Process Mining (CPM 2020), Padua, Italy, 5–8 October 2021; pp. 124–135. [Google Scholar] [CrossRef]
- Sutton, R.S.; Barto, A.G. Reinforcement Learning: An Introduction; MIT Press: Cambridge, MA, USA, 2017. [Google Scholar]
- Kotsias, S.; Kerasiotis, A.; Bousdekis, A.; Theodoropoulou, G.; Miaoulis, G. Predictive and Prescriptive Business Process Monitoring with Reinforcement Learning. In Proceedings of the 2nd International Conference on Novel & Intelligent Digital Systems (NiDS 2022), Athens, Greece, 29–30 September 2022; pp. 245–254. [Google Scholar]
- Van der Aalst, W.; Weijters, T.; Maruster, L. Workflow mining: Discovering process models from event logs. IEEE Trans. Knowl. Data Eng. 2004, 16, 1128–1142. [Google Scholar] [CrossRef]
- Merkoureas, I.; Kaouni, A.; Theodoropoulou, G.; Bousdekis, A.; Voulodimos, A.; Miaoulis, G. Smyrida: A web application for process mining and interactive visualization. SoftwareX 2023, 22, 101327. [Google Scholar] [CrossRef]
- Umer, R.; Susnjak, T.; Mathrani, A.; Suriadi, S. On predicting academic performance with process mining in learning analytics. J. Res. Innov. Teach. Learn. 2017, 10, 160–176. [Google Scholar] [CrossRef]
- Savickas, T.; Vasilecas, O. Belief network discovery from event logs for business process analysis. Comput. Ind. 2018, 100, 258–266. [Google Scholar] [CrossRef]
- Teinemaa, I.; Dumas, M.; Maggi, F.M.; Di Francescomarino, C. Predictive business process monitoring with structured and unstructured data. In Proceedings of the 14th International Conference on Business Process Management (BPM 2016), Rio de Janeiro, Brazil, 18–22 September 2016; pp. 401–417. [Google Scholar] [CrossRef]
- Teinemaa, I.; Dumas, M.; Rosa, M.L.; Maggi, F.M. Outcome-oriented predictive process monitoring: Review and benchmark. ACM Trans. Knowl. Discov. Data (TKDD) 2019, 13, 1–57. [Google Scholar] [CrossRef]
- Kang, B.; Kim, D.; Kang, S.-H. Real-time business process monitoring method for prediction of abnormal termination using KNNI-based LOF prediction. Expert Syst. Appl. 2012, 39, 6061–6068. [Google Scholar] [CrossRef]
- Cesario, E.; Folino, F.; Guarascio, M.; Pontieri, L. A CloudBased Prediction Framework for Analyzing BP Performances. In Proceedings of the International Cross Domain Conference and Workshop (CD-ARES 2016), Salzburg, Austria, 31 August–2 September 2016; pp. 63–80. [Google Scholar]
- Weytjens, H.; De Weerdt, J. Learning uncertainty with artificial neural networks for predictive process monitoring. Appl. Soft Comput. 2022, 125, 109134. [Google Scholar] [CrossRef]
- Camargo, M.; Dumas, M.; González-Rojas, O. Learning accurate LSTM models of business processes. In Proceedings of the 17th International Conference on Business Process Management (BPM 2019), Vienna, Austria, 1–6 September 2019; pp. 286–302. [Google Scholar]
- Evermann, J.; Rehse, J.-R.; Fettke, P. Predicting process behaviour using deep learning. Decis. Support Syst. 2017, 100, 129–140. [Google Scholar] [CrossRef] [Green Version]
- Lin, L.; Wen, L.; Wang, J. Mm-pred: A deep predictive model for multi-attribute event sequence. In Proceedings of the 2019 SIAM International Conference on Data Mining, Calgary, AB, Canada, 2–4 May 2019; Society for Industrial and Applied Mathematics: Philadelphia, PA, USA, 2019; pp. 118–126. [Google Scholar]
- Pasquadibisceglie, V.; Appice, A.; Castellano, G.; Malerba, D. Using convolutional neural networks for predictive process analytics. In Proceedings of the International Conference on Process Mining (ICPM), Aachen, Germany, 24–26 June 2019; pp. 129–136. [Google Scholar] [CrossRef]
- Tax, N.; Verenich, I.; La Rosa, M.; Dumas, M. Predictive business process monitoring with LSTM neural networks. In Proceedings of the 29th International Conference on Advanced Information Systems Engineering (CAiSE 2017), Essen, Germany, 12–16 June 2017; pp. 477–492. [Google Scholar]
- Navarin, N.; Vincenzi, B.; Polato, M.; Sperduti, A. (LSTM) networks for data-aware remaining time prediction of business process instances. In Proceedings of the 2017 IEEE Symposium Series on Computational Intelligence (SSCI), Honolulu, HI, USA, 27 November–1 December 2017. [Google Scholar] [CrossRef] [Green Version]
- Nguyen, A.; Chatterjee, S.; Weinzierl, S.; Schwinn, L.; Matzner, M.; Eskofier, B. Time Matters: Time-Aware LSTMs for Predictive Business Process Monitoring. arXiv 2020. [Google Scholar] [CrossRef]
- Harl, M.; Weinzierl, S.; Stierle, M.; Matzner, M. Explainable predictive business process monitoring using gated graph neural networks. J. Decis. Syst. 2020, 29, 312–327. [Google Scholar] [CrossRef]
- Li, X.-H.; Cao, C.C.; Shi, Y.; Bai, W.; Gao, H.; Qiu, L.; Wang, C.; Gao, Y.; Zhang, S.; Xue, X.; et al. A Survey of Data-driven and Knowledge-aware eXplainable AI. IEEE Trans. Knowl. Data Eng. 2020, 34, 29–49. [Google Scholar] [CrossRef]
- Mehdiyev, N.; Fettke, P. Explainable artificial intelligence for process mining: A general overview and application of a novel local explanation approach for predictive process monitoring. In Interpretable Artificial Intelligence: A Perspective of Granular Computing; Springer: Cham, Switzerland, 2021; pp. 1–28. [Google Scholar] [CrossRef]
- Käppel, M.; Jablonski, S.; Schönig, S. Evaluating predictive business process monitoring approaches on small event logs. arXiv 2021. [Google Scholar] [CrossRef]
- Kratsch, W.; Manderscheid, J.; Röglinger, M.; Seyfried, J. Machine learning in business process monitoring: A comparison of deep learning and classical approaches used for outcome prediction. Bus. Inf. Syst. Eng. 2020, 63, 261–276. [Google Scholar] [CrossRef] [Green Version]
- Rama-Maneiro, E.; Vidal, J.; Lama, M. Deep Learning for Predictive Business Process Monitoring: Review and Benchmark. IEEE Trans. Serv. Comput. 2021, 16, 739–756. [Google Scholar] [CrossRef]
- Mnih, V.; Kavukcuoglu, K.; Silver, D.; Rusu, A.A.; Veness, J.; Bellemare, M.G.; Graves, A.; Riedmiller, M.; Fidjeland, A.K.; Ostrovski, G.; et al. Human-level control through deep reinforcement learning. Nature 2015, 518, 529–533. [Google Scholar] [CrossRef]
- Silver, D.; Hubert, T.; Schrittwieser, J.; Antonoglou, I.; Lai, M.; Guez, A.; Lanctot, M.; Sifre, L.; Kumaran, D.; Graepel, T.; et al. A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play. Science 2018, 362, 1140–1144. [Google Scholar] [CrossRef] [Green Version]
- Wang, Z.; Hong, T. Reinforcement learning for building controls: The opportunities and challenges. Appl. Energy 2020, 269, 115036. [Google Scholar] [CrossRef]
- Zhou, M.; Yu, Y.; Qu, X. Development of an efficient driving strategy for connected and automated vehicles at signalized intersections: A reinforcement learning approach. IEEE Trans. Intell. Transp. Syst. 2019, 21, 433–443. [Google Scholar] [CrossRef]
- Lepenioti, K.; Bousdekis, A.; Apostolou, D.; Mentzas, G. Human-augmented prescriptive analytics with interactive multi-objective reinforcement learning. IEEE Access 2021, 9, 100677–100693. [Google Scholar] [CrossRef]
- Huang, Z.; van der Aalst, W.; Lu, X.; Duan, H. Reinforcement learning based resource allocation in business process management. Data Knowl. Eng. 2011, 70, 127–145. [Google Scholar] [CrossRef]
- Silvander, J. Business process optimization with reinforcement learning. In Proceedings of the 9th International Symposium on Business Modeling and Software Design (BMSD 2019), Lisbon, Portugal, 1–3 July 2019; pp. 203–212. [Google Scholar]
- Metzger, A.; Kley, T.; Palm, A. Triggering proactive business process adaptations via online reinforcement learning. In Proceedings of the 18th International Conference on Business Process Management (BPM 2020), Seville, Spain, 13–18 September 2020; pp. 273–290. [Google Scholar] [CrossRef]
- Magoutas, B.; Stojanovic, N.; Bousdekis, A.; Apostolou, D.; Mentzas, G.; Stojanovic, L. Anticipation-driven Architecture for Proactive Enterprise Decision Making. In Proceedings of the 26th International Conference on Advanced Information Systems Engineering (CaiSE), Thessaloniki, Greece, 16–20 June 2014; pp. 121–128. [Google Scholar]
- Acampora, G.; Vitiello, A.; Di Stefano, B.; van der Aalst, W.; Günther, C.; Verbeek, E. IEEE 1849tm: The XES standard. IEEE Comput. Intell. Mag. 2017, 12, 4–8. [Google Scholar] [CrossRef]
- Van Der Aalst, W. Process Mining: Data Science in Action; Springer: Heidelberg, Germany, 2016; Volume 2. [Google Scholar]
- Buijs, J.C.; Van Dongen, B.F.; van Der Aalst, W.M. On the role of fitness, precision, generalization and simplicity in process discovery. In On the Move to Meaningful Internet Systems: OTM 2012, Proceedings of the Confederated International Conferences: CoopIS, DOA-SVI, and ODBASE 2012, Rome, Italy, 10–14 September 2012; Part I; Springer: Berlin/Heidelberg, Germany, 2012; pp. 305–322. [Google Scholar]
- Melo, F.S. Convergence of Q-Learning: A Simple Proof; Technical Report; Institute of Systems and Robotics: Lisbon, Portugal, 2001; pp. 1–4. [Google Scholar]
- Arulkumaran, K.; Deisenroth, M.P.; Brundage, M.; Bharath, A.A. Deep Reinforcement Learning: A Brief Survey. IEEE Signal Process. Mag. 2017, 34, 26–38. [Google Scholar] [CrossRef] [Green Version]
- Sewak, M. Deep Reinforcement Learning; Springer: Singapore, 2019. [Google Scholar]
- Li, Y.; Yuan, Y. Convergence analysis of two-layer neural networks with ReLU activation. In Proceedings of the 31st Conference on Neural Information Processing Systems (NIPS 2017), Long Beach, CA, USA, 4–9 December 2017. [Google Scholar]
Section | Step | Input | Function | Output |
---|---|---|---|---|
3.1 | Event Log Extraction | Information System Database | Transformation into event log in CSV or XES format | Event log in CSV or XES format |
3.2 | Process Discovery for Generating Options in Process Models | Event log in CSV or XES format | Process discovery
| Petri net from Alpha Miner Petri net from Inductive Miner Petri net from Heuristic Miner Performance-based Directly Follows graph (DFG) Frequency-based DFG Petri net from DFG |
3.3 | Process Statistical Analysis for Selection of the Process Model | Petri net from Alpha Miner Petri net from Inductive Miner Petri net from Heuristic Miner Performance-based DFG Frequency-based DFG Petri net from DFG | Calculation of evaluation metrics:
Selection of the optimal process discovery algorithm and process model Calculation of the frequencies of activities and transitions | Selected process model Transition probabilities among activities |
3.4 | Handling Incomplete Traces | Selected process model Event log | Identification of incomplete traces Creation of a “Frozen” state for incomplete traces Calculation of transition probabilities among activities based on frequencies | Transition probabilities among activities |
3.5 | Creating the Uncertain Process Model and Providing Predictions about the Business Process | Selected process model Transition probabilities among activities | Creation of the uncertain process model using RL Definition of the goal state Calculation of the optimal policy | The most efficient path on the selected process model Predictions about the next activity and the goal state |
Element Name | Description |
---|---|
Action | Action taken in the business process. |
Org:resource | User/actor from the organization. |
Concept:name | Business process state name. |
EventOrigin | Origin of business process (offer). |
EventID | The unique identifier of the event. |
Lifecycle:transition | Transition of state (complete). |
Time:timestamp | Given time at each state. |
Case:concept:name | The unique identifier of the event. |
Case:MonthlyCost | The monthly costs to be paid by the customer to reimburse the loan. |
Case:Selected | Boolean that indicates whether an offer is signed by the customer or not. |
Case:ApplicationID | The identifier of the application. |
Case:FirstWithdrawalAmount | The initial withdrawal amount. |
Case:CreditScore | The credit score of the customer. The higher the credit score, the higher the client trustworthiness. |
Case:OfferedAmount | The loan amount offered by the bank. |
Case:NumberOfTerms | The number of payback terms. |
Case:Accepted | The offer is acceptable based on the bank’s terms. |
OfferID | The unique identifier of the offer. |
State Name | Description |
---|---|
O_Create offer | Creating a credit offer. |
O_Created | Offer created. |
O_Sent (online only) | Offer sent online. |
O_Sent (mail and online) | Offer sent online and by mail. |
O_Returned | Client submitted documents for the offer. |
O_Accepted | Application passed all checks and verification. |
O_Cancelled | Offer canceled by the client. |
O_Refused | Offer canceled by the bank. |
Alpha Miner | Inductive Miner | Heuristic Miner | |
---|---|---|---|
Percentage fit traces | 0.0 | 100.0 | 38.311 |
Average trace fitness | 0.839 | 1.0 | 0.909 |
Log fitness | 0.835 | 1.0 | 0.914 |
Precision | 0.812 | 0.780 | 1.0 |
Generalization | 0.991 | 0.983 | 0.799 |
Simplicity | 0.455 | 0.630 | 0.577 |
Frozen | O_Accepted | O_Canceled | O_Created | O_Refused | O_Returned | O_Sent (Mail and Online) | O_Sent (Online Only) | |
---|---|---|---|---|---|---|---|---|
Frozen | −1 | −1 | −1 | 0 | −1 | −1 | −1 | −1 |
O_Accepted | −1 | 100 | −1 | 0 | −1 | −1 | −1 | −1 |
O_Canceled | −1 | −1 | −1 | 0 | −1 | −1 | −1 | −1 |
O_Created | −1 | −1 | 0 | −1 | 0 | −1 | 0 | 0 |
O_Refused | −1 | −1 | −1 | 0 | −1 | −1 | −1 | −1 |
O_Returned | 0 | 100 | 0 | −1 | 0 | −1 | −1 | −1 |
O_Sent (mail and online) | 0 | −1 | 0 | −1 | 0 | 0 | −1 | −1 |
O_Sent (online only) | 0 | −1 | 0 | −1 | 0 | 0 | −1 | −1 |
Frozen | O_Accepted | O_Canceled | O_Created | O_Refused | O_Returned | O_Sent (Mail and Online) | O_Sent (Online Only) | |
---|---|---|---|---|---|---|---|---|
Frozen | 0 | 0 | 0 | 51.2 | 0 | 0 | 0 | 0 |
O_Accepted | 0 | 100 | 0 | 51.2 | 0 | 0 | 0 | 0 |
O_Canceled | 0 | 0 | 0 | 51.2 | 0 | 0 | 0 | 0 |
O_Created | 0 | 0 | 40.96 | 0 | 40.96 | 0 | 63.99 | 63.99 |
O_Refused | 0 | 0 | 0 | 51.2 | 0 | 0 | 0 | 0 |
O_Returned | 40.96 | 100 | 40.96 | 0 | 40.96 | 0 | 0 | 0 |
O_Sent (mail and online) | 40.96 | 0 | 40.96 | 0 | 40.96 | 79.99 | 0 | 0 |
O_Sent (online only) | 40.96 | 0 | 40.96 | 0 | 40.96 | 80 | 0 | 0 |
Frozen | O_Accepted | O_Canceled | O_Created | O_Refused | O_Returned | O_Sent (Mail and Online) | O_Sent (Online Only) | |
---|---|---|---|---|---|---|---|---|
Frozen | −1 | −1 | −1 | 0.1 | −1 | −100 | −1 | −1 |
O_Accepted | −1 | −1 | −1 | 0.1 | −1 | −100 | −1 | −1 |
O_Canceled | −1 | −1 | −1 | 0.1 | −1 | −100 | −1 | −1 |
O_Created | −1 | −1 | −1 | 0.1 | −1 | −100 | 1 | 1 |
O_Refused | −1 | −1 | −1 | 0.1 | −1 | −100 | −1 | −1 |
O_Returned | −1 | 100 | −1 | −1 | −1 | −100 | −1 | −1 |
O_Sent (mail and online) | −1 | −1 | −1 | −1 | −1 | 1 | −1 | −1 |
O_Sent (online only) | −1 | −1 | −1 | −1 | −1 | 1 | −1 | −1 |
Accuracy | |
---|---|
First training results (case: Selected) | 84.85% |
Second training results (case: Accepted) | 67.57% |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Bousdekis, A.; Kerasiotis, A.; Kotsias, S.; Theodoropoulou, G.; Miaoulis, G.; Ghazanfarpour, D. Modelling and Predictive Monitoring of Business Processes under Uncertainty with Reinforcement Learning. Sensors 2023, 23, 6931. https://doi.org/10.3390/s23156931
Bousdekis A, Kerasiotis A, Kotsias S, Theodoropoulou G, Miaoulis G, Ghazanfarpour D. Modelling and Predictive Monitoring of Business Processes under Uncertainty with Reinforcement Learning. Sensors. 2023; 23(15):6931. https://doi.org/10.3390/s23156931
Chicago/Turabian StyleBousdekis, Alexandros, Athanasios Kerasiotis, Silvester Kotsias, Georgia Theodoropoulou, Georgios Miaoulis, and Djamchid Ghazanfarpour. 2023. "Modelling and Predictive Monitoring of Business Processes under Uncertainty with Reinforcement Learning" Sensors 23, no. 15: 6931. https://doi.org/10.3390/s23156931
APA StyleBousdekis, A., Kerasiotis, A., Kotsias, S., Theodoropoulou, G., Miaoulis, G., & Ghazanfarpour, D. (2023). Modelling and Predictive Monitoring of Business Processes under Uncertainty with Reinforcement Learning. Sensors, 23(15), 6931. https://doi.org/10.3390/s23156931