SlideShare a Scribd company logo
Triggering Proactive Business
Process Adaptations via Online
Reinforcement Learning
Andreas Metzger, Tristan Kley, Alexander Palm
18th Int. Conference on Business Process
Management (BPM 2020)
A. Metzger, T. Kley, and A. Palm, “Triggering proactive business
process adaptations via online reinforcement learning,” in
18th Int’l Conference on Business Process Management (BPM
2020), Sevilla, Spain (virtual), September 13-18, 2020, ser.
LNCS, D. Fahland, C. Ghidini, J. Becker, and M. Dumas,
Eds., vol. 12168. Springer, 2020.
https://doi.org/10.1007/978-3-030-58666-9_16
Agenda
2
Motivation and
Problem
Statement
Reinforcement
Learning
Approach
Experimental
Results
Conclusion and
Outlook
BPM 2020
Process
completionPrediction
point j
Process
start
Proactive Process Adaptation “in a Nutshell”
BPM 20203
Monitor
Predict
Proactive
adaptation
planned /
acceptable situations
= Violation
= Non-
Violation
Process
Performance

Requirements for Proactive Process Adaptations
Requirement 1: Accuracy of Predictions
• False violations  Unnecessary adaptations
• False non-violations  Missed adaptations
Requirement 2: Earliness of Predictions
• Early predictions  More time for adaptations
But: trade-off between accuracy and earliness
BPM 20204
BPIC 2012 [Teinemaa et al. 2019]Cargo 2000 [Metzger et al., 2020a]
Accuracy
Prediction point
C1 C3 C5 C7 C9
Low
High
Early Late
BPIC 2017 [Wang et al. 2019]
Trading off Accuracy and Earliness (State of the Art)
Reliability-based Adaptation
• Use first prediction with sufficient reliability
• Class probability of random forests [Teinemaa et al. 2018]
• Majority count of deep neural network ensembles [Metzger et al. 2019]
• Sufficient reliability expressed via threshold
• But: optimal threshold is unknown!
Empirical Thresholding [Teinemaa et al. 2018; Fahrenkrog-Petersen et al. 2019]
• Determine “optimal” threshold using dedicated
training data set
• But: Threshold may not remain optimal due to
non-stationarity in process environments,
data or cost structures
BPM 20205
Threshold Time of Adaptation Risk for Adaptation
Lower Earlier More wrong adaptations
Higher Later Less time for adaptations
Agenda
6
Motivation and
Problem
Statement
Reinforcement
Learning
Approach
Experimental
Results
Conclusion and
Outlook
BPM 2020
Overall Approach (Simplified)
Learn at run-time when to trigger
adaptations
BPM 20207
Monitoring data
at prediction point j
Reliability
Estimate j
Relative,
Predicted
Deviation j
Process Execution (BPM System)
Online Reinforcement
Learning (RL)
Predictive Process
Monitoring
(Ensemble Deep
Supervised Learning)
Action (triggering
proactive adaptation)
Reward
Relative
Prefix
Length j
State
(Obser-
vation)
Overall Approach
BPM 20208
Monitoring data
at prediction point j
RNN-LSTM
Model 1
RNN-LSTM
Model m
…
Reliability
Estimate j
Relative,
Predicted
Deviation jyj,1
^
yj,m
^
a
r
Action Selection
(Sampling)
Action Selection
Policy (Artificial
Neural Network)
s
Policy Update
(Gradient Ascent)
s’
a
Process Execution (BPM System)
Action (triggering
proactive adaptation)
Reward
RNN-LSTM
Model 2
yj,2
^
Relative
Prefix
Length j
Online Reinforcement Learning
Technology Foundation: Policy-based RL [Palm et al., 2020]
• No need to quantize states (like in tabular Q-Learning)
• No need to fine-tune exploration vs. exploitation (like in Q-Learning / SARSA)
-- especially no need to re-tune due to non-stationarity
Formulating the Learning Problem
• Strong rewards r (= learning goals)
• Rewards modelled closely to actual problem domain may be weak; e.g.,
successful process execution  zero costs  r = 0
• successful process execution  r = +1
• Episode = execution of a single case
• Actual rewards r at end of each case
BPM 20209
1 2 3 4 5
No adaptation
 r2 = 0
