SlideShare a Scribd company logo
1 of 49
Marlon Dumas
University of Tartu
Institute of Computer Science
AI for Business Process Management
From Process Mining to Automated Process Improvement
Bolzano Rules and Artificial INtelligence Summit (BRAIN 2019)
17 September 2019
a set of inter-related events, activities and decisions
...involving a number of actors (resources) and (data) objects,
….triggered by a need
and leading to an outcome that is of value to a customer.
Examples:
• Order-to-Cash
• Procure-to-Pay (aka Purchase-to-Pay)
• Application-to-Approval
• Fault-to-Resolution
A business process is…
2
Business Process Management (BPM)
Process
identification
Conformance and
performance insights
Conformance and
performance insights
Process
monitoring and
controlling
Executable
process
model
Executable
process
model
Process
implementation To-be process
model
To-be process
model
Process
analysis
As-is process
model
As-is process
model
Process
discovery
Process architectureProcess architecture
Process
redesign
Insights on
weaknesses and
their impact
Insights on
weaknesses and
their impact
3
Performance Dashboards
Process Mining
Database
Enterprise
System
Business Process Monitoring
Event log
Event stream
4
Structure of a Business Process Event Log
Tactical Process Mining
6
6
/
event log
discovered
process model
Automated Process
Discovery
Conformance
Checking
Variants Analysis
Difference
diagnostics
Performance
Mining
input process model
Enhanced
process model
event log’
Enter Loan
Application
Retrieve
Applicant
Data
Compute
Installments
Approve
Simple
Application
Approve
Complex
Application
Notify
Rejection
Notify
Eligibility
CID Task Time Stamp …
13219 Enter Loan Application 2007-11-09 T 11:20:10 -
13219 Retrieve Applicant Data 2007-11-09 T 11:22:15 -
13220 Enter Loan Application 2007-11-09 T 11:22:40 -
13219 Compute Installments 2007-11-09 T 11:22:45 -
13219 Notify Eligibility 2007-11-09 T 11:23:00 -
13219
Approve Simple
Application
2007-11-09 T 11:24:30 -
13220 Compute Installements 2007-11-09 T 11:24:35 -
… … … …
Process Map
(directly follows graph)
BPMN process model
Automated Process Discovery
7
Alpha miner (α-miner)
• Simple, limited, not robust
Heuristics miner (and derivatives, including Fodina)
• Robust to noise, fast, but can produce incorrect models
Inductive miner
• Ensures that models are block-structured & correct
Split miner
• Produces deadlock-free but not necessarily structured models
Discovering BPMN Process Models
8
Enter Loan
Application
Retrieve
Applicant
Data
Compute
Installments
Approve
Simple
Application
Approve
Complex
Application
Notify
Rejection
Notify
Eligibility
event log
9
Process
Model
Log
Unfitting behavior
(lack of fitness)
Additional behavior
(lack of precision)
Lack of
generalization
Accuracy of Automated Process Discovery
Lack of
fitness
Event log:
ABCDEH
ACBDEH
ABCDFH
ACBDFH
ABDEH
ABDFH
Conformance Checking
10
García-Bañuelos et al. “Complete and Interpretable Conformance Checking of Business Processes” IEEE Transactions on
Software Engineering 44(3): 262-290, 2018
Lack of
precision
• 24 real-life event logs (most from IEEE Task force on Process Mining)
• Quality criteria:
• Accuracy measures: Fitness, precision, F-Score, generalization
• Model complexity measures: size, structural complexity, structuredness
• Model soundness
• Execution time
• Main conclusions:
• Inductive Miner, Evolutionary Tree Miner, Split Miner have highest F-scores
• Closely followed by Fodina
• Inductive Miner achieves highest fitness generally, but lower precision (than Split Miner)
• Evolutionary tree miner produces simpler models, but high execution times
Automated Process Discovery Benchmark
11
Adriano Augusto et al. “Automated Discovery of Process Models from Event Logs: Review and Benchmark”. IEEE
Transactions on Knowledge and Data Engineering (2018), DOI: 10.1109/TKDE.2018.2841877
Automated Process Discovery Methods
Heuristics Miner
good F-score
complex models
semantic errors
12
Inductive Miner
high fitness
no semantic errors
simpler models
low precision
A. Augusto et al. Split Miner: Discovering Accurate and Simple Business Process Models from Event Logs. In ICDM’2017.
Split Miner
high fitness
no semantic errors
simpler models
Moderate precision
13
Process Mining
14
≠
Conformance Checking
Given a process model and an event log, find, describe,
and/or measure the differences between them
Unfitting behaviour:
• Task C is optional (i.e. may be skipped) in the log
Additional behavior:
• The cycle including IGDF is not observed in the log
Event log:
ABCDEH
ACBDEH
ABCDFH
ACBDFH
ABDEH
ABDFH
Conformance Checking – Output
15
García-Bañuelos et al. “Complete and Interpretable Conformance Checking of Business Processes” IEEE Transactions on
Software Engineering 44(3): 262-290, 2018
Behavior Alignment
Petri Net
compress
DAFSA
Reachability
Graph
PSP
Event Log
Optimal
Alignments
Difference
Statements
expand
compare
(1)
(2)
(3)
16
Daniel Reißner, Raffaele Conforti, Marlon Dumas, Marcello La Rosa, Abel Armas-Cervantes:
Scalable Conformance Checking of Business Processes. OTM Conferences (1) 2017: 607-627
Process Model Repair
A. Armas Cervantes et al. “Interactive and Incremental Business Process Model Repair”, Proceedings of CoopIS’2017
17
Research Challenge
• Minimal repaired model with syntactic and semantic
guarantees?
 Constraint Solving, Automated Planning, Synthesis_
