SlideShare a Scribd company logo
1 of 62
Discovering
Target-Branched Declare Constraints
Claudio Di Ciccio, Fabrizio Maria Maggi, and Jan Mendling
12th International Conference on Business Process Management
Eindhoven, The Netherlands
claudio.di.ciccio@wu.ac.at
Outline
 Process Mining,
Control-Flow Discovery
Imperative vs declarative
process modelling
Declare and
Target-Branched Declare
Target-Branched Declare
templates’ properties
Mining Target-Branched
Declare constraints
Experimental evaluation
Conclusions
SEITE 2
Outline
 Process Mining,
Control-Flow Discovery
 Imperative vs declarative
process modelling
Declare and
Target-Branched Declare
Target-Branched Declare
templates’ properties
Mining Target-Branched
Declare constraints
Experimental evaluation
Conclusions
SEITE 3
Outline
 Process Mining and
Control-Flow Discovery
 Imperative vs declarative
process modelling
 Declare and
Target-Branched Declare
Target-Branched Declare
templates’ properties
Mining Target-Branched
Declare constraints
Experimental evaluation
Conclusions
SEITE 4
Outline
 Process Mining and
Control-Flow Discovery
 Imperative vs declarative
process modelling
 Declare and
Target-Branched Declare
 TBDeclare templates’
properties
Mining Target-Branched
Declare constraints
Experimental evaluation
Conclusions
SEITE 5
Outline
 Process Mining and
Control-Flow Discovery
 Imperative vs declarative
process modelling
 Declare and
Target-Branched Declare
 TBDeclare templates’
properties
 Mining (and pruning)
TBDeclare constraints
Experimental evaluation
Conclusions
SEITE 6
Outline
 Process Mining and
Control-Flow Discovery
 Imperative vs declarative
process modelling
 Declare and
Target-Branched Declare
 TBDeclare templates’
properties
 Mining (and pruning)
TBDeclare constraints
 Experimental evaluation
Conclusions
SEITE 7
Outline
 Process Mining and
Control-Flow Discovery
 Imperative vs declarative
process modelling
 Declare and
Target-Branched Declare
 TBDeclare templates’
properties
 Mining (and pruning)
TBDeclare constraints
 Experimental evaluation
 Conclusion
SEITE 8
©
The event log
Process model
SEITE 9
The event log
Process instance Event log
Trace
SEITE 10
The event log
Event
Task
Process instance Event log
Trace
SEITE 11
The event log
SEITE 12
Event
The event log
SEITE 13
Event
The event log
SEITE 14
Event
The event log
Process instance Event log
Trace
SEITE 15
The event log
SEITE 16
Event
The event log
SEITE 17
Event
The event log
SEITE 18
Event
The event log
SEITE 19
Event
Control-flow discovery
?
Objective: understanding the
temporal structure that best
describes the process behind
the event log
SEITE 20
Mining flexible processes
Workflow Nets
as process models
Flexibility vs comprehensibility
SEITE 23
Declarative modelling of
processes
 Usage of constraints
 “Open model”
 Declare
 state-of-the-art language
