Genetic Algorithms: Exploration, Diversity and Convergence

Genetic algorithms draw inspiration from certain mechanisms of evolution to search for good solutions to a problem. A candidate solution is encoded as a genome, a fitness function assigns a performance score, and a new generation is then produced through selection, crossover and mutation.

Selection favors high-performing candidates, but excessive pressure can eliminate diversity too quickly. Mutation introduces variations; crossover combines fragments. Effectiveness depends on the encoding and on how well these operators respect the structure of the problem.

It is tempting to describe the evolution of the population as a spiral toward the optimum. This image is not general. The solution space can be discontinuous, deceptive or composed of many basins. The population can stagnate, lose its diversity, oscillate between regions or converge toward a poor local solution.

The best algorithms therefore monitor several indicators: best performance, average performance, genetic diversity and stability. Diversity maintenance methods, niching or controlled elitism can preserve multiple search directions. In multi-objective optimization, one seeks a Pareto front rather than a single optimum.

Genetic algorithms are particularly useful when derivatives are unavailable, when variables are mixed or when the problem structure allows for specialized operators. They can, however, require many evaluations. An honest comparison with simpler methods is indispensable.

The biological metaphor also has its limits. Natural evolution does not optimize a fixed global function; environments change, organisms interact and reproduction is far more complex. The algorithm borrows an idea of variation and selection, then transforms it into an engineering tool.

The link with the project is adaptive convergence. A population explores, diversifies and then progressively concentrates its efforts. This dynamic can be represented in many ways, but no characteristic spiral is expected without a specific projection choice.

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

One generation, bit by bit

To understand the operators, choose a deliberately elementary problem: maximize the number of ones in a binary string. The string is the genome; its one-count is its fitness. This OneMax task makes every calculation checkable by hand. It represents neither a real organism nor a complete industrial problem. Encoding, evaluation and reproduction rules are distinct choices organized by genetic algorithms into population-based search. [1]

f(x)=∑jxj ; xj∈{0,1}f(x)=\sum_j x_j\ ;\ x_j\in\{0,1\}(Fonction OneMax / OneMax fitness)

Parents 10110100 and 01101011 have fitness four and five. Cutting after the fourth position swaps their last halves: children are 10111011, with fitness six, and 01100100, with fitness three. Crossover therefore need not improve every child. Mutating the last bit of the better child to zero reduces its fitness to five. Variation creates possibilities; evaluation determines which are favorable for the chosen objective.

Crossover, bit by bit
Parent 110110100f = 4Parent 201101011f = 5Child 110111011f = 6Child 201100100f = 3
Colors identify fragment origins and the dashed line marks the cut. Fitness is calculated, not assigned to suggest that reproduction always succeeds. Background source.

Tracking a population: fitness and diversity

The lab follows 32 sixteen-bit genomes for 40 generations. Each selection tournament compares two randomly drawn candidates and the better one supplies a parent. Children undergo crossover and independent mutations. One copy of the best genome is preserved intact: the elitism rule used here. Seed 37 makes the run reproducible. Under this rule best fitness cannot decrease, although mean fitness may temporarily fall.

D=116∑j2pj(1−pj)D=\frac{1}{16}\sum_j2p_j(1-p_j)(Diversité allélique de l’exemple / Example allele diversity)

The second curve measures diversity: pⱼ is the fraction of ones at position j. A position fixed to zero or one contributes zero; a half-and-half split contributes 0.5. A nearly identical population can therefore have excellent mean fitness while exploring very little. More mutation maintains variation but can also disrupt good genomes. The slider shows this trade-off on one simple task; a favorable run proves neither speed on other tasks nor a general guarantee of reaching the optimum.

Population progress and diversity
0.02
051015010203040GenerationNumber of one bits
BestMean
00.10.20.30.40.5010203040Generationmoy. / mean 2p(1−p)
Diversity
Separate scales prevent confusion between fitness and diversity. Parameters and seed stay fixed when only mutation probability changes. Background source.

A landscape where local improvement misleads

Now construct a three-bit trap fitness: three for 000, two for one one-bit, one for two one-bits, and four for 111. Starting at 000 and accepting only improving single-bit changes immediately stalls: every neighbor is worse, yet 111 is better. Search must cross an intermediate decline or make a larger jump. This is not physical terrain; its horizontal coordinate groups genomes by one-count.

The table explains why diversity, mutation and recombination can help without becoming magic solutions. If every parent is already 000, crossing them still yields 000: recombination cannot invent an absent allele. Mutation may introduce it, but selection may immediately eliminate it. Diagnosing stagnation therefore requires scores, genomes and operators together. A fitness plateau can indicate success, a local optimum, or exhausted exploration.

Local improvement can lead to a trap
012340123One bits out of threef
Discrete values (guide segments)000: local optimum111: global optimum
A constructed teaching fitness, not an experimental result. Segments guide reading between four discrete classes; they do not define fractional genomes. Background source.

Multiple objectives: preference is no longer simple maximization

Suppose both cost and duration are minimized. One solution dominates another if it is no worse on either objective and strictly better on at least one. In this fictional sample, (1,8) dominates (5,8): the same duration at lower cost. But (1,8) and (2,6) are incomparable because a shorter duration costs more. Nondominated points form this sample’s front, not necessarily the front of all possible solutions. Multiobjective algorithms such as NSGA-II seek to maintain a set of trade-offs. [2]