No adaptation
 r3 = 0
Adaptation
 r4 = r
Agenda
10
Motivation and
Problem
Statement
Reinforcement
Learning
Approach
Experimental
Results
Conclusion and
Outlook
BPM 2020
-0,4
-0,3
-0,2
-0,1
0
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
1
100
355
610
865
1120
1375
1630
1885
2140
2395
2650
2905
3160
3415
3670
3925
4180
4435
4690
4945
5200
5455
5710
5965
6220
6475
6730
6985
7240
7495
7750
8005
8260
8515
8770
9025
9280
9535
9790
10045
10300
Learning behaviour
BPM 202011
Rate of adaptations
Earliness
Reward/100
Rate of correct adaptations
BPIC 2017
Episodes (= cases)
Learning behaviour
BPM 202012
-0,2
-0,1
0
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
1
100
1101
2102
3103
4104
5105
6106
7107
8108
9109
10110
11111
12112
13113
14114
15115
16116
17117
18118
19119
20120
21121
22122
23123
24124
25125
26126
27127
28128
29129
30130
31131
32132
33133
34134
35135
36136
37137
38138
39139
40140
41141
42142
43143
44144
45145
46146
47147
48148
49149
0
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
1
98
1099
2100
3101
4102
5103
6104
7105
8106
9107
10108
11109
12110
13111
14112
15113
16114
17115
18116
19117
20118
21119
22120
23121
24122
25123
26124
27125
28126
29127
30128
31129
32130
33131
34132
35133
36134
37135
38136
39137
40138
41139
42140
43141
44142
45143
46144
47145
48146
49147
Accuracy (avg MAE; last 100 cases)
Accuracy (avg MAE; last 100 cases)
Accuracy (MAE)
Traffic
Quantitative Results
Cost Model [Teinemaa et al., 2018; Metzger et al., 2019]
• Penalty
• Adaptation / compensation costs =  * Penalty
• Adaptation effectiveness 
Average cost savings compared with empirical thresholding
Improvement of using strong reward function
• 36.9 % lower costs for BPIC 2017 [Palm et al. 2020]
BPM 202013
Data Set min = .5 min = 0
BPIC 2012 2.0% 3%
BPIC 2017 1.0% 11.4%
Traffic 24.3% 32.1%
Average 9.1% 15.5%
(Erratum: Average cost savings reported in paper are smaller due to missing value for  = .4)
Agenda
14
Motivation and
Problem
Statement
Reinforcement
Learning
Approach
Experimental
Results
Conclusion and
Outlook
BPM 2020
Conclusion and Outlook
Online Reinforcement Learning for
effective decision support for proactive process adaptation
Future enhancements
• Consider multiple adaptation options
[Fahrenkrog-Petersen et al., 2019]
• Increase speed of convergence
• Perform offline pre-training during design time
• Better guide exploration in presence of multiple
adaptation options [Metzger et al., 2020b]
• Explain predictions and adaptation decisions
[Sindhgatta et al. 2020, Mehdiyev and Fettke, 2020]
15 BPM 2020
Research leading to these results has received funding from the EU’s
H2020 research and innovation programme under grant agreements no.
871493 – https://dataports-project.eu/
780351 – https://enact-project.eu/
Thank You!
-0,4
-0,3
-0,2
-0,1
0
0,1
0,2
0,3
0,4
0,5
0,6
0,7
0,8
0,9
1
100
355
610
865
1120
1375
1630
1885
2140
2395
2650
2905
3160
3415
3670
3925
4180
4435
4690
4945
5200
5455
5710
5965
6220
6475
6730
6985
7240
7495
7750
8005
8260
8515
8770
9025
References
[Metzger et al., 2019] A. Metzger, A. Neubauer, P. Bohn, and K. Pohl, “Proactive process adaptation using deep learning
ensembles,” in CAiSE 2019, LNCS, , vol. 11483. Springer, 2019.
[Teinemaa et al. 2019] Teinemaa, I., Dumas, M., Rosa, M.L., Maggi, F.M.: Outcome-oriented predictive process monitoring:
Review and benchmark. ACM Trans. Knowledge Discovery from Data (TKDD) 13, 2019
[Metzger et al., 2020a] A. Metzger, J. Franke, and T. Jansen, “Ensemble deep learning for proactive terminal process
management at the port of Duisburg ’duisport’,” in Business Process Management Cases – Volume 2, J. vom
Brocke, J. Mendling, and M. Rosemann, Eds. Springer, 2020 – to be published.
[Metzger et al., 2020b] A. Metzger, C. Quinton, Z. Mann, L. Baresi, and K. Pohl, “Feature model-guided online
reinforcement learning for self-adaptive services,” in 18th Int’l Conference on Service-Oriented Computing (ICSOC
2020), LNCS, Springer, 2020 – to be published.
[Wang et al., 2019] J. Wang, D. Yu, C. Liu, and X. Sun, “Outcome-oriented predictive process monitoring with attention-
based bidirectional LSTM neural networks,” in ICWS 2019, IEEE, 2019
[Teinemaa et al., 2018] Teinemaa, I., Tax, N., de Leoni, M., Dumas, M., Maggi, F.M.: Alarm-based prescriptive process
monitoring. In: Weske, M., Montali, M., Weber, I., vom Brocke, J. (eds.) BPM Forum 2018, LNBIP, vol. 329,
Springer, 2018
[Fahrenkrog-Petersen et al., 2019] Fahrenkrog-Petersen, S.A., Tax, N., Teinemaa, I., Dumas, M., de Leoni, M., Maggi, F.M.,
Weidlich, M.: Fire now, fire later: Alarm-based systems for prescriptive process monitoring. CoRR abs/1905.09568,
2019
[Francescomarino et al., 2017] Francescomarino, C.D., Ghidini, C., Maggi, F.M., Petrucci, G., Yeshchenko, A.: “An eye into
the future: Leveraging a-priori knowledge in predictive business process monitoring“, in BPM 2017, LNCS, vol.
10445, Springer, 2017
[Palm et al., 2020] A. Palm, A. Metzger, and K. Pohl, “Online reinforcement learning for self-adaptive information
systems,” in CAiSE 2020, LNCS, vol. 12127, Springer, 2020
[Mehdiyev and Fettke, 2020] N. Mehdiyev and P. Fettke, “Prescriptive process analytics with deep learning and
explainable artificial intelligence,” in ECIS 2020
[Sindhgatta et al. 2020] R. Sindhgatta, C. Moreira, C. Ouyang, A. Barros: Exploring Interpretable Predictive Models for
Business Processes. BPM 2020: 257-272
BPM 202016