Statistics-Based Techniques
Performance Dashboards
Model-Based Techniques
Process Mining
Database
Enterprise
System
Business Process Analytics
Event log
Event stream
18
18
Predictive Process Monitoring
Event
stream
Predictive
models
Detailed predictive dashboard
Alarm-based prescriptive dashboard
Aggregate predictive dashboards
Event
logDatabase
Enterprise
System
19
Predictive Process Monitoring
• What is the next activity for this case?
• When is this next activity going to take place?
• How long is this case still going to take until it is finished?
• What is the outcome of this case?
• Is the compensation going to be paid? Or rejected?
20
Event log
Classifier /
Regressor
/
Outcome predictionAttributes
Traces
21
Event log
Structured
predictor
Next activity /
Future path prediction
Attributes
Traces
Performance measure
prediction
Predictive Process Monitoring: General Approach
Predictive process monitoring workflow
Prefix
extraction
Bucketing
Sequence
encoding
Model
training
Prefix extraction
Prefix
extraction
Bucketing
Sequence
encoding
Model
training
Bucketing
Prefix
extraction
Bucketing
Sequence
encoding
Model
training
Sequence encoding
Prefix extraction Bucketing
Sequence
encoding
Model training
(Amsterdam,
(Paris,
2 adults,
1 adult,
3 days,
4 days,
€100)
€150)
not cancelled
cancelled
(Amsterdam,
(Paris,
2 adults,
1 adult,
€100)
€150)
not cancelled
cancelled
(Amsterdam,
(Paris,
2 adults,
1 adult,
€100)
€150)
not cancelled
cancelled
(Amsterdam, 2 adults, 3 days, €100) not cancelledJuly,
(Amsterdam,
(Paris,
2 adults,
1 adult,
3 days,
4 days,
€100)
€150)
not cancelled
cancelled
April,
July,
Model training
Prefix
extraction
Bucketing
Sequence
encoding
Model
training
(Amsterdam,
(Paris
,
2 adults,
1 adult,
3 days,
4 days,
€100
)
€150
)
not cancelled
cancelled
(Amsterdam,
(Paris
,
2 adults,
1 adult,
€100
)
€150
)
not cancelled
cancelled
(Amsterdam,
(Paris
,
2 adults,
1 adult,
€100
)
€150
)
not cancelled
cancelled
(Amsterdam, 2 adults, 3 days,
€100
)
not cancelledJuly,
(Amsterdam,
(Paris
,
2 adults,
1 adult,
3 days,
4 days,
€100
)
€150
)
not cancelled
cancelled
April,
July,
Predictive process monitoring workflow
Encoding Bucketing Learning
Training
set
Last state
Aggregation
Index-based
…
Zero
Cluster
Prefix-length
…
Decision
tree
Random
forest
SVM
…
Buckets Models
27
Taxonomy of predictive process montioring
approaches
What is the relative performance of these
methods?
Irene Teinemaa, Marlon Dumas, Marcello La Rosa, Fabrizio Maria Maggi:
Outcome-Oriented Predictive Process Monitoring: Review and Benchmark. TKDD 13(2): 17:1-17:57 (2019)
Evaluation datasets
Dataset Domain # traces
Median
# events in trace
Class ratio
1 bpic2011_1 Hospital treatment 1140 25 0.4
2 bpic2011_2 Hospital treatment 1140 54.5 0.78
3 bpic2011_3 Hospital treatment 1121 21 0.23
4 bpic2011_4 Hospital treatment 1140 44 0.28
5 bpic2012_1 Loan application 4685 35 0.48
6 bpic2012_2 Loan application 4685 35 0.17
7 bpic2012_3 Loan application 4685 35 0.35
8 bpic2015_1 Building permit 696 42 0.23
9 bpic2015_2 Building permit 753 55 0.19
10 bpic2015_3 Building permit 1328 42 0.2
11 bpic2015_4 Building permit 577 42 0.16
12 bpic2015_5 Building permit 1051 50 0.31
13 bpic2017_1 Loan application 31413 35 0.41
14 bpic2017_2 Loan application 31413 35 0.12
15 bpic2017_3 Loan application 31413 35 0.47
16 Production
Manufacturing
220 9 0.53
17 sepsis_1 Hospital treatment 754 14 0.14
18 sepsis_2 Hospital treatment 782 13 0.14
19 sepsis_3 Hospital treatment 782 13 0.14
20 Traffic Traffic fines 129615 4 0.46
21 hospital_1 Hospital finances 77525 6 0.1
22 hospital_2 Hospital finances 77525 6 0.05
23 insurance_1 Insurance 1065 12 0.16
XGBoost
Random forest
Logistic regression
Support vector machine
Average rank over
the 24 datasets
in terms of AUC
Results: Learning Algorithms (Nemenyi
test)
Average rank over
the 24 datasets
in terms of AUC
Results: Bucketing and Sequence
Encoding
• Predict process outcome (e.g. “Is this loan offer going to be rejected?”)
• Predict process performance (e.g. “Will this claim take longer than 5 days to be
handled?”)
• Predict future events (e.g. “What activity is likely to be executed next? And after
that?”)
Event log
Training module
Training Validation
Predictor Dashboard
Runtime module
Information system
Predictions
Stream
(Kafka)
Predictive
model(s)
Event stream Event stream
Batched
Predictions
(CSV)
Apromore
Predictive process monitoring (Apromore)
32
32
http://apromore.org
• Explainable & Actionable Predictive Process Monitoring
• Extracting interpretable predictions
• Helping users understand the root causes of predicted outcomes
• Turning predictions into actions
• Prescriptive process monitoring
Frontier challenges in process mining
33
Prescriptive process monitoring
Event log
(completed
traces)
Predictive
model(s)
Running
trace
Appl
y
P( )
Predictio
n Alarm/
no alarm
Alarm
policy
+/- -
- +
Cost model
Irene Teinemaa et al. Alarm-Based Prescriptive Process Monitoring. In Proc. of BPM Forum’2018
Cost model
Undesired outcome Desired outcome
Alarm raised
cost of intervention +
(1 - mitigation effectiveness) *
cost of undesired outcome
cost of intervention +
cost of compensation
Alarm not raised cost of undesired outcome no costs
Time
Mitigation
effectiveness
Cost of
intervention
Undesired outcome
• Raise an alarm if P(undesired outcome) > 𝜏
• Optimal 𝜏 is found via empirical thresholding
Alarm policy
P(cancel) = 0.2 0.6 0.8
Alarm
Search View View
Example: 𝜏 = 0.65
• What if the alarm may be ignored by the users (no
intervention)?
• E.g. resources are limited for interventions
• What if the effect of the alarm depends on the state of the
case?
• What if there are multiple possible alarms/ interventions,
• Actionable Predictive Process Monitoring
• Extracting interpretable predictions
• Helping users understand the root causes of predicted outcomes
• Turning predictions into actions
• Prescriptive Process Monitoring
• Automated Process Improvement
• Automated control-flow, resource and decision optimization
• Robotic Process Mining: Discovering executable routine
specifications from UI logs (related to Robotic Process Automation)
Frontier challenges in process mining
37
Automated Process Improvement
3
Officer
Clerk
Clerk Officer
Officer
Clerk
Skip credit history
check when customer has
previous loans with bank
Allocate an additional clerk
on Monday-Tuesdays, one
less officer on Fridays
Task can be automated
with an RPA script
For consumer loans,
check credit history
before income
If loan-to-annual-
income ratio > 1.5,
allocate a senior officer
If credit rating is C or D,
do not wait for appeal
Given
• one or more event logs recording the
execution of one or more processes
• one or more performance measures that
we seek to maximize/minimize
• a process model, decision rules and
resource allocation rules
• a set of allowed changes to the process
model and associated rules
Find
• One or all set(s) of Pareto-optimal
changes to the process model and rules.
Automated Process Improvement
Control-flow
• Task elimination/addition
• Merging/separation
• Re-ordering, parallelization
Decision (data)
• Adding/deleting decision points
• Refining/enhancing decision rules
Resource
• Re-allocating resources
• Refining, enhancing allocation policies
Task
• (Partially) automating individual tasks or groups of tasks
Automated Process Improvement: Types of
Changes
Automated Process Improvement
41
41
event log
Executable routine
specifications
Robotic Process
Mining
(Task Automation)
Decision Rule
Optimization
Flow Optimization
Optimized process
model
Resource
Optimization
Decision rules
Optimized resource
allocation policies
Optimized decision
rules
Robotic Process Mining
Information
System
Event Log
Process Mining
Discovery
Conformance
Enhancement
Process Model
Interaction
Information
systems
Users
(employees)
UI log
Recording
UI log
43
UI log
Robotic Process Mining
44
Information
System
Event Log
Process Mining
Discovery
Conformance
Enhancement
Process Model
Interaction
Information
systems
Users
(employees)
UI log Routine Routine
specification
RPA script
Identification Discovery Compilation
Research challenge
Recording
45
Detect automatable routines:
1. Detect automatable actions
2. Return only those frequent subsequences made of automatable actions
An action is automatable if all its arguments are constant or functions of arguments of
previously-executed actions
Robotic Process Mining: Initial Approach
Detect
automatable
routines
UI log
Extract
frequent
subsequences
Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
46
Robotic Process Mining: Initial Approach
Foofah – Discovering
Data Transformations
by Example
Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
47
Discover activation conditions:
For each automatable routine, discover its activation condition, containing:
1. Triggering action, which must be successfully executed before the routine
2. Boolean condition, which must be valid at the completion of the triggering action
Robotic Process Mining: Initial Approach
Detect
automatable
routines
UI log
Extract
flat polygons
Discover
activation
conditions
Routines
specs
Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
Challenges
Robotic Process Mining
• Identifying patterns in unstructured and noisy UI logs
• Identifying complex data transformations in the presence of noise
• Identifying conditional data transformations (only apply in some cases)
Automated Process Improvement
• The process model, decision rules, and resource allocation policies may not be
known, may be incomplete or imprecise
• The set of possible process changes may be too large for exhaustive exploration
• Process changes may have non-linear effects (e.g. on waiting time)
• The effects of process changes are not additive
48
https://sep.cs.ut.ee/Main/PIX
The Process Improvement Explorer (PIX)

