Evolutionary Algorithms Flashcards

1
Q

The theory of evolution is the statement that all species on earth have arisen this way by…

A

Evolution via mutations over countless generations

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

Regional breeds arise when certain […] are favoured in certain environments.

A

Mutations

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

Given a population of organisms that can reproduce, and a way of continually generating diversity in the children, we can evolve to solve certain problems. This theory is called…

A

Survival of the Fittest

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

Trial and error is a form of evolutionary algorithm - however, this is flawed because…

A

It takes an exorbitant amount of time to train, with little to no benefits

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

Stochasticity is another term for…

A

Randomness

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

Evolution isn’t necessarily always survival of the fittest - the fitter you are, the more…

A

Likely you are to reproduce

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

Evolutionary algorithms work given two variables…

A

Some solution, and a function that can measure how good of a solution it is

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

The three stages of evolution for a population of generated solutions are…

A

Select the best solutions, create variations on these solutions, then update the population.

Selection, variation, population update

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

Evolutionary algorithms are extremely good at tasks such as… (pick one)

A

Optimisation, machine learning

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

Optimisation is the process of…

A

Finding the best solution for a given problem

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

The solution space is…

A

The domain of all possible solutions for a given task

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

The fitness of a candidate solution is…

A

The suitability of that solution to the given task, measured as a product of a fitness function f(s).

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

Problems are said to be ‘in P’ if they are [tractable/intractable], and ‘not known to be in P’ if they are [tractable/intractable].

A

Tractable, intractable

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

An approximate algorithm is an algorithm that, given a hard problem…

A

Will deliver a solution in a reasonable time, as close to optimal as possible

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

Hillclimbing is the process of…

A

Generating a mutant solution, then evaluating its fitness, saving it as our new solution if it is better

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

If we plot the solution space S against the fitness f(s) of each solution, this graph is called a…

17
Q

The set of all possible mutations of a solution is called its…

A

Neighbourhood

18
Q

Drastic mutations can be likened to high […] in machine learning, causing solutions to shoot past local maxima.

A

Learning rates

19
Q

If we apply genetic operators repeatedly to every new population of solutions, we call this a [generational/steady-state] algorithm.

A

Generational

20
Q

If we apply genetic operators only a few times, then replace the bad solutions, we call this a [generational/steady-state] algorithm.

A

Steady-State

21
Q

In steady-state algorithms, there are two strategies for replacing bad solutions…

A

Either replacing the n weakest solutions, or replacing the weakest solution with the best solution from that batch

‘Replace the weakest’ or ‘replace the first weakest’

22
Q

Roulette wheel selection involves the selection of the best candidates by…

A

Giving solutions a percentage chance of being picked equal to that solution’s fitness divided by the total fitness of all candidates

23
Q

If we apply roulette wheel selection to a set of solutions with fitness [100, 50, 25, 25], how likely are we to pick solution 3?

A

25 divided by 100 + 50 + 25 + 25 = 25/200 = 12.5%

24
Q

Rank-based selection involves the selection of the best candidates by…

A

Giving solutions a percentage chance of being picked proportionate to the inverse of their rank in the candidate space (i.e. the worst solution will be ranked number 1).

25
Tournament selection involves the selection of the best candidates by...
Partitioning the candidate space into a number of tournaments, and selecting the candidate with the best fitness from each
26
The chromosome of a solution refers to how it is...
Encoded/Represented
27
A solution may be encoded as... (pick three)
Integers, vectors, binary strings, real values, trees, permutations
28
K-ary encoding involves the encoding of the candidates by...
Their list index - i.e. given a list of 3 candidates, their encodings would be [1, 2, 3]
29
Single-gene mutation involves the mutation of a chromosome by...
Changing a random gene
30
M-gene mutation involves the mutation of a chromosome by...
Changing M random genes
31
Swap mutation involves the mutation of a chromosome by...
Swapping two random genes
32
Vector mutation involves the mutation of a chromosome by...
Generating a small random vector of length L, and incorporating it to the candidate in some way
33
Insert mutation involves the mutation of a chromosome by...
Removing a random gene and inserting it in a random location
34
Recombination involves the mutation of a chromosome by...
Combining two chromosomes together
35
1-point crossover involves the mutation of a chromosome via recombination by...
Choosing a single point in the vector, then replacing all values after that point with values from parent 2
36
2-point crossover involves the mutation of a chromosome via recombination by...
Choosing 2 points within the vector, and replacing all values between those points with values from parent 2
37
Uniform crossover involves the mutation of a chromosome via recombination by...
Generating a random binary mask, then replacing all values with a 1 with values from parent 2
38
Selection should have a bias towards the best solution, but...
Should not choose that solution every time