Dyna Dynamic mic Analysis Analysis of the of the Co-evo Co - - PowerPoint PPT Presentation

dyna dynamic mic analysis analysis of the of the co evo
SMART_READER_LITE
LIVE PREVIEW

Dyna Dynamic mic Analysis Analysis of the of the Co-evo Co - - PowerPoint PPT Presentation

Dyna Dynamic mic Analysis Analysis of the of the Co-evo Co evoluti lution on of Ex of Exac act t Cove Covers rs EVOLVE 2011, Luxembourg Jeffrey Horn GECCO June 28, 2005 IEEE SSCI FOCI 2007 Northern Nort hern Mi Michigan Univer


slide-1
SLIDE 1

1

GECCO June 28, 2005

1

IEEE SSCI FOCI 2007

1

EVOLVE 2011, Luxembourg

Dyna Dynamic mic Analysis Analysis of the

  • f the

Co Co-evo evoluti lution

  • n of Ex
  • f Exac

act t Cove Covers rs

Jeffrey Horn

Nort Northern hern Mi Michigan Univer chigan Universit sity

Depa epartm rtment of ent of Ma Mathematics thematics and C and Computer

  • mputer Science

Science Marq arque uette, tte, MI I USA USA

jhorn@ jhorn@nmu.edu nmu.edu http:/ http://cs cs.nmu.edu/ .nmu.edu/~jeff ~jeffhorn horn

EVOLVE EVOLVE Bour Bourlinst linster er Cas Castle, tle, Luxembourg Luxembourg May May 25 25-27, 2011 27, 2011

NERL

slide-2
SLIDE 2

2

GECCO June 28, 2005

2

IEEE SSCI FOCI 2007

2

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm
  • 2. Static Analysis (previous results)
  • 3. Dynamic Analysis (new results)
  • 4. Discussion

OUTL OUTLINE INE

slide-3
SLIDE 3

3

GECCO June 28, 2005

3

IEEE SSCI FOCI 2007

3

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm

– The Shape Nesting Problem

OUTL OUTLINE INE

slide-4
SLIDE 4

4

GECCO June 28, 2005

4

IEEE SSCI FOCI 2007

4

EVOLVE 2011, Luxembourg

Nestin ing g of Pieces es on Substrat ate Descript iption ion of Piec ece e Shape pe Description iption of Subs bstrat ate e Shape ape GA with h Resourc

  • urce-de

defin ined ed Fitne ness Shari ring ng (RFS) S)

The The Prac Practica tical l Pro Problem blem of Shap

  • f Shape

e Nes Nesting ting

slide-5
SLIDE 5

5

GECCO June 28, 2005

5

IEEE SSCI FOCI 2007

5

EVOLVE 2011, Luxembourg

Exa Example mple Run Run, , Ar Arbitr bitrar ary y Sha Shape pes

slide-6
SLIDE 6

6

GECCO June 28, 2005

6

IEEE SSCI FOCI 2007

6

EVOLVE 2011, Luxembourg

Mor More e Exa Example mple Run Runs

species_count ≥ 19

slide-7
SLIDE 7

7

GECCO June 28, 2005

7

IEEE SSCI FOCI 2007

7

EVOLVE 2011, Luxembourg

species_count ≥ 4

generation 1

(one generation beyond the initial population )

species_count ≥ 1 (shows all species)

Evo Evolution lution Can Can Be Se Be Select lection ion Only Only

generation 209

(8 cooperative species)

species_count ≥ 36 species_count ≥ 2

slide-8
SLIDE 8

8

GECCO June 28, 2005

8

IEEE SSCI FOCI 2007

8

EVOLVE 2011, Luxembourg

generation 709

(9 cooperative species)

generation 609

(almost 9 cooperative species)

species_count ≥ 22 species_count ≥ 20

slide-9
SLIDE 9

9

GECCO June 28, 2005

9

IEEE SSCI FOCI 2007

9

EVOLVE 2011, Luxembourg

RFS RFS Can Can Out Outpe perfor rform m Some Some Comme Commerc rcial ial Sha Shape pe Nes Nesting ting Soft Softwar ware

(Horn, IJCCI, 2010)

RFS, 12 disks

ProNest, 11 disks (optimized settings)

ProNest, 10 disks (default settings) OptiNest, 11 disks (default settings)

OptiNest, 12 disks (optimized settings)

ArtCam, 11 disks

slide-10
SLIDE 10

10

GECCO June 28, 2005

10

IEEE SSCI FOCI 2007

10

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm

– The Shape Nesting Problem – GA with RFS shared fitness

OUTL OUTLINE INE

