Process Mining – Concepts and Algorithms Review of literature on process mining techniques for event log data.

Slides:



Advertisements
Similar presentations
From Local Patterns to Global Models: Towards Domain Driven Educational Process Mining Nikola Trčka Mykola Pechenizkiy.
Advertisements

Workflow Mining: Concepts and Algorithm Dr. Boleslaw Mikolajczak.
On 1-soundness and Soundness of Workflow Nets Lu Ping, Hu Hao and Lü Jian Department of Computer Science Nanjing University
An Introduction to Petri Nets
Jorge Muñoz-Gama Josep Carmona
Principles of Engineering System Design Dr T Asokan
A university for the world real R © 2009, Chapter 3 Advanced Synchronization Moe Wynn Wil van der Aalst Arthur ter Hofstede.
Process Models In this section, we focus on the control-flow perspective of processes. We assume that there is a set of activity labels.
Petri Nets Section 2 Roohollah Abdipur.
Based on: Petri Nets and Industrial Applications: A Tutorial
Chapter 3 Petri nets Learning objectives : Introduce Petri nets
IE 469 Manufacturing Systems
A Survey of Process Mining in ProM By Jantima Polpinij Decision Systems Lab (DSL) Seminar School of Computer Science and Software Engineering Faculty of.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
10. Petri Nets Prof. O. Nierstrasz. Roadmap  Definition: —places, transitions, inputs, outputs —firing enabled transitions  Modelling: —concurrency.
CS447/ECE453/SE465 Prof. Alencar University of Waterloo 1 CS447/ECE453/SE465 Software Testing Tutorial Winter 2008 Based on the tutorials by Prof. Kontogiannis,
/faculteit technologie management Genetic Process Mining Ana Karla Medeiros Ton Weijters Wil van der Aalst Eindhoven University of Technology Department.
1 Analysis of workflows a-priori and a-posteriori analysis Wil van der Aalst Eindhoven University of Technology Faculty of Technology Management Department.
CP — Concurrent Programming 12. Petri Nets Prof. O. Nierstrasz Wintersemester 2005 / 2006.
A Schedulability-Preserving Transformation of BDF to Petri Nets Cong Liu EECS 290n Class Project December 10, 2004.
12/07/2007Jiacun Wang1 SE-561 Math Foundations Petri Nets - II Dr. Jiacun Wang Department of Software Engineering Monmouth University.
/k soundness of free-choice workflow nets 1 of 10 Soundness of Free Choice Workflow Nets K.M. van Hee, M. Voorhoeve Eindhoven Univ. Tech.
Specifying Workflow using CO- OPN Ang Chen SMV group 11 Mars, 2005.
A 14← department of mathematics and computer science PROSE Checking Properties of Adaptive Workflow Nets K. van Hee, I. Lomazova, O. Oanea,
/faculteit technologie management Process Mining and Security: Detecting Anomalous Process Executions and Checking Process Conformance Wil van der Aalst.
Discovering Coordination Patterns using Process Mining Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology Department of Information and Technology.
Boudewijn van Dongen June 22, 2004 /t Process Mining, the basics.
/faculteit technologie management Genetic Process Mining Wil van der Aalst Ana Karla Medeiros Ton Weijters Eindhoven University of Technology Department.
History-Dependent Petri Nets Kees van Hee, Alexander Serebrenik, Natalia Sidorova, Wil van der Aalst ?
Petri Nets An Overview IE 680 Presentation April 30, 2007 Renata Kopach- Konrad.
Partial Order Semantics of Types of Nets Robert Lorenz, Gabriel Juhás, Sebastian Mauser SOFSEM 2009, Špindlerův Mlýn, CZ, 27th February 2009.
HIERARCHICAL CONFORMANCE CHECKING OF PROCESS MODELS BASED ON EVENT LOGS Jorge Munoz-Gama, Josep Carmona and Wil M.P. van der Aalst.
C ONFORMANCE C HECKING OF P ROCESSES B ASED ON M ONITORING R EAL B EHAVIOR Jason Ree 4/18/11 UNIST School of Technology Management.
A Novel Method for Formally Detecting RFID Event Using Petri Nets SEKE 2011.
Jorge Muñoz-Gama Universitat Politècnica de Catalunya (Barcelona, Spain) Algorithms for Process Conformance and Process Refinement.
Finite State Machines Chapter 5. Languages and Machines.
CY2003 Computer Systems Lecture 7 Petri net. © LJMU, 2004CY2003- Week 72 Overview Petri net –concepts –Petri net representation –Firing a transition –Marks.
1 Closures of Relations: Transitive Closure and Partitions Sections 8.4 and 8.5.
Han-na Yang Rediscovering Workflow Models from Event-Based Data using Little Thumb.
Petri nets refresher Prof.dr.ir. Wil van der Aalst
Process-oriented System Analysis Process Mining. BPM Lifecycle.
Inheritance in Petri Net Designs. Goals Subtyping - interface inheritance: Can the subclass use or conform to the interface of the superclass?). Projection.
Petri Nets Lecturer: Roohollah Abdipour. Agenda Introduction Petri Net Modelling with Petri Net Analysis of Petri net 2.
Modelling by Petri nets
/faculteit technologie management PN-1 مهندسی مجدد فرآیندهای تجاری بخش دوم: مدلسازی فرآیندها به کمک Petri nets.
Decision Mining in Prom A. Rozinat and W.M.P. van der Aalst Joosung, Ko.
School of Computer Science, The University of Adelaide© The University of Adelaide, Control Data Flow Graphs An experiment using Design/CPN Sue Tyerman.
/faculteit technologie management Workflow Mining: Current Status and Future Directions Ana Karla A. de Medeiros, W.M.P van der Aalst and A.J.M.M. Weijters.
CSCI1600: Embedded and Real Time Software Lecture 11: Modeling IV: Concurrency Steven Reiss, Fall 2015.
School of Computer Science & Software Engineering
1 Lecture 23 – April 11, 2002 Semester end questions More about Bond agents Models and languages supporting concurrency Petri Nets.
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
/faculteit technologie management PN-1 Petri nets refresher Prof.dr.ir. Wil van der Aalst Eindhoven University of Technology, Faculty of Technology Management,
Finite State Machines Chapter 5. Languages and Machines.
Diagnostic Information for Control-Flow Analysis of Workflow Graphs (aka Free-Choice Workflow Nets) Cédric Favre(1,2), Hagen Völzer(1), Peter Müller(2)
Technology of information systems Lecture 5 Process management.
Multi-phase Process Mining: Building Instance Graphs
composition of workflows
Advantages of FSM Their simplicity make it easy for inexperienced developers to implement with little to no extra knowledge (low entry level)
Concurrent Systems Modeling using Petri Nets
Profiling based unstructured process logs
Dr. Eng Amr T. Abdel-Hamid
Mathematical Structures for Computer Science Chapter 6
Concurrent Systems Modeling using Petri Nets – Part II
An Introduction to Petri Nets
Petri nets.
3 mei 2019 Process Mining and Security: Detecting Anomalous Process Executions and Checking Process Conformance Wil van der Aalst Ana Karla A. de Medeiros.
Predictability Verification with Petri Net Unfoldings
Workflow Mining: Concepts and Algorithm
5 juli 2019 Process Mining and Security: Detecting Anomalous Process Executions and Checking Process Conformance Wil van der Aalst Ana Karla A. de Medeiros.
Presentation transcript:

