Week 2 - Search Landscapes and Hillclimbing Flashcards

1
Q

Describe the hillclimbing algorithm.

A

Generate a random solution with a fitness f1. Generate another random solution, with fitness f2. If f2>f1 then discard the first solution and select the second solution - effectively only “climbing up the hill”.

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

What is the difference between local search and hillclimbing?

A

Local search allows downwards moves.

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

What does PBS stand for?

A

Population based search

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

What are the two types of genetic algorithms?

A

Generational and steady state.

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

Describe generational genetic algorithms.

A

Genetic operators applied repeatedly to generate new populations. Generational elitist algorithms copy n best individuals unchanged to the next generation.

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

Describe steady state genetic algorithms.

A

Genetic operators applied N times (N small, 1 or 2) and bad solutions replaced.

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

Name 2 strategies for replacement in steady-state algorithms.

A

Replace weakest, replace first weakest.

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

What does selection represent?

A

Our strategy for deciding which areas of the search space to focus our efforts on.

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

What do genetic operators do?

A

Provide our means to generate new candidate solutions (exploitation and exploration).

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

What is single gene mutation?

A

Choose a gene at random, add a small random deviation to it. Often chosen from a Gaussian distribution.

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

What is vector mutation?

A

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

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

What is the difference between direct and indirect encoding?

A

Indirect allows you to “code away” undesirable features, whereas direct is a much faster interpretation of the chromosome, but may generate unwanted chromosomes.

Direct = variable in problem, indirect = variables of a constructive heuristic

Direct is fast and straightforward. Indirect is slow and rugged.

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

What’s the difference between exploration and exploitation? Give an example algorithm for each.

A

Exploration -> you want to explore every option and path (the whole search landscape) (e.g. EAs, genetic algorithms)

Exploitation -> you have domain knowledge, you want to get close to an answer -> adjust parameters as we want operators to have a fair chance of yielding good new solutions (small change and/or combine bits from solutions we already know are good) (e.g. hill climbing)

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