slide-11
SLIDE 11

11

GECCO June 28, 2005

11

IEEE SSCI FOCI 2007

11

EVOLVE 2011, Luxembourg

Fitn Fitnes ess s Ter Terms ms

fa

fb fab ( = fba )

fa is area of shaped piece “a”. It is used as the

  • bjective fitness of

“a” in RFS. Similarly for fb . fab is area of overlap (intersection) of “a” and “b”. It is used to calculate the shared fitness of “a” and “b” in RFS.

slide-12
SLIDE 12

12

GECCO June 28, 2005

12

IEEE SSCI FOCI 2007

12

EVOLVE 2011, Luxembourg

Sha Share red d Fitn Fitnes ess s Calcu Calculation lation

  • Under RFS, shared fitness of an individual x is a

function of all individuals in the population:

  • This can be re-written in terms of “species” y:
slide-13
SLIDE 13

13

GECCO June 28, 2005

13

IEEE SSCI FOCI 2007

13

EVOLVE 2011, Luxembourg

What is a “species”?

  • DEFINITION: An individual is a member of

the population

  • DEFINITION: A species is the set of all copies
  • f an individual
  • DEFINITION: the species_count, nX , is the

number of copies of a species X in the current population

  • IMPLICATIONS:

– If two individuals differ in their chromosomes, they are members of two distinct species – Any two members of the same species have identical placements on the substrate, and therefore overlap (compete) 100% – We seek the largest possible set of feasible (on substrate), cooperative (non-overlapping) species.

slide-14
SLIDE 14

14

GECCO June 28, 2005

14

IEEE SSCI FOCI 2007

14

EVOLVE 2011, Luxembourg

Res Resou

  • urc

rce-de defi fine ned d Fitn Fitnes ess s Sha Sharing ring

.

species Y Sh,X

XY X X

f n f f

AC AB A A

f n f n f n f f

C B A Sh,A

  

Shared fitness Example for three

  • verlapping niches

Example for two

  • verlapping niches

AB A A

f n f n f f

B A Sh,A

 

A B A B C

slide-15
SLIDE 15

15

GECCO June 28, 2005

15

IEEE SSCI FOCI 2007

15

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm

– The Shape Nesting Problem – GA with RFS shared fitness – The Exact Cover Problem

OUTL OUTLINE INE

slide-16
SLIDE 16

16

GECCO June 28, 2005

16

IEEE SSCI FOCI 2007

16

EVOLVE 2011, Luxembourg

Beg Beginning innings: s: Ni Nich ches es on

  • n a Flat

a Flat La Land ndsc scap ape

  • Horn’s 1997 dissertation
  • Fitness sharing on a “hat” function (1D flat fitness)
slide-17
SLIDE 17

17

GECCO June 28, 2005

17

IEEE SSCI FOCI 2007

17

EVOLVE 2011, Luxembourg

Con Conve verg rges es to to Exac Exact t Cov Cover er

  • Pop. Size is 2560. Width of “hat” is 160. Niche

radius is 20. So nine “niches” exactly cover the hat.

slide-18
SLIDE 18

18

GECCO June 28, 2005

18

IEEE SSCI FOCI 2007

18

EVOLVE 2011, Luxembourg

  • Sets of non-competing (i.e., non-overlapped) species.

Evo Evolved lved Coo Coope pera ration tion

slide-19
SLIDE 19

19

GECCO June 28, 2005

19

IEEE SSCI FOCI 2007

19

EVOLVE 2011, Luxembourg

Shape Shape Nest Nesting ing in in One One Dmension Dmension

  • RFS is equivalent to Fitness Sharing* in one dimension
  • Convergence to exact cover for 1D shape nesting

(* Goldberg & Richardson, 1987)

slide-20
SLIDE 20

20

GECCO June 28, 2005

20

IEEE SSCI FOCI 2007

20

EVOLVE 2011, Luxembourg

RFS RFS Can Can Find Find Exa Exact ct Cov Cover ers s in 2D in 2D

Parallel Problem Solving From Nature VII (2002)

slide-21
SLIDE 21

21

GECCO June 28, 2005

21

IEEE SSCI FOCI 2007

21

EVOLVE 2011, Luxembourg

Distribution

  • f

Entire Population

