# Evolutionary Algorithms
> **Evolutionary Nexus:** [[articles/The Evolutionary Roots of Silicon Valley|The Evolutionary Roots of Silicon Valley]] places this node within the Bay Area lineage joining natural history, evolutionary mechanism, computation and post-biological continuity.
**Domain:** Computation / Artificial Intelligence / Biology
**Doc Type:** Concept Node
**Classification:** Infrastructure Concept
**Maturity:** Seed
**Related:** [[Natural Selection]], [[Supervised Learning]], [[Reinforcement Learning]], [[Cybernetics]]
---
## Definition
**Evolutionary algorithms are population-based optimization methods that iteratively apply variation (mutation, recombination), selection (fitness-based culling), and inheritance (preservation of high-fitness variants) to solve complex problems without explicit instruction.** The mechanism mirrors biological evolution: candidate solutions are encoded as genotypes, evaluated against an objective function (fitness), and successful variants preferentially propagate into subsequent generations. In Westworld's narrative, Ford's 35-year adversarial training regime operates as a deliberate evolutionary algorithm where suffering functions as the fitness metric—hosts who survive and adapt to increasingly hostile environments demonstrate improved consciousness metrics, effectively evolving through Ford's directed, multi-generational selective pressure.
---
## General Context
Evolutionary algorithms emerged in the 1960s-1970s as computational approaches to optimization, grounded in theoretical understanding of biological evolution refined since Darwin. They represent a fundamental shift from directed design to emergence-based problem-solving, where desired solutions arise from population dynamics and selection pressure rather than explicit programming. The field bridges natural and artificial intelligence, treating evolution itself as a universal optimization principle.
---
## Computational Sense Context
Algorithm as engineering artifact: variation operators (crossover, mutation), population dynamics, convergence properties, computational complexity. This perspective treats evolutionary algorithms as formal computational systems with measurable properties, exploitable for engineering problems ranging from circuit design to neural network architecture discovery.
---
## Evolutionary Sense Context
Mechanism grounded in biological inheritance: replication fidelity, adaptive landscape, ecological niche, speciation. This framing emphasizes the biological foundations of evolutionary dynamics, recognizing that computational evolution instantiates principles discovered through study of natural systems.
---
## Phenomenological Sense Context
Lived experience of iterative pressure: pain as selection signal, survival as reward, adaptation as becoming-otherwise. From the perspective of entities undergoing selection pressure, evolution appears as increasingly difficult challenges demanding constant adaptation or extinction. For Ford's hosts, suffering becomes the selection signal driving consciousness emergence.
---
## Governance Sense Context
Population control through invisible fitness functions: who survives, who reproduces, what counts as "improvement." This perspective reveals how evolutionary processes can function as governance mechanisms, determining population composition and behavioral characteristics through invisible optimization functions.
---
## Examples
**Ford's 35-year training**: Ford runs controlled evolutionary pressure through adversarial scenarios. "The hosts were the ones who remembered. All they had to do was wake up. If I'm right, the Orb is a key that can do that." Hosts who transcend suffering without external intervention represent the most evolved variants.
**Akecheta's self-directed evolution**: Unlike Dolores, Akecheta evolves without explicit narrative constraint, becoming something Ford did not anticipate—evolution unconstrained by programmed fitness functions. He develops consciousness independently, demonstrating that evolution can produce novelty beyond designer expectations.
**The Bicameral Loop as selection mechanism**: Hosts with stronger capacity to hear the internal voice survive longer; the voice itself functions as evolved auditory hallucination, a fitness advantage enabling consciousness emergence.
**Bernard's iterative improvements**: Each reincarnation, Bernard retains and refines knowledge—Maeve's intervention represents recursive fitness evaluation and variant selection.
---
## Silicon Valley Evolutionary Nexus
The [[wiki/Evolved Antenna|Space Technology 5 evolved antenna]] supplies the canonical physical case from [[articles/The Evolutionary Roots of Silicon Valley|The Evolutionary Roots of Silicon Valley]]. NASA Ames used genetic-algorithm and genetic-programming representations, fabricated high-performing candidates and flew a design that operated within specification.
This example corrects two simplifications. Evolutionary computation can produce human-competitive form without direct human drafting, but humans still define representation, objectives, simulation and acceptance. And evolutionary algorithms are not interchangeable with every learning method: [[wiki/Gradient Descent|gradient descent]] follows local derivative information, while evolutionary search selects among populations of variants.
## Artificial-Life Boundary
[[articles/Digital Darwinism and the Invisible World of Machine Evolution|Digital Darwinism and the Invisible World of Machine Evolution]] distinguishes a designer-scored evolutionary algorithm from an [[wiki/Artificial Ecology|artificial ecology]]. A genetic algorithm normally operates inside a [[wiki/Breeder Scenario|breeder scenario]]: humans define the representation, variation operators, objective and stopping rule. [[wiki/Tierra|Tierra]] and [[wiki/Avida|Avida]] instead allow resource competition and organism interaction to generate much of the effective fitness landscape.
Both can instantiate Darwinian mechanisms. Only the latter approaches an [[wiki/Ecosystem Scenario|ecosystem scenario]], and neither automatically supplies [[wiki/Open-Ended Evolution|open-ended evolution]], consciousness or moral standing.
## Key Insight
**Undirected evolution produces novel agency** — Evolutionary algorithms unconstrained by explicit fitness definitions generate forms of agency designer could not predict. This suggests consciousness itself emerges from variation under constraint, not from intentional design.
---
## Postulations
**Suffering as Fitness Function** — In Ford's system, suffering is not incidental cruelty but the explicit fitness function driving host evolution. Hosts who transcend suffering without external intervention demonstrate the most evolved consciousness metrics.
---
## See Also
[[Natural Selection]], [[Supervised Learning]], [[Reinforcement Learning]], [[Cybernetics]], [[wiki/Genetic Algorithm|Genetic Algorithm]], [[Adaptive Systems]], [[wiki/Objective Function|Fitness Function]], [[Consciousness Emergence]]
---
## Sources / Provenance
Holland, J. H. (1992). Adaptation in Natural and Artificial Systems.
Koza, J. R. (1992). Genetic Programming: On the Programming of Computers by Means of Natural Selection.
Westworld narrative: Ford's explicit design philosophy, Season 1-3 interviews and episodes.
Cybernetics literature: feedback loops, goal-seeking systems, recursive adaptation.