More Related Content

What's hot

DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxDevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
Rohit Radhakrishnan
 

What's hot (20)

Building a Digital Transformation Roadmap
Building a Digital Transformation RoadmapBuilding a Digital Transformation Roadmap
Building a Digital Transformation Roadmap
 
Artificial Intelligence (AI) for Financial Services
Artificial Intelligence (AI) for Financial Services Artificial Intelligence (AI) for Financial Services
Artificial Intelligence (AI) for Financial Services
 
End-to-End SAP business process and test automation with UiPath
End-to-End SAP business process and test automation with UiPathEnd-to-End SAP business process and test automation with UiPath
End-to-End SAP business process and test automation with UiPath
 
Thabo Ndlela- Leveraging AI for enhanced Customer Service and Experience
Thabo Ndlela- Leveraging AI for enhanced Customer Service and ExperienceThabo Ndlela- Leveraging AI for enhanced Customer Service and Experience
Thabo Ndlela- Leveraging AI for enhanced Customer Service and Experience
 
Fighting Financial Crime with Artificial Intelligence
Fighting Financial Crime with Artificial IntelligenceFighting Financial Crime with Artificial Intelligence
Fighting Financial Crime with Artificial Intelligence
 
Generative-AI-Exploring-beyond-the-horizons-possibilities-of-AI-WP.pdf
Generative-AI-Exploring-beyond-the-horizons-possibilities-of-AI-WP.pdfGenerative-AI-Exploring-beyond-the-horizons-possibilities-of-AI-WP.pdf
Generative-AI-Exploring-beyond-the-horizons-possibilities-of-AI-WP.pdf
 
