SlideShare a Scribd company logo
Log-Based Understanding
of Business Processes
through Temporal Logic Query Checking
Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling
22nd International Conference on Cooperative Information Systems
Amantea, Italy
claudio.di.ciccio@wu.ac.at
Outline
 Process Mining,
Log-based Understanding
SEITE 2
Outline
 Process Mining,
Log-based Understanding
 LTLf query checking
 Our objective
SEITE 3
Outline
 Process Mining,
Log-based Understanding
 LTLf query checking
 Our objective
 Folding the future
SEITE 4
Outline
 Process Mining,
Log-based Understanding
 LTLf query checking
 Our objective
 Folding the future
 Evaluation
 Conclusion
SEITE 5
The event log
Process model
SEITE 6
The event log
Process instance Event log
Trace
SEITE 7
The event log
EventTask
Process instance Event log
Trace
SEITE 8
The event log
SEITE 9
Event
The event log
SEITE 10
Event
The event log
SEITE 11
Event
The event log
Process instance Event log
Trace
SEITE 12
The event log
SEITE 13
Event
The event log
SEITE 14
Event
The event log
SEITE 15
Event
The event log
SEITE 16
Event
Control-flow discovery
?
Objective: understanding the
temporal structure that best
describes the process behind
the event log
SEITE 17
Control-flow discovery
v. flexible processes
SEITE 18
Temporal constraints mining
?
Objective: understanding the
constraints that best define
the allowed behaviour of the
process behind the event log
SEITE 19
Log-based understanding
of a process model
1. Which activities require another one to follow?
2. Which activities require another one to
precede?
3. Which activities are mutually exclusive?
…
We want to leave the user free to specify the
rules to be discovered
SEITE 20
LTLf
 Linear Temporal Logic (LTL) was originarily a
specification language for the execution of
(endless) concurrent programs (Pnueli, 1977)
 Syntax (let A be a propositional symbol):
 Interpretation over infinite traces,
i.e., an infinite sequence of consecutive instants of time
 LTLf formulae are meant to be interpreted over
finite traces
“Until”
“Eventually”“Always”
“Next”
Log-based understanding
SEITE 22
1. Which activities require another one to follow?
2. Which activities require another one to
precede?
3. Which activities are mutually exclusive?
1.
2.
3.
Log-based understanding:
An example
SEITE 23
A A B C A B C A C B C
C C C C C A A B C A A B A A B
A B B B D
B A B D
A B B D
C A B A A C C B B
B D A D B D
A B C A A B B C
D D D D D
C A A C C C A A B C B C C B D
Log-based understanding:
An example
SEITE 24
A A B C A B C A C B C
C C C C C A A B C A A B A A B
A B B B D
B A B D
A B B D
C A B A A C C B B
B D A D B D
A B C A A B B C
D D D D D
C A A C C C A A B C B C C B
A always requires B to follow (10/10)
0 Counterexamples
10 Witnesses
Log-based understanding:
An example
SEITE 25
A A B C A B C A C B C
C C C C C A A B C A A B A A B
A B B B D
B A B D
A B B D
C A B A A C C B B
B D A D B D
A B C A A B B C
D D D D D
C A A C C C A A B C B C C B
B does not always require A to precede (8/10)
2 Counterexamples
8 Witnesses
Log-based understanding:
An example
SEITE 26
A A B C A B C A C B C
C C C C C A A B C A A B A A B
A B B B D
B A B D
A B B D
C A B A A C C B B
B D A D B D
A B C A A B B C
D D D D D
C A A C C C A A B C B C C B
C and D are mutually exclusive (10/10)
10 Witnesses
0 Counterexamples
Log-based understanding:
LTLf query checking
SEITE 27
1. Which activities require another one to follow?
2. Which activities require another one to
precede?
3. Which activities are mutually exclusive?
1.
2.
3.
Placeholder
Placeholder
Placeholders are meant to be assigned with one of the activities in the log alphabet
(in the example, either to A, B, C or D)
Understading real-life logs:
why we cannot do it by inspection
SEITE 28
Recap
 An event log is given
 The user wants to have an understanding of what
went on there, to gain knowledge about the process
behind such log
 To this extent, (s)he formulates queries, asking for
activities that satisfy given conditions about
temporal constraints
 Our technique aims at answering such queries
 We take advantage of the fact that:
