MAP-Elites
Also known as Multi-dimensional Archive of Phenotypic Elites
optimization evolutionary-planning
MAP-Elites looks for many good solutions that behave differently, not for one best solution (quality diversity). The user gives a few behaviour measures (descriptors), and the algorithm splits their range into a grid of cells; each cell keeps its cheapest solution so far, its elite. Each step picks a random elite, changes it by crossover with a second elite and by mutation (each with a set probability), and puts the child into the cell of its descriptor if that cell is empty or the child is strictly cheaper. The result is a map of the best cost found in each region of behaviour, for example plans that differ in length and risk. It gives no optimality guarantee for any cell; more evaluations fill and improve more cells.
Pseudocode
algorithm MAP-Elites(evaluate, grid, n₀, n)input: evaluate giving (cost, descriptor), a descriptor grid, n₀ random genomes, n evaluationsoutput: an archive with one elite per filled cellARCHIVE ← ∅ ▷ cell → (genome, cost)for i in 1, …, n doif i ≤ n₀ or ARCHIVE = ∅ thenx ← random-genome()elsex ← genome of random-elite(ARCHIVE)if chance(crossover-rate) thenx ← crossover(x, genome of random-elite(ARCHIVE))if chance(mutation-rate) thenx ← mutate(x)x ← repair(x)c, b ← evaluate(x)k ← cell(grid, b) ▷ clamps b into the edge cellsif ARCHIVE[k] = nil or c < cost of ARCHIVE[k] thenARCHIVE[k] ← (x, c)return ARCHIVEIn the crates
evolutionary-planningQuality diversity over a grid archive of behaviour descriptors that keeps the cheapest genome per cell.
Papers
- Illuminating search spaces by mapping elites Jean-Baptiste Mouret, Jeff Clune · 2015· arXiv preprint