Interactive evolutionary computation

Also known as: IEC · interactive genetic algorithm

On this page 7

Interactive evolutionary computation (IEC) is a family of evolutionary algorithms in which a human user acts as the fitness function, rating or selecting candidate solutions instead of a formula that scores them automatically. Within evolutionary computation, IEC is the standard approach for problems whose quality is subjective, aesthetic or hard to formalize, such as visual design, music, sound synthesis and personalized products.

The most common form is the interactive genetic algorithm, but the same principle applies to evolution strategies, genetic programming and differential evolution. The algorithm handles variation and bookkeeping, while the person supplies the judgment that no objective function can capture.

How the human-in-the-loop evolutionary cycle works

An IEC system runs the familiar generate, evaluate, select and vary cycle, but pauses at the evaluation step to present candidates to a person. The system decodes each genotype into a visible or audible phenotype, such as an image, a melody or a layout, and displays a small population, usually between 6 and 20 individuals per generation.

The user then rates, ranks or simply picks favorites. These judgments become the fitness values that drive selection, after which crossover and mutation create the next generation. The table below breaks the cycle into its stages.

StageWho actsWhat happens
InitializationAlgorithmRandom or seeded genotypes are created
RenderingAlgorithmGenotypes are mapped to images, sounds or designs
EvaluationHuman userCandidates are rated, ranked or selected
SelectionAlgorithmPreferred candidates become parents
VariationAlgorithmCrossover and mutation produce offspring
TerminationHuman userThe user stops when satisfied or tired
Stages of one IEC generation

Evaluation modes and interface design

The way the person expresses preference strongly shapes search speed and user fatigue. Absolute scores on a five-point or ten-point scale carry the most information but are slow and inconsistent over time, because people drift in how they use a scale. Simple selection of one or a few favorites is fast and reliable but gives the algorithm less information per click.

The following table compares the main evaluation modes used in IEC interfaces.

ModeInformation per candidateCognitive loadTypical use
Numeric ratingHighHighResearch studies, small populations
Pairwise comparisonMediumLow per decisionPreference learning, tournament selection
Pick the bestLowVery lowArt and image breeding tools
RankingMedium to highMediumDesign exploration with 6 to 10 items
Implicit signalsVariableNoneViewing time or clicks in web applications
Evaluation modes in interactive evolutionary computation

Good interfaces show candidates side by side at the same scale, allow the user to lock or protect a favorite through elitism, and let the user edit a candidate directly before it re-enters the population.

User fatigue and how to reduce it

User fatigue is the central limitation of IEC. A person can reliably evaluate only a few hundred candidates in a session, so a run typically lasts 10 to 30 generations, far fewer than the thousands of generations common in automated evolutionary search. As fatigue grows, ratings become noisy and the search effectively stalls.

Researchers have developed several techniques to extract more progress from fewer human judgments. The most effective is a surrogate fitness model, a learned predictor that estimates the user’s preferences and pre-screens offspring so that only promising candidates are shown.

TechniqueHow it helpsTrade-off
Surrogate fitness modelPredicts ratings and filters weak offspringCan mislead if trained on few ratings
Small populationsFewer items to judge per generationLower diversity and risk of premature convergence
Discrete rating scalesFaster and more consistent decisionsCoarser fitness information
Partial evaluationUser rates only a subset of candidatesUnrated candidates need estimated fitness
Direct manipulationUser edits a candidate toward the goalMixes evolution with manual design
Techniques that reduce user fatigue

How IEC relates to other evolutionary methods

IEC is defined by who supplies fitness, not by a particular representation or operator set, so it can be combined with almost any evolutionary algorithm. Automated algorithms such as CMA-ES or NSGA-II rely on a computable objective, while IEC replaces or supplements that objective with human preference.

IEC also shares ideas with novelty search and quality diversity methods, because users often reward surprising variety rather than a single optimum. In hybrid systems, a coded fitness function handles measurable constraints such as size or cost, while the user judges style and appeal, which turns the task into a form of multi-objective search.

Human evaluation also changes the statistical behavior of the search. Ratings are noisy and nonstationary, because preferences shift as the user sees more options and refines the goal. Algorithms that assume a fixed fitness landscape can therefore misread progress, and designers often keep a small archive of earlier favorites so that the user can return to a direction that was abandoned too early.

Another difference concerns population size and selection pressure. Because only a handful of candidates fit on a screen, IEC works with populations far smaller than automated runs, so strong selection quickly erodes diversity. Moderate mutation rates and occasional random immigrants help keep the user supplied with genuinely new options rather than near-copies of one design.

Typical applications and practical guidance

IEC is most valuable when quality is easy to recognize but hard to define. Classic applications include evolutionary art and image breeding, music and rhythm composition, hearing aid fitting, facial composite generation for witness identification, and the personalization of product designs such as fonts, color schemes or car interiors.

  • Use IEC when no reliable objective function exists and expert judgment is the true criterion.
  • Keep the genotype compact, so that each human decision moves the search noticeably.
  • Seed the population with reasonable starting designs instead of pure noise.
  • Plan sessions around user endurance, with saved populations that can be resumed later.

In plain words

Think of breeding flowers. A gardener keeps the plants she likes and lets them cross. Over many seasons, the garden moves toward her taste. Interactive evolutionary computation does the same with digital designs. The computer creates variations. A person picks the ones that look or sound best. The computer then mixes and changes those favorites to make new options.

The key idea is simple. The human provides the taste, and the computer provides the variety. The main problem is that people get tired, so good systems try to reach a pleasing result in only a few rounds.

A real-world example

An audiologist uses an interactive genetic algorithm to tune a hearing aid for a patient who finds standard settings unpleasant. Each candidate is a set of gain values for eight frequency bands. The system plays the same short speech recording through four candidate settings, and the patient chooses the one that sounds clearest and most comfortable.

The algorithm keeps the chosen setting as an elite parent, mutates the gains by small amounts and combines features from earlier favorites. After about 15 generations, which take roughly 20 minutes, the patient settles on a configuration with less high-frequency harshness and better speech clarity in noise. The result is a personalized fit reached through preference rather than through a fixed prescription formula alone.