1. we know the finite set of activities of which the process
consists,
2. the queries are formulated in a well-known formal
language, and
3. …
SEITE 29
The technique:
assumptions
SEITE 30
… We know the future
Traces are finite
SEITE 31
A A B C A B C A C B C ¶
C C C C C A A B C A A B A A B ¶
A B B B D ¶
B A B D ¶
A B B D ¶
C A B A A C C B B ¶
B D A D B D ¶
A B C A A B B C ¶
D D D D D ¶
C A A C C C A A B C B C C B D ¶
Folding from the future
SEITE 32
4 Witnesses, 1 Counterexample
Folding from the future
SEITE 33
Folding from the future
SEITE 34
4 Witnesses,
1 Counterexample
Divide et impera:
the query evaluation tree
SEITE 35
The algorithm is designed to recursively call sub-procedures
Evaluation:
performance w.r.t. query
SEITE 36
Default log:
100 traces of 10 events each, log alphabet of 10 activities
Windows 7 OS, Intel Core i7 CPU, 8GB of main memory
Prototype encoded in C (https://github.com/r2im/pickaxe)
Evaluation:
performance w.r.t. query
SEITE 37
Default log:
100 traces of 10 events each, log alphabet of 10 activities
Windows 7 OS, Intel Core i7 CPU, 8GB of main memory
Prototype encoded in C (https://github.com/r2im/pickaxe)
Evaluation:
case study
SEITE 38
BPI Challenge 2011 (Dutch hospital’s log)
1,143 cases and 150,291 events, 623 activities
Conclusions
 What we saw:
 A novel technique for the log-based understanding of a
process model
 More in the paper:
 Formal definition of the folded temporal structure
 The algorithm for answering LTLf queries
 Proof of the theorem stating the soundness of the
proposed algorithm
 Experiments in detail
 Future work:
 Improve performance
 Create a user-interaction for refining the query
formulation, iteratively
SEITE 39
Log-Based Understanding
of Business Processes
through Temporal Logic Query Checking
Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling
22nd International Conference on Cooperative Information Systems
Amantea, Italy
claudio.di.ciccio@wu.ac.at
Log-Based Understanding
of Business Processes
through Temporal Logic Query Checking
Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling
Extra
Verifying constraints on log
(state of the art)
SEITE 42
B|C|D
A|C|D
A
B
 A A B C A B C A C B C
 C C C C C A A B C A A B A A B
 A B B B D
 B A B D
 A B B D
 C A B A A C C B B
 B D A D B D
 A B C A A B B C
 D D D D D
 C A A C C C A A B C B C C B D
Verifying constraints on log
(state of the art)
SEITE 43
B|C|D
A|C|D
A
B
C|D
A|B|C|D
A
B
A|B|C|D
 A A B C A B C A C B C
 C C C C C A A B C A A B A A B
 A B B B D
 B A B D
 A B B D
 C A B A A C C B B
 B D A D B D
 A B C A A B B C
 D D D D D
 C A A C C C A A B C B C C B D
Verifying constraints on log
(state of the art)
SEITE 44
B|C|D
A|C|D
A
B
C|D
A|B|C|D
A
B
A|B|C|D
C|D
A|C|D
B|C|D
A
B
A
B
A|B|C|D
A|B|C|D
Here we already know which activities
are meant to be constrained
 A A B C A B C A C B C
 C C C C C A A B C A A B A A B
 A B B B D
 B A B D
 A B B D
 C A B A A C C B B
 B D A D B D
 A B C A A B B C
 D D D D D
 C A A C C C A A B C B C C B D
Intuition
 Replay turns out to be the best technique to
 Maintain the history in the current state, and
 Wait for the future moves, which are unknown
 Working with logs, we have an advantage…
SEITE 45
B|C|D
A|C|D
A
B
C C C C C A A B C A A B A A B C C A C A B A C B B A B C
The technique:
assumption
SEITE 46
… We know the future
Verifying constraints on log
SEITE 47
[^A]
[^B]
A
B
A A B C A B C A C B C
C C C C C A A B C A A B A A B
A B B B D
B A B D
A B B D
C A B A A C C B B
B D A D B D
A B C A A B B C
D D D D D
C A A C C C A A B C B C C B D
[^A]
[^C]
A
C
[^A]
[^D]
A
D
[^B]
[^A]
B
A
[^B]
[^C]
B
C
[^B]
[^D]
B
D
[^C]
[^A]
C
A
[^C]
[^B]
C
B
[^C]
[^D]
C
D
[^D]
[^A]
D
A
Verifying constraints on log
SEITE 48
[^A]
[^B]
A
B
[^A]
[^C]
A
C
[^A]
[^D]
A
D
[^B]
[^A]
B
A
[^B]
[^C]
B
C
[^B]
[^D]
B
D
[^C]
[^A]
C
A
[^C]
[^B]
C
B
[^C]
[^D]
C
D
[^D]
[^A]
D
A
Recap
SEITE 49
Understand the
rules behind a log
in a more
practicable yet
customisable
way

More Related Content

Similar to Log-Based Understanding of Business Processes through Temporal Logic Query Checking

Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Marlon Dumas
 
Kusto (Azure Data Explorer) Training for R&D - January 2019
Kusto (Azure Data Explorer) Training for R&D - January 2019 Kusto (Azure Data Explorer) Training for R&D - January 2019
Kusto (Azure Data Explorer) Training for R&D - January 2019
Tal Bar-Zvi
 
Bba205 – management information system
Bba205 – management information systemBba205 – management information system
Bba205 – management information systemRajesh Kumar Singh
 
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
vladestivillcastro
 
Optimizing BERT and Natural Language Models with SigOpt Experiment Management
Optimizing BERT and Natural Language Models with SigOpt Experiment ManagementOptimizing BERT and Natural Language Models with SigOpt Experiment Management
Optimizing BERT and Natural Language Models with SigOpt Experiment Management
SigOpt
 
Declarative Specification of Processes: Discovery and Reasoning
Declarative Specification of Processes: Discovery and ReasoningDeclarative Specification of Processes: Discovery and Reasoning
Declarative Specification of Processes: Discovery and Reasoning
Claudio Di Ciccio
 

Similar to Log-Based Understanding of Business Processes through Temporal Logic Query Checking (6)

Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
 
Kusto (Azure Data Explorer) Training for R&D - January 2019
Kusto (Azure Data Explorer) Training for R&D - January 2019 Kusto (Azure Data Explorer) Training for R&D - January 2019
Kusto (Azure Data Explorer) Training for R&D - January 2019
 
Bba205 – management information system
Bba205 – management information systemBba205 – management information system
Bba205 – management information system
 
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
Aswec2014 Correctness by Construction with Logic-Labeled Finite-State Machine...
 
Optimizing BERT and Natural Language Models with SigOpt Experiment Management
Optimizing BERT and Natural Language Models with SigOpt Experiment ManagementOptimizing BERT and Natural Language Models with SigOpt Experiment Management
Optimizing BERT and Natural Language Models with SigOpt Experiment Management
 
Declarative Specification of Processes: Discovery and Reasoning
Declarative Specification of Processes: Discovery and ReasoningDeclarative Specification of Processes: Discovery and Reasoning
Declarative Specification of Processes: Discovery and Reasoning
 

More from Claudio Di Ciccio

CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
Claudio Di Ciccio
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Look but don’t touch: On the impalpable bond between blockchain and process
Look but don’t touch: On the impalpable bond between blockchain and processLook but don’t touch: On the impalpable bond between blockchain and process
Look but don’t touch: On the impalpable bond between blockchain and process
Claudio Di Ciccio
 
Measurement of Rule-based LTLf Declarative Process Specifications
Measurement of Rule-based LTLf Declarative Process SpecificationsMeasurement of Rule-based LTLf Declarative Process Specifications
Measurement of Rule-based LTLf Declarative Process Specifications
Claudio Di Ciccio
 
Blockchain and smart contracts: infrastructure and platforms
Blockchain and smart contracts: infrastructure and platformsBlockchain and smart contracts: infrastructure and platforms
Blockchain and smart contracts: infrastructure and platforms
Claudio Di Ciccio
 
Discovering Target-Branched Declare Constraints
Discovering Target-Branched Declare ConstraintsDiscovering Target-Branched Declare Constraints
Discovering Target-Branched Declare Constraints
Claudio Di Ciccio
 
Introduction to the declarative specification of processes
Introduction to the declarative specification of processesIntroduction to the declarative specification of processes
Introduction to the declarative specification of processes
Claudio Di Ciccio
 
Extracting Event Logs for Process Mining from Data Stored on the Blockchain
Extracting Event Logs for Process Mining from Data Stored on the BlockchainExtracting Event Logs for Process Mining from Data Stored on the Blockchain
Extracting Event Logs for Process Mining from Data Stored on the Blockchain
Claudio Di Ciccio
 
Execution of business processes on the blockchain
Execution of business processes on the blockchainExecution of business processes on the blockchain
Execution of business processes on the blockchain
Claudio Di Ciccio
 
Blockchain based traceability of inter-organisational business processes
Blockchain based traceability of inter-organisational business processesBlockchain based traceability of inter-organisational business processes
Blockchain based traceability of inter-organisational business processes
Claudio Di Ciccio
 
Automated Discovery of Declarative Process Models
Automated Discovery of Declarative Process ModelsAutomated Discovery of Declarative Process Models
Automated Discovery of Declarative Process Models
Claudio Di Ciccio
 
Semantical Vacuity Detection in Declarative Process Mining
Semantical Vacuity Detection in Declarative Process MiningSemantical Vacuity Detection in Declarative Process Mining
Semantical Vacuity Detection in Declarative Process Mining
Claudio Di Ciccio
 
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
Claudio Di Ciccio
 
Ensuring Model Consistency in Declarative Process Discovery
Ensuring Model Consistency in Declarative Process DiscoveryEnsuring Model Consistency in Declarative Process Discovery
Ensuring Model Consistency in Declarative Process Discovery
Claudio Di Ciccio
 

More from Claudio Di Ciccio (14)

CAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on BlockchainCAKE: Sharing Slices of Confidential Data on Blockchain
CAKE: Sharing Slices of Confidential Data on Blockchain
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Look but don’t touch: On the impalpable bond between blockchain and process
Look but don’t touch: On the impalpable bond between blockchain and processLook but don’t touch: On the impalpable bond between blockchain and process
Look but don’t touch: On the impalpable bond between blockchain and process
 
Measurement of Rule-based LTLf Declarative Process Specifications
Measurement of Rule-based LTLf Declarative Process SpecificationsMeasurement of Rule-based LTLf Declarative Process Specifications
Measurement of Rule-based LTLf Declarative Process Specifications
 
Blockchain and smart contracts: infrastructure and platforms
Blockchain and smart contracts: infrastructure and platformsBlockchain and smart contracts: infrastructure and platforms
Blockchain and smart contracts: infrastructure and platforms
 
Discovering Target-Branched Declare Constraints
Discovering Target-Branched Declare ConstraintsDiscovering Target-Branched Declare Constraints
Discovering Target-Branched Declare Constraints
 
Introduction to the declarative specification of processes
Introduction to the declarative specification of processesIntroduction to the declarative specification of processes
Introduction to the declarative specification of processes
 
Extracting Event Logs for Process Mining from Data Stored on the Blockchain
Extracting Event Logs for Process Mining from Data Stored on the BlockchainExtracting Event Logs for Process Mining from Data Stored on the Blockchain
Extracting Event Logs for Process Mining from Data Stored on the Blockchain
 
Execution of business processes on the blockchain
Execution of business processes on the blockchainExecution of business processes on the blockchain
Execution of business processes on the blockchain
 
Blockchain based traceability of inter-organisational business processes
Blockchain based traceability of inter-organisational business processesBlockchain based traceability of inter-organisational business processes
Blockchain based traceability of inter-organisational business processes
 
Automated Discovery of Declarative Process Models
Automated Discovery of Declarative Process ModelsAutomated Discovery of Declarative Process Models
Automated Discovery of Declarative Process Models
 
Semantical Vacuity Detection in Declarative Process Mining
Semantical Vacuity Detection in Declarative Process MiningSemantical Vacuity Detection in Declarative Process Mining
Semantical Vacuity Detection in Declarative Process Mining
 
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
Detecting Flight Trajectory Anomalies and Predicting Diversions in Freight Tr...
 
Ensuring Model Consistency in Declarative Process Discovery
Ensuring Model Consistency in Declarative Process DiscoveryEnsuring Model Consistency in Declarative Process Discovery
Ensuring Model Consistency in Declarative Process Discovery
 

Recently uploaded

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 

Recently uploaded (20)

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 

Log-Based Understanding of Business Processes through Temporal Logic Query Checking

  • 1. Log-Based Understanding of Business Processes through Temporal Logic Query Checking Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling 22nd International Conference on Cooperative Information Systems Amantea, Italy claudio.di.ciccio@wu.ac.at
  • 3. Outline  Process Mining, Log-based Understanding  LTLf query checking  Our objective SEITE 3
  • 4. Outline  Process Mining, Log-based Understanding  LTLf query checking  Our objective  Folding the future SEITE 4
  • 5. Outline  Process Mining, Log-based Understanding  LTLf query checking  Our objective  Folding the future  Evaluation  Conclusion SEITE 5
  • 6. The event log Process model SEITE 6
  • 7. The event log Process instance Event log Trace SEITE 7
  • 8. The event log EventTask Process instance Event log Trace SEITE 8
  • 12. The event log Process instance Event log Trace SEITE 12
  • 17. Control-flow discovery ? Objective: understanding the temporal structure that best describes the process behind the event log SEITE 17
  • 19. Temporal constraints mining ? Objective: understanding the constraints that best define the allowed behaviour of the process behind the event log SEITE 19
  • 20. Log-based understanding of a process model 1. Which activities require another one to follow? 2. Which activities require another one to precede? 3. Which activities are mutually exclusive? … We want to leave the user free to specify the rules to be discovered SEITE 20
  • 21. LTLf  Linear Temporal Logic (LTL) was originarily a specification language for the execution of (endless) concurrent programs (Pnueli, 1977)  Syntax (let A be a propositional symbol):  Interpretation over infinite traces, i.e., an infinite sequence of consecutive instants of time  LTLf formulae are meant to be interpreted over finite traces “Until” “Eventually”“Always” “Next”
  • 22. Log-based understanding SEITE 22 1. Which activities require another one to follow? 2. Which activities require another one to precede? 3. Which activities are mutually exclusive? 1. 2. 3.
  • 23. Log-based understanding: An example SEITE 23 A A B C A B C A C B C C C C C C A A B C A A B A A B A B B B D B A B D A B B D C A B A A C C B B B D A D B D A B C A A B B C D D D D D C A A C C C A A B C B C C B D
  • 24. Log-based understanding: An example SEITE 24 A A B C A B C A C B C C C C C C A A B C A A B A A B A B B B D B A B D A B B D C A B A A C C B B B D A D B D A B C A A B B C D D D D D C A A C C C A A B C B C C B A always requires B to follow (10/10) 0 Counterexamples 10 Witnesses
  • 25. Log-based understanding: An example SEITE 25 A A B C A B C A C B C C C C C C A A B C A A B A A B A B B B D B A B D A B B D C A B A A C C B B B D A D B D A B C A A B B C D D D D D C A A C C C A A B C B C C B B does not always require A to precede (8/10) 2 Counterexamples 8 Witnesses
  • 26. Log-based understanding: An example SEITE 26 A A B C A B C A C B C C C C C C A A B C A A B A A B A B B B D B A B D A B B D C A B A A C C B B B D A D B D A B C A A B B C D D D D D C A A C C C A A B C B C C B C and D are mutually exclusive (10/10) 10 Witnesses 0 Counterexamples
  • 27. Log-based understanding: LTLf query checking SEITE 27 1. Which activities require another one to follow? 2. Which activities require another one to precede? 3. Which activities are mutually exclusive? 1. 2. 3. Placeholder Placeholder Placeholders are meant to be assigned with one of the activities in the log alphabet (in the example, either to A, B, C or D)
  • 28. Understading real-life logs: why we cannot do it by inspection SEITE 28
  • 29. Recap  An event log is given  The user wants to have an understanding of what went on there, to gain knowledge about the process behind such log  To this extent, (s)he formulates queries, asking for activities that satisfy given conditions about temporal constraints  Our technique aims at answering such queries  We take advantage of the fact that: 1. we know the finite set of activities of which the process consists, 2. the queries are formulated in a well-known formal language, and 3. … SEITE 29
  • 31. Traces are finite SEITE 31 A A B C A B C A C B C ¶ C C C C C A A B C A A B A A B ¶ A B B B D ¶ B A B D ¶ A B B D ¶ C A B A A C C B B ¶ B D A D B D ¶ A B C A A B B C ¶ D D D D D ¶ C A A C C C A A B C B C C B D ¶
  • 32. Folding from the future SEITE 32 4 Witnesses, 1 Counterexample
  • 33. Folding from the future SEITE 33
  • 34. Folding from the future SEITE 34 4 Witnesses, 1 Counterexample
  • 35. Divide et impera: the query evaluation tree SEITE 35 The algorithm is designed to recursively call sub-procedures
  • 36. Evaluation: performance w.r.t. query SEITE 36 Default log: 100 traces of 10 events each, log alphabet of 10 activities Windows 7 OS, Intel Core i7 CPU, 8GB of main memory Prototype encoded in C (https://github.com/r2im/pickaxe)
  • 37. Evaluation: performance w.r.t. query SEITE 37 Default log: 100 traces of 10 events each, log alphabet of 10 activities Windows 7 OS, Intel Core i7 CPU, 8GB of main memory Prototype encoded in C (https://github.com/r2im/pickaxe)
  • 38. Evaluation: case study SEITE 38 BPI Challenge 2011 (Dutch hospital’s log) 1,143 cases and 150,291 events, 623 activities
  • 39. Conclusions  What we saw:  A novel technique for the log-based understanding of a process model  More in the paper:  Formal definition of the folded temporal structure  The algorithm for answering LTLf queries  Proof of the theorem stating the soundness of the proposed algorithm  Experiments in detail  Future work:  Improve performance  Create a user-interaction for refining the query formulation, iteratively SEITE 39
  • 40. Log-Based Understanding of Business Processes through Temporal Logic Query Checking Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling 22nd International Conference on Cooperative Information Systems Amantea, Italy claudio.di.ciccio@wu.ac.at
  • 41. Log-Based Understanding of Business Processes through Temporal Logic Query Checking Margus Räim, Claudio Di Ciccio, Fabrizio Maria Maggi, Massimo Mecella, and Jan Mendling Extra
  • 42. Verifying constraints on log (state of the art) SEITE 42 B|C|D A|C|D A B  A A B C A B C A C B C  C C C C C A A B C A A B A A B  A B B B D  B A B D  A B B D  C A B A A C C B B  B D A D B D  A B C A A B B C  D D D D D  C A A C C C A A B C B C C B D
  • 43. Verifying constraints on log (state of the art) SEITE 43 B|C|D A|C|D A B C|D A|B|C|D A B A|B|C|D  A A B C A B C A C B C  C C C C C A A B C A A B A A B  A B B B D  B A B D  A B B D  C A B A A C C B B  B D A D B D  A B C A A B B C  D D D D D  C A A C C C A A B C B C C B D
  • 44. Verifying constraints on log (state of the art) SEITE 44 B|C|D A|C|D A B C|D A|B|C|D A B A|B|C|D C|D A|C|D B|C|D A B A B A|B|C|D A|B|C|D Here we already know which activities are meant to be constrained  A A B C A B C A C B C  C C C C C A A B C A A B A A B  A B B B D  B A B D  A B B D  C A B A A C C B B  B D A D B D  A B C A A B B C  D D D D D  C A A C C C A A B C B C C B D
  • 45. Intuition  Replay turns out to be the best technique to  Maintain the history in the current state, and  Wait for the future moves, which are unknown  Working with logs, we have an advantage… SEITE 45 B|C|D A|C|D A B C C C C C A A B C A A B A A B C C A C A B A C B B A B C
  • 47. Verifying constraints on log SEITE 47 [^A] [^B] A B A A B C A B C A C B C C C C C C A A B C A A B A A B A B B B D B A B D A B B D C A B A A C C B B B D A D B D A B C A A B B C D D D D D C A A C C C A A B C B C C B D [^A] [^C] A C [^A] [^D] A D [^B] [^A] B A [^B] [^C] B C [^B] [^D] B D [^C] [^A] C A [^C] [^B] C B [^C] [^D] C D [^D] [^A] D A
  • 48. Verifying constraints on log SEITE 48 [^A] [^B] A B [^A] [^C] A C [^A] [^D] A D [^B] [^A] B A [^B] [^C] B C [^B] [^D] B D [^C] [^A] C A [^C] [^B] C B [^C] [^D] C D [^D] [^A] D A
  • 49. Recap SEITE 49 Understand the rules behind a log in a more practicable yet customisable way