L4 - EA's in more detail Flashcards

1
Q

Define Generational Algorithm type…

A

An algorithm in which the genetic operator is applied across all N solutions to generate a new generation of solutions.

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

Define Generational Elitist Algorithm type…

A

Take the K best solutions of N, and apply genetic operator to remainder of N to create the new generation of K + M( N-K )

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

Define a Steady State Algorithm Type…

A

An EA where we use a selection algorithm to select K solutions from N. We apply genetic operator to all solutions in K. We perform a replacement operation of mutated K back on N.

Replacement operation is either Replace Weakest or Replace First Weakest.

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

In Steady State Algorithms, what are the 2 replacement procedures we can use?

A

Replace Weakest : With our mutated set K, we iterate K and replace solutions in N with solutions in K so long as the current solution in K is no worse than the solution in N.

Replace First Weakest : With our mutated set K, we iterate K and as soon as we encounter a solution in N that is worse than k, we replace n with k.

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

Define what is meant by Selection Pressure?

A

Refers to the degree in which individuals in a population are favoured for selection. Can range between Low, Medium and High. For example, low pressure would be a random selection.

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

Define what is meant by Selection Process…

A

The Selection Process is the strategy we employ to decide which areas of the search space we should focus our efforts on.

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

What are the names of the 3 selection processes we are looking at?

A

Fitness Wheel Selection (Fitness Proportionate)
Rank-based Selection
Tournament Selection

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

Explain the process of Fitness Proportionate Selection…What are the problems with it? What is the name of the Selection Process the solves these problems?

A

For each solution, we divide its fitness by the sum of fitness. This gives us a selection pool in which solutions with higher fitness are more likely to be selected for mutation.

Problems:
- Solutions with much larger fitness scores will be chosen disproportionately.
- Negative fitness values skew sum of fitness values and thus skew the selection pool.

Solution:
Rank-Based Selection

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

Explain the Rank-Based Selection Process and how it solves the issues of Fitness Wheel Selection…Give an example of how it solves the issue using the fitness values {100, 0.4, 0.3, 0.2, 0.1}

A

N is most fit.

Rank-based selection assigns selection probabilities based on the relative ranks of individuals rather than their fitness values. This helps reduce the influence of extreme fitness values on selection.
This removes the selection discrepancy introduced by the Fitness Wheel Selection.

#1 is least fit

E.g
Fitness Wheel : S(100) is 100x more likely to be selected.

Rank-Based : S(100) is 5x more likely to be selected.

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

In Rank-Based Selection, what is Bias? Why do we use it?

A

Bias is a measure we can introduce to change the probabilities of solutions being chosen. We do this through applying some exponent do all fitness values in the set.

For example:

Low Bias : n^0.5 reduces the selection discrepancy between fitter and less fit solutions.

High Bias : n^2 increases selection discrepancy.

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

Explain Tournament Selection… What are its pros and cons…

A

Tournament Selection is a rank-based selection in which a set of size t is chosen from the solutions, and they are ranked based on their fitness scores. One or more of the fittest solutions are chosen to create the new generation.

Pros:
- Tunable : We can increase or decrease t, which in turn changes the selection pressure. For example, t = 10, p = 10000 would be very low pressure.
- Avoids issues of super-fit or super-poor solutions.
- Simple and efficient to implement

Cons:
- Requires extra parameter ( tournament size )

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

What are Genetic Operators?

A

The operators we use to mutate solutions and create new generations.

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

Define exploitation and exploration…

A

Exploitation : When we want to work with solutions we already know are good, thus a small change or combination between known good solutions are used to create the new generation of candidate solutions.

Exploration : The process of searching new areas within the search space.

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

What does it mean when we refer to a Solutions representation or encoding?

A

This is referring to the type that makes up the solution. E.g Integer, Vector.

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

What is meant by K-ary encoding? Give an example of when k = 20…

A

If we were to select candidate solutions from the population as an array of length L, this would mean that that each candidate solution would be an array of length L, where each element was between 1 and 20.

In other words, this is a 20-ary encoding of length L.

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

What are the 3 ways we can mutate K-ary encodings?

A

Single Gene Mutation:
Choose a random gene in the solution, and replace it with some random gene such that 1 ≤ new gene ≤ K.

M Gene Mutation:
Multiple instances of Single Gene Mutation.

Swap Mutation
Choose 2 genes at random and swap them.

17
Q

What are the 2 ways of mutating Vector-Based encodings of length L?

A

Single Gene Mutation:
Choose a gene at random and add a small deviation to it.

Vector Mutation:
Generate a small random vector of the same length L, and add it to the candidate solution.

18
Q

Why can we use Single Gene or Swap mutations when working with permutations?

A

Because that would break the permutation which achieved us the high fitness value???

19
Q

Define what is meant by Recombination / Crossover

A

The combining of 2 optimal solutions.

20
Q

What are the 2 ways that we can perform recombination?

A

Point Crossover:
Choose 1 or more points, and swap solution A and B at the points.

Uniform Crossover:
We create a binary mask which we use as a template to perform gene swaps between solution A and B.

21
Q

Why is Encoding a big problem in Evolutionary Computation?

A

We need to find a way to encode the solutions, but there are so many ways to encode the solutions for the same problem, each of which effects the generated landscape.