If A is performed,
B must be performed,
no matter if before or afterwards
(responded existence)
Whenever B is performed,
C must be performed afterwards
and B can not be repeated
until C is done
(alternate response)
SEITE 24
Declare:
Relation Constraint Templates
RespondedExistence(A, B)
If A occurs in the process instance, then B occurs as well
CAC ✗ CAACB ✓
BCAC ✓ BCC ✓
Response(A, B)
If A occurs in the process instance, then B occurs after A
BCAAC ✗ CAACB ✓
CAC ✗ BCC ✓
AlternateResponse(A, B)
Each time A occurs in the process instance, then B occurs
afterwards, before A recurs
BCAAC ✗ CAACB ✗ CACB ✓
CABCA ✗ BCC ✓ CACBBAB ✓
ChainResponse(A, B)
Each time A occurs in the process instance, then B occurs
immediately afterwards
BCAAC ✗ BCAABC ✗ BCABABC ✓
Activation Target
Declare:
Relation Constraint Templates
RespondedExistence(B, A)
If B occurs in the process instance, then A occurs as well
CAC ✓ CAACB ✓
BCAC ✓ BCC ✗
Precedence(A, B)
B occurs in the process instance only if preceded by A
BCAAC ✗ CAACB ✓
CAC ✓ BCC ✓
AlternatePrecedence(A, B)
Each time B occurs in the process instance, it is preceded by A
and no other B can recur in between
BCAAC ✗ CAACB ✓ CACB ✓
CABCA ✓ BCC ✗ CACBAB ✓
ChainPrecedence(A, B)
Each time B occurs in the process instance, then B occurs
immediately beforehand
BCAAC ✗ BCAABC ✗ CABABCA ✓
Target Activation
Constraints mining
?
Objective: understanding the
constraints that best define
the allowed behaviour of the
process behind the event log
SEITE 27
Constraints mining
An example
SEITE 28
A A B C A B C A C B C D
A C C A B B C B C A C B B D
C C C C C A A B C A A B A A B
A B B B D
C B A B D
A B B D
A A A C A C B D
A B C D
C A B A A C C B B D
B C C D
C A A C C C A A B C B C C B D
The role of Support
A A B C A B C A C B C D
A C C A B B C B C A C B B D
C C C C C A A B C A A B A A B
A B B B D
C B A B D
A B B D
A A A C A C B D
A B C D
C A B A A C C B B D
B C C D
C A A C C C A A B C B C C B D
 Support for
 Response(A, B)
 1.0
 Precedence(A, B)
 0.926 (25/27)
 Pruning on the basis of a
support threshold
 E.g., 0.95
 A threshold equal to 1.0
for a constraint means
“always valid in the log”
Activation
Target
Target
Activation
SEITE 29
Target-Branched Declare
Response(A, {B,C})
If A occurs in the trace,
then B or C occur
afterwards
AADB  BCAAC 
CABD  CAABC 
BCAA BCBDCC 
Precedence({A,C}, B)
If B occurs in the trace,
then A or C occur
beforehand
AADB  BCAAC
CABD  CCCBC 
BCAA BCBDCC
Target
Target
Target
Activation
Activation
Target
SEITE 30
The expressive power of
TBDeclare
SEITE 31
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
The expressive power of
TBDeclare
SEITE 32
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
The expressive power of
TBDeclare
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
 Support for
 Response(A, B)
 0.640 (16/25)
SEITE 33
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
The expressive power of
TBDeclare
 Support for
 Response(A, B)
 0.640 (16/25)
 Response(A, C)
 0.600 (15/25)
SEITE 34
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
The expressive power of
TBDeclare
 Support for
 Response(A, B)
 0.640 (16/25)
 Response(A, C)
 0.600 (15/25)
 RespondedExistence(A, B)
 0.720 (18/25)
 RespondedExistence(A, C)
 0.600 (15/25)
 Precedence(A, B)
 0.714 (10/14)
SEITE 35
 …
The expressive power of
TBDeclare
 Support for
 Response(A, B)
 0.640 (16/25)
 Response(A, C)
 0.600 (15/25)
 No non-branched
constraint is valid in the
whole log
(no Support eq. to 1)
 No Response constraint has
Support higher than 0.75
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
SEITE 36
The expressive power of
TBDeclare
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
SEITE 37 Threshold 0.75
Objective
SEITE 38
+ Expressive Power
+ Conciseness
The expressive power of
TBDeclare
Support for
 Response(A, {B, C})
 1.0
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
SEITE 39
TBDeclare properties:
subsumption hierarchy
Increasing
support
(≥)
SEITE 40
TBDeclare properties:
set-dominance
Increasing
support
(≥)
1
2
3
4
Branching factor
SEITE 41
3087 possible constraints
⇒
10 activities, br.factor 3
Amount of constraints
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
Support for
 Response(A, {B, C}),
 Response(A, {B, C, E}),
 Response(A, {B, C, D}),
 Response(A, {B, C, D, E}),
 RespondedExistence(A, {B, C}),
 RespondedExistence(A, {B, C, E}),
 RespondedExistence(A, {B, C, D}),
 RespondedExistence(A, {B, C, D, E}):
 1.0
