Evolution strategies (ES) are a family of black-box optimization algorithms in evolutionary computation that improve a vector of real-valued parameters by repeatedly sampling mutated candidates from a probability distribution, evaluating them and moving the distribution toward the best ones. Unlike classic genetic algorithms, they rely mainly on Gaussian mutation and on adapting the mutation step size during the run, rather than on crossover of binary strings.
The approach was developed in the 1960s and 1970s at the Technical University of Berlin for engineering design problems, such as shaping nozzles and plates through physical experiments. Today evolution strategies, and especially their most advanced form CMA-ES, are standard tools for continuous optimization without gradients, and scaled variants are also used to train neural network policies in reinforcement learning.
How an evolution strategy searches
An evolution strategy searches by keeping a search distribution, usually a multivariate normal distribution with a mean vector and a covariance or step size, and updating it from the results of each generation. One iteration follows a fixed cycle.
- Sample offspring: draw λ candidate vectors by adding Gaussian noise to the current mean or to selected parents.
- Evaluate fitness: compute the objective value of each candidate, treating the function as a black box.
- Select parents: keep the best μ candidates according to their ranking, not their absolute values.
- Recombine: combine the selected vectors, often as a weighted average, to form the new mean.
- Adapt the step size: increase or decrease mutation strength depending on recent progress.
Because selection uses only the rank order of fitness values, evolution strategies are invariant to monotonic transformations of the objective. This makes them robust to noise, plateaus and badly scaled functions, where gradient methods often fail or require careful tuning.
Notation and main variants
Evolution strategies are described with the (μ/ρ +, λ) notation, where μ is the number of parents, ρ the number of parents combined in recombination, and λ the number of offspring per generation. The separator between μ and λ defines how survivors are chosen.
| Scheme | Selection rule | Typical behavior |
|---|---|---|
| (1+1)-ES | Child replaces parent only if better | Simple local search; uses the one-fifth success rule |
| (μ+λ)-ES | Best μ chosen from parents and offspring | Elitist; stable but can stagnate |
| (μ,λ)-ES | Best μ chosen from offspring only | Forgets old parents; supports self-adaptation |
| (μ/μ_w,λ)-ES | Weighted recombination of best μ offspring | Basis of modern CMA-ES |
The comma selection in (μ,λ) schemes deliberately discards parents, which lets the algorithm escape outdated step sizes and track moving optima. A common setting is λ roughly seven times μ, although CMA-ES uses a default population that grows only logarithmically with problem dimension.
Step-size control and self-adaptation
Step-size control decides how far offspring move from the mean, and it is the feature that most distinguishes evolution strategies from other evolutionary algorithms. A step size that is too large wastes evaluations; one that is too small causes slow progress or premature stagnation.
Three main mechanisms have been developed, and the following table compares them.
| Mechanism | How it works | Strength | Limitation |
|---|---|---|---|
| One-fifth success rule | Enlarge steps if over 20% of mutations succeed, shrink otherwise | Very simple | Only suited to (1+1)-ES |
| Self-adaptation | Step sizes are part of each genome and mutate too | No external rule needed | Needs larger populations |
| Cumulative step-size adaptation | Compares the evolution path length with its expected random length | Fast and reliable | More complex to implement |
| Covariance matrix adaptation | Learns correlations and scaling between variables | Handles rotated, ill-conditioned problems | Quadratic memory in dimension |
Covariance matrix adaptation effectively learns a second-order model of the landscape, similar in spirit to an inverse Hessian. This is why CMA-ES is widely regarded as a strong default for problems with roughly up to a few hundred variables.
How evolution strategies compare with related methods
Evolution strategies differ from other optimizers mainly in representation, variation operators and the use of gradients. The table places them among their closest neighbors in evolutionary computation and machine learning.
| Method | Typical representation | Main variation operator | Uses gradients |
|---|---|---|---|
| Evolution strategies | Real-valued vectors | Gaussian mutation with adaptive steps | No |
| Genetic algorithm | Bit strings or discrete genes | Crossover plus mutation | No |
| Differential evolution | Real-valued vectors | Scaled vector differences | No |
| Particle swarm optimization | Real-valued positions | Velocity updates toward best positions | No |
| Gradient descent | Real-valued parameters | Step along the negative gradient | Yes |
A useful modern interpretation treats an evolution strategy as stochastic gradient estimation on a smoothed objective. Natural evolution strategies make this explicit by following the natural gradient of expected fitness with respect to the distribution parameters.
Strengths, limits and practical use
Evolution strategies work best on continuous, nonconvex and noisy problems where gradients are unavailable or unreliable. Typical applications include engineering design, controller tuning, hyperparameter optimization and direct policy search in reinforcement learning.
- Embarrassingly parallel evaluation: each offspring can be evaluated on a separate worker, so wall-clock time scales well with hardware.
- Few tuning parameters: CMA-ES needs mainly an initial mean and an initial step size.
- Sample cost: they usually need more function evaluations than gradient methods on smooth problems.
- Dimensionality limits: full covariance adaptation becomes expensive beyond thousands of variables, so diagonal or low-rank variants are used.
- Local focus: a single run can converge to a local optimum; restart strategies with growing populations improve global search.
A common mistake is an initial step size that does not match the variable ranges. Practitioners usually rescale variables to similar units and set the initial step size to roughly a quarter to a third of the search interval.
The simple explanation
An evolution strategy finds good settings by trial and improvement. It starts with a guess. It creates many slightly changed copies of that guess. It tests each copy and keeps the best ones. Then it repeats the process.
The clever part is the size of the changes. When progress is easy, the method takes bigger jumps. When it gets close to a good answer, it takes smaller, more careful steps. Imagine searching for the warmest spot in a dark room. You take long strides at first and short ones as the air gets warmer.
How it is used in practice
An engineering team designing a wind turbine blade wants to minimize mass while keeping stiffness above a required limit. Each design is described by 24 continuous variables, such as chord lengths and twist angles, and each evaluation runs a structural simulation that takes about two minutes. The simulation gives no gradients and its output is slightly noisy.
The team runs CMA-ES with a population of 14 candidates per generation, evaluating all of them in parallel on a compute cluster. After roughly 300 generations, about 4,200 simulations in total, the algorithm finds a design that is about six percent lighter than the hand-tuned baseline while meeting the stiffness constraint. Two restarts with larger populations confirm that the result is not a poor local optimum.