[3] Evolutionary Computation Flashcards
What are GAs?
Genetic algorithms closely mini biology:
- each individual only has one parent
- chromosomes are the data structure; they are fixed length strings
What are the basic processes in GAs?
Selection
Mutation
Crossover
How does selection work?
Only the fittest individuals are used to form the next population
Roulette wheel selection selects individuals in proportion to their fitness
Tournament selection picks the best individual from random samples of the population
How does crossover work?
Single-point and two-point crossover breaks the chromosomes at one or two points respectively
Uniform crossover uses a bit mask to ensure each gene is equally likely to be swapped
What options exist for termination criteria for GAs?
After a fixed number of iterations, if the best solution hasn’t changed for a while, if the average fitness hasn’t changed for a while, or when convergence has been reached (all individuals have the same genotype)
What are steady-state GAs?
They don’t use generations; good individuals are selected to breed and produce offspring which replace bad ones
What is elitism?
Ensuring that the best individuals are always copied to the next generation, so the best solutions aren’t lost
How can illegal solutions to GAs be avoid?
- Restrict crossover and mutation so that it only gives valid children
- Heavily penalise invalid solutions
- Repair broken individuals
What is the basic procedure for a GA?
[1] Initialise the population
[2] Evaluate the fitness of each individual in the current population
[3] Until the next population is created:
- select individuals from the current population
- perform genetic operations on the individuals
- insert the new operations into the next population
[4] Check if the termination criteria has been met. If not, repeat [2-4]
[5] Output the best individual
What is differential evolution?
Mutation is used to create a trail vector, which is used with crossover to create one offspring
The step size is influences by differences between individuals in the population
What is deterministic evolution?
The parent is only replaced by their offspring if they have higher fitness
What is Michaelwicz’s interpretation?
As GAs are tailored to particular problems, they do worse for arbitrary problems
What are memetic algorithms?
They either:
- include local search in the EC loop
- Use domain-specific knowledge in the genetic operators, such as avoiding the creation of infeasible solutions
What representation do GPs use?
Tree
What are the basic structures of GP tree?
Functions form the root and internal nodes of the the tree. They perform operations on their inputs
Terminals have no arguments and form the leaves of the tree. They may be inputs, constants or random numbers
Collectively, functions and terminals are called primitives
How should the function and terminal sets be selected?
They should satisfy two criteria:
- Sufficiency - some collection of primitives should be able to solve the problem
- Closure - any function can accept input from any function or terminal