Redundant!
Constraints
set-
dominance-
based
pruning
Constraints
subsumpt’n-
based
pruning
SEITE 42
Redundant!
Amount of constraints
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
Support for
 Response(A, {B, C}),
 Response(A, {B, C, E}),
 Response(A, {B, C, D}),
 Response(A, {B, C, D, E}),
 RespondedExistence(A, {B, C}),
 RespondedExistence(A, {B, C, E}),
 RespondedExistence(A, {B, C, D}),
 RespondedExistence(A, {B, C, D, E}):
 1.0
Redundant!
Constraints
set-
dominance-
based
pruning
Constraints
subsumpt’n-
based
pruning
SEITE 43
Redundant!
TBDeclare results pruning:
hierarchy-based
SEITE 44
TBDeclare results pruning:
hierarchy-based
0.280
0.360
0.200
0.520
1.000
1.000
0.360
SEITE 45
TBDeclare results pruning:
hierarchy-based
0.280
0.520
1.000
1.000
SEITE 46
TBDeclare results pruning:
hierarchy-based
1.000
1.000
SEITE 47
TBDeclare results pruning:
hierarchy-based
SEITE 48
Redundant!
Amount of constraints
B A A B A B C D
A A D B B A A D C
B A D D A D D A B E
C A B C
D A D B D
A E A C
A A A D B
D A D D B D
A A A D C D
A D D D A C
A A B
E D E B C E E C B E
Support for
 Response(A, {B, C}),
 Response(A, {B, C, E}),
 Response(A, {B, C, D}),
 Response(A, {B, C, D, E}),
 RespondedExistence(A, {B, C}),
 RespondedExistence(A, {B, C, E}),
 RespondedExistence(A, {B, C, D}),
 RespondedExistence(A, {B, C, D, E}):
 1.0
Constraints
set-
dominance-
based
pruning
Constraints
subsumpt’n-
based
pruning
SEITE 49
Redundant!
TBDeclare properties:
set-dominance
SEITE 50
TBDeclare properties:
set-dominance
1.000 0.880 0.679 0.880 0.720 0.800
0.640 0.600 0.720 0.160
1.000 1.000 0.920 0.920
1.000
Increasing
support
(≥)
SEITE 51
<
TBDeclare properties:
set-dominance
1.000 0.880 0.679 0.880 0.720 0.800
0.640 0.600 0.720 0.160
1.000 1.000 0.920 0.920
1.000
<
Increasing
support
(≥)
SEITE 52
TBDeclare properties:
set-dominance
1.000
1.000 1.000
1.000
≥
SEITE 53
TBDeclare properties:
set-dominance
1.000
1.000 1.000
≥
SEITE 54
TBDeclare properties:
set-dominance
SEITE 55
TBDeclare properties:
set-dominance
SEITE 56
Evaluation:
synthetic and real-world logs
SEITE 57
Activities Trace
length
Traces
in log
Branching
factor
Support
threshold
8 4 - 25 10,000 3 1.00
 Generating process:
 ChainPrecedence ({A, B}, C),
 ChainPrecedence ({A, B, D}, C),
 AlternateResponse(A, {B, C}),
 Rspnd’Existence(A, {B, C , D , E}),
 Response(A, {B, C}),
 Precedence({A, B, C, D}, E)
Synthetic
logs
set-up
Evaluation:
synthetic and real-world logs
SEITE 58
Activities Trace
length
Traces
in log
Branching
factor
Support
threshold
8 4 - 25 10,000 3 1.00
 Generating process:
 ChainPrecedence ({A, B}, C),
 ChainPrecedence ({A, B, D}, C),
 AlternateResponse(A, {B, C}),
 Rspnd’Existence(A, {B, C , D , E}),
 Response(A, {B, C}),
 Precedence({A, B, C, D}, E)
 BPI Challenge 2012:
 262,200 events, 24 activities, 13,087 cases
Synthetic
logs
set-up
Evaluation:
constraints pruning
SEITE 59
BPI Challenge 2012
(0) 6,654,480 (1) 10,676 (2) 1446 (3) 12
Evaluation:
performance
SEITE 60
BPI Challenge 2012
(KB) 00:07.274 (Const’s) 25:51.678 (Total) 26:11.380
Conclusions
 What we saw:
 Properties of TBDeclare constraints
 Mining TBDeclare models
 Reducing the number of returned items
 Effectiveness and performance evaluation
 More in the paper:
 Algorithm for computing support
 Proof of set-dominance property for TBDeclare constraints
 Future work:
 Better performance for Alternate-* constraints
 Branched Declare mining
 Inclusion of data into the mining process
