Keynote talk by Marlon Dumas at the Bolzano Rules and Artificial INtelligence Summit (BRAIN 2019), RuleML+RR and GCAI Conferences, Bolzano, Italy, 17 September 2019. The talk gives an overview of state-of-the-art methods in the field of process mining and predictive process monitoring and spells out research challenges in the fields of prescriptive process monitoring and automated process improvement.
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
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’
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
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_
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
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)
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
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