James Feldman - AII Powered Business Tools.pdf
James Feldman - AII Powered Business Tools.pdfJames Feldman - AII Powered Business Tools.pdf
James Feldman - AII Powered Business Tools.pdf
 
ERGO AI Factory - Insurer Innovation Award 2022
ERGO AI Factory - Insurer Innovation Award 2022ERGO AI Factory - Insurer Innovation Award 2022
ERGO AI Factory - Insurer Innovation Award 2022
 
Automation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPAAutomation CoE at Scale Using Agile to build RPA
Automation CoE at Scale Using Agile to build RPA
 
Embracing Intelligent Automation
Embracing Intelligent AutomationEmbracing Intelligent Automation
Embracing Intelligent Automation
 
Process Mining Intro (Eng)
Process Mining Intro (Eng)Process Mining Intro (Eng)
Process Mining Intro (Eng)
 
RPA and AI in banking
RPA and AI in bankingRPA and AI in banking
RPA and AI in banking
 
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptxDevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
DevDive_UnleashthFullPotentialofAutomationwithGenAI.pptx
 
Achieving Hyperautomation with UiPath
Achieving Hyperautomation with UiPathAchieving Hyperautomation with UiPath
Achieving Hyperautomation with UiPath
 
Generative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second SessionGenerative AI Use cases for Enterprise - Second Session
Generative AI Use cases for Enterprise - Second Session
 
Transforming banks into digital natives
Transforming banks into digital nativesTransforming banks into digital natives
Transforming banks into digital natives
 
Generative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdfGenerative-AI-in-enterprise-20230615.pdf
Generative-AI-in-enterprise-20230615.pdf
 
Exploring Opportunities in the Generative AI Value Chain.pdf
Exploring Opportunities in the Generative AI Value Chain.pdfExploring Opportunities in the Generative AI Value Chain.pdf
Exploring Opportunities in the Generative AI Value Chain.pdf
 
Process Mining: Past, Present, and Future
Process Mining: Past, Present, and FutureProcess Mining: Past, Present, and Future
Process Mining: Past, Present, and Future
 
Robotic process automation Introduction
Robotic process automation IntroductionRobotic process automation Introduction
Robotic process automation Introduction
 

Similar to AI for Business Process Management

Building Simple Continuous Reviews in ACL
Building Simple Continuous Reviews in ACLBuilding Simple Continuous Reviews in ACL
Building Simple Continuous Reviews in ACL
Jim Kaplan CIA CFE
 

Similar to AI for Business Process Management (20)

AI for Business Process Management
AI for Business Process ManagementAI for Business Process Management
AI for Business Process Management
 
Business Process Analytics: From Insights to Predictions
Business Process Analytics: From Insights to PredictionsBusiness Process Analytics: From Insights to Predictions
Business Process Analytics: From Insights to Predictions
 
Process wind tunnel - A novel capability for data-driven business process imp...
Process wind tunnel - A novel capability for data-driven business process imp...Process wind tunnel - A novel capability for data-driven business process imp...
Process wind tunnel - A novel capability for data-driven business process imp...
 
Lace project transforming workplace learning in manufacturing printable
Lace project transforming workplace learning in manufacturing printableLace project transforming workplace learning in manufacturing printable
Lace project transforming workplace learning in manufacturing printable
 
Real world IoT for enterprises
Real world IoT for enterprisesReal world IoT for enterprises
Real world IoT for enterprises
 
Process Mining and Predictive Process Monitoring
Process Mining and Predictive Process MonitoringProcess Mining and Predictive Process Monitoring
Process Mining and Predictive Process Monitoring
 
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
SERENE 2014 Workshop: Paper "Combined Error Propagation Analysis and Runtime ...
 
Bitrock manufacturing
Bitrock manufacturing Bitrock manufacturing
Bitrock manufacturing
 
Process Mining and Predictive Process Monitoring: From Technology to Business...
Process Mining and Predictive Process Monitoring: From Technology to Business...Process Mining and Predictive Process Monitoring: From Technology to Business...
Process Mining and Predictive Process Monitoring: From Technology to Business...
 
Future of Audit by Pieter de Kok
Future of Audit by Pieter de KokFuture of Audit by Pieter de Kok
Future of Audit by Pieter de Kok
 
Growing your business with BPM
Growing your business with BPMGrowing your business with BPM
Growing your business with BPM
 
Building Simple Continuous Reviews in ACL
Building Simple Continuous Reviews in ACLBuilding Simple Continuous Reviews in ACL
Building Simple Continuous Reviews in ACL
 
Winter Simulation Conference 2021 - Process Wind Tunnel Talk
Winter Simulation Conference 2021 - Process Wind Tunnel TalkWinter Simulation Conference 2021 - Process Wind Tunnel Talk
Winter Simulation Conference 2021 - Process Wind Tunnel Talk
 
