Selection · evolutionary computation

Also known as: parent selection · survivor selection

On this page 7

Selection in evolutionary computation is the operator that decides which candidate solutions reproduce and which survive into the next generation, based on their fitness. It is the only step in an evolutionary algorithm that uses the fitness function directly, so it supplies the directional force of the search, while variation operators such as crossover and mutation supply novelty.

Selection appears in two places in the loop: parent selection chooses individuals for recombination, and survivor selection decides which individuals from parents and offspring form the next population. The balance between these two steps determines selection pressure, the single most important lever for trading exploration against exploitation.

How selection drives the evolutionary loop

Selection works by biasing reproduction toward fitter individuals without making it fully deterministic. A typical generation evaluates every individual, selects parents, applies crossover and mutation to create offspring, evaluates the offspring and then applies survivor selection to restore the population size.

The bias must be strong enough to make progress yet weak enough to preserve genetic diversity. If only the single best individual reproduces, the population collapses onto one region of the fitness landscape. If every individual reproduces equally, the algorithm degenerates into random search with extra steps.

Most selection schemes are stochastic, so weaker individuals keep a nonzero chance of contributing material. This matters because a currently mediocre solution may carry building blocks that become valuable after recombination.

Main parent selection methods

Parent selection methods differ mainly in how they convert fitness into reproduction probability. Some use raw fitness values, while others use only the ordering of individuals, which makes them insensitive to scaling.

MethodMechanismKey property
Fitness proportionate selectionProbability equals fitness divided by total fitnessSensitive to fitness scaling and outliers
Stochastic universal samplingEvenly spaced pointers on one roulette wheelLower sampling variance than roulette
Tournament selectionBest of k randomly drawn individuals winsPressure tuned by tournament size k
Linear rankingProbability depends on rank, not raw valueStable pressure regardless of scale
Truncation selectionOnly the top fraction may reproduceVery strong, deterministic pressure
Boltzmann selectionExponential weighting with a temperaturePressure can be scheduled over time
Common parent selection schemes

Tournament selection dominates modern practice because it needs no global fitness sum, works with minimization and negative values, parallelizes easily and exposes pressure through one integer. A binary tournament (k = 2) is a common default for genetic algorithms.

Fitness proportionate selection still appears in textbooks and in the classical analysis behind the schema theorem, but practitioners usually pair it with fitness scaling or windowing to keep it usable. Without scaling, its pressure is high early in a run, when fitness differences are large, and nearly vanishes late in the run, when all individuals score similarly. Rank-based methods avoid this drift because the probability of the best individual stays constant across generations, which makes behavior easier to predict and tune.

Selection can also be applied with replacement or without replacement. Sampling with replacement allows one strong individual to be chosen many times in one generation, while sampling without replacement spreads reproduction more evenly and lowers the variance of offspring counts. This choice has a measurable effect in small populations, where a few unlucky draws can remove useful material.

Survivor selection and replacement strategies

Survivor selection decides which individuals occupy the fixed population slots after offspring are created. Evolution strategies made this step explicit with their standard notation, where mu is the number of parents and lambda the number of offspring.

StrategyWho competes for survivalTypical effect
Generational replacementOffspring only, parents discardedHigh turnover, risk of losing the best
(mu, lambda) selectionBest mu of lambda offspringForgets old solutions, suits noisy problems
(mu + lambda) selectionBest mu of parents plus offspringElitist, fast but may stagnate
Steady-state replacementOne or two offspring replace weak membersGradual change, quick feedback
ElitismTop few copied unchangedGuarantees best fitness never drops
Survivor selection strategies

Elitism is cheap insurance in most genetic algorithms, usually preserving one to a few percent of the population. In (mu, lambda) evolution strategies, the deliberate absence of elitism helps self-adaptation of step sizes, because parameters that only looked good by chance cannot persist indefinitely.

Tuning selection pressure

Selection pressure describes how strongly selection favors the best individuals, and it is often measured by takeover time, the number of generations selection alone needs to fill the population with copies of the best individual. Shorter takeover time means stronger pressure.

The table below gives practical guidance for setting pressure according to the problem.

SituationRecommended settingReason
Smooth, unimodal landscapeHigh pressure, larger tournamentsFast convergence with little risk
Rugged, multimodal landscapeLow pressure, k = 2 or rankingKeeps diversity across peaks
Noisy fitness evaluationNon-elitist or re-evaluated survivorsAvoids preserving lucky outliers
Several objectivesPareto-based selection as in NSGA-IIRanks by dominance, not one score
Many distinct optima neededNiching or quality diversityRewards spread, not only fitness
Matching selection pressure to the problem

Risks and common mistakes

The most frequent failure is premature convergence, where excessive pressure removes diversity before the global optimum is found. Symptoms include a flat best-fitness curve combined with almost identical genotypes across the population.

  • Using roulette wheel selection on raw fitness when values differ by orders of magnitude, which lets one super-individual dominate.
  • Combining strong elitism with large tournaments, which stacks pressure twice.
  • Ignoring genetic drift in small populations, where random sampling alone erodes diversity.
  • Evaluating noisy fitness once and treating it as exact, which rewards luck instead of quality.

Weak pressure has the opposite cost: slow convergence and wasted evaluations, which matters most when each fitness evaluation runs an expensive simulation. Monitoring diversity metrics alongside fitness is the most reliable way to detect either problem.

Stripped to the essentials

Selection is how an evolutionary algorithm decides who gets to have children. Better solutions get more chances. Weaker ones get fewer chances, but usually not zero.

Think of a cooking contest held over many rounds. The best recipes inspire the next round, and a few odd ones are kept in case they hide a good idea. If judges keep only the single winner, every dish soon tastes the same. Good selection keeps progress and variety in balance.

Where it is applied

An engineering team uses a genetic algorithm to design a lightweight bracket for an aircraft cabin. Each candidate shape is scored by a finite element simulation that checks stiffness and mass, and every evaluation takes about 40 seconds. The population holds 100 designs, and parents are chosen by binary tournament selection with two elite designs copied each generation.

Early runs with tournaments of size seven converged within 30 generations on a heavy, conventional shape. After reducing the tournament size to two, the population kept several distinct topologies alive longer, and after about 150 generations the algorithm found a design roughly 18 percent lighter that still met the stiffness requirement. The change cost more evaluations, but it avoided premature convergence on a poor design.