Process Mining – Concepts and Algorithms Review of literature on process mining techniques for event log data.

Alpha Algorithm  Process mining is the method of distilling a structured process description from a set of real executions (event logs).  Alpha algorithm assumes:  each event refers to a task  each event refers to a case  events are totally ordered  Expresses the discovered model in terms of petri nets  Model constructed can be used to:  Gain insight in the actual process in a work flow system  comparing the actual process with some predefined process

Alpha Algorithm  Alpha has some limitation  Noise in log  Workflow logs need to contain sufficient information

Section 1 Petri net definitions

Petri nets  A Petri net is (P/T-nets)1 An Place/Transition net, or simply P/T-net, is a tuple  (P, T, F) where: 1. P is a finite set of places, 2. T is a finite set of transitions such that P ∩ T = ∅, and 3. F ⊆ (P × T) ∪ (T × P) is a set of directed arcs, called the flow relation.  A marked P/T-net is a pair (N, s), where N = (P, T, F) is a P/T- net and where s is a bag over P denoting the marking of the net. The set of all marked P/T-nets is denoted N.

Enabling of Transitions  Transition t is enabled in state s 1 if and only if: For all p elements of P such that there exists a state s 1, and p has a number of tokens in its places greater or equal to its input places

Firing of Transitions  If transition t is enabled in state s 1, it can fire and the resulting state is s 2 :  The number of tokens in place p after firing p, s2(p), is equal to The original number of tokens s1(p), minus the number consumed, I(p,t), plus the number of produced tokens, O(t,p)

Firing Sequence  A Petri net (P,T,I,O) defines the following transition system (S,TR):

Connectedness  A net N = (P, T, F) is weakly connected, or simply connected, iff, for every two nodes x and y in P ∪ T, x(F ∪ F − 1) ∗ y, where R − 1 is the inverse and R ∗ the reflexive and transitive closure of a relation R. Net N is strongly connected iff, for every two nodes x and y, xF ∗ y.