Part 01 - Introduction to BPM.pdf
Part 01 - Introduction to BPM.pdfPart 01 - Introduction to BPM.pdf
Part 01 - Introduction to BPM.pdf
 
Devoteam itsmf 2021 - from business automation to continuous value-driven i...
Devoteam   itsmf 2021 - from business automation to continuous value-driven i...Devoteam   itsmf 2021 - from business automation to continuous value-driven i...
Devoteam itsmf 2021 - from business automation to continuous value-driven i...
 
IIoT發展趨勢及設備業者因應之_微軟葉怡君
IIoT發展趨勢及設備業者因應之_微軟葉怡君IIoT發展趨勢及設備業者因應之_微軟葉怡君
IIoT發展趨勢及設備業者因應之_微軟葉怡君
 
Automated Process Improvement: Status, Challenges, and Perspectives
Automated Process Improvement: Status, Challenges, and PerspectivesAutomated Process Improvement: Status, Challenges, and Perspectives
Automated Process Improvement: Status, Challenges, and Perspectives
 
Lights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On BusinessLights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On Business
 
Assocham global conference audit data standards - 28.10.2020
Assocham global conference   audit data standards - 28.10.2020Assocham global conference   audit data standards - 28.10.2020
Assocham global conference audit data standards - 28.10.2020
 
Capgemini Smart Plant Supervision Solution
Capgemini Smart Plant Supervision SolutionCapgemini Smart Plant Supervision Solution
Capgemini Smart Plant Supervision Solution
 

More from Marlon Dumas

Walking the Way from Process Mining to AI-Driven Process Optimization
Walking the Way from Process Mining to AI-Driven Process OptimizationWalking the Way from Process Mining to AI-Driven Process Optimization
Walking the Way from Process Mining to AI-Driven Process Optimization
Marlon Dumas
 
Discovery and Simulation of Business Processes with Probabilistic Resource Av...
Discovery and Simulation of Business Processes with Probabilistic Resource Av...Discovery and Simulation of Business Processes with Probabilistic Resource Av...
Discovery and Simulation of Business Processes with Probabilistic Resource Av...
Marlon Dumas
 
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
Marlon Dumas
 
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
Marlon Dumas
 

More from Marlon Dumas (20)

How GenAI will (not) change your business?
How GenAI will (not)  change your business?How GenAI will (not)  change your business?
How GenAI will (not) change your business?
 
Walking the Way from Process Mining to AI-Driven Process Optimization
Walking the Way from Process Mining to AI-Driven Process OptimizationWalking the Way from Process Mining to AI-Driven Process Optimization
Walking the Way from Process Mining to AI-Driven Process Optimization
 
Discovery and Simulation of Business Processes with Probabilistic Resource Av...
Discovery and Simulation of Business Processes with Probabilistic Resource Av...Discovery and Simulation of Business Processes with Probabilistic Resource Av...
Discovery and Simulation of Business Processes with Probabilistic Resource Av...
 
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
Can I Trust My Simulation Model? Measuring the Quality of Business Process Si...
 
Business Process Optimization: Status and Perspectives
Business Process Optimization: Status and PerspectivesBusiness Process Optimization: Status and Perspectives
Business Process Optimization: Status and Perspectives
 
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
Learning When to Treat Business Processes: Prescriptive Process Monitoring wi...
 
Why am I Waiting Data-Driven Analysis of Waiting Times in Business Processes
Why am I Waiting Data-Driven Analysis of Waiting Times in Business ProcessesWhy am I Waiting Data-Driven Analysis of Waiting Times in Business Processes
Why am I Waiting Data-Driven Analysis of Waiting Times in Business Processes
 
Augmented Business Process Management
Augmented Business Process ManagementAugmented Business Process Management
Augmented Business Process Management
 
Process Mining and Data-Driven Process Simulation
Process Mining and Data-Driven Process SimulationProcess Mining and Data-Driven Process Simulation
Process Mining and Data-Driven Process Simulation
 
Modeling Extraneous Activity Delays in Business Process Simulation
Modeling Extraneous Activity Delays in Business Process SimulationModeling Extraneous Activity Delays in Business Process Simulation
Modeling Extraneous Activity Delays in Business Process Simulation
 
Business Process Simulation with Differentiated Resources: Does it Make a Dif...
Business Process Simulation with Differentiated Resources: Does it Make a Dif...Business Process Simulation with Differentiated Resources: Does it Make a Dif...
Business Process Simulation with Differentiated Resources: Does it Make a Dif...
 
Prescriptive Process Monitoring Under Uncertainty and Resource Constraints
Prescriptive Process Monitoring Under Uncertainty and Resource ConstraintsPrescriptive Process Monitoring Under Uncertainty and Resource Constraints
Prescriptive Process Monitoring Under Uncertainty and Resource Constraints
 
Robotic Process Mining
Robotic Process MiningRobotic Process Mining
Robotic Process Mining
 
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
Accurate and Reliable What-If Analysis of Business Processes: Is it Achievable?
 
Learning Accurate Business Process Simulation Models from Event Logs via Auto...
Learning Accurate Business Process Simulation Models from Event Logs via Auto...Learning Accurate Business Process Simulation Models from Event Logs via Auto...
Learning Accurate Business Process Simulation Models from Event Logs via Auto...
 
Process Mining: A Guide for Practitioners
Process Mining: A Guide for PractitionersProcess Mining: A Guide for Practitioners
Process Mining: A Guide for Practitioners
 
Process Mining for Process Improvement.pptx
Process Mining for Process Improvement.pptxProcess Mining for Process Improvement.pptx
Process Mining for Process Improvement.pptx
 
