Evolution Strategies
Evolution Strategies (ES)
- Year introduced
- 1973
- Original authors
- Hans-Georg Beyer; Hans-Paul Schwefel
- Source of inspiration
- Natural evolution with self-adaptation of the mutation size
- Search space
- Continuous
- Optimization types
- Hyperparameter Optimization, Weight Optimization, Learning Rate Optimization
- Applied research in the repository
- 0
Overview
An individual is encoded as a real vector together with strategy parameters (σ). λ offspring are produced by Gaussian mutation and the best μ are selected: either from the offspring only (μ,λ) or from the parents and offspring together (μ+λ).
Source of inspiration and mechanism

Rechenberg and Schwefel developed evolution strategies in Berlin in the 1960s to optimize engineering designs experimentally; they stood out for self-adapting the mutation step size.
Initialization
Random parents and an initial σ of about 10% of the range.
Update mechanism
Generations; mutation is the core, and crossover is usually intermediate.
Exploration
A large σ and the (μ,λ) selection, which forgets the parents.
Exploitation
σ shrinks automatically near the optimum.
Mathematical description
The reference recorded here (Beyer & Schwefel 2002) is a comprehensive introduction; Rechenberg's original works (1973) have no DOI, so the verification status of the origin claim is "partially verified".
Self-adaptive mutation
\sigma_i' = \sigma_i\, e^{\tau' N(0,1) + \tau N_i(0,1)},\quad x_i' = x_i + \sigma_i' N_i(0,1)τ ∝ 1/√(2√n), τ' ∝ 1/√(2n).
The 1/5 success rule
\sigma \leftarrow \begin{cases}\sigma / c & p_s > 1/5\\ \sigma\, c & p_s < 1/5\end{cases},\ c\approx 0.817Computational complexity: O(T\cdot\lambda\cdot (D + C_f))
Pseudocode
Initialize mu parents (x, sigma)
for t = 1..T:
create lambda offspring: recombine parents, mutate sigma, then mutate x
evaluate offspring
select mu best from offspring (comma) or parents+offspring (plus)
return bestPython implementation
This code was actually run while building the lab (NumPy) on the sphere function to make sure it works; this is a run test, not a performance claim.
import numpy as np
def es(f, lb, ub, dim, mu=10, lam=70, iters=200, seed=0):
"""(mu, lambda)-Evolution Strategy with self-adaptive step sizes (log-normal rule)."""
rng = np.random.default_rng(seed)
tau, tau0 = 1 / np.sqrt(2 * np.sqrt(dim)), 1 / np.sqrt(2 * dim)
X = rng.uniform(lb, ub, (mu, dim)); S = np.full((mu, dim), 0.1 * (ub - lb))
F = np.apply_along_axis(f, 1, X)
best, bval = X[F.argmin()].copy(), F.min(); curve = []
for _ in range(iters):
p = rng.integers(mu, size=lam)
# intermediate recombination of two parents
q = rng.integers(mu, size=lam)
xs = 0.5 * (X[p] + X[q]); ss = 0.5 * (S[p] + S[q])
ss = ss * np.exp(tau0 * rng.normal(size=(lam, 1)) + tau * rng.normal(size=(lam, dim)))
xs = np.clip(xs + ss * rng.normal(size=(lam, dim)), lb, ub)
Fs = np.apply_along_axis(f, 1, xs)
idx = np.argsort(Fs)[:mu] # comma selection: offspring only
X, S, F = xs[idx], ss[idx], Fs[idx]
if F[0] < bval:
bval, best = F[0], X[0].copy()
curve.append(bval)
return best, bval, curve
if __name__ == "__main__":
sphere = lambda z: float(np.sum(z ** 2))
best, val, curve = es(sphere, -100, 100, dim=10)
print("best fitness:", val)
Coefficients
| Parameter | Symbol | Typical value | Range | Description |
|---|---|---|---|---|
| Parents | μ | 10 | ||
| Offspring | λ | 70 | λ ≈ 7μ | |
| Learning rates | τ, τ' | Depends on D |
Advantages
- Strong in continuous optimization
- A theoretical basis for convergence analysis
- Invariant to coordinate rotation in advanced versions.
Limitations
- Not directly suited to combinatorial problems
- The simple version does not learn correlations between variables (CMA-ES handles them).
Use in artificial intelligence
Domains documented in the card: Machine learning, deep learning, hyperparameter tuning
Continuous optimization, parameter tuning, reinforcement learning (ES as an alternative to policy gradients).
Hybridization potential
These are partnerships suggested theoretically in the card; any resulting design is presented as a "proposed hybrid method" until its results are compared with the literature.
Applied research from the repository
An aspect that did not appear in the current search results within the repository. This does not mean there is no published research outside it.
Related lessons
Original reference
Hans-Georg Beyer; Hans-Paul Schwefel (1973). Evolution strategies – A comprehensive introduction. Natural Computing, Springer Science and Business Media LLC.
Partially verified DOI: 10.1023/A:1015059928466
The recorded reference is a verified comprehensive introduction (Beyer & Schwefel 2002); Rechenberg's original work (1973) has no DOI in Crossref, so the year status is "needs review".
Additional original reference: Evolution strategies – A comprehensive introduction
