SlideShare une entreprise Scribd logo
1  sur  49
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

Contenu connexe

Similaire à 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 ManagementSigOpt
 
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 ReasoningClaudio Di Ciccio
 

Similaire à 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
 

Plus de 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 processClaudio 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 SpecificationsClaudio 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 platformsClaudio Di Ciccio
 
Discovering Target-Branched Declare Constraints
Discovering Target-Branched Declare ConstraintsDiscovering Target-Branched Declare Constraints
Discovering Target-Branched Declare ConstraintsClaudio 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 processesClaudio 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 BlockchainClaudio 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 blockchainClaudio 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 processesClaudio Di Ciccio
 
Automated Discovery of Declarative Process Models
Automated Discovery of Declarative Process ModelsAutomated Discovery of Declarative Process Models
Automated Discovery of Declarative Process ModelsClaudio 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 MiningClaudio 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 DiscoveryClaudio Di Ciccio
 

Plus de Claudio Di Ciccio (12)

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
 

Dernier

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 

Dernier (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 

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