Data-Driven Analysis of Batch Processing Inefficiencies in Business Processes
Data-Driven Analysis of  Batch Processing Inefficiencies  in Business ProcessesData-Driven Analysis of  Batch Processing Inefficiencies  in Business Processes
Data-Driven Analysis of Batch Processing Inefficiencies in Business Processes
 
Optimización de procesos basada en datos
Optimización de procesos basada en datosOptimización de procesos basada en datos
Optimización de procesos basada en datos
 
Process Mining and AI for Continuous Process Improvement
Process Mining and AI for Continuous Process ImprovementProcess Mining and AI for Continuous Process Improvement
Process Mining and AI for Continuous Process Improvement
 

Recently uploaded

Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
PirithiRaju
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
seri bangash
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
Areesha Ahmad
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Sérgio Sacani
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
MohamedFarag457087
 

Recently uploaded (20)

GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdfPests of cotton_Sucking_Pests_Dr.UPR.pdf
Pests of cotton_Sucking_Pests_Dr.UPR.pdf
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
High Class Escorts in Hyderabad ₹7.5k Pick Up & Drop With Cash Payment 969456...
 
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort ServiceCall Girls Ahmedabad +917728919243 call me Independent Escort Service
Call Girls Ahmedabad +917728919243 call me Independent Escort Service
 
Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
❤Jammu Kashmir Call Girls 8617697112 Personal Whatsapp Number 💦✅.
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 bAsymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
Asymmetry in the atmosphere of the ultra-hot Jupiter WASP-76 b
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Digital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptxDigital Dentistry.Digital Dentistryvv.pptx
Digital Dentistry.Digital Dentistryvv.pptx
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Dubai Call Girls Beauty Face Teen O525547819 Call Girls Dubai Young
Dubai Call Girls Beauty Face Teen O525547819 Call Girls Dubai YoungDubai Call Girls Beauty Face Teen O525547819 Call Girls Dubai Young
Dubai Call Girls Beauty Face Teen O525547819 Call Girls Dubai Young
 

