Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

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 statistics

In the crates

Lineage

Comes from

combines Genetic Algorithm

combines RMHC

combines Rosenbrock Method

Led to

Nothing on this site.

Papers

  1. Applying Evolutionary Algorithms Successfully: A Guide Gained from Real-world Applications Wilfried Jakob · 2021· arXiv preprint survey arXiv 2107.11300
  2. 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 extends doi 10.1007/978-3-540-24854-5_81