Title: An overview of the parameterless genetic algorithm
1An overview of the parameter-less genetic
algorithm
- Fernando Lobo
- Universidade do Algarve, Portugal
- Joint work with
- Georges Harik and David Goldberg
- IlliGAL, UIUC
2Talk overview
- Motivation
- Review parameter setting in GAs
- Parameter-less approach
- Computer experiments
3Motivation
- Traditional GAs are hard to use
- User must specify a number of parameters
- We should make life easier for users
4Which parameters?
- Population size
- Selection pressure
- Crossover probability
- Mutation probability
5Other design choices
- Representation
- Variation operators
6Parameter setting in GAs
- Empirical studies
- Parameter adaptation techniques
- Facetwise theoretical studies
7Empirical studies
- De Jong (1975), Schaffer et al. (1989)
- population size 50-100
- prob. crossover 0.6-0.9
- prob. mutation 0.001-0.01
8Parameter adaptation techniques
- Parameter values change throughout the search
- Lots of work on operator probabilities
- Very little on population sizing
9Facetwise theoretical studies
- Selection alone
- Mutation alone
- Population sizing ignoring mutation and assuming
perfect mixing
10Two critical facetwise studies
- Control maps
- Population sizing
11Selection rate and crossover prob.
Goldberg, Deb, Thierens (1993)
12Selection rate and crossover prob.
- Avoid very high and very low selection rates
- Ensure BB growth s (1-pc) gt 1
- s4, pc0.5 gt s (1-pc) 2
13- Selection pressure
- Crossover probability
- Population size
- Mutation probability
14Population sizing theory
- Goldberg, Deb, Clark (1991) Harik,
Cantú-Paz, Goldberg, Miller (1997) - Not easy to apply for real world problems
- But very important to understand the role of the
population in GAs
15The intuition for population sizing in GAs
- Difficult problems require more processing power
than easy problems. - More processing power gt larger population
16What happens in practice?
- User guesses a population size (N), and let it
run a number of generations (G)
17Guessing right is luck
- What if N is too small?
- What if N is too large?
18This is the result
19Parameter-less GA approach
- Start with a small population size and let it run
- After some time, spawn a new population twice as
large, and let it run - And so on
20Parameter-less GA approach
- Establish a race among populations of different
sizes - giving a head start to the smaller ones
2116
2216
2316
2416
Larger population sizes
32
2516
Larger population sizes
32
2616
Larger population sizes
32
2716
Larger population sizes
32
2816
Larger population sizes
32
2916
Larger population sizes
32
3016
Larger population sizes
32
3116
Larger population sizes
32
32 4
6
5
7
9
8
3
2
16
Larger population sizes
32
33 4
6
5
7
9
8
10
3
2
16
Larger population sizes
32
34 4
6
5
7
9
8
10
11
3
2
16
Larger population sizes
32
35 4
6
5
7
9
8
10
12
11
3
2
16
Larger population sizes
32
36 4
6
5
7
9
8
10
12
11
3
2
16
Larger population sizes
32
64
37 4
6
5
7
9
8
10
12
11
13
3
2
16
Larger population sizes
32
64
38 4
6
5
7
9
8
10
12
11
13
14
3
2
16
Larger population sizes
32
64
39 4
6
5
7
9
8
10
12
11
13
15
14
3
2
16
Larger population sizes
32
64
40 4
6
5
7
9
8
10
12
11
13
15
14
3
2
16
Larger population sizes
32
64
41 4
6
5
7
9
8
10
12
11
13
15
14
16
3
2
16
Larger population sizes
32
64
42Implementation
- Use a counter base 4
- Least significant digit changes 4 times more
often than the next digit.
43Do we keep running all populations forever?
- Answer No
- Sometimes populations are deleted
- Well see how in a moment
44After some time
45generation number
30
4
6
5
7
9
8
10
11
3
2
256
Larger population sizes
512
avg fit 12.6
1024
avg fit 11.8
avg fit 7.8
46generation number
30
4
6
5
7
9
8
10
11
3
2
256
Larger population sizes
512
avg fit 12.6
1024
avg fit 13.2
avg fit 7.8
47Need a tall guy(to play basketball)
12 year old
6 year old
48- Forget about the 12 year old kid
- Hes not growing anywhere
49generation number
30
4
6
5
7
9
8
10
11
3
2
256
Larger population sizes
512
avg fit 12.6
1024
avg fit 13.2
avg fit 7.8
50generation number
4
6
5
7
1
3
2
Larger population sizes
Delete population of size 256, and keep
going with the others.
51When to delete populations?
- At convergence
- When a population is overtaken fitness-wise by a
larger population
52Experiment 1 onemax
53Experiment 2 noisy onemax
54Experiment 3 trap functions
55Application to a network expansion problem
- Goal illustrate the techniques in non-artificial
problems - Case study a simplified version of a utility
network expansion problem
56Network expansion problem
A 10-bit problem
57The encoding
Solution 0110000110
58Obj. function in 3 steps Step 1
59Step 2
Construct a minimum spanning tree
60Step 3
Network corresponding to solution 0110000110
6160-bit network problem
Takes on average 100-200 thousand function eval.
to reach the target
62Best solution found
6360-bit network problemstandard settings
- population size 100, pc0.7, pm1/l
- couldnt reach the target solution after a
million function evaluations
6460-bit network problem
- Its unlikely that a user would guess 2000 as the
right population sizing for this problem - Not even a GA expert would guess it right
- Use parameter-less GA
65A better name
- Parameter-less crossover based GA
- So far, mutation has been ignored
- But nothing prevents its use
66Another good thing about it
- Independent of the GA to be used with
- Can have parameter-less versions of SGA, LLGA,
ECGA, BOA, and so on
67Extensions
- Integrate mutation
- Currently working on it
- Hope to publish results soon
68Summary
- Motivation
- Flaws of current GA practices
- Mechanics and rationale of parameter-less GA
69Conclusions
- It is possible to eliminate the parameters of the
GA - And keep a good performance across a broad range
of problems
70Want to know more?
- Harik Lobo (GECCO 1999 Conference)
- Lobo (PhD thesis 2000, available on web)
- Lobo Goldberg (Information Sciences Journal, in
Press)