gecco-09-ga-improvement-with-svps

41
Improving Genetic Algorithms Performance via Deterministic Population Shrinkage Juan Luis Jimenez Laredo 1 Carlos Fernandes 1 Juan Julian Merelo 1 Christian Gagn´ e 2 1 GeNeura Team Department of Computer Architecture and Technology University of Granada, Spain 2 Computer Vision and Systems Laboratory (CVSL) epartement de g´ enie ´ electrique et de g´ enie informatique Universit´ e Laval, Quebec City (Qu´ ebec), Canada GECCO 2009, Montr´ eal (Qu´ ebec), Canada Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 1 / 17

Upload: juan-luis-jimenez-laredo

Post on 28-Aug-2014

709 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: GECCO-09-GA-improvement-with-svps

Improving Genetic Algorithms Performance viaDeterministic Population Shrinkage

Juan Luis Jimenez Laredo1 Carlos Fernandes1

Juan Julian Merelo1 Christian Gagne2

1GeNeura TeamDepartment of Computer Architecture and Technology

University of Granada, Spain

2Computer Vision and Systems Laboratory (CVSL)Departement de genie electrique et de genie informatique

Universite Laval, Quebec City (Quebec), Canada

GECCO 2009, Montreal (Quebec), Canada

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 1 / 17

Page 2: GECCO-09-GA-improvement-with-svps

Scope

Hypothesis: Different convergence stages of a genetic algorithm mayrequire different population sizes

Model: A Simple Variable Population Sizing (SVPS) scheme whereonly population shrinkage is considered

Aim: Get empirical evidences of performance improvement withSVPS over a fixed-size scheme

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17

Page 3: GECCO-09-GA-improvement-with-svps

Scope

Hypothesis: Different convergence stages of a genetic algorithm mayrequire different population sizes

Model: A Simple Variable Population Sizing (SVPS) scheme whereonly population shrinkage is considered

Aim: Get empirical evidences of performance improvement withSVPS over a fixed-size scheme

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17

Page 4: GECCO-09-GA-improvement-with-svps

Scope

Hypothesis: Different convergence stages of a genetic algorithm mayrequire different population sizes

Model: A Simple Variable Population Sizing (SVPS) scheme whereonly population shrinkage is considered

Aim: Get empirical evidences of performance improvement withSVPS over a fixed-size scheme

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 2 / 17

Page 5: GECCO-09-GA-improvement-with-svps

Outline

Background on population sizing

Methodology

I Generalized l-trap functionI Bisection method for estimating correct population sizeI Simple Variable Population Sizing

Experimental results

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17

Page 6: GECCO-09-GA-improvement-with-svps

Outline

Background on population sizing

MethodologyI Generalized l-trap function

I Bisection method for estimating correct population sizeI Simple Variable Population Sizing

Experimental results

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17

Page 7: GECCO-09-GA-improvement-with-svps

Outline

Background on population sizing

MethodologyI Generalized l-trap functionI Bisection method for estimating correct population size

I Simple Variable Population Sizing

Experimental results

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17

Page 8: GECCO-09-GA-improvement-with-svps

Outline

Background on population sizing

MethodologyI Generalized l-trap functionI Bisection method for estimating correct population sizeI Simple Variable Population Sizing

Experimental results

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17

Page 9: GECCO-09-GA-improvement-with-svps

Outline

Background on population sizing

MethodologyI Generalized l-trap functionI Bisection method for estimating correct population sizeI Simple Variable Population Sizing

Experimental results

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 3 / 17

Page 10: GECCO-09-GA-improvement-with-svps

Population Sizing

Sizing scheme:I Fixed size: canonical approachI Deterministic methods: function-based adjustment (e.g. Saw-tooth)I Adaptive methods: on-line adjustment (e.g. GAVaPS)

Sizing theory:

I Focus is on the correct sizing of population for the fixed-sized schemeI But theory for fixed-size scheme can be helpful for variable-size schemes

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 4 / 17

Page 11: GECCO-09-GA-improvement-with-svps

Population Sizing

Sizing scheme:I Fixed size: canonical approachI Deterministic methods: function-based adjustment (e.g. Saw-tooth)I Adaptive methods: on-line adjustment (e.g. GAVaPS)

Sizing theory:I Focus is on the correct sizing of population for the fixed-sized schemeI But theory for fixed-size scheme can be helpful for variable-size schemes

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 4 / 17

Page 12: GECCO-09-GA-improvement-with-svps

Generalized l-trap Function

l-trap function (Ackley, 1987):I l : problem size (number of

possible values in range)I a: value of local optimumI b: value of global optimumI z : slope-change location

Currently, experiments witha = l − 1, b = l and z = l − 1

I 2-trap: not deceptiveI 3-trap: partially deceptiveI 4-trap: deceptive

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 5 / 17

Page 13: GECCO-09-GA-improvement-with-svps

Generalized l-trap Function

l-trap function (Ackley, 1987):I l : problem size (number of

possible values in range)I a: value of local optimumI b: value of global optimumI z : slope-change location

Currently, experiments witha = l − 1, b = l and z = l − 1

I 2-trap: not deceptiveI 3-trap: partially deceptiveI 4-trap: deceptive

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 5 / 17

Page 14: GECCO-09-GA-improvement-with-svps

Scaling the Problem Difficulty

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 6 / 17

Page 15: GECCO-09-GA-improvement-with-svps

Scaling the Problem Difficulty

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 6 / 17

Page 16: GECCO-09-GA-improvement-with-svps

Working Hypothesis

Minimizing number of solutions evaluated while guaranteeing asuccess rate

