Through this tutorial-style presentation, I want to broaden the uptake of object-centric process mining in research and in practice. It introduces to the concept of object-centric processes, and highlights the core thinking and concepts that underly object-centric processes and explain what makes them effective in analyzing complex real-world processes.
The first part of the talk looks back at key ideas from academic research that led to object-centric process mining.
The second part first explains the basic ideas and techniques of object-centric process mining and the new kinds of process analysis that are enabled by it. We then take a look under the hood of object-centric process mining and look at the key data structures and operations that make it work.
In the third part, we show how these key ideas work for use cases that go far beyond object-centric process mining.
The talk gives pointers to ready-to-use Python libraries and public datasets and tutorials so that you can directly start doing research, development, and analysis in an object-centric approach.
Object-Centric Processes - from cases to objects and relations… and beyond
1. Data Science > Multi-Dimensional Process Analytics
Dr. Dirk Fahland
d.fahland@tue.nl / @dfahland
From Cases to Objects and Relations … and Beyond
2. 2
Object-Centric Process Mining, The next frontier in business performance
Prof. dr. ir. Wil van der Aalst Chief Scientist, Celonis, 2023
3. System
System
3
Real World - Data - Models
“Real World”
Model
System
describes
supports &
controls
records
Event
Data
analyze
Process
or prescribes
4. System
System
4
Real World - Data - Models
“Real World”
Model
System
describes
supports &
controls
records
Event
Data
analyze
or prescribes
not just
one process
5. System
System
5
Real World - Data - Models
“Real World”
Model
System
describes
supports &
controls
records
Event
Data
analyze
Processes
Actors
Organizations
Machines
or prescribes
Documents
Items
6. System
System
System
6
Real World - Data - Models
Processes
Actors
Organizations
Machines
Users
“Real World”
Model
describes
records
actionable means of communication
between actors (or workers), stakeholders, managers, and machines
relate own goals and
actions to thoseof
other participants
supports &
controls
or prescribes
Event
Data
7. 7
How did we arrive here? What makes it special?
Object-Centric ProcessMining, The next frontier in business performance
Prof. dr. ir. Wil van der Aalst Chief Scientist, Celonis, 2023
Dirk Fahland: ProcessMining over Multiple BehavioralDimensions with Event
Knowledge Graphs. ProcessMining Handbook2022: 274-319
8. 8
From Cases to Object and Relations … and Beyond
Cases vs Objects Objects
…and Relations
…and Beyond
1 2 3
15. Proclets: Messages + Cardinality Constraints
load
deliver next
finish
retry
delivery tour
undeliv.
create
split
notify
bill
order
+
*
1
*
*
1 1
*
15
order1
order2
delivery5 delivery6
Wil M. P. van der Aalst, Paulo Barthelmess, Clarence
A. Ellis, Jacques Wainer: Workflow Modeling Using
Proclets. CoopIS 2000: 198-209
16. Artifact-Centric Process Mining
extract log
per object
discover
identify & add
interactions
merge
related logs
Xixi Lu, Marijn Nagelkerke, Dirk Fahland: “Discovering Interacting Artifacts from ERP systems” IEEE Trans. On Services Computing DOI: 10.1109/TSC.2015.2474358 (2015)
artifact-centric data model
objects
activities
relations
17. 17
… in Practice
→ relations as first-class citizens are too complicated.
18. 18
Some advice from C.A. Petri
→ view the world through synchronizing objects only
19. Reify Data Model → Normal Form
pack load
retry
deliver
undeliv
bill
package
19
load
deliver next
finish
retry
delivery tour
undeliv.
create
split
notify
bill
order
+
*
1
*
*
1 1
*
order delivery
+
1 + 1
package
Dirk Fahland, Massimiliano de Leoni, Boudewijn F. van Dongen, Wil M. P. van derAalst:
Many-to-Many: Some Observations on Interactions in Artifact Choreographies.ZEUS 2011:9-15
20. Normal Form for Process-Object Interactions (1:n)
create
pack
notify
bill
order
load
deliver
undeliv.
return
delivery
next
retry
pack load
retry
deliver
undeliv
bill
package
1 +
1 instance of order can
create 1..n packages
1
+
1
1
1
1
1
1
+
1
20
Dirk Fahland, Massimiliano de Leoni, Boudewijn F. van Dongen, Wil M. P. van derAalst:
Many-to-Many: Some Observations on Interactions in Artifact Choreographies.ZEUS 2011:9-15
21. 21
Fuse Transitions of Objects → OC-Petri Nets
Wil M. P. van der Aalst, Alessandro Berti:
Discovering Object-centric Petri Nets. Fundam. Informaticae 175(1-4): 1-40 (2020)
22. Each object has its path + synchronization
order1
order2
delivery5
delivery6
1st package
3rd package
2nd package
pack
load deliver
bill
pack
retry load deliver undeliv.
bill
1 order
N packages
22
23. How do we get event data into this shape?
order1
order2
delivery5
delivery6
1st package
3rd package
2nd package
pack
load deliver
bill
pack
retry load deliver undeliv.
bill
23
24. 24
From Cases to Object and Relations … and Beyond
Cases vs Objects:
Theory and Practice
Objects
…and Relations
…and Beyond
1 2 3
26. 26
as “Paths per object + synchronization”
Event
Data
Event Table with Entity Types
Object-Centric Event Log
27. 27
as “Paths per object + synchronization”
Event
Data
Event Table with Entity Types
Object-Centric Event Log
“O2 related to I2”
recorded in the event
28. 28
as “Paths per object + synchronization”
Event
Data
Event Table with Entity Types
Object-Centric Event Log
1:n relation
37. Artifact-Centric Process Mining
extract log
per object
discover
identify & add
interactions
merge
related logs
Xixi Lu, Marijn Nagelkerke, Dirk Fahland: “Discovering Interacting Artifacts from ERP systems” IEEE Trans. On Services Computing DOI: 10.1109/TSC.2015.2474358 (2015)
artifact-centric data model
objects
activities
relations
38. Object-Centric Process Mining
extract log
per object
discover
synchronize
activities
Xixi Lu, Marijn Nagelkerke, Dirk Fahland: “Discovering Interacting Artifacts from ERP systems” IEEE Trans. On Services Computing DOI: 10.1109/TSC.2015.2474358 (2015)
objects
activities relations
39. 39
…enables better process analysis
Jan Niklas Adams, Wil M. P. van der Aalst: OCπ: Object-Centric Process Insights. Petri Nets 2022: 139-150
40. 40
…enables better process analysis
Gyunam Park, Jan Niklas Adams, Wil M. P. van der Aalst: OPerA: Object-Centric Performance Analysis. ER 2022: 281-292
41. 41
From Cases to Object and Relations … and Beyond
Cases vs Objects:
Theory and Practice
Objects
…and Relations
…and Beyond
1 2 3
under the hood
47. 47
Infer directly-follows
All events correlated to
entity I1:
• order by time:
e1,e2,...,en
• add df-edge
from ei toei+1
• remember that df-
edge holds for I1
53. 53
Almost all BPIC datasets are object-centric!
ProMG Python library: https://github.com/PromG-dev/
BPIC’14, BPIC’15, BPIC’16, BPIC’17, BPIC’19
alternative: OCEL → OCPA Python library https://github.com/ocpm/ocpa/
refine
OCED
54. 54
From Cases to Object and Relations … and Beyond
Cases vs Objects:
Theory and Practice
Objects
…and Relations
…and Beyond
1 2 3
under the hood
Inspiration for your research
and your analyses!
56. Adding the Actor perspective
• Actor as entity
• Infer directly-
follows
57. 57
Actor Behavior → “Process Fabric”
Loan Application Process
BPIC’17
cases are waiting for
actors/resources!
→ we need to change
the way measure
bottlenecks!
58. Adding the Actor perspective
• Actor as entity
• Infer directly-
follows
• Identify “task
executions”
Task execution
Actor performs
multiple consecutive
actions on same object
Klijn, E.L., Mannhardt, F., Fahland, D., Classifying and
Detecting Task Executions and Routines in EventGraphs. BPM
Forum, pp. 212-229, 2022
59. Adding the Actor perspective
Klijn, E.L., Mannhardt, F., Fahland, D., Classifying and
Detecting Task Executions and Routines in EventGraphs. BPM
Forum, pp. 212-229, 2022
60. Adding the Actor perspective
R4 repeats the same
complex task in different
cases → batch processing
Klijn, E.L., Mannhardt, F., Fahland, D., Classifying and
Detecting Task Executions and Routines in EventGraphs. BPM
Forum, pp. 212-229, 2022
61. Adding the Actor perspective
R2 repeats the same
complex task in different
cases → batch processing
but is interrupted
Klijn, E.L., Mannhardt, F., Fahland, D., Classifying and
Detecting Task Executions and Routines in EventGraphs. BPM
Forum, pp. 212-229, 2022
62. 62
Actor Behavior: Complex Patterns
O O O C
O O O
O O
O O
O O O C
O
O O O C
O
O O O O O O C
O O
O O O C
O
How to analyze? → talk by Bianka Bakullari “The Interplay Between High-
Level Problems and the Process Instances that Give Rise to Them” (Wed)
63. 63
Cluster similar “Task Executions”
local model of similar task executions
→ local model of actor behavior
Eva L. Klijn, Felix Mannhardt, Dirk Fahland: Aggregating EventKnowledgeGraphs
for Task Analysis. ICPMWorkshops 2022: 493-505
64. 64
Cluster similar “Task Executions”
Aggregate into Task nodes
C
C
C
C
C
C
end
C
C
C
C
C
C
C
C
C
C C
start
C
local model of similar task executions
→ local model of actor behavior
Eva L. Klijn, Felix Mannhardt, Dirk Fahland: Aggregating EventKnowledgeGraphs
for Task Analysis. ICPMWorkshops 2022: 493-505
global model of
actor interactions
Drift in actor behavior
65. 65
BPIC’14: ITIL → 4 Processes Synchronizing on 1 Object
BPIC 14 – ITIL Service Process
Incident
Activity
Incident
Change
Interaction
69. 69
Process + Context → Inference
add system context of event to EKG
Use to infer missing information
(e.g., which object an event must have worked on)
→ Talk by Ava Swevels “Inferring Missing Entity Identifiers from Context Using Event
Knowledge Graphs” (Wed)
Case study in semi-conductor manufacturing
72. 72
Relations between Objects
parent
How to calculate?
→ Dirk Fahland: Process Mining over Multiple
Behavioral DimensionswithEvent Knowledge
Graphs.Process Mining Handbook 2022: 274-319
Case Study in Auditing
73. 73
Relations between Objects → DF-paths between objects
parent
How to calculate?
→ Dirk Fahland: Process Mining over Multiple
Behavioral DimensionswithEvent Knowledge
Graphs.Process Mining Handbook 2022: 274-319
Case Study in Auditing
74. 74
Relations between Objects → DF-paths between objects
receives
How to calculate?
→ Dirk Fahland: Process Mining over Multiple
Behavioral DimensionswithEvent Knowledge
Graphs.Process Mining Handbook 2022: 274-319
Case Study in Auditing
75. 75
Changes to Relations
Case Study: configuration management in manufacturing of complex
high-tech systems → effective in analyzing change management process
part-of
77. 77
Multi-Dimensional Process Thinking
process analysis over
process definitionover
one object
multiple dynamics:
all flows together
+ system usage
+ resources
+….
one dynamic:
one flow
“process
fabric”
classical
processes
“system
fabric”
Object-Centric
“execution
fabric”
multiple
objects
78. 78
Multi-Dimensional Process Thinking – Research Challenges
process analysis over
process definitionover
one object
multiple dynamics:
all flows together
+ system usage
+ resources
+….
one dynamic:
one flow
“process
fabric”
classical
processes
“system
fabric”
Object-Centric
“execution
fabric”
multiple
objects
In each quadrant
• the data is available
• OCEL
• EKGs
• the research questions are
• discovery
• descriptive/predictive
(simulation models)
• local/global
• conformance
• enhancement
• extend with domain
knowledge
• Inference
• changes to data over time
79. 79
Multi-Dimensional Process Thinking – Research Challenges
process analysis over
process definitionover
one object
multiple dynamics:
all flows together
+ system usage
+ resources
+….
one dynamic:
one flow
“process
fabric”
classical
processes
“system
fabric”
Object-Centric
“execution
fabric”
multiple
objects
you can start researching today:
→OCPA
https://github.com/ocpm/ocpa/
→PromG (new)
https://github.com/PromG-dev
• Python library to
• automatically constructEKGs
→ for several BPIC data sets
• script analyses
In each quadrant
• the data is available
• OCEL
• EKGs