SlideShare a Scribd company logo
1 of 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

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

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

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
 

More from 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
 

Recently uploaded

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 

Recently uploaded (20)

CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 

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