AI for Business Process Management

  • 1. Marlon Dumas University of Tartu Institute of Computer Science AI for Business Process Management From Process Mining to Automated Process Improvement Bolzano Rules and Artificial INtelligence Summit (BRAIN 2019) 17 September 2019
  • 2. a set of inter-related events, activities and decisions ...involving a number of actors (resources) and (data) objects, ….triggered by a need and leading to an outcome that is of value to a customer. Examples: • Order-to-Cash • Procure-to-Pay (aka Purchase-to-Pay) • Application-to-Approval • Fault-to-Resolution A business process is… 2
  • 3. Business Process Management (BPM) Process identification Conformance and performance insights Conformance and performance insights Process monitoring and controlling Executable process model Executable process model Process implementation To-be process model To-be process model Process analysis As-is process model As-is process model Process discovery Process architectureProcess architecture Process redesign Insights on weaknesses and their impact Insights on weaknesses and their impact 3
  • 5. Structure of a Business Process Event Log
  • 6. Tactical Process Mining 6 6 / event log discovered process model Automated Process Discovery Conformance Checking Variants Analysis Difference diagnostics Performance Mining input process model Enhanced process model event log’
  • 7. Enter Loan Application Retrieve Applicant Data Compute Installments Approve Simple Application Approve Complex Application Notify Rejection Notify Eligibility CID Task Time Stamp … 13219 Enter Loan Application 2007-11-09 T 11:20:10 - 13219 Retrieve Applicant Data 2007-11-09 T 11:22:15 - 13220 Enter Loan Application 2007-11-09 T 11:22:40 - 13219 Compute Installments 2007-11-09 T 11:22:45 - 13219 Notify Eligibility 2007-11-09 T 11:23:00 - 13219 Approve Simple Application 2007-11-09 T 11:24:30 - 13220 Compute Installements 2007-11-09 T 11:24:35 - … … … … Process Map (directly follows graph) BPMN process model Automated Process Discovery 7
  • 8. Alpha miner (α-miner) • Simple, limited, not robust Heuristics miner (and derivatives, including Fodina) • Robust to noise, fast, but can produce incorrect models Inductive miner • Ensures that models are block-structured & correct Split miner • Produces deadlock-free but not necessarily structured models Discovering BPMN Process Models 8 Enter Loan Application Retrieve Applicant Data Compute Installments Approve Simple Application Approve Complex Application Notify Rejection Notify Eligibility event log
  • 9. 9 Process Model Log Unfitting behavior (lack of fitness) Additional behavior (lack of precision) Lack of generalization Accuracy of Automated Process Discovery
  • 10. Lack of fitness Event log: ABCDEH ACBDEH ABCDFH ACBDFH ABDEH ABDFH Conformance Checking 10 García-Bañuelos et al. “Complete and Interpretable Conformance Checking of Business Processes” IEEE Transactions on Software Engineering 44(3): 262-290, 2018 Lack of precision
  • 11. • 24 real-life event logs (most from IEEE Task force on Process Mining) • Quality criteria: • Accuracy measures: Fitness, precision, F-Score, generalization • Model complexity measures: size, structural complexity, structuredness • Model soundness • Execution time • Main conclusions: • Inductive Miner, Evolutionary Tree Miner, Split Miner have highest F-scores • Closely followed by Fodina • Inductive Miner achieves highest fitness generally, but lower precision (than Split Miner) • Evolutionary tree miner produces simpler models, but high execution times Automated Process Discovery Benchmark 11 Adriano Augusto et al. “Automated Discovery of Process Models from Event Logs: Review and Benchmark”. IEEE Transactions on Knowledge and Data Engineering (2018), DOI: 10.1109/TKDE.2018.2841877
  • 12. Automated Process Discovery Methods Heuristics Miner good F-score complex models semantic errors 12 Inductive Miner high fitness no semantic errors simpler models low precision A. Augusto et al. Split Miner: Discovering Accurate and Simple Business Process Models from Event Logs. In ICDM’2017. Split Miner high fitness no semantic errors simpler models Moderate precision
  • 14. 14 ≠ Conformance Checking Given a process model and an event log, find, describe, and/or measure the differences between them
  • 15. Unfitting behaviour: • Task C is optional (i.e. may be skipped) in the log Additional behavior: • The cycle including IGDF is not observed in the log Event log: ABCDEH ACBDEH ABCDFH ACBDFH ABDEH ABDFH Conformance Checking – Output 15 García-Bañuelos et al. “Complete and Interpretable Conformance Checking of Business Processes” IEEE Transactions on Software Engineering 44(3): 262-290, 2018
  • 16. Behavior Alignment Petri Net compress DAFSA Reachability Graph PSP Event Log Optimal Alignments Difference Statements expand compare (1) (2) (3) 16 Daniel Reißner, Raffaele Conforti, Marlon Dumas, Marcello La Rosa, Abel Armas-Cervantes: Scalable Conformance Checking of Business Processes. OTM Conferences (1) 2017: 607-627
  • 17. Process Model Repair A. Armas Cervantes et al. “Interactive and Incremental Business Process Model Repair”, Proceedings of CoopIS’2017 17 Research Challenge • Minimal repaired model with syntactic and semantic guarantees?  Constraint Solving, Automated Planning, Synthesis_
  • 18. Statistics-Based Techniques Performance Dashboards Model-Based Techniques Process Mining Database Enterprise System Business Process Analytics Event log Event stream 18 18
  • 19. Predictive Process Monitoring Event stream Predictive models Detailed predictive dashboard Alarm-based prescriptive dashboard Aggregate predictive dashboards Event logDatabase Enterprise System 19
  • 20. Predictive Process Monitoring • What is the next activity for this case? • When is this next activity going to take place? • How long is this case still going to take until it is finished? • What is the outcome of this case? • Is the compensation going to be paid? Or rejected? 20
  • 21. Event log Classifier / Regressor / Outcome predictionAttributes Traces 21 Event log Structured predictor Next activity / Future path prediction Attributes Traces Performance measure prediction Predictive Process Monitoring: General Approach
  • 22. Predictive process monitoring workflow Prefix extraction Bucketing Sequence encoding Model training
  • 25. Sequence encoding Prefix extraction Bucketing Sequence encoding Model training (Amsterdam, (Paris, 2 adults, 1 adult, 3 days, 4 days, €100) €150) not cancelled cancelled (Amsterdam, (Paris, 2 adults, 1 adult, €100) €150) not cancelled cancelled (Amsterdam, (Paris, 2 adults, 1 adult, €100) €150) not cancelled cancelled (Amsterdam, 2 adults, 3 days, €100) not cancelledJuly, (Amsterdam, (Paris, 2 adults, 1 adult, 3 days, 4 days, €100) €150) not cancelled cancelled April, July,
  • 26. Model training Prefix extraction Bucketing Sequence encoding Model training (Amsterdam, (Paris , 2 adults, 1 adult, 3 days, 4 days, €100 ) €150 ) not cancelled cancelled (Amsterdam, (Paris , 2 adults, 1 adult, €100 ) €150 ) not cancelled cancelled (Amsterdam, (Paris , 2 adults, 1 adult, €100 ) €150 ) not cancelled cancelled (Amsterdam, 2 adults, 3 days, €100 ) not cancelledJuly, (Amsterdam, (Paris , 2 adults, 1 adult, 3 days, 4 days, €100 ) €150 ) not cancelled cancelled April, July,
  • 27. Predictive process monitoring workflow Encoding Bucketing Learning Training set Last state Aggregation Index-based … Zero Cluster Prefix-length … Decision tree Random forest SVM … Buckets Models 27
  • 28. Taxonomy of predictive process montioring approaches What is the relative performance of these methods? Irene Teinemaa, Marlon Dumas, Marcello La Rosa, Fabrizio Maria Maggi: Outcome-Oriented Predictive Process Monitoring: Review and Benchmark. TKDD 13(2): 17:1-17:57 (2019)
  • 29. Evaluation datasets Dataset Domain # traces Median # events in trace Class ratio 1 bpic2011_1 Hospital treatment 1140 25 0.4 2 bpic2011_2 Hospital treatment 1140 54.5 0.78 3 bpic2011_3 Hospital treatment 1121 21 0.23 4 bpic2011_4 Hospital treatment 1140 44 0.28 5 bpic2012_1 Loan application 4685 35 0.48 6 bpic2012_2 Loan application 4685 35 0.17 7 bpic2012_3 Loan application 4685 35 0.35 8 bpic2015_1 Building permit 696 42 0.23 9 bpic2015_2 Building permit 753 55 0.19 10 bpic2015_3 Building permit 1328 42 0.2 11 bpic2015_4 Building permit 577 42 0.16 12 bpic2015_5 Building permit 1051 50 0.31 13 bpic2017_1 Loan application 31413 35 0.41 14 bpic2017_2 Loan application 31413 35 0.12 15 bpic2017_3 Loan application 31413 35 0.47 16 Production Manufacturing 220 9 0.53 17 sepsis_1 Hospital treatment 754 14 0.14 18 sepsis_2 Hospital treatment 782 13 0.14 19 sepsis_3 Hospital treatment 782 13 0.14 20 Traffic Traffic fines 129615 4 0.46 21 hospital_1 Hospital finances 77525 6 0.1 22 hospital_2 Hospital finances 77525 6 0.05 23 insurance_1 Insurance 1065 12 0.16
  • 30. XGBoost Random forest Logistic regression Support vector machine Average rank over the 24 datasets in terms of AUC Results: Learning Algorithms (Nemenyi test)
  • 31. Average rank over the 24 datasets in terms of AUC Results: Bucketing and Sequence Encoding
  • 32. • Predict process outcome (e.g. “Is this loan offer going to be rejected?”) • Predict process performance (e.g. “Will this claim take longer than 5 days to be handled?”) • Predict future events (e.g. “What activity is likely to be executed next? And after that?”) Event log Training module Training Validation Predictor Dashboard Runtime module Information system Predictions Stream (Kafka) Predictive model(s) Event stream Event stream Batched Predictions (CSV) Apromore Predictive process monitoring (Apromore) 32 32 http://apromore.org
  • 33. • Explainable & Actionable Predictive Process Monitoring • Extracting interpretable predictions • Helping users understand the root causes of predicted outcomes • Turning predictions into actions • Prescriptive process monitoring Frontier challenges in process mining 33
  • 34. Prescriptive process monitoring Event log (completed traces) Predictive model(s) Running trace Appl y P( ) Predictio n Alarm/ no alarm Alarm policy +/- - - + Cost model Irene Teinemaa et al. Alarm-Based Prescriptive Process Monitoring. In Proc. of BPM Forum’2018
  • 35. Cost model Undesired outcome Desired outcome Alarm raised cost of intervention + (1 - mitigation effectiveness) * cost of undesired outcome cost of intervention + cost of compensation Alarm not raised cost of undesired outcome no costs Time Mitigation effectiveness Cost of intervention Undesired outcome
  • 36. • Raise an alarm if P(undesired outcome) > 𝜏 • Optimal 𝜏 is found via empirical thresholding Alarm policy P(cancel) = 0.2 0.6 0.8 Alarm Search View View Example: 𝜏 = 0.65 • What if the alarm may be ignored by the users (no intervention)? • E.g. resources are limited for interventions • What if the effect of the alarm depends on the state of the case? • What if there are multiple possible alarms/ interventions,
  • 37. • Actionable Predictive Process Monitoring • Extracting interpretable predictions • Helping users understand the root causes of predicted outcomes • Turning predictions into actions • Prescriptive Process Monitoring • Automated Process Improvement • Automated control-flow, resource and decision optimization • Robotic Process Mining: Discovering executable routine specifications from UI logs (related to Robotic Process Automation) Frontier challenges in process mining 37
  • 38. Automated Process Improvement 3 Officer Clerk Clerk Officer Officer Clerk Skip credit history check when customer has previous loans with bank Allocate an additional clerk on Monday-Tuesdays, one less officer on Fridays Task can be automated with an RPA script For consumer loans, check credit history before income If loan-to-annual- income ratio > 1.5, allocate a senior officer If credit rating is C or D, do not wait for appeal
  • 39. Given • one or more event logs recording the execution of one or more processes • one or more performance measures that we seek to maximize/minimize • a process model, decision rules and resource allocation rules • a set of allowed changes to the process model and associated rules Find • One or all set(s) of Pareto-optimal changes to the process model and rules. Automated Process Improvement
  • 40. Control-flow • Task elimination/addition • Merging/separation • Re-ordering, parallelization Decision (data) • Adding/deleting decision points • Refining/enhancing decision rules Resource • Re-allocating resources • Refining, enhancing allocation policies Task • (Partially) automating individual tasks or groups of tasks Automated Process Improvement: Types of Changes
  • 41. Automated Process Improvement 41 41 event log Executable routine specifications Robotic Process Mining (Task Automation) Decision Rule Optimization Flow Optimization Optimized process model Resource Optimization Decision rules Optimized resource allocation policies Optimized decision rules
  • 42. Robotic Process Mining Information System Event Log Process Mining Discovery Conformance Enhancement Process Model Interaction Information systems Users (employees) UI log Recording
  • 44. Robotic Process Mining 44 Information System Event Log Process Mining Discovery Conformance Enhancement Process Model Interaction Information systems Users (employees) UI log Routine Routine specification RPA script Identification Discovery Compilation Research challenge Recording
  • 45. 45 Detect automatable routines: 1. Detect automatable actions 2. Return only those frequent subsequences made of automatable actions An action is automatable if all its arguments are constant or functions of arguments of previously-executed actions Robotic Process Mining: Initial Approach Detect automatable routines UI log Extract frequent subsequences Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
  • 46. 46 Robotic Process Mining: Initial Approach Foofah – Discovering Data Transformations by Example Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
  • 47. 47 Discover activation conditions: For each automatable routine, discover its activation condition, containing: 1. Triggering action, which must be successfully executed before the routine 2. Boolean condition, which must be valid at the completion of the triggering action Robotic Process Mining: Initial Approach Detect automatable routines UI log Extract flat polygons Discover activation conditions Routines specs Antonio Bosco et al. Discovering Automatable Routines From User Interface Logs. In Proc. of BPM Forum’2019
  • 48. Challenges Robotic Process Mining • Identifying patterns in unstructured and noisy UI logs • Identifying complex data transformations in the presence of noise • Identifying conditional data transformations (only apply in some cases) Automated Process Improvement • The process model, decision rules, and resource allocation policies may not be known, may be incomplete or imprecise • The set of possible process changes may be too large for exhaustive exploration • Process changes may have non-linear effects (e.g. on waiting time) • The effects of process changes are not additive 48