10 - Evolutionary Computation Review Flashcards

1
Q

Evolutionary Algorithms

A

A subset of evolutionary computation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

In this module, assume that the difference between Evolutionary Algos and Evo Computation is..

A

the difference between algorithm and computation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Main idea of evo algos (steps)

A

Start with random initial population
- test individuals
- assign fitness
- terminate?
- select
- reproduce and mutate, repeat.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

global function optimisation purpose

A

Find the global max or min of the function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Selection via truncation

A

In N individuals, select K best

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Roulette Wheel Selection

A

Draw a random number and see whether that drops onto a particular individual

Normalise fitness

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Tournament Selection

A

Select K random individuals, see which performs best and select that

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Selection Pressure

A

Balance between exploitation and exploration. Chance of being selected as parent

Eg in a pop of 100.
- selecting 50 parents would be low selection pressure
- selecting 5 parents = high selection pressure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

High selection pressure good or bad?

A

Bad, get stuck in narrow solution which doesn’t generalise well.

Good balance needed for diversity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

4 Termination Criteria

A
  • Stop with max num of generations
  • Stop with max computation time
  • Stop with desired fitness value
  • Stop when fitness does not improve any more

Not required

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Genetic Algorithms

A

Encode a solution (Evo Algo) into bits.

Eg genotype [010001100] can be used to encode a 3x3 matrix which is a representation of the phenotype (solution)
n 1 2 3
1 0 1 0
2 0 0 1
3 1 0 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Genotype vs Phenotype representation

A

Genotype as a matrix
Phenotype as a directed graph

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

9bits encode the presence of a link. 36 bits represent the value of each link

For 010 001 100
This means trhe first part is 1 to, second is 2 to and third is 3 to.
Which bits are active?

A

(from left) 2nd, 6th and 7th

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

9bits encode the presence of a link. 36 bits represent the value of each link

For 010 001 100
and 0000 1100 0000 1000 0000 0011 0100 0000 0000
What is the value on a graph between each part of the genotype? (1,2,3)

A

1 -> 2 = 12
2-> 3 = 3
3 -> 1 =

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why do some mutations have a larger effect than others?

A

Take 0000 for example

If a mutation occurs to make 0001 then that is a change of 1
If a mutation occurs to make 1000 then that is a change of 8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Evolution Strategy

A

(μ,λ)-ES or (μ + λ) - ES

μ size of parent pop
λ size of offspring population
, parent is not part of new gen
+ parent is part of new gen

16
Q

(20,100)-ES

A

20 parents gen 100 children. Parents are discarded/discharged.

Each gen the top 20 individuals are selected to be parents

17
Q

(1+100)-ES

A

Only one solution is the parent. Each gen, 100 children and the 1 parent is included (+).

Best of them becomes new parent

18
Q

In Evolution Strategy, why my + be better than ,

A

If you’ve already found the best solution + prevents discarding it

19
Q

Why is (1,1)-ES not very meaningful?

A

Only creates solutions randomly

20
Q

Steady State ES

What is it? What is the selection pressure? Serial or parallel?

A

(μ+1)-ES

No generation gap. One parent generates one offspring and one individual is removed.

Low selection pressure and suited to parallel computing

21
Q

Evolving the mutation rate is called

A

Self adaptive adaptation

22
Q

Mutation rate vector tells you

A

what is a good mutation

(xi,sigi) for all i in {1,..,mu}

x is parameters of solution and sigi is the standard deviations for Gaussian mutations (strategy parameters)

23
Q

Genetic Programming Aim

A

Automatic programming by creating a working program from a high-level statement of a problem

Represented by trees

24
Q

Genetic Programming Definition solution

A

Represented as a tree whose non-leaf nodes are operators and leaf nodes are terminals

A tree captures the syntax of a formal expression. (arithmetic etc)

25
Q

Operator Sets in GP

A

Arithmetic: + - / *
Math: sin, cos, exp
Bool: AND, OR NOT
Assignment: =
Conditional; IF THEN ELSE
Iterative: FOR, WHILE, REPEAT

26
Q

Terminal Set in GP

A

Constants
Variables
0-arity functions: rand, go-right

27
Q

; in GP

A

used to separate commands

28
Q

IF in GP

A

Has 3 children
IF this, then do this, else do this

29
Q

Mutation in Genetic Programming

A

Select a random node and replace it with a function or terminal

30
Q

Crossover in GP

A

Taking subtrees and adding them to others

31
Q

Symbolic Regression Goal

A

Predict by understanding how values are generated. Training weights w to approximate any function

32
Q

2 Symbolic Regression difficulties

A
  • We only have limited data
  • Noise
33
Q

Main characteristics of GP

A
  • SOlution is naturally dynamic in size/complexity
  • Solution can be a program itself (self improvement)
  • Search space in a GP app could be considerably larger than in a fixed-length EA
  • Could be used to design topology of a elec circuit