Sandpile lion'11

19
The Sandpile Mutation Operator for Genetic Algorithms Carlos M. Fernandes 1,2 J.L.J. Laredo 1 J.J. Merelo 1 Agostinho C. Rosa 2 1 Department of Architecture and Computer Technology, University of Granada, Spain 2 LaSEEB-ISR-IST, Technical Univ. of Lisbon (IST), Portugal LION’11 — Rome, January 2011 1

description

Presentation of the Sandpile Mutation for Genetic Algorithms at LION 5 (Rome, January 2011)

Transcript of Sandpile lion'11

Page 1: Sandpile lion'11

1

The Sandpile Mutation Operator for Genetic

Algorithms

Carlos M. Fernandes1,2

J.L.J. Laredo1

J.J. Merelo1

Agostinho C. Rosa2

1Department of Architecture and Computer Technology, University of Granada, Spain

2 LaSEEB-ISR-IST, Technical Univ. of Lisbon (IST), Portugal

LION’11 — Rome, January 2011

Page 2: Sandpile lion'11

2

Summary1. Motivation: Dynamic Optimization

2. Self-Organized Criticality and the Sandpile

3. Sandpile Mutation GA (GGASM)

4. Results

5. Mutation Rates

6. Conclusions

LION’11 — Rome, January 2011

Page 3: Sandpile lion'11

3

Dynamic Optimization Industrial applications (non-linearities,

multi-objective) Some applications have dynamic

components• Fitness function depends on time t• Non-stationary (or dynamic) optimization

LION’11 — Rome, January 2011

Page 4: Sandpile lion'11

4

Dynamic Optimization

LION’11 — Rome, January 2011

• Classification of dynamic problems• severity• period between changes• others...

Page 5: Sandpile lion'11

5

Dynamic Optimization and EC

Reaction to Changes

Memory Schemes

Multi-Population Schemes

Diversity Maintenance• Random Immigrants GA (RIGA)

one additional parameter

Page 6: Sandpile lion'11

6

Parameter Control

Deterministic: parameter values change according to deterministic rules

Adaptive: variation depends indirectly on the problem and the search stage

Self- adaptive: the values to evolve together with the solutions to the problem

LION’11 — Rome, January 2011

Page 7: Sandpile lion'11

7

Sand Pile Mutation Operator

“Sand” is dropped on top of 2D lattice

When the number of grains exceed the critical value, there is an avalanche of sand

LION’11 — Rome, January 2011

Page 8: Sandpile lion'11

8

Self-Organized Criticality (SOC)

SOC is a state of criticality

formed by self-

organization in a long

transient period at the

border of order and chaos.

LION’11 — Rome, January 2011

Page 9: Sandpile lion'11

9

SOC in Evolutionary Computation

Krink and co-authors

• the power-law is computed offline

Self-Organized Random Immigrants GA

• uses a SOC model to introduce random

immigrants in the population

Sandpile Mutation

LION’11 — Rome, January 2011

Page 10: Sandpile lion'11

10

Sand Pile Mutation Operator

l1

l2

l3

0

1

2

3

4

n1

n2

n3

Z

0

1

2

3

4Z Drop (g) grains (g is grain

rate) If h(x,y) > 3, topple Maximization: mutates if rand (0,1.0) > (normalized) fitness

LION’11 — Rome, January 2011

Parents’ fitness

The lattice is the population

Page 11: Sandpile lion'11

11

Dynamic Optimization Problems

[Yang & Yao] problem generator• period between changes (ε)• severity (ρ)

ε : 1200, 2400, 24000, 48000 ρ : 0.05, 0.3, 0.6, 0.95

• each stationary problem -> 16 different dynamic problems

fast and severe changes

LION’11 — Rome, January 2011

Page 12: Sandpile lion'11

12

Dynamic Optimization Problems

m-k trap functions (30 and 40 bits)

Royal Road (64 bits)

Knapsack (100 bits)

non-deceptive, nearly-deceptive, deceptive,

combinatorial (constrained)

LION’11 — Rome, January 2011

Page 13: Sandpile lion'11

13

Performance Metrics

Offline performance

• average of the best fitness throughout the run

Statistical tests

LION’11 — Rome, January 2011

Page 14: Sandpile lion'11

14

Algorithms

Generational Standard GA (GGA)

Self-organized Criticality RIGA (SORIGA)

Elitism-based Immigrants GA (EIGA)

GGA with Sandpile Mutation (GGASM)

LION’11 — Rome, January 2011

Page 15: Sandpile lion'11

15

Tests Several mutation probability and

population size values.

binary tournament 2-elitism uniform crossover (p=1.0)

• Balance disruptive effect and selective pressure

LION’11 — Rome, January 2011

Page 16: Sandpile lion'11

16

Sand Pile Mutation

ρ →ε = 1200 ε = 2400 ε = 24000 ε = 48000.05 .3 .6 .95 .05 .3 .6 .95 .05 .3 .6 .95 .05 .3 .6 .95

order-4

GGA − − ≈ ≈ ≈ ≈ ≈ ≈ + + + + + + + +

SORIGA ≈ + + + ≈ + + + + + + + + + + +

EIGA − − ≈ − − ≈ ≈ − + + + + + + + +

R. Road

GGA + ≈ ≈ ≈ ≈ + ≈ ≈ ≈ + + + + + + +

SORIGA + + + ≈ + + + ≈ + + + + + + + +

EIGA ≈ ≈ + ≈ + + + ≈ + + + + + + + +

Knapsack

GGA − − + + − ≈ + + + + ≈ − + + + ≈

SORIGA − ≈ + + ≈ ≈ + + + + ≈ ≈ + + + ≈

EIGA − − + + − − + + + + − − + + + −

LION’11 — Rome, January 2011

Page 17: Sandpile lion'11

17

Sand Pile Mutation Rate

3 246 489 732 975 1218146117041947219024332676291931623405364838910

0.1

0.2

0.3

0.4

0.5ρ = 0.05

online m

uta

tion r

ate

3 246 489 732 975 1218146117041947219024332676291931623405364838910

0.1

0.2

0.3

0.4

0.5ρ = 0.6

online m

uta

tion r

ate

ε = 24,000order-4 trap

Page 18: Sandpile lion'11

18

Conclusions GGASM is able to improve other GAs’

performance on dynamic optimization

Parameter set is not increased

Sandpile mutation rate self-regulates: mutation rates’ distribution depends on the problem and dynamics

LION’11 — Rome, January 2011

Page 19: Sandpile lion'11

19

Future Research The Sandpile mutation may be hybridized

with any kind of Evolutionary Algorithm (and other bio-inspired algorithms)

Study the mutation rates and mutation distribution.

Test the Sandpile Mutation on stationary problems and constrained dynamic optimization

LION’11 — Rome, January 2011