wil m.p. van der aalst simplifying mined process modelsdfahland/presentations/... · simplifying...

36
Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst

Upload: others

Post on 07-Jun-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

Simplifying

Mined Process Models

Dirk Fahland

Wil M.P. van der Aalst

Page 2: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 1

Process Mining, Currently

event

log

process mining

algorithmprocess

model

Page 3: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 2

Process Mining, Currently

event

log

process mining

algorithmprocess

model

readable

process

model

Page 4: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 3

Post-Process the Model

event

log

process mining

algorithmprocess

model

readable

process

modelsimplify

introduce:

post-processing

operations on the

mined model

can replay the entire log

can replay

the entire log

Page 5: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 4

…Based on Original Event Log

event

log

process mining

algorithmprocess

model readable

process

modelsimplify

introduce:

post-processing

operations on the

mined model

can replay the entire log

can replay

the entire log

Page 6: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 5

Analysis

event

log

process mining

algorithmprocess

model readable

process

modelsimplify

behavior

observed executions

incomplete knowledge

generalized behavior

discover ordering relations

infer behavior

Page 7: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

simplify

PAGE 6

Idea: Re-Adjust Generalization

event

log

process mining

algorithmprocess

model readable

process

model

behavior

model

complexity

log

simplify

unfold model wrt. log

fold, simplify,

generalize

Page 8: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 7

Unfold a Spaghetti-Model

Page 9: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 8

Unfold Model wrt. a Log

A

BC

D

log

mined

process model

ABDA

ABCBDAABCBC

Page 10: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 9

Unfold Model wrt. a Log

A

BC

D

log

unfold

mined

process model

ABDA

ABCBDA

A

B

D

A

ABCBC

Page 11: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 10

Unfold Model wrt. a Log

A

BC

D

log

unfold

mined

process model

ABDA

ABCBDA

A

B

D

A

C

B

D

A

ABCBC

Page 12: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 11

Unfold Model wrt. a Log

A

BC

D

log

unfold

mined

process model

ABDA

ABCBDA

A

B

D

A

C

B

D

A

C

ABCBC

Page 13: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

B

B

B

unfolding

wrt. the logPAGE 12

Unfold Model wrt. a Log

A

BC

D

log

unfold

mined

process model

ABDA

ABCBDA

A

B

D

A

C

B

D

A

C

ABCBC

Page 14: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

unfolding

wrt. the logPAGE 13

Represents Concurrency

A

BC

D

log

unfold

mined

process model

AEBDA

ABECBDA

A

B

D

A

C

B

D

A

E

EABCBC

C

Page 15: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

unfolding

wrt. the logPAGE 14

Represents Concurrency

log

AEBDA

ABECBDA

A

B

D

A

C

B

D

A

E

• is a process model

• contains only behavior in the log

• is acyclic

• represents concurrency explicitly

• labeled(several tasks with same label)

ABCBC

C

Page 16: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

unfolding

wrt. the logPAGE 15

Represents Concurrency

log

AEBDA

ABECBDA

A

B

D

A

C

B

D

A

E

unfold

fold,

simplify,

generalize

ABCBC

C

Page 17: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 16

Fold an unfolded model

A

B

D

A

C

B

D

A

E

merge equivalent nodes

C

necessary condition on

equivalent transitions

• same label

Page 18: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 17

Fold an unfolded model

A

B

D

A

C

B

D

A

E necessary condition on

equivalent transitions

• same label

• equivalent pre-/post-places

merge equivalent nodes

C

Page 19: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 18

Fold an unfolded model

A

B

D

A

C

B

D

A

E

C

various equivalences possible

(see paper for some)

merge equivalent nodes

necessary condition on

equivalent transitions

• same label

• equivalent pre-/post-places

Page 20: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 19

Fold an unfolded model

A

B

D

A

C

B

D

A

E

C

A

BC

D

E

A

merge equivalent nodes

Page 21: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 20

Unfolding and Refolding

A

BC

D

E

A

A

BC

D

E

unfold

fold

refolded vs. original model

• less behavior

(replays the log and more)

• simpler structure

Page 22: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

simplify

PAGE 21

Next: Simplifying and Generalizing

process

model

readable

process

model

behavior

complexity

log

simplify

unfold

simplify,

generalize

fold

Page 23: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 22

Implied Places

A

B

D

A

C

B

D

A

C

A

BC

D

A

fold

implied place

• does not restrict transitions

remove from folded model

• simpler model

• same behavior

various techniques to find

implied places

Page 24: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 23

Special: Implied Places and Folding

folding may merge implied and non-implied places

A

B

A

D

unfolding wrt. log

C C

remove p: simpler model,

more behavior (generalization)

let user decide

p

fold

A

BD C

p

p

Page 25: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 24

Configurable Simplification

process

model

readable

process

model

behavior

complexity

log

unfold

simplify,

generalize

fold

configurable

simplifysimplify

Page 26: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 25

ProM6 / Uma > www.processmining.org

Page 27: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 26

ProM6 / Uma > www.processmining.org

Page 28: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 27

ProM6 / Uma > www.processmining.org

Page 29: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

15 benchmark logs, 6 industrial logs[www.promtools.org/prom5/]

PAGE 28

Experimental Results

Page 30: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

15 benchmark logs, 6 industrial logs[www.promtools.org/prom5/]

model complexity = #arcs / #nodes

PAGE 29

Experimental Results

9.0

8.0

7.0

6.0

5.0

4.0

3.0

2.0

1.0

0.0

Page 31: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

precision: traces allowed by model and not in log

1.0 = only log behavior allowed

PAGE 30

Experimental Results

rises/falls within limits (can be controlled)

Page 32: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

from

spaghetti

to

lasagna?

Page 33: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

from

spaghetti

to less complex

spaghetti

Page 34: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

techniques to navigate the model/behavior space

use model and log together

use model unfoldings

break a rule and see what happens

PAGE 33

Lessons Learned

behavior

model

complexity

log

unfold

simplify,

generalize

fold

Page 35: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

PAGE 34

And next?

simplifyevent

log

process mining

algorithmprocess

model readable

process

modelsimplify

process views

most simple model covering 80% of the log

improve mining algorithms?

we showed: there is room for improvement

Page 36: Wil M.P. van der Aalst Simplifying Mined Process Modelsdfahland/presentations/... · Simplifying Mined Process Models Dirk Fahland Wil M.P. van der Aalst. PAGE 1 Process Mining, Currently

Simplifying

Mined Process Models

Dirk Fahland

about.me/dirk.fahland