RFS RFS wi with th Mut Mutat ation ion (Horn (Horn, , 20 2002 02)

Much smaller pop size (N=500). Some globals must be discovered by mutation (some are NOT in Initial pop.) Pop has converged

  • n the 16

globals, with mutation still producing some “misfits”

slide-22
SLIDE 22

22

GECCO June 28, 2005

22

IEEE SSCI FOCI 2007

22

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm
  • 2. Static Analysis (previous results)
  • 3. Dynamic Analysis (new results)
  • 4. Discussion

OUTL OUTLINE INE

slide-23
SLIDE 23

23

GECCO June 28, 2005

23

IEEE SSCI FOCI 2007

23

EVOLVE 2011, Luxembourg

Niching Niching Equ Equil ilibrium ibrium

  • Equilibrium under selection:
  • Under proportionate selection:
  • Solving,
  • Meaning that all shared fitnesses must be the same:
slide-24
SLIDE 24

24

GECCO June 28, 2005

24

IEEE SSCI FOCI 2007

24

EVOLVE 2011, Luxembourg

Fo For Exa r Example, mple, The The Thr Three ee-Niche Niche Cas Case

Finite population size N

slide-25
SLIDE 25

25

GECCO June 28, 2005

25

IEEE SSCI FOCI 2007

25

EVOLVE 2011, Luxembourg

The I The Infi nfinite nite Population Population Model Model

Divide both sides of equations by N Substitute px for proportion nx/N

slide-26
SLIDE 26

26

GECCO June 28, 2005

26

IEEE SSCI FOCI 2007

26

EVOLVE 2011, Luxembourg

A A Sys Syste tem m of Linea

  • f Linear

r Equ Equat ations ions

slide-27
SLIDE 27

27

GECCO June 28, 2005

27

IEEE SSCI FOCI 2007

27

EVOLVE 2011, Luxembourg

Intr Introd

  • duc

ucing ing Pro Prope pert rty y I

slide-28
SLIDE 28

28

GECCO June 28, 2005

28

IEEE SSCI FOCI 2007

28

EVOLVE 2011, Luxembourg

Int Intro rodu ducin cing g Pr Prop

  • per

erty ty II II

slide-29
SLIDE 29

29

GECCO June 28, 2005

29

IEEE SSCI FOCI 2007

29

EVOLVE 2011, Luxembourg

App Applying lying Ass Assump umption tions s of

  • f Pro

Prop.s p.s I I an and d II II

slide-30
SLIDE 30

30

GECCO June 28, 2005

30

IEEE SSCI FOCI 2007

30

EVOLVE 2011, Luxembourg

In 2 In 200 008 8 Gen Gener eraliz alized ed to to Arb Arbitra itrary ry Nu Numb mber er of Sp

  • f Spec

ecies ies

Horn, Parallel Problem Solving From Nature X (2008)

slide-31
SLIDE 31

31

GECCO June 28, 2005

31

IEEE SSCI FOCI 2007

31

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm
  • 2. Static Analysis (previous results)
  • 3. Dynamic Analysis (new results)
  • 4. Discussion

OUTL OUTLINE INE

slide-32
SLIDE 32

32

GECCO June 28, 2005

32

IEEE SSCI FOCI 2007

32

EVOLVE 2011, Luxembourg

  • For species u, we ask if ?
  • Let substitute for
  • In our specific case, we ask if

Con Conve verg rgen ence ce to to Equilibrium Equilibrium

slide-33
SLIDE 33

33

GECCO June 28, 2005

33

IEEE SSCI FOCI 2007

33

EVOLVE 2011, Luxembourg

  • Let be the current distance of species u

from equilibrium

  • Then is the distance of u from

equilibrium in the next time step.

  • We ask if this distance decreases with each time

step: ?

Dista Distanc nce e to to Equ Equil ilibrium ibrium

slide-34
SLIDE 34

34

GECCO June 28, 2005

34

IEEE SSCI FOCI 2007

34

EVOLVE 2011, Luxembourg

  • Species a and b form an exact cover:
  • At equilibrium:
  • Looking first at species a:
  • We solve for feasible values of

(pa,pb,pc), and we find them.

  • But we also find feasible values for

Fo For th r the Thr e Three ee-Niche Niche Cas Case

slide-35
SLIDE 35

35

GECCO June 28, 2005

35

IEEE SSCI FOCI 2007

35

EVOLVE 2011, Luxembourg

Non Non-mon monot

  • ton
  • nic

ic Spe Species cies Con Conve verg rgen ence ce

  • This means that species a sometimes moves closer to

equilibrium but sometimes moves further away.

  • For example, with fac = fbc = ½ , and pa starting at

equilibrium, pa can move away from equilibrium.

slide-36
SLIDE 36

36

GECCO June 28, 2005

36

IEEE SSCI FOCI 2007

36

EVOLVE 2011, Luxembourg

  • Results for species a hold for species b, by symmetry
  • For species c, must solve
  • Solutions exist, e.g., with fac = fbc = ½ and the initial

values shown below.

No Non-mo mono noto tonic nic for for All All (Thr (Three ee) ) Sp Spec ecies ies

slide-37
SLIDE 37

37

GECCO June 28, 2005

37

IEEE SSCI FOCI 2007

37

EVOLVE 2011, Luxembourg

  • Note that in both examples of non-monotonic

convergence, the species moving away from equilibrium were the species closest to equilibrium.

  • What about the species furthest from equilibrium?
  • If the species furthest from equilibrium always

moves closer to equilibrium, and no other species moves as far away, then the population must converge to equilibrium.

  • That is, all species in the population must converge

to equilibrium.

Pop Populat ulation ion Con Conve verg rgen ence ce

slide-38
SLIDE 38

38

GECCO June 28, 2005

38

IEEE SSCI FOCI 2007

38

EVOLVE 2011, Luxembourg

  • We define the maximum distance of any species to

its equilibrium proportion:

  • This distance is strictly decreasing if and only if

More Precisely…

condition Φ

slide-39
SLIDE 39

39

GECCO June 28, 2005

39

IEEE SSCI FOCI 2007

39

EVOLVE 2011, Luxembourg

  • Let a be the species furthest from equilibrium. (At

least, no other species is further from equilibrium.)

  • Then we ask if all species are closer than this, after

the next selection event.

Fo For th r the Thr e Three ee Niche Niche Exa Exact ct Cov Cover er Cas Case

a is no closer than c a is no closer than b Will a be closer ? Will b be closer ? Will c be closer ?

slide-40
SLIDE 40

40

GECCO June 28, 2005

40

IEEE SSCI FOCI 2007

40

EVOLVE 2011, Luxembourg

  • We find that this is always true, inside of the

simplex 0 < pa,pb,pc < 1, because

  • there exists no solution to any of the three

equations:

  • Thus condition Φ holds whenever a is the furthest

species.

  • By symmetry, this analysis holds for b as well.
  • A similar analysis finds that Φ holds for c as well.

Res Result ult

slide-41
SLIDE 41

41

GECCO June 28, 2005

41

IEEE SSCI FOCI 2007

41

EVOLVE 2011, Luxembourg

  • 1. The RFS Algorithm
  • 2. Static Analysis (previous results)
  • 3. Dynamic Analysis (new results)
  • 4. Discussion

OUTL OUTLINE INE

slide-42
SLIDE 42

42

GECCO June 28, 2005

42

IEEE SSCI FOCI 2007

42

EVOLVE 2011, Luxembourg

  • Strictly Monotonic Convergence: Thus the

population under RFS is continuously converging to the unique equilibrium population that represents the exact cover.

  • The strictly decreasing distance is measured as the

maximum difference of any species proportion and its equilibrium proportion.

  • This population distance is equivalent to the

maximum Holder norm of the vector

Summa Summary ry

slide-43
SLIDE 43

43

GECCO June 28, 2005

43

IEEE SSCI FOCI 2007

43

EVOLVE 2011, Luxembourg

Que Quest stions ions

  • Maximum Holder Norm:
  • What about other Holder norms ( h ≠ ∞ ) ?

– Manhattan distance ( h = 1 ) – Euclidean distance ( h = 2 ) – etc. – Does the result hold for other norms?

  • What about other metrics? (e.g., Π pu )
slide-44
SLIDE 44

44

GECCO June 28, 2005

44

IEEE SSCI FOCI 2007

44

EVOLVE 2011, Luxembourg

  • Generalize to all three-niche situations

– i.e., not just exact cover, two-against-one – So far, can find no solutions to either direction of inequality (i.e., can prove neither condition Φ or its negation)

  • Generalize to many-versus-many exact covers
  • Other dynamic analyses

– e.g., rate of convergence

  • Introduction of variation operators

– mutation – recombination

Oth Other er Ext Exten ension sions

slide-45
SLIDE 45

45

GECCO June 28, 2005

45

IEEE SSCI FOCI 2007

45

EVOLVE 2011, Luxembourg

  • Deterministic algorithm
  • Origins in stochastic algorithms (e.g., cGA)
  • But in process of modeling, discovered that the

model captured a powerful algorithm.

  • So, how do we add stochasticity?

– selection – initialization – variation

Impli Implica cation tions s for Va for Variat riation ion

slide-46
SLIDE 46

46

GECCO June 28, 2005

46

IEEE SSCI FOCI 2007

46

EVOLVE 2011, Luxembourg

th than ank yo k you vielen vielen Dan Dank me merc rcί vill villmols mols mer merci ci muc mucha has gr grac acias ias