Emprircal Performace Models B.A. Rachunok School of Industrial - - PowerPoint PPT Presentation

emprircal performace models
SMART_READER_LITE
LIVE PREVIEW

Emprircal Performace Models B.A. Rachunok School of Industrial - - PowerPoint PPT Presentation

Emprircal Performace Models B.A. Rachunok School of Industrial Engineering Purdue University September 10, 2016 B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 1 / 12 History Early work by


slide-1
SLIDE 1

Emprircal Performace Models

B.A. Rachunok

School of Industrial Engineering Purdue University

September 10, 2016

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 1 / 12

slide-2
SLIDE 2

History

◮ Early work by Cheeseman et al. (1991) →Varied paramters and

looked at results

◮ Fink (1998) →Used regression to predict which of three algorithms

would work best

◮ Leyton-Brown et al. (2003) →Predicted runtimes for several solvers. ◮ I read the big papers by Leyton-Brown et al. and their work will be

the focus of this presentation

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 2 / 12

slide-3
SLIDE 3

History

◮ Early work by Cheeseman et al. (1991) →Varied paramters and

looked at results

◮ Fink (1998) →Used regression to predict which of three algorithms

would work best

◮ Leyton-Brown et al. (2003) →Predicted runtimes for several solvers. ◮ I read the big papers by Leyton-Brown et al. and their work will be

the focus of this presentation

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 2 / 12

slide-4
SLIDE 4

History

◮ Early work by Cheeseman et al. (1991) →Varied paramters and

looked at results

◮ Fink (1998) →Used regression to predict which of three algorithms

would work best

◮ Leyton-Brown et al. (2003) →Predicted runtimes for several solvers. ◮ I read the big papers by Leyton-Brown et al. and their work will be

the focus of this presentation

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 2 / 12

slide-5
SLIDE 5

History

◮ Early work by Cheeseman et al. (1991) →Varied paramters and

looked at results

◮ Fink (1998) →Used regression to predict which of three algorithms

would work best

◮ Leyton-Brown et al. (2003) →Predicted runtimes for several solvers. ◮ I read the big papers by Leyton-Brown et al. and their work will be

the focus of this presentation

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 2 / 12

slide-6
SLIDE 6

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-7
SLIDE 7

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-8
SLIDE 8

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-9
SLIDE 9

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-10
SLIDE 10

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-11
SLIDE 11

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-12
SLIDE 12

EPH Motivation

◮ We already have complexity theory to analyze algorithm performance. ◮ Why this too?

Consider

◮ TSP is O(n!) (if solved via brute force) ◮ However I can solve instances with 5000 points on my gross old

laptop?

◮ Imagine an algorithm with O(n4e10000) performance? ◮ . . . still polynomial

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 3 / 12

slide-13
SLIDE 13

Motivation Pt 2

◮ Knowing how a particular instance of a problem will work gives us

some options

◮ Potentially select the ”best” predicted solver for a given instance

(more on this)

◮ Provide some insights into how solvers handle instances (eg 4.3

clauses-to-literal ratio)

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 4 / 12

slide-14
SLIDE 14

Motivation Pt 2

◮ Knowing how a particular instance of a problem will work gives us

some options

◮ Potentially select the ”best” predicted solver for a given instance

(more on this)

◮ Provide some insights into how solvers handle instances (eg 4.3

clauses-to-literal ratio)

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 4 / 12

slide-15
SLIDE 15

Motivation Pt 2

◮ Knowing how a particular instance of a problem will work gives us

some options

◮ Potentially select the ”best” predicted solver for a given instance

(more on this)

◮ Provide some insights into how solvers handle instances (eg 4.3

clauses-to-literal ratio)

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 4 / 12

slide-16
SLIDE 16

Clause-to-Literal Ratio

Graph taken from Mitchell, Selman, Levesque 1992

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 5 / 12

slide-17
SLIDE 17

Marker time

To the board

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 6 / 12

slide-18
SLIDE 18

Types of Models

◮ Ridge Regression ◮ Neural Networks ◮ Gaussian Process Regression ◮ Regression Trees ◮ INSERT WHATEVER I USED HERE

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 7 / 12

slide-19
SLIDE 19

Types of Models

◮ Ridge Regression ◮ Neural Networks ◮ Gaussian Process Regression ◮ Regression Trees ◮ INSERT WHATEVER I USED HERE

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 7 / 12

slide-20
SLIDE 20

Types of Models

◮ Ridge Regression ◮ Neural Networks ◮ Gaussian Process Regression ◮ Regression Trees ◮ INSERT WHATEVER I USED HERE

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 7 / 12

