Self-adaptation · evolutionary computation

On this page 7

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.

EncodingParameters per individualSearch distributionTypical use
Single step size1Isotropic GaussianWell-scaled, low-dimensional problems
Individual step sizesnAxis-parallel ellipsoidVariables with different scales
Correlated mutationn(n+1)/2Rotated ellipsoidStrongly coupled variables
Self-adaptive rates in GAs1 or per geneBit-flip probabilityBinary or discrete encodings
Self-adaptive DE (jDE)2 (F and CR)Differential variationContinuous black-box optimization
Common self-adaptive encodings

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.

ApproachHow parameters changeFeedback sourceExample
Parameter tuningFixed before the runOffline experimentsGrid search over mutation rate
Deterministic controlPredefined scheduleNone during the runLinearly decreasing step size
Adaptive controlExplicit update rulePopulation statistics1/5th success rule
Self-adaptationEvolved with individualsSelection on offspringLog-normal σ mutation
Derandomized adaptationRule using selected stepsEvolution pathCMA-ES covariance update
Parameter setting approaches in evolutionary algorithms

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.

SettingRecommended choiceReason
Learning rate τAbout 1/√(2n) or 1/√nBalances adaptation speed and noise
Offspring ratioλ/μ around 5 to 7Gives selection enough choice
Selection schemeComma selection (μ,λ)Lets poor step sizes be forgotten
Recombination of σIntermediate averagingReduces random fluctuation
Lower bound on σSmall positive minimumPrevents premature stagnation
Practical configuration choices

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.

SymptomLikely causeRemedy
σ collapses earlyShort-term bias, plus selectionUse comma selection and a σ floor
σ fluctuates wildlyPopulation too smallIncrease λ or recombine σ
No progress despite large σNoisy or rugged fitnessResample evaluations or add restarts
Slow learning of scalesToo many strategy parametersReduce encoding or switch to CMA-ES
Diagnosing self-adaptation problems

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.