More Related Content

Similar to Triggering Proactive Business Process Adaptations via Online Reinforcement Learning

Towards IoT-Driven Predictive Business Process Analytics
Towards IoT-Driven Predictive Business Process Analytics Towards IoT-Driven Predictive Business Process Analytics
Towards IoT-Driven Predictive Business Process Analytics
Erfan Elhami
 
IRJET- Predicting Academic Course Preference using Inspired Mapreduce
IRJET- Predicting Academic Course Preference using Inspired MapreduceIRJET- Predicting Academic Course Preference using Inspired Mapreduce
IRJET- Predicting Academic Course Preference using Inspired Mapreduce
IRJET Journal
 
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive ServicesFeature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
Andreas Metzger
 
IRJET- Intelligent Laboratory Management System based on Internet of Thin...
IRJET-  	  Intelligent Laboratory Management System based on Internet of Thin...IRJET-  	  Intelligent Laboratory Management System based on Internet of Thin...
IRJET- Intelligent Laboratory Management System based on Internet of Thin...
IRJET Journal
 
The 80/20 Rule for Desktop KPI's: Less is More!
The 80/20 Rule for Desktop KPI's: Less is More!The 80/20 Rule for Desktop KPI's: Less is More!
The 80/20 Rule for Desktop KPI's: Less is More!
MetricNet
 
