Top Banner
Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon Dumas, Wil van der Aalst and Ana Karla Alves de Medeiros http://www.processmining.org )
50

Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Jan 12, 2016

Download

Documents

Lillian Hood
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Process MiningControl flow process discovery

Fabrizio Maria Maggi

(based on Process Mining book – Springer copyright 2011 and lecture material by Marlon Dumas, Wil van der Aalst and Ana

Karla Alves de Medeiros http://www.processmining.org)

Page 2: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Process Mining

Page 3: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Control-Flow Mining

EventEventLogLog

Discovery Techniques: Discovery Techniques: Control-Flow MiningControl-Flow Mining

MinedMinedModelModel

1. Start

2. Get Ready

3. Travel by Train

4. Beta Event Starts

5. Visit Brewery

6. Have Dinner

7. Go Home

8. Travel by Train

1. Start

2. Get Ready

3. Travel by Train

4. Beta Event Starts

5. Give a Talk

6. Visit Brewery

7. Have Dinner

8. Go Home

9. Travel by Train

1. Start

2. Get Ready

3. Travel by Car

4. Beta Event Starts

5. Give a Talk

6. Visit Brewery

7. Have Dinner

8. Go Home

9. Pay Parking

10. Travel by Car

1. Start

2. Get Ready

3. Travel by Car

4. Conference Starts

5. Join Reception

6. Have Dinner

7. Go Home

8. Pay Parking

9. Travel by Car

10. End

Start

Get Ready

Travel by CarTravel by Train

BETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Travel by Train Pay for Parking

Travel by Car

End

Give a Talk

StartStart

Get ReadyGet Ready

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Conference StartsConference Starts

Give a TalkGive a Talk

Join ReceptionJoin Reception

Have DinnerHave Dinner

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Pay Pay ParkingParking

EndEnd

Page 4: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

Page 5: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

+ noise in logs!

Page 6: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm Basic Idea: Ordering relations• Direct succession:

x>y iff for some case x is directly followed by y.

• Causality: xy iff x>y and not y>x.

• Parallel: x||y iff x>y and y>x

• Unrelated: x#y iff not x>y and not y>x.

case 1 : task A case 1 : task A case 2 : task A case 2 : task A case 3 : task A case 3 : task A case 3 : task B case 3 : task B case 1 : task B case 1 : task B case 1 : task C case 1 : task C case 2 : task C case 2 : task C case 4 : task A case 4 : task A case 2 : task B case 2 : task B ......

A>BA>BA>CA>CB>CB>CB>DB>DC>BC>BC>DC>DE>FE>F

AABBAACCBBDDCCDDEEFF

B||CB||CC||BC||B

ABCDABCD

ACBDACBD

EFEF

Page 7: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Basic Idea: Example

Page 8: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Basic Idea: Example

Page 9: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Basic Idea: Footprints

Page 10: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Basic Idea: Patterns

Page 11: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm

Page 12: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 13: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 14: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 15: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 16: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 17: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 18: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 19: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 20: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 21: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Applicative Example

Page 22: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

α-algorithm: Exercise

Page 23: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: short loops of length 1

b>b and not b>b implies bb (impossible!)

Page 24: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: short loops of length 1

Example “Short1”Example “Short1”

Page 25: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: short loops of length 2

a>b and b>a implies a||b and b||a instead of ab and ba

Page 26: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: short loops of length 2

Example “Short2”Example “Short2”

Page 27: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: non-free-choice nets

Example “nonlocal”Example “nonlocal”

Page 28: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Limitations: invisible tasks

Example “invisible”Example “invisible”

Page 29: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

Page 30: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

+ noise in logs!

Page 31: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Heuristic Miner

Page 32: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Heuristic Miner

Page 33: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Heuristic Miner

Page 34: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Heuristic Miner

Example “heuristic”Example “heuristic”

Page 35: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Heuristic Miner

Example “heuristic”Example “heuristic”

Page 36: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

Page 37: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

+ noise in logs!

Page 38: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Genetic Miner

Page 39: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

GPM – Fitness MeasureStart

Get Ready

Travel by CarTravel by Train

BETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Travel by Train Pay for Parking

Travel by Car

End

Give a Talk

StartStart

Get ReadyGet Ready

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Conference StartsConference Starts

Give a TalkGive a Talk

Visit BreweryVisit Brewery

Have DinnerHave Dinner

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Pay Pay ParkingParking

EndEnd

• Guides the search!

Page 40: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

GPM – Fitness Measure

Start

Get Ready

Travel by CarTravel by Train

BETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Travel by Train Pay for Parking

Travel by Car

End

Give a Talk

Start

Get Ready

Travel by TrainBETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Pay for Parking

Travel by Car

End

Give a Talk

StartStart

Get ReadyGet Ready

Travel byTravel by CarCar

Conference StartsConference Starts

Give a TalkGive a Talk

Visit BreweryVisit Brewery

Have DinnerHave Dinner

Go HomeGo Home

Pay Pay ParkingParking

EndEnd

Travel byTravel by TrainTrain

Punish for the amount of enabled tasks during the parsing!

Overgeneral solution

Page 41: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

GPM – Fitness Measure

Start

Get Ready

Travel by CarTravel by Train

BETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Travel by Train Pay for Parking

Travel by Car

End

Give a Talk

Start

Get Ready

Travel by TrainBETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Pay for Parking

Travel by Car

End

Give a Talk

Start

Get Ready

Travel by CarTravel by Train

BETA PhD Day Starts

Visit Brewery

Have Dinner

Go Home

Travel by Train Pay for Parking

Travel by Car

End

Give a Talk

StartStart Start

Get ReadyGet Ready Get Ready

Travel by Train Travel by Car

BETA PhD Day StartsBETA PhD Day Starts BETA PhD Day Starts

Give a Talk

Visit BreweryVisit Brewery Visit Brewery

Have DinnerHave Dinner Have Dinner

Go HomeGo HomeGo Home

Travel by Train Pay for Parking

Travel by Car

EndEnd End

StartStart

Get ReadyGet Ready

Travel by CarTravel by Car

Conference StartsConference Starts

Give a TalkGive a Talk

Visit BreweryVisit Brewery

Have DinnerHave Dinner

Go HomeGo Home

Travel by TrainTravel by Train

Travel by CarTravel by Car

Pay ParkingPay Parking

EndEnd

Travel by TrainTravel by Train

Punish for the amount of duplicate tasks with common input/output tasks!

Overspecific solution

Page 42: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Genetic Miner: Crossover

Page 43: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Genetic Miner: Mutation

Page 44: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

Page 45: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Mining Common Constructs

• Sequence• Splits• Joins• Loops• Non-Free Choice• Invisible Tasks• Duplicate Tasks

Pay Pay ParkingParking

Get Ready

Travel by CarTravel by Train

Defence Starts

Ask Question

Defence Ends

Go Home

Travel by Train Pay for Parking

Travel by Car

Give a Talk

Have Drinks

Get Get ReadyReady

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Defense StartsDefense Starts

Give a TalkGive a Talk

Ask QuestionAsk Question

Defense EndsDefense Ends

Go HomeGo Home

Travel byTravel by TrainTrain

Travel byTravel by CarCar

Have DrinksHave Drinks

+ noise in logs!

Page 46: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Fuzzy Miner - Motivation

Mine less structured processes!

Page 47: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Fuzzy Miner - Motivation

Page 48: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Fuzzy Miner

Page 49: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

Fuzzy Miner

Page 50: Process Mining Control flow process discovery Fabrizio Maria Maggi (based on Process Mining book – Springer copyright 2011 and lecture material by Marlon.

BPI Challenge and … to sum up