slide-21
SLIDE 21

Types of Models

◮ Ridge Regression ◮ Neural Networks ◮ Gaussian Process Regression ◮ Regression Trees ◮ INSERT WHATEVER I USED HERE

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 7 / 12

slide-22
SLIDE 22

Types of Models

◮ Ridge Regression ◮ Neural Networks ◮ Gaussian Process Regression ◮ Regression Trees ◮ INSERT WHATEVER I USED HERE

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 7 / 12

slide-23
SLIDE 23

Types of Features for MIP

◮ Number of constraints and variables ◮ Variable types ◮ ≤, ≥, or = for the RHS ◮ Mean of objective function coefficients

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 8 / 12

slide-24
SLIDE 24

Types of Features for MIP

◮ Number of constraints and variables ◮ Variable types ◮ ≤, ≥, or = for the RHS ◮ Mean of objective function coefficients

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 8 / 12

slide-25
SLIDE 25

Types of Features for MIP

◮ Number of constraints and variables ◮ Variable types ◮ ≤, ≥, or = for the RHS ◮ Mean of objective function coefficients

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 8 / 12

slide-26
SLIDE 26

Types of Features for MIP

◮ Number of constraints and variables ◮ Variable types ◮ ≤, ≥, or = for the RHS ◮ Mean of objective function coefficients

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 8 / 12

slide-27
SLIDE 27

Types of Features for TSP

◮ Number of nodes ◮ Cluster distance ◮ Area spanned by nodes ◮ Centroid of points ◮ Nearest Neighbor path length

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 9 / 12

slide-28
SLIDE 28

Types of Features for TSP

◮ Number of nodes ◮ Cluster distance ◮ Area spanned by nodes ◮ Centroid of points ◮ Nearest Neighbor path length

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 9 / 12

slide-29
SLIDE 29

Types of Features for TSP

◮ Number of nodes ◮ Cluster distance ◮ Area spanned by nodes ◮ Centroid of points ◮ Nearest Neighbor path length

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 9 / 12

slide-30
SLIDE 30

Types of Features for TSP

◮ Number of nodes ◮ Cluster distance ◮ Area spanned by nodes ◮ Centroid of points ◮ Nearest Neighbor path length

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 9 / 12

slide-31
SLIDE 31

Types of Features for TSP

◮ Number of nodes ◮ Cluster distance ◮ Area spanned by nodes ◮ Centroid of points ◮ Nearest Neighbor path length

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 9 / 12

slide-32
SLIDE 32

Example Time

◮ now to the example

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 10 / 12

slide-33
SLIDE 33

Who cares?

◮ Why do we care about this at all? ◮ Consider two prediction models for two solvers ◮ Consider three prediction models for three solvers ◮ . . . ◮ Consider n prediction models for n solvers

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 11 / 12

slide-34
SLIDE 34

Who cares?

◮ Why do we care about this at all? ◮ Consider two prediction models for two solvers ◮ Consider three prediction models for three solvers ◮ . . . ◮ Consider n prediction models for n solvers

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 11 / 12

slide-35
SLIDE 35

Who cares?

◮ Why do we care about this at all? ◮ Consider two prediction models for two solvers ◮ Consider three prediction models for three solvers ◮ . . . ◮ Consider n prediction models for n solvers

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 11 / 12

slide-36
SLIDE 36

Who cares?

◮ Why do we care about this at all? ◮ Consider two prediction models for two solvers ◮ Consider three prediction models for three solvers ◮ . . . ◮ Consider n prediction models for n solvers

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 11 / 12

slide-37
SLIDE 37

Who cares?

◮ Why do we care about this at all? ◮ Consider two prediction models for two solvers ◮ Consider three prediction models for three solvers ◮ . . . ◮ Consider n prediction models for n solvers

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 11 / 12

slide-38
SLIDE 38

Who cares cont’d . . .

◮ If we can cheaply compute features and make predictions ◮ . . . then we can solve our instance with the best algorithm from a

portfolio

◮ eg SATZILLA

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 12 / 12

slide-39
SLIDE 39

Who cares cont’d . . .

◮ If we can cheaply compute features and make predictions ◮ . . . then we can solve our instance with the best algorithm from a

portfolio

◮ eg SATZILLA

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 12 / 12

slide-40
SLIDE 40

Who cares cont’d . . .

◮ If we can cheaply compute features and make predictions ◮ . . . then we can solve our instance with the best algorithm from a

portfolio

◮ eg SATZILLA

B.A. Rachunok (IE590 - Purdue University) Empirical Performance Models September 10, 2016 12 / 12