Demat account 1
Demat account 1Demat account 1
Demat account 1
kammy virk
 
Tax Prediction Using Machine Learning
Tax Prediction Using Machine LearningTax Prediction Using Machine Learning
Tax Prediction Using Machine Learning
IRJET Journal
 
Pranabendu
PranabenduPranabendu
Pranabendu
PMI2011
 
Pranabendu 131008015758-phpapp02
Pranabendu 131008015758-phpapp02Pranabendu 131008015758-phpapp02
Pranabendu 131008015758-phpapp02
PMI_IREP_TP
 
IRJET- Course outcome Attainment Estimation System
IRJET-  	  Course outcome Attainment Estimation SystemIRJET-  	  Course outcome Attainment Estimation System
IRJET- Course outcome Attainment Estimation System
IRJET Journal
 
IRJET- College Campus Event Management System
IRJET- College Campus Event Management SystemIRJET- College Campus Event Management System
IRJET- College Campus Event Management System
IRJET Journal
 
Urban Local Bodies Case Study
Urban Local Bodies Case StudyUrban Local Bodies Case Study
Urban Local Bodies Case Study
Sandra Ahn
 
Management summary presentation
Management summary presentationManagement summary presentation
Management summary presentation
IT Strategy Group
 
IRJET- Software Bug Prediction using Machine Learning Approach
IRJET- Software Bug Prediction using Machine Learning ApproachIRJET- Software Bug Prediction using Machine Learning Approach
IRJET- Software Bug Prediction using Machine Learning Approach
IRJET Journal
 
Epco itsm transformation_roadmap_v5_draft_063008
Epco itsm transformation_roadmap_v5_draft_063008Epco itsm transformation_roadmap_v5_draft_063008
Epco itsm transformation_roadmap_v5_draft_063008
Accenture
 
journal of monitoring system
journal of monitoring systemjournal of monitoring system
journal of monitoring system
Amirudin ilhamsyah
 
PM&E Guideline
PM&E GuidelinePM&E Guideline
PM&E Guideline
Md. Reajul Islam
 
IRJET- Placement Portal and Prediction System
IRJET- Placement Portal and Prediction SystemIRJET- Placement Portal and Prediction System
IRJET- Placement Portal and Prediction System
IRJET Journal
 
IRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine LearningIRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine Learning
IRJET Journal
 
IRJET- Placement Management and Prediction System using Data Mining and Cloud...
IRJET- Placement Management and Prediction System using Data Mining and Cloud...IRJET- Placement Management and Prediction System using Data Mining and Cloud...
IRJET- Placement Management and Prediction System using Data Mining and Cloud...
IRJET Journal
 

Similar to Triggering Proactive Business Process Adaptations via Online Reinforcement Learning (20)

Towards IoT-Driven Predictive Business Process Analytics
Towards IoT-Driven Predictive Business Process Analytics Towards IoT-Driven Predictive Business Process Analytics
Towards IoT-Driven Predictive Business Process Analytics
 
IRJET- Predicting Academic Course Preference using Inspired Mapreduce
IRJET- Predicting Academic Course Preference using Inspired MapreduceIRJET- Predicting Academic Course Preference using Inspired Mapreduce
IRJET- Predicting Academic Course Preference using Inspired Mapreduce
 
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive ServicesFeature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
Feature Model-Guided Online Reinforcement Learning for Self-Adaptive Services
 
IRJET- Intelligent Laboratory Management System based on Internet of Thin...
IRJET-  	  Intelligent Laboratory Management System based on Internet of Thin...IRJET-  	  Intelligent Laboratory Management System based on Internet of Thin...
IRJET- Intelligent Laboratory Management System based on Internet of Thin...
 
The 80/20 Rule for Desktop KPI's: Less is More!
The 80/20 Rule for Desktop KPI's: Less is More!The 80/20 Rule for Desktop KPI's: Less is More!
The 80/20 Rule for Desktop KPI's: Less is More!
 
Demat account 1
Demat account 1Demat account 1
Demat account 1
 
Tax Prediction Using Machine Learning
Tax Prediction Using Machine LearningTax Prediction Using Machine Learning
Tax Prediction Using Machine Learning
 
