Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

GLEAM Diffusion Model

Also known as GLEAM, Ring diffusion model

optimization evolutionary-planning

The diffusion model of GLEAM is a genetic algorithm with a structured population. The individuals sit on a ring, and each one mates only inside its deme: itself and a few neighbours on each side, typically 7 to 11 in all. In each generation every individual in turn picks a partner from its deme by linear ranking, produces a few children by crossover and mutation, and keeps the best child. That child replaces the individual if an acceptance rule allows it; the default, local elitist, asks the child to beat the worst of the deme, and also the individual itself when that individual is the best of the deme. Because demes overlap, good genes spread slowly around the ring, niches can form, and the search converges early less often than with one freely mixing population. Two stagnation counters (no deme best improved, no child accepted) end the run; it is a heuristic with no optimality guarantee.

Pseudocode

algorithm Diffusion(N, r, k, f)input: ring size N, deme radius r, children per mating k, cost function foutput: the cheapest individual foundP[0 … N−1] ← N random individuals, each evaluated by frepeatfor each i in 0, …, N − 1 do                  ▷ ring order, updated in placeD ← {P[(i ± d) mod N] : d ∈ 1, …, r}         ▷ the neighbours of iq ← linear-ranking(D)c ← the cheapest of k children of P[i] and q ▷ crossover at a rate, mutation, repairw, b ← the worst and best cost in D ∪ {P[i]}if f(c) < w and (f(P[i]) > b or f(c) < f(P[i])) then   ▷ local elitistP[i] ← cuntil budget exhausted or stagnated              ▷ no deme best improved, or no acceptancereturn the cheapest individual evaluated

In the crates

  • evolutionary-planning

    GLEAM's diffusion model: a structured population on a ring where every individual mates only within its deme of neighbours, counteracting premature convergence.

    Diffusion

Lineage

Comes from

builds on Genetic Algorithm

Led to

HyGLEAM combines it

Papers

  1. Applying Evolutionary Algorithms Successfully: A Guide Gained from Real-world Applications Wilfried Jakob · 2021 survey arXiv 2107.11300