SEITE 61
Discovering
Target-Branched Declare Constraints
Claudio Di Ciccio, Fabrizio Maria Maggi, and Jan Mendling
12th International Conference on Business Process Management
Eindhoven, The Netherlands
claudio.di.ciccio@wu.ac.at

More Related Content

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
 
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
 
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
 
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...Log-Based Understanding of Business Processes through Temporal Logic Query Ch...
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...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 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
 

More from Claudio Di Ciccio (10)

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
 
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
 
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
 
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...Log-Based Understanding of Business Processes through Temporal Logic Query Ch...
Log-Based Understanding of Business Processes through Temporal Logic Query Ch...
 
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...
 

Recently uploaded

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Pooja Bhuva
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answersdalebeck957
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfDr Vijay Vishwakarma
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptxJoelynRubio1
 
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
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
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
 

Recently uploaded (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
latest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answerslatest AZ-104 Exam Questions and Answers
latest AZ-104 Exam Questions and Answers
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx21st_Century_Skills_Framework_Final_Presentation_2.pptx
21st_Century_Skills_Framework_Final_Presentation_2.pptx
 
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...
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
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.
 

Discovering Target-Branched Declare Constraints

  • 1. Discovering Target-Branched Declare Constraints Claudio Di Ciccio, Fabrizio Maria Maggi, and Jan Mendling 12th International Conference on Business Process Management Eindhoven, The Netherlands claudio.di.ciccio@wu.ac.at
  • 2. Outline  Process Mining, Control-Flow Discovery Imperative vs declarative process modelling Declare and Target-Branched Declare Target-Branched Declare templates’ properties Mining Target-Branched Declare constraints Experimental evaluation Conclusions SEITE 2
  • 3. Outline  Process Mining, Control-Flow Discovery  Imperative vs declarative process modelling Declare and Target-Branched Declare Target-Branched Declare templates’ properties Mining Target-Branched Declare constraints Experimental evaluation Conclusions SEITE 3
  • 4. Outline  Process Mining and Control-Flow Discovery  Imperative vs declarative process modelling  Declare and Target-Branched Declare Target-Branched Declare templates’ properties Mining Target-Branched Declare constraints Experimental evaluation Conclusions SEITE 4
  • 5. Outline  Process Mining and Control-Flow Discovery  Imperative vs declarative process modelling  Declare and Target-Branched Declare  TBDeclare templates’ properties Mining Target-Branched Declare constraints Experimental evaluation Conclusions SEITE 5
  • 6. Outline  Process Mining and Control-Flow Discovery  Imperative vs declarative process modelling  Declare and Target-Branched Declare  TBDeclare templates’ properties  Mining (and pruning) TBDeclare constraints Experimental evaluation Conclusions SEITE 6
  • 7. Outline  Process Mining and Control-Flow Discovery  Imperative vs declarative process modelling  Declare and Target-Branched Declare  TBDeclare templates’ properties  Mining (and pruning) TBDeclare constraints  Experimental evaluation Conclusions SEITE 7
  • 8. Outline  Process Mining and Control-Flow Discovery  Imperative vs declarative process modelling  Declare and Target-Branched Declare  TBDeclare templates’ properties  Mining (and pruning) TBDeclare constraints  Experimental evaluation  Conclusion SEITE 8 ©
  • 9. The event log Process model SEITE 9
  • 10. The event log Process instance Event log Trace SEITE 10
  • 11. The event log Event Task Process instance Event log Trace SEITE 11
  • 15. The event log Process instance Event log Trace SEITE 15
  • 20. Control-flow discovery ? Objective: understanding the temporal structure that best describes the process behind the event log SEITE 20
  • 24. Declarative modelling of processes  Usage of constraints  “Open model”  Declare  state-of-the-art language If A is performed, B must be performed, no matter if before or afterwards (responded existence) Whenever B is performed, C must be performed afterwards and B can not be repeated until C is done (alternate response) SEITE 24
  • 25. Declare: Relation Constraint Templates RespondedExistence(A, B) If A occurs in the process instance, then B occurs as well CAC ✗ CAACB ✓ BCAC ✓ BCC ✓ Response(A, B) If A occurs in the process instance, then B occurs after A BCAAC ✗ CAACB ✓ CAC ✗ BCC ✓ AlternateResponse(A, B) Each time A occurs in the process instance, then B occurs afterwards, before A recurs BCAAC ✗ CAACB ✗ CACB ✓ CABCA ✗ BCC ✓ CACBBAB ✓ ChainResponse(A, B) Each time A occurs in the process instance, then B occurs immediately afterwards BCAAC ✗ BCAABC ✗ BCABABC ✓ Activation Target
  • 26. Declare: Relation Constraint Templates RespondedExistence(B, A) If B occurs in the process instance, then A occurs as well CAC ✓ CAACB ✓ BCAC ✓ BCC ✗ Precedence(A, B) B occurs in the process instance only if preceded by A BCAAC ✗ CAACB ✓ CAC ✓ BCC ✓ AlternatePrecedence(A, B) Each time B occurs in the process instance, it is preceded by A and no other B can recur in between BCAAC ✗ CAACB ✓ CACB ✓ CABCA ✓ BCC ✗ CACBAB ✓ ChainPrecedence(A, B) Each time B occurs in the process instance, then B occurs immediately beforehand BCAAC ✗ BCAABC ✗ CABABCA ✓ Target Activation
  • 27. Constraints mining ? Objective: understanding the constraints that best define the allowed behaviour of the process behind the event log SEITE 27
  • 28. Constraints mining An example SEITE 28 A A B C A B C A C B C D A C C A B B C B C A C B B D C C C C C A A B C A A B A A B A B B B D C B A B D A B B D A A A C A C B D A B C D C A B A A C C B B D B C C D C A A C C C A A B C B C C B D
  • 29. The role of Support A A B C A B C A C B C D A C C A B B C B C A C B B D C C C C C A A B C A A B A A B A B B B D C B A B D A B B D A A A C A C B D A B C D C A B A A C C B B D B C C D C A A C C C A A B C B C C B D  Support for  Response(A, B)  1.0  Precedence(A, B)  0.926 (25/27)  Pruning on the basis of a support threshold  E.g., 0.95  A threshold equal to 1.0 for a constraint means “always valid in the log” Activation Target Target Activation SEITE 29
  • 30. Target-Branched Declare Response(A, {B,C}) If A occurs in the trace, then B or C occur afterwards AADB  BCAAC  CABD  CAABC  BCAA BCBDCC  Precedence({A,C}, B) If B occurs in the trace, then A or C occur beforehand AADB  BCAAC CABD  CCCBC  BCAA BCBDCC Target Target Target Activation Activation Target SEITE 30
  • 31. The expressive power of TBDeclare SEITE 31 B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E
  • 32. The expressive power of TBDeclare SEITE 32 B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E
  • 33. The expressive power of TBDeclare B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E  Support for  Response(A, B)  0.640 (16/25) SEITE 33
  • 34. B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E The expressive power of TBDeclare  Support for  Response(A, B)  0.640 (16/25)  Response(A, C)  0.600 (15/25) SEITE 34
  • 35. B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E The expressive power of TBDeclare  Support for  Response(A, B)  0.640 (16/25)  Response(A, C)  0.600 (15/25)  RespondedExistence(A, B)  0.720 (18/25)  RespondedExistence(A, C)  0.600 (15/25)  Precedence(A, B)  0.714 (10/14) SEITE 35  …
  • 36. The expressive power of TBDeclare  Support for  Response(A, B)  0.640 (16/25)  Response(A, C)  0.600 (15/25)  No non-branched constraint is valid in the whole log (no Support eq. to 1)  No Response constraint has Support higher than 0.75 B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E SEITE 36
  • 37. The expressive power of TBDeclare B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E SEITE 37 Threshold 0.75
  • 38. Objective SEITE 38 + Expressive Power + Conciseness
  • 39. The expressive power of TBDeclare Support for  Response(A, {B, C})  1.0 B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E SEITE 39
  • 41. TBDeclare properties: set-dominance Increasing support (≥) 1 2 3 4 Branching factor SEITE 41 3087 possible constraints ⇒ 10 activities, br.factor 3
  • 42. Amount of constraints B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E Support for  Response(A, {B, C}),  Response(A, {B, C, E}),  Response(A, {B, C, D}),  Response(A, {B, C, D, E}),  RespondedExistence(A, {B, C}),  RespondedExistence(A, {B, C, E}),  RespondedExistence(A, {B, C, D}),  RespondedExistence(A, {B, C, D, E}):  1.0 Redundant! Constraints set- dominance- based pruning Constraints subsumpt’n- based pruning SEITE 42 Redundant!
  • 43. Amount of constraints B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E Support for  Response(A, {B, C}),  Response(A, {B, C, E}),  Response(A, {B, C, D}),  Response(A, {B, C, D, E}),  RespondedExistence(A, {B, C}),  RespondedExistence(A, {B, C, E}),  RespondedExistence(A, {B, C, D}),  RespondedExistence(A, {B, C, D, E}):  1.0 Redundant! Constraints set- dominance- based pruning Constraints subsumpt’n- based pruning SEITE 43 Redundant!
  • 49. Redundant! Amount of constraints B A A B A B C D A A D B B A A D C B A D D A D D A B E C A B C D A D B D A E A C A A A D B D A D D B D A A A D C D A D D D A C A A B E D E B C E E C B E Support for  Response(A, {B, C}),  Response(A, {B, C, E}),  Response(A, {B, C, D}),  Response(A, {B, C, D, E}),  RespondedExistence(A, {B, C}),  RespondedExistence(A, {B, C, E}),  RespondedExistence(A, {B, C, D}),  RespondedExistence(A, {B, C, D, E}):  1.0 Constraints set- dominance- based pruning Constraints subsumpt’n- based pruning SEITE 49 Redundant!
  • 51. TBDeclare properties: set-dominance 1.000 0.880 0.679 0.880 0.720 0.800 0.640 0.600 0.720 0.160 1.000 1.000 0.920 0.920 1.000 Increasing support (≥) SEITE 51 <
  • 52. TBDeclare properties: set-dominance 1.000 0.880 0.679 0.880 0.720 0.800 0.640 0.600 0.720 0.160 1.000 1.000 0.920 0.920 1.000 < Increasing support (≥) SEITE 52
  • 57. Evaluation: synthetic and real-world logs SEITE 57 Activities Trace length Traces in log Branching factor Support threshold 8 4 - 25 10,000 3 1.00  Generating process:  ChainPrecedence ({A, B}, C),  ChainPrecedence ({A, B, D}, C),  AlternateResponse(A, {B, C}),  Rspnd’Existence(A, {B, C , D , E}),  Response(A, {B, C}),  Precedence({A, B, C, D}, E) Synthetic logs set-up
  • 58. Evaluation: synthetic and real-world logs SEITE 58 Activities Trace length Traces in log Branching factor Support threshold 8 4 - 25 10,000 3 1.00  Generating process:  ChainPrecedence ({A, B}, C),  ChainPrecedence ({A, B, D}, C),  AlternateResponse(A, {B, C}),  Rspnd’Existence(A, {B, C , D , E}),  Response(A, {B, C}),  Precedence({A, B, C, D}, E)  BPI Challenge 2012:  262,200 events, 24 activities, 13,087 cases Synthetic logs set-up
  • 59. Evaluation: constraints pruning SEITE 59 BPI Challenge 2012 (0) 6,654,480 (1) 10,676 (2) 1446 (3) 12
  • 60. Evaluation: performance SEITE 60 BPI Challenge 2012 (KB) 00:07.274 (Const’s) 25:51.678 (Total) 26:11.380
  • 61. Conclusions  What we saw:  Properties of TBDeclare constraints  Mining TBDeclare models  Reducing the number of returned items  Effectiveness and performance evaluation  More in the paper:  Algorithm for computing support  Proof of set-dominance property for TBDeclare constraints  Future work:  Better performance for Alternate-* constraints  Branched Declare mining  Inclusion of data into the mining process SEITE 61
  • 62. Discovering Target-Branched Declare Constraints Claudio Di Ciccio, Fabrizio Maria Maggi, and Jan Mendling 12th International Conference on Business Process Management Eindhoven, The Netherlands claudio.di.ciccio@wu.ac.at

Editor's Notes

  1. © Thomas Berger, source: http://www.meinbezirk.at/