Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
The New Turing Omnibus Chapter 16 Genetic Algorithms
Clone this wiki locally
We walked through the chapter together, taking the algorithm given in the book and stepping through it on the whiteboard:
We discussed whether the algorithm would always reach the optimum solution given enough time (as this was unclear in the book) but convinced ourselves that it is possible for a genetic algorithm to get stuck in some local maxima. We visualised this using Tom's interactive plot of a genetic algorithm.
We discussed various applications of genetic algorithms including:
- SIGGRAPH video about "Flexible Muscle-Based Locomotion for Bipedal Creatures";
- Karl Sims work on evolving virtual creatures;
- Algorithmically generated metalwork;
- A genetic clock.
We also discussed crucial differences between "real" genetics and the algorithm particularly around the probabilities of mutation: in the algorithm, all parts have an equal chance of mutation whereas DNA does not have the same property (and certain mutations are not permitted at all).
Show & Tell
Tom demonstrated his interactive plot of a genetic algorithm which we modified to explore the second problem in the chapter (attempting to reach a "theory of genetic algorithms") and understand the behaviour of the algorithm.
Thanks to James for doing these modifications and for his impressive rapid-fire clicking skills which let us explore the algorithm's "hill climbing" behaviour.
- We discussed the relative lack of content in this chapter but agreed that the tangents (particularly around the applications of this technique) still made the meeting valuable;
- We noted the lack of shepherd in this meeting had a detrimental effect;
- We debated whether we should take a more practical approach in the meeting but also felt theory-heavy chapters were valuable too;
- Overall, we attributed the lack of preparation and energy to it being our first meeting after the Christmas period;
- We decided not to make any changes to our format or abandon the book.
Thanks to Leo and Geckoboard for hosting and to Tom and Chris for their visualisation work and to James for driving the laptop.