(1+1)-ES
Also known as 1/5th success rule, One-plus-one evolution strategy
optimization evolutionary-planning
The (1+1)-ES minimises a function of real variables with one parent and one child per step. The child is the parent plus Gaussian noise of step size σ. It replaces the parent if it is not worse. The 1/5th success rule controls σ: after a success σ grows by exp(1/3), after a failure it shrinks by exp(-1/12), so σ stays constant when exactly one child in five succeeds. It is simple and converges fast on smooth, unimodal functions; on multimodal functions it can stop in a local minimum.
Pseudocode
algorithm (1+1)-ES(x₀, σ₀, f)input: start point x₀, initial step size σ₀, cost function foutput: the best point found when the budget endsx ← x₀σ ← σ₀repeatx′ ← x + σ · N(0, I) ▷ one Gaussian childif f(x′) ≤ f(x) then ▷ success: keep the childx ← x′σ ← σ · exp(1/3)elseσ ← max(σ · exp(−1/12), σ-min) ▷ stationary at a success rate of 1/5until budget exhaustedreturn xIn the crates
evolutionary-planningThe (1+1)-ES with the 1/5th success rule for step-size control.
Papers
- Evolution strategies – A comprehensive introduction Hans-Georg Beyer, Hans-Paul Schwefel · 2002· Natural Computing