Steady-state genetic algorithm

On this page 7

A steady-state genetic algorithm is a variant of the genetic algorithm in which only one or two offspring are created per iteration and inserted into the population by replacing existing members, instead of replacing the entire population each generation. In evolutionary computation, this incremental scheme produces overlapping generations, where parents and children compete directly, and it typically converges faster but with a higher risk of premature convergence.

The approach is closely associated with the GENITOR system described by Darrell Whitley in the late 1980s and with Gilbert Syswerda’s analysis of steady-state reproduction. Today it remains a standard option in genetic algorithm libraries and a natural fit for asynchronous parallel evaluation.

How a steady-state genetic algorithm runs

A steady-state genetic algorithm runs as a loop of small replacement steps rather than a sequence of discrete generations. Each step selects parents, applies crossover and mutation, evaluates the offspring and decides which individual leaves the population.

  1. Select parents from the current population, usually by tournament selection or rank-based selection.
  2. Create one or two offspring with crossover and mutation.
  3. Evaluate the fitness of each offspring with the fitness function.
  4. Choose a victim to remove according to the replacement strategy.
  5. Insert the offspring if the replacement rule accepts it, then repeat until a stopping criterion is met.

Because new individuals become available as parents immediately after insertion, good genetic material spreads faster than in a generational algorithm. Kenneth De Jong described this property with the generation gap, the fraction of the population replaced per cycle: a generational algorithm has a gap of 1, while a steady-state algorithm has a gap of 1/N or 2/N for a population of size N.

Replacement strategies and their effects

The replacement strategy is the defining design choice of a steady-state genetic algorithm, because it determines how quickly the population loses diversity. The table below compares the most common rules.

StrategyIndividual removedSelection pressureMain risk
Replace worstLowest-fitness memberVery highRapid loss of diversity
Replace randomUniformly chosen memberModerateLoss of good solutions
Replace oldestLongest-surviving memberModerateBest solution may be lost
Inverse tournamentLoser of a small tournamentTunableRequires tuning tournament size
Replace parentOne of the offspring’s parentsLow to moderateSlower progress
Crowding replacementMost similar memberLowExtra distance computations
Common replacement strategies

Replace worst is implicitly elitist, since the best individual can never be removed, and it was the rule used in GENITOR. Combined with fitness-based parent selection, it creates very strong selection pressure, which explains both the speed and the fragility of many steady-state runs. Crowding and parent replacement act as niching mechanisms and help preserve several optima on a multimodal fitness landscape.

Steady-state versus generational genetic algorithms

The steady-state and generational models differ mainly in when offspring become eligible as parents and in how replacement is controlled. Analyses of takeover time, such as those by Goldberg and Deb, showed that steady-state replacement drives the best genotype to dominate the population considerably faster than generational replacement under comparable selection.

PropertyGenerational GASteady-state GA
Individuals replaced per stepWhole populationOne or two
Generation overlapNone, unless elitism is usedFull overlap
Use of new offspringNext generation onlyImmediately
ElitismAdded explicitlyOften implicit
Selection pressureLowerHigher
Parallel evaluationSynchronous batchesNatural asynchronous fit
Memory per stepTwo full populationsOne population
Generational and steady-state models compared

Neither model is universally superior. Empirical comparisons depend on the problem, operators and population size, and a generational algorithm with elitism and a matching selection scheme can behave much like a steady-state one. The practical difference lies in control of diversity and in how evaluations are scheduled.

Where steady-state reproduction is most useful

Steady-state reproduction is most useful when fitness evaluations are expensive or arrive at irregular times. A master process can send individuals to worker machines and insert results as each one finishes, so no processor waits for the slowest evaluation in a batch.

SituationRecommended choiceReason
Simulations with variable run timesAsynchronous steady-stateKeeps all workers busy
Interactive evolutionary computationSteady-state with small populationEach user judgment updates the population
Highly multimodal problemSteady-state with crowdingPreserves several niches
Cheap evaluations, deceptive landscapeGenerational with elitismLower pressure reduces premature convergence
Duplicate-prone encodingsSteady-state with duplicate rejectionPrevents clones from filling the population
Choosing the steady-state model

The model also appears inside related methods. Many memetic algorithms, neuroevolution systems such as rtNEAT and several genetic programming implementations use steady-state insertion because continuous replacement suits online learning and long-running searches.

Limitations and common mistakes

The main limitation is premature convergence caused by high selection pressure. With replace-worst and a small population, a single strong individual and its near copies can occupy the population within a few hundred steps, which stalls exploration long before the optimum is found.

  • Ignoring duplicates: inserting identical offspring quickly reduces effective population size; rejecting exact duplicates is a cheap safeguard.
  • Comparing budgets incorrectly: results should be compared per fitness evaluation, not per iteration, since one steady-state iteration costs only one or two evaluations.
  • Too small a population: steady-state runs usually need a larger population than intuition suggests to offset their stronger pressure.
  • Reevaluating noisy fitness rarely: in noisy problems a lucky individual may survive indefinitely unless its fitness is periodically reassessed.

A further subtlety concerns theoretical analysis. Much of the classical theory, including the schema theorem, was formulated for generational models, so its predictions transfer to steady-state runs only approximately. Practitioners therefore rely on empirical tuning of population size, tournament size and replacement rule, and they monitor population diversity metrics such as mean pairwise distance or the number of distinct genotypes. When diversity falls below a chosen threshold, common remedies include partial restarts, raising the mutation rate temporarily or switching to a gentler replacement rule such as crowding.

A non-technical view

Picture a sports team that never replaces its whole roster at once. Each week, it signs one new player and lets one player go. The team changes slowly but constantly.

A steady-state genetic algorithm works the same way. It keeps a group of possible solutions. It creates one new solution at a time and swaps out a weaker one. Improvements are used right away, which speeds up the search. The danger is that the group can become too similar too quickly.

A concrete example

An engineering team optimizes the shape of a cooling duct using computational fluid dynamics simulations that take between 20 and 90 minutes each. The team runs a steady-state genetic algorithm with a population of 60 designs on a cluster of 16 workers. Whenever a simulation finishes, the master process inserts the result, removes the loser of a three-way inverse tournament and sends a new offspring to the free worker.

Because no worker waits for a full generation, cluster utilization stays above 95 percent. After about 1,500 evaluations, the best design reduces pressure loss by roughly 12 percent compared with the baseline, and duplicate rejection keeps the population diverse enough to reveal two distinct high-performing duct shapes.