Queue Mining Service Perspectives in Process Mining Ph

  • Slides: 59
Download presentation
Queue Mining: Service Perspectives in Process Mining Ph. D Defense Arik Senderovich 13/2/2017

Queue Mining: Service Perspectives in Process Mining Ph. D Defense Arik Senderovich 13/2/2017

Service Processes where (efficient and effective) service is the desired business outcome: Ø Call

Service Processes where (efficient and effective) service is the desired business outcome: Ø Call centers Ø Hospitals Ø Transportation 2

SEELab and SEEData 3

SEELab and SEEData 3

Hand-made Performance Modeling Yom-Tov and Mandelbaum [2014] 4

Hand-made Performance Modeling Yom-Tov and Mandelbaum [2014] 4

SEEGraph: Data-driven Modeling 5

SEEGraph: Data-driven Modeling 5

Automated process modeling based on data = Process mining Logging

Automated process modeling based on data = Process mining Logging

Process Mining: Drivers and Types Illustration by Wil van der Aalst 7

Process Mining: Drivers and Types Illustration by Wil van der Aalst 7

Approach I – Model-Based From Rozinat et al. [2009]; Rogge-Solti et al. [2013] 8

Approach I – Model-Based From Rozinat et al. [2009]; Rogge-Solti et al. [2013] 8

Approach II – Supervised Learning From van der Aalst et al. [2011] 9

Approach II – Supervised Learning From van der Aalst et al. [2011] 9

Please Mind the Gap Ø Interactions between cases that share (scarce) resources must be

Please Mind the Gap Ø Interactions between cases that share (scarce) resources must be considered when modeling and predicting system’s performance Ø Especially in service processes where queueing for resources prevails 10

Queue mining = Queueing perspective in process mining S. A. , Weidlich M. ,

Queue mining = Queueing perspective in process mining S. A. , Weidlich M. , Gal A. , Mandelbaum A. , in Information Systems 2014 Logging

Approach I – Model-Based From Rozinat et al. [2009]; Rogge-Solti et al. [2013] 12

Approach I – Model-Based From Rozinat et al. [2009]; Rogge-Solti et al. [2013] 12

Model-Based Queue Mining Queueing models: Ø Analytically simple models (efficiency) – no need for

Model-Based Queue Mining Queueing models: Ø Analytically simple models (efficiency) – no need for simulation Ø (Often) accurate performance analysis w. r. t. data (robust/generalize well) 13

Approach II – Supervised Learning From van der Aalst et al. [2011] 14

Approach II – Supervised Learning From van der Aalst et al. [2011] 14

Supervised Queue Mining Queueing features are added: Ø Examples: queue-lengths, delays, classes Ø Feature

Supervised Queue Mining Queueing features are added: Ø Examples: queue-lengths, delays, classes Ø Feature enrichment (here) and model adaptation (later) 15

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o Pre-defined routing o Random routing Ø Conformance checking with queueing networks Ø Work-in-progress 16

Single-Station Single-Class Queues n Are these useful models? 17

Single-Station Single-Class Queues n Are these useful models? 17

Single-Station Queues n Are these useful models? Ø Building block of networks 18

Single-Station Queues n Are these useful models? Ø Building block of networks 18

Single-Station Queues Are these useful models? Ø Building block of networks Ø Single-resource type

Single-Station Queues Are these useful models? Ø Building block of networks Ø Single-resource type processes • Total time is delay (queueing) and process time 19

Queueing Model: Building Blocks n Abandonments Kendall’s notation – A/B/C/Y/Z+X: Ø A – arrivals,

Queueing Model: Building Blocks n Abandonments Kendall’s notation – A/B/C/Y/Z+X: Ø A – arrivals, B – service times Ø C – static server capacity (n servers); Y – queue size Ø Z – service policy (FCFS, LCFS, Processor Sharing…) Ø X – (Im)patience 20

Example: M/M/n n Assumptions (A/B/C/Y/Z+X): Ø Dropped notation Y, Z, X (defaults are taken):

