esolang
Learn · Ideas6 languages show it

Open-ended evolution

Life on Earth has kept inventing for four billion years. Every artificial world so far runs out of ideas.

●●● hard · where to see it

The idea

A system shows open-ended evolution if it keeps producing new kinds of things, without end, and without someone adding novelty from outside. The biosphere seems to do this, with cells, then many-celled bodies, eyes, brains and language. No digital system has convincingly done it.

Read the story

Artificial worlds tend to follow the same story. A burst of novelty, then a plateau.

  • Tierra produced parasites, immune hosts and hyper-parasites, then settled. Mark Bedau and colleagues, comparing long-term activity in Tierra-like systems with the fossil record in the late 1990s, found that the artificial ones lacked the biosphere's signature of ever-growing innovation.
  • Avida shows that complex features can evolve (the EQU function, 2003), but it was steered by rewards someone chose. When the rewards run out, so does the story.
  • bff shows that replicators appear from noise. What they do afterwards is mostly copy.

"How do we get open-ended evolution?" has been on the list of open problems in artificial life since Bedau et al. wrote that list down in 2000. It is still open.

How it works

A line of descent can end in three ways.

A line of descent can end in three ways.

FateWhat happens
FreezeThe program copies itself perfectly, a fixed point
CycleIt loops through the same few programs forever
CollapseIt loses its variety until nothing is left (model collapse)

There is a hard reason freezing and cycling are so common. Say a child is a pure function of its parent, and a program is at most 4,096 characters. A function on a finite set, applied over and over, must eventually repeat a value (the pigeonhole principle). After that it cycles forever, and a freeze is a cycle of length 1. Death is a fixed point too; the empty program's child is empty. So every such line of descent ends in one of the three fates. The only question is when. A detector is short.

const seen = new Map();                  // hash of a program -> the generation it first appeared
for (let g = 1; g <= total; g++) {
  text = run(text).child;
  if (!text.length) { fate = 'died'; break; }
  const key = hash(text) + ':' + text.length;
  if (seen.has(key)) { const period = g - seen.get(key); fate = period === 1 ? 'froze' : 'cycles'; break; }
  seen.set(key, g);
}

So "open-ended" cannot mean "never repeats". The space of texts is so large that the repeat may lie beyond any run. It has to mean still inventing new, working things as far as we can see, not drifting.

Known ways to push back the plateau.

  • Competition between organisms, so that the environment is other organisms and keeps changing (Tierra's arms races).
  • Searching for novelty instead of a goal (Lehman and Stanley's novelty search, 2011).
  • Letting the rules of variation evolve too, so the system can find new ways to make new things.

Seen in

  • Tierra. The classic burst then plateau.
  • Avida. Complex features through stepping stones, under chosen rewards.
  • bff. Emergence of replication; the open question is what comes after.
  • Push. Autoconstructive evolution, where programs evolve how they make children, aims at the third push-back above.

Try this

  1. Run the detector above with "reverse the string" as run, starting from abc. What is the period? Which strings freeze?
  2. Prove that a deterministic system with finitely many states must end in a cycle. How many generations can the transient last, at most?
  3. Hard: propose a number you could compute from a line of descent that would rise forever under open-ended evolution but stay flat under drift.

Further

  • M. A. Bedau et al., "Open Problems in Artificial Life", Artificial Life 6 (2000).
  • J. Lehman and K. O. Stanley, "Abandoning Objectives: Evolution Through the Search for Novelty Alone", Evolutionary Computation (2011).
  • Tierra on Wikipedia, which summarises why Tierra-like systems stop producing novelty.
  • See also artificial life, model collapse, fixed points.

Where to see it