The final question belongs to the application: which trade-off is acceptable, which constraints are mandatory, and how uncertain is evaluation? Drawing successive solutions as a spiral answers none of these questions. A front may be curved, fragmented or discontinuous without being a spiral. Algorithmic convergence concerns search behavior and quality relative to an objective; the drawing’s shape is not an optimality criterion.

Comparing two objectives
024680246810Cost (illustrative units)Duration (illustrative units)
DominatedNondominated front of this sample
Both axes are minimized. All points are fictional examples; dominance and the displayed front are calculated exactly for this sample. Background source.

Approaching the phenomenon without confusing image and mechanism

The concrete starting point is population-based search where variation and selection move solutions. A genetic algorithm maintains a population of candidates, evaluates fitness, then applies selection, crossover, and mutation. Convergence toward a good solution depends on the fitness landscape, diversity, and selection pressure. A spiral path in parameter space is a possible visualization, not a law of evolution. This first distinction matters because a winding form can be a trajectory, a structure, a projection, or simply a graphical convention.

The model that makes comparison testable

The model must specify chromosome representation, fitness function, and variation rule. A population can approach a local optimum and lose diversity; stronger mutation can explore but slow stabilization. “Converge” therefore requires an explicit criterion and comparison with other methods. The model is not the object: it is a description whose assumptions must remain visible.

From mechanism to pattern: population-based search where variation and selection move solutionsConceptual diagram: nodes, links, and a propagation path; the structure depends on the chosen model.liens courts + liaison longuepopulationmutationfitnessdiversity
Figure 1. Conceptual diagram: nodes, links, and a propagation path; the structure depends on the chosen model.

An example, then its counter-example

For a two-parameter function, plot all individuals at each generation. Clouds may wind around a fitness valley, but this spiral can come from projection, variable correlation, or scale choice. Real dynamics are also read in diversity and fitness. The counter-example is as instructive as the example: it shows which variable is missing when moving from one domain to another.

What can actually be measured

An honest test repeats runs with multiple seeds and compares best score, mean score, diversity, and computational cost. One successful run does not demonstrate robustness. Graphs should distinguish simulated data, known solution, and model hypothesis. A quantitative figure must distinguish published data, theoretical calculation, simulation, and conceptual diagram.

Decomposing variables instead of following the silhouette

To understand population-based search where variation and selection move solutions, separate at least the variable that rotates, the one that changes scale, and the one that transports information or matter. A genetic algorithm maintains a population of candidates, evaluates fitness, then applies selection, crossover, and mutation. Convergence toward a good solution depends on the fitness landscape, diversity, and selection pressure. A spiral path in parameter space is a possible visualization, not a law of evolution. A global form can remain stable while its components are replaced; conversely, a trajectory can change shape without a new local mechanism.

The counter-example that protects the reasoning

The spiral metaphor is useful for exploration followed by tightening, but genetic selection is not angular motion. The mechanism is stochastic and population-based. Convergence can be functional without taking geometric form. We therefore cannot conclude from an image alone. We must ask which observation would falsify the hypothesis, then keep negative results in the comparison. This discipline is especially important when several models produce a similar outline.

A reproducible method

An honest test repeats runs with multiple seeds and compares best score, mean score, diversity, and computational cost. One successful run does not demonstrate robustness. Graphs should distinguish simulated data, known solution, and model hypothesis. To make the result checkable, preserve parameters, units, resolution, initial conditions, and calculation method. An interactive visualization should also provide a readable initial state and a reset control; otherwise readers see an output without understanding its dependencies.

Open questions

The model explains the model must specify chromosome representation, fitness function, and variation rule. a population can approach a local optimum and lose diversity; stronger mutation can explore but slow stabilization. “converge” therefore requires an explicit criterion and comparison with other methods. but does not answer questions at every scale. We still need to determine how initial conditions, perturbations, and system boundaries alter the pattern. This is where research begins: not by adding an analogy, but by formulating a prediction that could be measured.

Limits and scope of the analogy

The spiral metaphor is useful for exploration followed by tightening, but genetic selection is not angular motion. The mechanism is stochastic and population-based. Convergence can be functional without taking geometric form. [3]

Where the spiral is — and where it is not

The relation to the site’s thesis is precise: population-based search where variation and selection move solutions may share geometry, dynamics, or representation with another family of phenomena, but these levels are not identical. Comparison becomes scientific when it names the proposed shared mechanism, the variables that differ, and the test that could distinguish them.

References

  1. [1]
    Holland, John H.. (1992). Adaptation in Natural and Artificial Systems: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence. MIT Press. DOI: 10.7551/mitpress/1090.001.0001. https://direct.mit.edu/books/monograph/2574/Adaptation-in-Natural-and-Artificial-SystemsAn [accessed 2026-10-19]
  2. [2]
    Deb, K.; Pratap, A.; Agarwal, S.; Meyarivan, T.. (2002). A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation. DOI: 10.1109/4235.996017. https://ieeexplore.ieee.org/document/996017 [accessed 2026-10-19]
  3. [3]
    Lorenz, Edward N.. (1963). Deterministic Nonperiodic Flow. Journal of the Atmospheric Sciences. DOI: 10.1175/1520-0469(1963)020<0130:DNF>2.0.CO;2