Self-adaptation in evolutionary computation is a parameter control technique in which strategy parameters, most often mutation step sizes, are encoded inside each individual and evolve together with the solution they modify. Instead of a designer fixing the mutation strength in advance, variation and selection discover suitable values during the run.
The idea works because of an indirect link: an individual carrying well-tuned parameters tends to produce fitter offspring, so those parameters survive by hitchhiking on successful solutions. Self-adaptation is most closely associated with evolution strategies, where it was introduced in the 1970s, but it is also used in evolutionary programming, genetic algorithms and differential evolution.
How self-adaptation evolves strategy parameters
Self-adaptation works by mutating the strategy parameters first and then using the new values to mutate the object variables. In a classic evolution strategy, an individual is the pair (x, σ), where x is the candidate solution and σ is the mutation step size. Offspring receive a perturbed σ, and that perturbed σ sets the scale of the Gaussian noise added to x.
The usual rule is log-normal mutation: σ’ = σ · exp(τ · N(0,1)), with a learning rate τ proportional to 1/√n for an n-dimensional problem. The multiplicative form keeps σ positive and makes increases and decreases equally likely on a logarithmic scale. Selection then evaluates only x’, yet σ’ is inherited by the survivors, so fitness feedback reaches σ indirectly.
The order of operations matters. Mutating σ before x ensures that the fitness of the offspring reflects the new step size; reversing the order would break the link between the parameter and its consequences.
Variants of self-adaptive parameter encoding
Self-adaptive schemes differ in how many strategy parameters each individual carries, which trades flexibility against learning speed. The table compares the main encodings used in evolution strategies and related algorithms.
| Encoding | Parameters per individual | Search distribution | Typical use |
|---|---|---|---|
| Single step size | 1 | Isotropic Gaussian | Well-scaled, low-dimensional problems |
| Individual step sizes | n | Axis-parallel ellipsoid | Variables with different scales |
| Correlated mutation | n(n+1)/2 | Rotated ellipsoid | Strongly coupled variables |
| Self-adaptive rates in GAs | 1 or per gene | Bit-flip probability | Binary or discrete encodings |
| Self-adaptive DE (jDE) | 2 (F and CR) | Differential variation | Continuous black-box optimization |
Correlated mutation, which encodes rotation angles alongside step sizes, can in principle learn any Gaussian shape. In practice, its parameter count grows quadratically and learning becomes slow, which motivated derandomized methods such as CMA-ES.
Self-adaptation compared with other parameter control methods
Self-adaptation is one of three classic families of parameter control, which adjust settings during a run, as opposed to parameter tuning, which fixes them beforehand. The comparison below clarifies where it sits among its neighbors.
| Approach | How parameters change | Feedback source | Example |
|---|---|---|---|
| Parameter tuning | Fixed before the run | Offline experiments | Grid search over mutation rate |
| Deterministic control | Predefined schedule | None during the run | Linearly decreasing step size |
| Adaptive control | Explicit update rule | Population statistics | 1/5th success rule |
| Self-adaptation | Evolved with individuals | Selection on offspring | Log-normal σ mutation |
| Derandomized adaptation | Rule using selected steps | Evolution path | CMA-ES covariance update |
The key distinction is that adaptive control uses an explicit, designer-written rule, while self-adaptation leaves the adjustment to evolution itself. CMA-ES is often described as a successor that replaced self-adaptive σ with cumulative step-size adaptation, which is more reliable in large populations and high dimensions.
Configuring self-adaptation in practice
Successful self-adaptation depends on a few design choices that create enough selection pressure on the strategy parameters. The following decision table summarizes widely used recommendations.
| Setting | Recommended choice | Reason |
|---|---|---|
| Learning rate τ | About 1/√(2n) or 1/√n | Balances adaptation speed and noise |
| Offspring ratio | λ/μ around 5 to 7 | Gives selection enough choice |
| Selection scheme | Comma selection (μ,λ) | Lets poor step sizes be forgotten |
| Recombination of σ | Intermediate averaging | Reduces random fluctuation |
| Lower bound on σ | Small positive minimum | Prevents premature stagnation |
Comma selection is particularly important. With plus selection, a parent with an outdated step size can survive indefinitely, so its σ is never re-evaluated. Discarding parents forces every surviving parameter to prove itself in the current generation.
Limitations and common misconceptions
Self-adaptation has well-documented weaknesses that practitioners should anticipate.
- Short-term bias: selection favors step sizes that yield immediate gains, which can make σ shrink too fast and cause premature convergence.
- Small populations give weak and noisy signals, so σ performs a near-random walk.
- Noisy fitness decouples parameter quality from offspring success.
- Misconception: self-adaptation does not remove all parameters; it introduces meta-parameters such as τ.
- Misconception: it is not guaranteed to find globally optimal step sizes, only locally successful ones.
Many of these problems can be diagnosed from run logs of the step sizes. The table below links typical symptoms to their likely causes and remedies.
| Symptom | Likely cause | Remedy |
|---|---|---|
| σ collapses early | Short-term bias, plus selection | Use comma selection and a σ floor |
| σ fluctuates wildly | Population too small | Increase λ or recombine σ |
| No progress despite large σ | Noisy or rugged fitness | Resample evaluations or add restarts |
| Slow learning of scales | Too many strategy parameters | Reduce encoding or switch to CMA-ES |
Restart strategies are a common companion. When σ falls below a threshold without fitness improvement, the run is restarted with a larger population and fresh step sizes, which helps on multimodal fitness landscapes.
Despite these limits, theoretical analyses on the sphere model show that a properly configured self-adaptive strategy achieves linear convergence close to the rate of an optimally tuned step size.
The simple explanation
An evolutionary algorithm improves solutions by making small random changes and keeping the best ones. A key question is how big those changes should be. Too big, and good solutions get ruined. Too small, and progress is very slow.
With self-adaptation, each solution carries its own setting for how big its changes are. That setting also changes a little each generation. Solutions with a good setting produce better offspring, so they survive. The setting improves by itself, without a person adjusting it.
How it is used in practice
An engineering team optimizes the shape of a turbine blade described by 20 continuous design variables, evaluating each candidate in a fast surrogate model. Some variables are measured in millimeters and others in degrees, so a single fixed mutation strength performs poorly.
The team uses a (15,100) evolution strategy with individual step sizes per variable and log-normal self-adaptation. Early in the run, the step sizes stay large and the search explores broadly. As the population approaches a good region, the angular step sizes shrink faster than the length step sizes, reflecting their different sensitivity. After about 300 generations, the algorithm reaches a design with noticeably lower simulated pressure loss than the baseline, without any manual retuning of mutation parameters.