Pranabendu
PranabenduPranabendu
Pranabendu
 
Pranabendu 131008015758-phpapp02
Pranabendu 131008015758-phpapp02Pranabendu 131008015758-phpapp02
Pranabendu 131008015758-phpapp02
 
IRJET- Course outcome Attainment Estimation System
IRJET-  	  Course outcome Attainment Estimation SystemIRJET-  	  Course outcome Attainment Estimation System
IRJET- Course outcome Attainment Estimation System
 
IRJET- College Campus Event Management System
IRJET- College Campus Event Management SystemIRJET- College Campus Event Management System
IRJET- College Campus Event Management System
 
Urban Local Bodies Case Study
Urban Local Bodies Case StudyUrban Local Bodies Case Study
Urban Local Bodies Case Study
 
Management summary presentation
Management summary presentationManagement summary presentation
Management summary presentation
 
IRJET- Software Bug Prediction using Machine Learning Approach
IRJET- Software Bug Prediction using Machine Learning ApproachIRJET- Software Bug Prediction using Machine Learning Approach
IRJET- Software Bug Prediction using Machine Learning Approach
 
Epco itsm transformation_roadmap_v5_draft_063008
Epco itsm transformation_roadmap_v5_draft_063008Epco itsm transformation_roadmap_v5_draft_063008
Epco itsm transformation_roadmap_v5_draft_063008
 
journal of monitoring system
journal of monitoring systemjournal of monitoring system
journal of monitoring system
 
PM&E Guideline
PM&E GuidelinePM&E Guideline
PM&E Guideline
 
IRJET- Placement Portal and Prediction System
IRJET- Placement Portal and Prediction SystemIRJET- Placement Portal and Prediction System
IRJET- Placement Portal and Prediction System
 
IRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine LearningIRJET- Comparison of Classification Algorithms using Machine Learning
IRJET- Comparison of Classification Algorithms using Machine Learning
 
IRJET- Placement Management and Prediction System using Data Mining and Cloud...
IRJET- Placement Management and Prediction System using Data Mining and Cloud...IRJET- Placement Management and Prediction System using Data Mining and Cloud...
IRJET- Placement Management and Prediction System using Data Mining and Cloud...
 

More from Andreas Metzger

Explainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive SystemsExplainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive Systems
Andreas Metzger
 
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Andreas Metzger
 
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive SystemsExplaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Andreas Metzger
 
Antrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptxAntrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptx
Andreas Metzger
 
Data-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process ManagementData-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process Management
Andreas Metzger
 
Big Data Technology Insights
Big Data Technology InsightsBig Data Technology Insights
Big Data Technology Insights
Andreas Metzger
 
Data-driven AI for Self-adaptive Information Systems
Data-driven AI for Self-adaptive Information SystemsData-driven AI for Self-adaptive Information Systems
Data-driven AI for Self-adaptive Information Systems
Andreas Metzger
 
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Andreas Metzger
 
Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...
Andreas Metzger
 
Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics
Andreas Metzger
 
Predictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and RiskPredictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and Risk
Andreas Metzger
 
Risk-based Proactive Process Adaptation
Risk-based Proactive Process AdaptationRisk-based Proactive Process Adaptation
Risk-based Proactive Process Adaptation
Andreas Metzger
 
Predictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability EstimatesPredictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability Estimates
Andreas Metzger
 

More from Andreas Metzger (13)

Explainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive SystemsExplainable Online Reinforcement Learning for Adaptive Systems
Explainable Online Reinforcement Learning for Adaptive Systems
 
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
Data Quality Issues in Online Reinforcement Learning for Self-Adaptive System...
 
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive SystemsExplaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
Explaining Online Reinforcement Learning Decisions of Self-Adaptive Systems
 
Antrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptxAntrittsvorlesung - APL.pptx
Antrittsvorlesung - APL.pptx
 
Data-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process ManagementData-driven Deep Learning for Proactive Terminal Process Management
Data-driven Deep Learning for Proactive Terminal Process Management
 