Example: M/M/n n Assumptions (A/B/C/Y/Z+X): Ø Dropped notation Y, Z, X (defaults are taken): infinite queue size, FCFS policy, no abandonments Ø M - Poisson arrivals (completely random, one at a time, constant rate) Ø M - Exponentially distributed service times Ø Easy to analyze when parameters are known (data) 21

Problem: Delay Prediction n Abandonments CAi. SE 2014 paper with Weidlich, Gal, Mandelbaum How

Problem: Delay Prediction n Abandonments CAi. SE 2014 paper with Weidlich, Gal, Mandelbaum How long will the target customer wait? Ø Online prediction problem Ø Approach I – fit q-model (&parameters) from the log Ø Approach II – transition system + learning 22

Notation and Accuracy Measure Ø The actual waiting time of a customer: Ø Delay

Notation and Accuracy Measure Ø The actual waiting time of a customer: Ø Delay predictor from a certain method: Ø Accuracy via the root of average squared-error (RASE): Ø Systemic errors in assumptions- avg. absolute bias: 23

Approach I: Queueing Model is Fitted n Abandonments G/M/n+M model: Ø Exponential service times

Approach I: Queueing Model is Fitted n Abandonments G/M/n+M model: Ø Exponential service times and (im)patience Ø General arrival rates, FCFS policy, unlimited queue 24

Approach I: Analysis n Abandonments Two families of delay predictors: 1. Queue-length (state based)

Approach I: Analysis n Abandonments Two families of delay predictors: 1. Queue-length (state based) 2. Snapshot principle (history based) 25

Queue-Length Predictors Service 1 Queue n Abandonments from Whitt [1999] 26

Queue-Length Predictors Service 1 Queue n Abandonments from Whitt [1999] 26

Snapshot Prediction: Last-to-Enter-Service (Armony et al. , 2009; Ibrahim and Whitt, 2009) Prediction: The

Snapshot Prediction: Last-to-Enter-Service (Armony et al. , 2009; Ibrahim and Whitt, 2009) Prediction: The last customer to enter service waited w in queue 28

Approach II: Transition System Based Transition system with queueing features: Ø Queue lengths are

Approach II: Transition System Based Transition system with queueing features: Ø Queue lengths are clustered (heavy, moderate, typical) Ø Prediction is based on QL cluster + progress 29

Results I: Bank’s Call Center Data 30

Results I: Bank’s Call Center Data 30

Results II: Bank’s Call Center Data 31

Results II: Bank’s Call Center Data 31

Single-Station Multi-Class Queues Useful? 32

Single-Station Multi-Class Queues Useful? 32