Working hypothesis: larger population required at the beginning

I Start with a diverse sampling of the search spaceI As convergence occurs, smaller population required

Use a deterministic schedule of the population size

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17

Page 17: GECCO-09-GA-improvement-with-svps

Working Hypothesis

Minimizing number of solutions evaluated while guaranteeing asuccess rate

Working hypothesis: larger population required at the beginningI Start with a diverse sampling of the search spaceI As convergence occurs, smaller population required

Use a deterministic schedule of the population size

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17

Page 18: GECCO-09-GA-improvement-with-svps

Working Hypothesis

Minimizing number of solutions evaluated while guaranteeing asuccess rate

Working hypothesis: larger population required at the beginningI Start with a diverse sampling of the search spaceI As convergence occurs, smaller population required

Use a deterministic schedule of the population size

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 7 / 17

Page 19: GECCO-09-GA-improvement-with-svps

Working Hypothesis

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 8 / 17

Page 20: GECCO-09-GA-improvement-with-svps

Simple Variable Population Sizing (SVPS)

Reduce population by a variable ratio at each generation:

ng = n0

(1− (1− ρ)

(g

gmax

)τ)I n0: initial population sizeI ng : population size at generation gI g : current generation numberI gmax : last generation numberI τ : resizing speed parameterI ρ: resizing severity parameter

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 9 / 17

Page 21: GECCO-09-GA-improvement-with-svps

Simple Variable Population Sizing (SVPS)

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 10 / 17

Page 22: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):

n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 23: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2

n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 24: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95

n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 25: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 26: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 27: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99

n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 28: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 29: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):

n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 30: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 31: GECCO-09-GA-improvement-with-svps

Estimating the Correct Population Size (SR of 0.98)

1) Rough estimation (ni+1 = 2ni ):n1 = 4, SR=0.2 n2 = 8, SR=0.95 n3 = 16, SR=0.995

2) Bisection (ni+1 =nmax

i +nmini

2 ), stop whennmax

i −nmini

nmini

< 116 :

n4 = 12, SR=0.99 n5 = 10, SR=0.982

3) Refinement (ni+1 = b0.99nic):n6 = 9, SR=0.9803

Correct population size is 9 for a success rate of 0.98

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 11 / 17

Page 32: GECCO-09-GA-improvement-with-svps

Population Sizes for a Success Rate of 0.98

m: number of concatenated trap functions

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 12 / 17

Page 33: GECCO-09-GA-improvement-with-svps

Experimental Setting

Selectorecombinative binary Genetic Algorithm:I Population sizes set according to bisection method for a success rate of

0.98I Two parents tournament selectionI One-point crossover (probability of 1.0)I No mutation

Trap problems tested:

I Problem sizes, l = {2, 3, 4}I Number of sub-functions, m = {2, 4, 8, 16, 32, 64}

SVPS setting:

I Speed, τ = 0.125, . . .×1.5 , 32I Severity, ρ = 0.25, . . .+0.05 , 1

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17

Page 34: GECCO-09-GA-improvement-with-svps

Experimental Setting

Selectorecombinative binary Genetic Algorithm:I Population sizes set according to bisection method for a success rate of

0.98I Two parents tournament selectionI One-point crossover (probability of 1.0)I No mutation

Trap problems tested:I Problem sizes, l = {2, 3, 4}I Number of sub-functions, m = {2, 4, 8, 16, 32, 64}

SVPS setting:

I Speed, τ = 0.125, . . .×1.5 , 32I Severity, ρ = 0.25, . . .+0.05 , 1

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17

Page 35: GECCO-09-GA-improvement-with-svps

Experimental Setting

Selectorecombinative binary Genetic Algorithm:I Population sizes set according to bisection method for a success rate of

0.98I Two parents tournament selectionI One-point crossover (probability of 1.0)I No mutation

Trap problems tested:I Problem sizes, l = {2, 3, 4}I Number of sub-functions, m = {2, 4, 8, 16, 32, 64}

SVPS setting:I Speed, τ = 0.125, . . .×1.5 , 32I Severity, ρ = 0.25, . . .+0.05 , 1

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 13 / 17

Page 36: GECCO-09-GA-improvement-with-svps

Speed (τ) and Severity (ρ)

Size of circles show improvement over fixed-size population

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 14 / 17

Page 37: GECCO-09-GA-improvement-with-svps

Saved Computational Effort

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 15 / 17

Page 38: GECCO-09-GA-improvement-with-svps

Conclusion

SVPS requires a smaller number of evaluations than a fixedpopulation sizing scheme

The improvement is much more noticeable for large population sizesas the problem instances scale

There is not a single but a set of possible strategies for SVPS(different τ -ρ combinations)

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17

Page 39: GECCO-09-GA-improvement-with-svps

Conclusion

SVPS requires a smaller number of evaluations than a fixedpopulation sizing scheme

The improvement is much more noticeable for large population sizesas the problem instances scale

There is not a single but a set of possible strategies for SVPS(different τ -ρ combinations)

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17

Page 40: GECCO-09-GA-improvement-with-svps

Conclusion

SVPS requires a smaller number of evaluations than a fixedpopulation sizing scheme

The improvement is much more noticeable for large population sizesas the problem instances scale

There is not a single but a set of possible strategies for SVPS(different τ -ρ combinations)

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 16 / 17

Page 41: GECCO-09-GA-improvement-with-svps

Questions

Thanks for your attention!

Laredo et al. (Granada / Laval) Improving GAs via Population Shrinkage GECCO 2009 17 / 17