← Back to CoursesEvolutionary Programming

Neuroanatomy Explorer

Drag to rotate · scroll to zoom · click regions to explore

View
Loading 3D model…

Click a region
to explore it

Memory Deck

Flip each card and rate whether you knew it. Your score is saved.

Term
Definition

Deck complete — score saved.

Match the Pairs

Match each term to its definition. Finish the board to earn your score.

All matched — score saved.

Concept Constellation

Every key idea in this course, mapped as an explorable 3D constellation. Drag to rotate, scroll to zoom, click a node.

Click a node to read its definition.

Evolution Strategies and Continuous Optimization

Manual: General · Subject: Evolutionary Programming

Learn how evolution strategies search real-valued spaces using self-adaptation and Gaussian mutation.

Evolution Strategies

Overview

Evolution strategies are evolutionary methods designed primarily for real-valued optimization. They often rely on Gaussian mutation and may adapt step sizes during the search process.

ES Terminology

Step size
Magnitude of mutation noise
Self-adaptation
Evolving strategy parameters along with solutions
μ\mu
Number of parents
λ\lambda
Number of offspring
(μ,λ)(\mu,\lambda)
Parents are selected only from offspring
(μ+λ)(\mu+\lambda)
Parents may survive into the next generation

Gaussian Mutation

A real-valued candidate x\mathbf{x} is often mutated as x′=x+σz\mathbf{x}' = \mathbf{x} + \sigma \mathbf{z}, where z\mathbf{z} is sampled from a standard normal distribution and σ\sigma controls the step size.

Basic ES Pseudocode

  1. 1

    Step 1: Initialize a population of real-valued vectors and step sizes.

  2. 2

    Step 2: Evaluate each vector using the objective function.

  3. 3

    Step 3: Select parents.

  4. 4

    Step 4: Mutate parents using Gaussian noise.

  5. 5

    Step 5: Optionally adapt step sizes.

  6. 6

    Step 6: Choose survivors by (μ,λ)(\mu,\lambda) or (μ+λ)(\mu+\lambda) selection.

  7. 7

    Step 7: Repeat.

GA vs ES

Genetic Algorithm

  • Often uses crossover heavily
  • Common for discrete encodings
  • Can also support real vectors

Evolution Strategy

  • Usually emphasizes mutation over crossover
  • Specialized for continuous parameters
  • Often includes self-adaptation

What distribution is commonly used for mutation in evolution strategies?

What does the step size σ\sigma control?

Which selection scheme allows parents to survive into the next generation?

💡

Intuition

Small step sizes encourage fine-tuning; large step sizes encourage broader exploration.

Self-Adaptation Idea

In self-adaptive ES, strategy parameters such as σ\sigma are encoded in the individual and evolved along with solution variables, allowing the algorithm to adjust its own search behavior.