Boundedness, Safeness  A marked net (N = (P, T, F), s) is bounded iff the set of reachable markings [N, s is finite. It is safe iff, for any s ∈ [N, s and any p ∈ P, s(p) ≤ 1. NB. safeness implies boundedness.

Dead transitions, liveness  Let (N = (P, T, F), s) be a marked P/T-net. A transition t ∈ T is dead in (N, s) iff there is no reachable marking s ∈ [N, s such that (N, s)[t. (N, s) is live iff, for every reachable marking s ∈ [N, s and t ∈ T, there is a reachable marking s ∈ [N, s such that (N, s)[t. Note that liveness implies the absence of dead transitions.

Workflow nets  Composed of the following building blocks  AND-split,  AND-join,  OR-split,  OR-join  Let N = (P, T, F) be a P/T-net and ¯t a fresh identifier not in P ∪ T. N is a workflow net (WF-net) iff: 1. object creation: P contains an input place i such that i = ∅, 2. object completion: P contains an output place o such that o = ∅, 3. connectedness: ¯N = (P, T ∪ {¯t}, F ∪ {(o, ¯t), (¯t, i)}) is strongly connected,

Soundness  Let N = (P, T, F) be a WF-net with input place i and output place o. N is sound iff: 1. safeness: (N, [i]) is safe, 2. proper completion: for any marking s ∈ [N, [i], o ∈ s implies s = [o], 3. option to complete: for any marking s ∈ [N, [i], [o] ∈ [N, s, and 4. absence of dead tasks: (N, [i]) contains no dead transitions.  The set of all sound WF-nets is denoted W.

Section 2 Process Rediscovery

Workflow trace, Workflow log  Let T be a set of tasks. σ ∈ T ∗ is a workflow trace and W ∈ P(T ∗ ) is a workflow log.  The frequency of traces helps in identifying noise

Log-based ordering relations  Let W be a workflow log over T, i.e., W ∈ P(T ∗ ). Let a, b ∈ T:  a >W b iff there is a trace σ = t 1 t 2 t 3... t n − 1 and i ∈ {1,..., n − 2} such that σ ∈ W and t i = a and t i+1 = b,  a → W b iff a >W b and b />W a,  a#Wb iff a />W b and b />W a, and  aWb iff a >W b and b >W a.

∈, first, last  Let A be a set, a ∈ A, and σ = a1a2... an ∈ A ∗ a sequence over A of length n. ∈, first, last are defined as follows: 1. a ∈ σ iff a ∈ {a1, a2,... an}, 2. first( σ ) = a 1, if n ≥ 1, and 3. last( σ ) = a n, if n ≥ 1.

Complete workflow log  Let N = (P, T, F) be a sound WF-net, i.e., N ∈ W. W is a workflow log of N iff W ∈ P(T ∗ ) and every trace σ ∈ W is a firing sequence of N starting in state [i] and ending in [o], i.e., (N, [i])[ σ (N, [o]). W is a complete workflow log of N iff 1. for any workflow log W of N: >W ⊆ >W, and 2. for any t ∈ T there is a σ ∈ W such that t ∈ σ.

Ability to rediscover  Let N = (P, T, F) be a sound WF-net, i.e., N ∈ W, and let α be a mining algorithm which maps workflow logs of N onto sound WF-nets, i.e., α : P(T ∗ ) → W. If for any complete workflow log W of N the mining algorithm returns N (modulo renaming of places), then α is able to rediscover N.

My Reflections  Clustering and association mining can be useful in ascertaining a pattern of events therefore making an observation on behaviour.  Process mining can be used to discover the process that produces that pattern thereby providing insight into possible causes for behaviour.

Work Flow Mining Section 3

Causal relations imply connecting places  If there is a causal relation between two transitions according to the workflow log, then there has to be a place connecting these two transitions.  Theorem 4.1. Let N = (P, T, F) be a sound WF-net and let W be a complete workflow log of N. For any a, b ∈ T: a → W b implies a ∩ b = ∅.

Connecting places “often” imply causal relations  Implicit places can be detected by simply inspecting the log.  Mining algorithms do not detect implicit places because they often do not change the behavior of the net and therefore is not visible in the log.  Mining constraints- relate to synchronisation. Workflows that conform are called structured workflow nets.  Choice and synchronisation should never meet  Synchronisation should not precede an OR join

SWF-net  A WF-net N = (P, T, F) is an SWF-net (Structured workflow net) iff: 1. For all p ∈ P and t ∈ T with (p, t) ∈ F: |p | > 1 implies | t| = For all p ∈ P and t ∈ T with (p, t) ∈ F: | t| > 1 implies | p| = There are no implicit places.  Property: Let N = (P, T, F) be an SWF-net. For any a, b ∈ T and p1, p2 ∈ P: if p1 ∈ a ∩ b and p2 ∈ a ∩ b, then p1 = p2.

References  Workflow Mining: Discovering process models from event logs W.M.P. van der Aalst, A.J.M.M. Weijters, and L. Maruster