Genetic Algorithms Flashcards

1
Q

Alteration (Crossover)

A

the random exchange of 2 parents’ chromosomes during reproduction, resulting in offspring that have some traits of each parent

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

Alteration requires

A

genetic diversity to ensure sufficiently varied offspring

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

Mutation

A

occurence of errors during the process of copying chromosome, can be harmful, beneficial, or neither

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

Natural Selection

A

the fittest survive in a competitive environment resulting in better organisms; better traits survive longer, better chance to reproduce; species improves as whole as better traits outnumber

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

representation of individuals for genetic algorithms

A

solutions represented as a vector of values

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

genetic algorithm

A

create initial population; evaluate fitness of each individual, check if termination criteria met; select parents according to fitness; recombine parents to generate offspring; mutate offspring; replace pop with new offspring

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

Initialization of population issues

A

size and diversity of initial population

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

A lack of diversity for initial population leads to what?

A

Premature convergence to a non-optimal solution

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

How is a diverse initial population generated?

A

uniformly random; grid initialization; non-clustering; local optimization

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

uniformly random

A

generate individuals randomly from a solution space with uniform distribution

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

grid initialization

A

choose individuals at regular “intervals” from the solution space

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

non-clustering

A

require individuals to be a predefined “distance” away from those already in the population

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

local optimization

A

find an initial population of local optima; does’t enforce diversity but guarantees solution to be no worse

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

evaluation ranks the individuals by what?

A

fitness measure

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

fitness measure

A

corresponds with the quality of the individual solutions

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

what happens if selection is too dependent on evalution/fitness function?

A

like greedy search, non-optimal solution may be found

17
Q

what happens if selection is not dependent enough on evaluation/fitness function?

A

may not converge to a solution at all

18
Q

2 types of proportional fitness selection techniques?

A

rank selection; proportional selection

19
Q

rank selection

A

individual selected with a probability proportional to its rank in population, sorted by fitness

20
Q

proportional selection

A

individual selected with a probability (given fitness values, sum fitnesses, determine probabilities)

21
Q

tournament selection

A

randomly select two individuals and the one with the highest rank goes on and reproduces; only care about one with higher rank, puts upper and lower bound on the chances that any individual has to reproduce for the next generation

22
Q

crowding

A

problem with selection - when individuals that are most fit quickly reproduce so that very large percentage of population looks similar; reduces diversity; may hinder long-run progress of the algorithm

23
Q

crossover

A

pick pairs of individuals as parents and randomly swap their segments (parameters: crossover rate, number of crossover points, positions of the crossover points)

24
Q

1-point crossover

A

pick a dividing point in the parents’ vectors and swap the segments

25
N-point crossover
pick n dividing points in the parents' vectors and splice together alternating segments
26
Uniform crossover
the value of each element of the vector is randomly chosen from the values in the corresponding elements of the two parents
27
Mutation
randomly change an individual; parameters = mutation rate, size of mutation
28
Genetic algorithm
have an inition population; let p[i] be fitness probabilities, randomly pick 2 parents with probabilites, randomly select 1 crossover point, swap strings of parents 1 and 2 to generate children, randomly mutate each posision in child with small prob; new generation replaces old
29
Problem of Local Maxima
individuals get stuck at pretty good but not optimal solutions