Evolutionary Computing

Overview

Principles and applications of programs inspired by biological principles. Genetic algorithms and their use in search and optimization. Problem representation, operators, and control. Artificial life and the use of evolutionary computation in robotics.

Topics

The course followed the standard arc of the field, from a single hill climber to populations, multiple objectives, evolved programs, and evolved neural networks. Each topic below leads to a page of detailed articles.

  1. Foundations. The evolutionary algorithm loop, its history, fitness landscapes, and the No Free Lunch theorems.
  2. Local search. Hill climbing, local optima, and ways to escape them.
  3. Genetic algorithms. Encoding, selection, crossover, mutation, and constraint handling.
  4. Multi-objective optimization. Pareto dominance, NSGA-II, and measuring the quality of a Pareto front.
  5. Genetic programming. Evolving program trees, symbolic regression, and bloat.
  6. Neuroevolution. Evolving neural network weights and topologies with NEAT and HyperNEAT.
  7. Parallel and coevolutionary algorithms. Island models, and populations that evolve against or alongside each other.
  8. Evolution strategies. Self-adaptive mutation and CMA-ES.
  9. Recent trends and applications. Quality diversity, evolutionary robotics, and evolution guided by language models.

Projects

Coevolving Soft Robots with NEAT

Final project · GitHub repository · Presentation video

For the open-ended final project I wrote NEAT from scratch and used it to evolve the bodies and neural controllers of simulated soft robots together, voxel bodies of at most 5×5 on the Evolution Gym Walker task. The controller's inputs and outputs change whenever the body does, which shaped the design. The system produced robots that walk, with a best fitness of 5.61, and speciation protected a lineage of slow crawlers whose descendants went on to outscore the early jumpers. The article, Coevolving Soft Robots with NEAT, follows the implementation stage by stage, weighs how much a sequence of single runs can say about which components mattered, and sets out a controlled follow-up.

Paper Presentation: Ranking Optimizers by Pareto Optimality

Paper presentation · Presentation video

I presented Ibrahim, Bidgoli, Rahnamayan and Deb (2024), which ranks multi-objective optimizers by treating their scores on many quality indicators as objectives and sorting runs into Pareto levels, so that no weights between the indicators are needed. The article, Ranking Multi-Objective Optimizers with Pareto Optimality, covers the method and its four ranking rules, recomputes the paper's overall ranking of the CEC 2018 competition, and adds a small worked example in which a single indicator decides the outcome.

Assignments

Three programming assignments followed the course from a single hill climber to genetic algorithms. Each article describes what the submitted program did and what it reported, then reruns it with seeds and extends it.

  • AS1, hill climbing on 8-queens and the 8-puzzle: steepest descent with the attacking-pairs and misplaced-tiles heuristics. The submitted program's five 8-queens boards are replayed exactly, beside a rerun over 30,000 boards that reproduces Russell and Norvig's 14% and 94%, and an exhaustive count of all 181,440 puzzle states explains why the 8-puzzle almost always stalls.
  • AS2, a binary GA on De Jong's test functions: four of De Jong's functions with 8-bit and 16-bit encodings. Rerun over thirty seeds, every submitted value lies inside the range of its configuration, and the comparisons between encodings and between functions, which one run each could not settle, are measured; De Jong's multimodal F5 is added.
  • AS3, a genetic algorithm for bin packing: the submitted GA, which assigned each item a bin, packed with about four times the optimal number of bins. The article traces that gap to the encoding and objective the assignment specified, and a permutation encoding with a first-fit decoder reaches the optimum on the same instances.