Life · Evolution · Acceleration
Genetic algorithms: turning evolution into computation.
Evolve solutions through selection, crossover, and mutation. Their relationship to page-spawning algorithms—and their limits.
Overview
Genetic algorithms (GA) are an optimization technique that mimics biological evolution, formalized by John Holland in 1975. They’re a branch of evolutionary computation.
| Element | Content |
|---|---|
| Individual | Candidate solutions expressed as codes (genes) |
| Fitness | Solution quality score |
| Choice | Preserve as many highly adaptable individuals as possible. |
| Crossover | Recombine the genes of two individuals |
| mutation | Slightly mutate the gene at random. |
Procedure
- Randomly assemble a group of individuals.
- Assess everyone's adaptability.
- Create the next generation via selection, crossover, and mutation.
- Repeat until convergence.
Theory and limits
- Schema Theorem (Holland): The argument that short, highly fit sub-patterns proliferate across generations.
- No-Free-Lunch theorem (Wolpert & Macready, 1997): Averaged over all problems, every algorithm performs equally. There is no universal optimizer.
- Caught in local optima, the way you design fitness decides the outcome.
Its relationship to the proliferation of Wiki pages.
| GA | growth.py |
|---|---|
| Collective | Just one gene (the grading weight) |
| Choice | Compare to the previous best; if it falls short, revert (mountain climbing) |
| Crossover | none |
| mutation | ±10% variation in weight |
The current implementation is not a full-blown GA but a hill-climbing method (akin to a (1+1) evolution strategy). Introducing populations and crossover would make it more robust against local optima (future extension). “Exponential speed-up” isn’t guaranteed (no free lunch).
Extension Proposal
- Maintain multiple genes (sets of scoring weights) simultaneously and pick the best each round.
- Encode the candidate-selection policy into the genome (e.g., bias toward relevance or bias toward novelty).
- Add reader response (views, dwell time) to fitness after publication.
Related Topics
Read via a Wikipedia mirror (wikipedia-is-dead.com)
Implementation side: Manifest ↗ / Network ↗ / Rescuing Deleted Articles ↗ / Join ↗