Big Data Technology Insights
Big Data Technology InsightsBig Data Technology Insights
Big Data Technology Insights
 
Data-driven AI for Self-adaptive Information Systems
Data-driven AI for Self-adaptive Information SystemsData-driven AI for Self-adaptive Information Systems
Data-driven AI for Self-adaptive Information Systems
 
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
Towards an End-to-End Architecture for Run-time Data Protection in the Cloud
 
Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...Considering Non-sequential Control Flows for Process Prediction with Recurren...
Considering Non-sequential Control Flows for Process Prediction with Recurren...
 
Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics Big Data Value in Mobility and Logistics
Big Data Value in Mobility and Logistics
 
Predictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and RiskPredictive Business Process Monitoring considering Reliability and Risk
Predictive Business Process Monitoring considering Reliability and Risk
 
Risk-based Proactive Process Adaptation
Risk-based Proactive Process AdaptationRisk-based Proactive Process Adaptation
Risk-based Proactive Process Adaptation
 
Predictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability EstimatesPredictive Process Monitoring Considering Reliability Estimates
Predictive Process Monitoring Considering Reliability Estimates
 

Recently uploaded

Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
michniczscribd
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
campbellclarkson
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
kalichargn70th171
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
kalichargn70th171
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
vaishalijagtap12
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
Zycus
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
Bert Jan Schrijver
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
Reetu63
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
Tier1 app
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
Optimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptxOptimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptx
WebConnect Pvt Ltd
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Paul Brebner
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
Pedro J. Molina
 

Recently uploaded (20)

Beginner's Guide to Observability@Devoxx PL 2024
Beginner's  Guide to Observability@Devoxx PL 2024Beginner's  Guide to Observability@Devoxx PL 2024
Beginner's Guide to Observability@Devoxx PL 2024
 
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
🏎️Tech Transformation: DevOps Insights from the Experts 👩‍💻
 
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdfThe Comprehensive Guide to Validating Audio-Visual Performances.pdf
The Comprehensive Guide to Validating Audio-Visual Performances.pdf
 
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
The Power of Visual Regression Testing_ Why It Is Critical for Enterprise App...
 
42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert42 Ways to Generate Real Estate Leads - Sellxpert
42 Ways to Generate Real Estate Leads - Sellxpert
 
How GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdfHow GenAI Can Improve Supplier Performance Management.pdf
How GenAI Can Improve Supplier Performance Management.pdf
 
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
J-Spring 2024 - Going serverless with Quarkus, GraalVM native images and AWS ...
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
ppt on the brain chip neuralink.pptx
ppt  on   the brain  chip neuralink.pptxppt  on   the brain  chip neuralink.pptx
ppt on the brain chip neuralink.pptx
 
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSISDECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
DECODING JAVA THREAD DUMPS: MASTER THE ART OF ANALYSIS
 