Single-Station Multi-Class Queues Useful? Ø Different types of customers (VIP vs. Regular; Urgent vs.

Single-Station Multi-Class Queues Useful? Ø Different types of customers (VIP vs. Regular; Urgent vs. Ambulatory) 33

Multi-class Routing in SEEData 34

Multi-class Routing in SEEData 34

Single-Station Multi-Class Queues Useful? Ø Different types of customers (VIP vs. Regular; Urgent vs.

Single-Station Multi-Class Queues Useful? Ø Different types of customers (VIP vs. Regular; Urgent vs. Ambulatory) Ø Classes = activities (A vs. F – A gets priority) 35

Single-Station Multi-Class Queues Activity A N Activity F Useful? Ø Different classes/types of customers

Single-Station Multi-Class Queues Activity A N Activity F Useful? Ø Different classes/types of customers (VIP vs. Regular; Urgent vs. Ambulatory) Ø Classes = activities (A vs. F – A gets priority) 36

Approach I for Multi-Class Queues Information Systems [2014] with Weidlich, Gal, Mandelbaum Assuming priority

Approach I for Multi-Class Queues Information Systems [2014] with Weidlich, Gal, Mandelbaum Assuming priority queues model: Ø Queue length predictors – derived upper and lower bounds Ø Snapshot principle (based on Reiman and Simon [1990]) 37

Approach II for Multi-Class Queues 39

Approach II for Multi-Class Queues 39

Results: Telecom Call Center Data NLR, Tree – similar to De Leoni et al.

Results: Telecom Call Center Data NLR, Tree – similar to De Leoni et al. [2014] (BPM 14’ best paper) 40

What about networks of queues? Snapshot principle holds in q-networks with predefined routing: public

What about networks of queues? Snapshot principle holds in q-networks with predefined routing: public transport, outpatient clinics, … 41

Bus Traveling Time Prediction Information Systems [2015] with Weidlich, Schnitzler, Gal, Mandelbaum 42

Bus Traveling Time Prediction Information Systems [2015] with Weidlich, Schnitzler, Gal, Mandelbaum 42

Bus Routes as Q-Networks 43

Bus Routes as Q-Networks 43

Prediction Problem 44

Prediction Problem 44

Snapshot Prediction 45

Snapshot Prediction 45

Feature Enrichment: Load-related + Snapshot Features 46

Feature Enrichment: Load-related + Snapshot Features 46

Ensemble of Regression Trees 47

Ensemble of Regression Trees 47

Learner adaptation: Boosting over the Snapshot Predictor 48

Learner adaptation: Boosting over the Snapshot Predictor 48

Results: Dublin Buses (GPS data) 49

Results: Dublin Buses (GPS data) 49

What if routing is not pre-defined? (not in the Ph. D) Approximation techniques, e.

What if routing is not pre-defined? (not in the Ph. D) Approximation techniques, e. g. Queueing Network Analyzer (Whitt [1983]): o Allows concurrency and non-exponential times o Steady-state approx. (model per hour…) 50

Idea: PN->GSPN->QN Transformation Four step approach: 1. Control-flow discovery (e. g. , IM) 2.

Idea: PN->GSPN->QN Transformation Four step approach: 1. Control-flow discovery (e. g. , IM) 2. Enrichment (firing times, arrivals, resources, …) 3. Simplification (helps to avoid over-fitting; feature selection) 4. Translation to QN for analysis (QNA) BPM [2016], submitted to IS with Shleyfman, Weidlich, Gal, Mandelbaum 51

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o Pre-defined routing o Random routing Ø Conformance checking with queueing networks Ø Work-in-progress 52

Conformance checking: A Queueing Network Perspective Information systems [2015] with Yedidsion, Weidlich, Gal, Mandelbaum,

Conformance checking: A Queueing Network Perspective Information systems [2015] with Yedidsion, Weidlich, Gal, Mandelbaum, Kadish, Bunnel 53

Conformance checking: A Queueing Network Perspective The two queueing networks are compared: 1. Detect

Conformance checking: A Queueing Network Perspective The two queueing networks are compared: 1. Detect deviations between planned and actual performance measures 2. Root-cause analysis: o Compare structures (unscheduled activities) o Building blocks (arrivals, service times, …) Root-cause of deviations can lead to performance improvement (example is coming up) 54

Example: Fork-Join Construct 56

Example: Fork-Join Construct 56

Step I: Unexpected Queueing ! y d a t re D o n s

Step I: Unexpected Queueing ! y d a t re D o n s i rug 57

Step II: Production time is not the cause! 58

Step II: Production time is not the cause! 58

Step II: Production policy is…! 59

Step II: Production policy is…! 59

Process Improvement: Idea o New policy for sequencing “vitals” patients to reduce waiting and

Process Improvement: Idea o New policy for sequencing “vitals” patients to reduce waiting and increase throughput o Dominates the EDD policy – proofs and experiments in the paper 60

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o

Outline Ø Introduction Ø Single-station queues o Single-class o Multi-class Ø Queueing networks o Pre-defined routing o Random routing Ø Conformance checking with queueing networks Ø Work-in-progress 62

Work-in-Progress Ø Data-driven scheduling (with Gal, Karpas, Beck) Ø Feature learning in congested systems

Work-in-Progress Ø Data-driven scheduling (with Gal, Karpas, Beck) Ø Feature learning in congested systems (with Weidlich, Gal) Ø Time series prediction with inter-case dependencies (with Di Francescomarino, Maria-Maggi) 63