Memetic Algorithm
Also known as Lamarckian evolution, Baldwinian evolution
optimization evolutionary-planning
A memetic algorithm is an evolutionary algorithm that also improves some offspring by local search. Here a genetic algorithm or the GLEAM diffusion model breeds each child, and with some probability (the frequency) a local searcher improves it within an evaluation cap (the intensity): random-mutation hill climbing for any genome, or Rosenbrock's method for real vectors. In Lamarckian mode the improved genome replaces the child; in Baldwinian mode the child keeps its genome and takes only the better cost. Frequency and intensity are fixed, or adapted as in HyGLEAM: each is a small set of levels, and the probabilities move towards the levels that gave the largest relative gain per evaluation. Local search often speeds up convergence on smooth problems, but the hybrid is still a heuristic with no optimality guarantee.
Pseudocode
algorithm Memetic(x, c, local, lamarckian)input: a child genome x with cost c, a local searcher local, a flag lamarckianoutput: the child to put into the populationf ← draw(FREQUENCY) ▷ a level: probability of local searchi ← draw(INTENSITY) ▷ a level: evaluation capif random() ≥ value(f) thenreturn (x, c)x′, c′, spent ← improve(local, x, c, value(i)) ▷ hill climbing or Rosenbrockbenefit ← max(0, (c − c′) / |c|) / spent ▷ relative gain per evaluationrecord(FREQUENCY, f, benefit)record(INTENSITY, i, benefit)if lamarckian thenreturn (x′, c′)return (x, c′) ▷ Baldwinian: keep the genome, take the costprocedure record(LEVELS, l, benefit)add benefit to the window statistics of level lif the window is full thenfor each level u used in the window dop[u] ← ½ · p[u] + ½ · used-mass · mean-benefit[u] / ∑ mean-benefitraise each p[u] to at least floor / |LEVELS|, then normalise pclear the window statisticsIn the crates
evolutionary-planningLocal searchers (hill climbing, Rosenbrock) applied to GA or diffusion-model offspring, Lamarckian or Baldwinian, with adaptive frequency and intensity.
Lineage
Led to
Nothing on this site.
Papers
- Applying Evolutionary Algorithms Successfully: A Guide Gained from Real-world Applications Wilfried Jakob · 2021· arXiv preprint
- Towards a Generally Applicable Self-Adapting Hybridization of Evolutionary Algorithms Wilfried Jakob, Christian Blume, Georg Bretthauer · 2004· Genetic and Evolutionary Computation – GECCO 2004, LNCS 3102