bgiolcb
bgiolcbbgiolcb
bgiolcb
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
Optimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptxOptimizing Your E-commerce with WooCommerce.pptx
Optimizing Your E-commerce with WooCommerce.pptx
 
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
Why Apache Kafka Clusters Are Like Galaxies (And Other Cosmic Kafka Quandarie...
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Orca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container OrchestrationOrca: Nocode Graphical Editor for Container Orchestration
Orca: Nocode Graphical Editor for Container Orchestration
 

Triggering Proactive Business Process Adaptations via Online Reinforcement Learning

  • 1. Triggering Proactive Business Process Adaptations via Online Reinforcement Learning Andreas Metzger, Tristan Kley, Alexander Palm 18th Int. Conference on Business Process Management (BPM 2020) A. Metzger, T. Kley, and A. Palm, “Triggering proactive business process adaptations via online reinforcement learning,” in 18th Int’l Conference on Business Process Management (BPM 2020), Sevilla, Spain (virtual), September 13-18, 2020, ser. LNCS, D. Fahland, C. Ghidini, J. Becker, and M. Dumas, Eds., vol. 12168. Springer, 2020. https://doi.org/10.1007/978-3-030-58666-9_16
  • 3. Process completionPrediction point j Process start Proactive Process Adaptation “in a Nutshell” BPM 20203 Monitor Predict Proactive adaptation planned / acceptable situations = Violation = Non- Violation Process Performance 
  • 4. Requirements for Proactive Process Adaptations Requirement 1: Accuracy of Predictions • False violations  Unnecessary adaptations • False non-violations  Missed adaptations Requirement 2: Earliness of Predictions • Early predictions  More time for adaptations But: trade-off between accuracy and earliness BPM 20204 BPIC 2012 [Teinemaa et al. 2019]Cargo 2000 [Metzger et al., 2020a] Accuracy Prediction point C1 C3 C5 C7 C9 Low High Early Late BPIC 2017 [Wang et al. 2019]
  • 5. Trading off Accuracy and Earliness (State of the Art) Reliability-based Adaptation • Use first prediction with sufficient reliability • Class probability of random forests [Teinemaa et al. 2018] • Majority count of deep neural network ensembles [Metzger et al. 2019] • Sufficient reliability expressed via threshold • But: optimal threshold is unknown! Empirical Thresholding [Teinemaa et al. 2018; Fahrenkrog-Petersen et al. 2019] • Determine “optimal” threshold using dedicated training data set • But: Threshold may not remain optimal due to non-stationarity in process environments, data or cost structures BPM 20205 Threshold Time of Adaptation Risk for Adaptation Lower Earlier More wrong adaptations Higher Later Less time for adaptations
  • 7. Overall Approach (Simplified) Learn at run-time when to trigger adaptations BPM 20207 Monitoring data at prediction point j Reliability Estimate j Relative, Predicted Deviation j Process Execution (BPM System) Online Reinforcement Learning (RL) Predictive Process Monitoring (Ensemble Deep Supervised Learning) Action (triggering proactive adaptation) Reward Relative Prefix Length j State (Obser- vation)
  • 8. Overall Approach BPM 20208 Monitoring data at prediction point j RNN-LSTM Model 1 RNN-LSTM Model m … Reliability Estimate j Relative, Predicted Deviation jyj,1 ^ yj,m ^ a r Action Selection (Sampling) Action Selection Policy (Artificial Neural Network) s Policy Update (Gradient Ascent) s’ a Process Execution (BPM System) Action (triggering proactive adaptation) Reward RNN-LSTM Model 2 yj,2 ^ Relative Prefix Length j
  • 9. Online Reinforcement Learning Technology Foundation: Policy-based RL [Palm et al., 2020] • No need to quantize states (like in tabular Q-Learning) • No need to fine-tune exploration vs. exploitation (like in Q-Learning / SARSA) -- especially no need to re-tune due to non-stationarity Formulating the Learning Problem • Strong rewards r (= learning goals) • Rewards modelled closely to actual problem domain may be weak; e.g., successful process execution  zero costs  r = 0 • successful process execution  r = +1 • Episode = execution of a single case • Actual rewards r at end of each case BPM 20209 1 2 3 4 5 No adaptation  r2 = 0 No adaptation  r3 = 0 Adaptation  r4 = r
  • 13. Quantitative Results Cost Model [Teinemaa et al., 2018; Metzger et al., 2019] • Penalty • Adaptation / compensation costs =  * Penalty • Adaptation effectiveness  Average cost savings compared with empirical thresholding Improvement of using strong reward function • 36.9 % lower costs for BPIC 2017 [Palm et al. 2020] BPM 202013 Data Set min = .5 min = 0 BPIC 2012 2.0% 3% BPIC 2017 1.0% 11.4% Traffic 24.3% 32.1% Average 9.1% 15.5% (Erratum: Average cost savings reported in paper are smaller due to missing value for  = .4)
  • 15. Conclusion and Outlook Online Reinforcement Learning for effective decision support for proactive process adaptation Future enhancements • Consider multiple adaptation options [Fahrenkrog-Petersen et al., 2019] • Increase speed of convergence • Perform offline pre-training during design time • Better guide exploration in presence of multiple adaptation options [Metzger et al., 2020b] • Explain predictions and adaptation decisions [Sindhgatta et al. 2020, Mehdiyev and Fettke, 2020] 15 BPM 2020 Research leading to these results has received funding from the EU’s H2020 research and innovation programme under grant agreements no. 871493 – https://dataports-project.eu/ 780351 – https://enact-project.eu/ Thank You! -0,4 -0,3 -0,2 -0,1 0 0,1 0,2 0,3 0,4 0,5 0,6 0,7 0,8 0,9 1 100 355 610 865 1120 1375 1630 1885 2140 2395 2650 2905 3160 3415 3670 3925 4180 4435 4690 4945 5200 5455 5710 5965 6220 6475 6730 6985 7240 7495 7750 8005 8260 8515 8770 9025
  • 16. References [Metzger et al., 2019] A. Metzger, A. Neubauer, P. Bohn, and K. Pohl, “Proactive process adaptation using deep learning ensembles,” in CAiSE 2019, LNCS, , vol. 11483. Springer, 2019. [Teinemaa et al. 2019] Teinemaa, I., Dumas, M., Rosa, M.L., Maggi, F.M.: Outcome-oriented predictive process monitoring: Review and benchmark. ACM Trans. Knowledge Discovery from Data (TKDD) 13, 2019 [Metzger et al., 2020a] A. Metzger, J. Franke, and T. Jansen, “Ensemble deep learning for proactive terminal process management at the port of Duisburg ’duisport’,” in Business Process Management Cases – Volume 2, J. vom Brocke, J. Mendling, and M. Rosemann, Eds. Springer, 2020 – to be published. [Metzger et al., 2020b] A. Metzger, C. Quinton, Z. Mann, L. Baresi, and K. Pohl, “Feature model-guided online reinforcement learning for self-adaptive services,” in 18th Int’l Conference on Service-Oriented Computing (ICSOC 2020), LNCS, Springer, 2020 – to be published. [Wang et al., 2019] J. Wang, D. Yu, C. Liu, and X. Sun, “Outcome-oriented predictive process monitoring with attention- based bidirectional LSTM neural networks,” in ICWS 2019, IEEE, 2019 [Teinemaa et al., 2018] Teinemaa, I., Tax, N., de Leoni, M., Dumas, M., Maggi, F.M.: Alarm-based prescriptive process monitoring. In: Weske, M., Montali, M., Weber, I., vom Brocke, J. (eds.) BPM Forum 2018, LNBIP, vol. 329, Springer, 2018 [Fahrenkrog-Petersen et al., 2019] Fahrenkrog-Petersen, S.A., Tax, N., Teinemaa, I., Dumas, M., de Leoni, M., Maggi, F.M., Weidlich, M.: Fire now, fire later: Alarm-based systems for prescriptive process monitoring. CoRR abs/1905.09568, 2019 [Francescomarino et al., 2017] Francescomarino, C.D., Ghidini, C., Maggi, F.M., Petrucci, G., Yeshchenko, A.: “An eye into the future: Leveraging a-priori knowledge in predictive business process monitoring“, in BPM 2017, LNCS, vol. 10445, Springer, 2017 [Palm et al., 2020] A. Palm, A. Metzger, and K. Pohl, “Online reinforcement learning for self-adaptive information systems,” in CAiSE 2020, LNCS, vol. 12127, Springer, 2020 [Mehdiyev and Fettke, 2020] N. Mehdiyev and P. Fettke, “Prescriptive process analytics with deep learning and explainable artificial intelligence,” in ECIS 2020 [Sindhgatta et al. 2020] R. Sindhgatta, C. Moreira, C. Ouyang, A. Barros: Exploring Interpretable Predictive Models for Business Processes. BPM 2020: 257-272 BPM 202016

Editor's Notes

  1. MCC metric for Cargo 2000 (Metzger and Neubauer 2018) AUC metric for BPIC2012 (Teinemaa et al. 2019) BPIC 2017 (Wang et al. 2019). The different curves represent different concrete configurations of the prediction models (e.g., feature encoding)
  2. RNN-LSTM, increasingly used; e.g., Tax or Evermann
  3. Note: small mistake in the paper, that the averages where not recomputed in the underlying XLS sheet 