Lecture 05 - Genetic Algorithms Flashcards
Genetic Algorithms
Who were the main 3 communities developing genetic algorithms?
Biologists, computer scientists/engineers, artificial-life researchers
Genetic Algorithms
Why is there terminology overlap within evolutionary computing?
Competing communities of research hasn’t properly converged on terminology.
Genetic Algorithms
What is an individual in GA?
One data point with an attached fitness, which can evolve into new offspring.
Genetic Algorithms
What is a population in GA?
A collection of individuals to be evaluated.
Genetic Algorithms
How are individuals represented internally?
Pretty much anything that can be evaluated with a fitness function.
Genetic Algorithms
What is direct coding?
Some specific representation, like a final image. Genotype == phenotype in this case.
Genetic Algorithms
What is indirect coding?
Some abstract, recipe-y way of making the individuals.
Genetic Algorithms
What is a genotype?
Genotypes are the instruction for creating an individual.
Genetic Algorithms
What is a phenotype?
A phenotype is a manifested version of a genotype. Humans are phenotypes; genes are genotypes.
Genetic Algorithms
Why do we use the genotype/phenotype distinction in GAs? (3)
- To resemble nature
- To ease manipulation
- To allow reuse, hence enabling actual usage of EC
Genetic Algorithms
What is the concept of “limited resources” in GA?
The population size is capped; not all individuals can survive.
Genetic Algorithms
What’s the difference between an overlapping and non-overlapping generational model?
- Overlapping model: Both parents and offspring can survive.
- Non-overlapping model: Only offspring survive.
Genetic Algorithms
What are some problems with the overlapping model?
Parents can survive, so what is a “new generation?”
Genetic Algorithms
When using an overlapping model, how do you measure time flowing?
Track the number of births. A new generation happens at “#m births”.
Genetic Algorithms
Name the most common fitness selection methods. (FRUTT)
- Fitness-proportional selection
- Rank-proportional selection
- Uniform (neutral) selection
- Truncation selection
- Tournament selection
Genetic Algorithms
Describe Fitness-proportional selection.
1) Given the numerical fitness of each individual
2) Randomly pick one individual with probability proportional to the fitness (the better, the larger probability)
Genetic Algorithms
Describe Rank-proportional selection.
1) Given the rank of each individual in a fitness-based ranking
2) Randomly pick one individual with probability proportional to the rank (the better, the larger probability)
Genetic Algorithms
Describe uniform selection.
Pick randomly an individual (with uniform probability)
Genetic Algorithms
Describe Truncation selection
Pick the best individual(s?) (elitism)
Genetic Algorithms
Describe Tournament selection
Given a parameter n_size (size of the tournament):
1) Randomly (with uniform probability) pick n_size individuals
2) From them, choose the one with the best fitness
Genetic Algorithms
How do you determine if criterion A better than criterion B?
Hypothesis testing
Genetic Algorithms
Does uniform selection prefer fit or unfit individuals?
No preferences for either.
Genetic Algorithms
Does truncation selection prefer fit or unfit individuals?
Strong preference for fit individuals
Genetic Algorithms
Does tournament selection prefer fit or unfit individuals?
Depends on n_size.
If 1: No preference.
As n_size grows -> stronger preference for fit individuals.