Self-Replicating Language Models
Organizations: Dalarna University, 791 88 Falun, Sweden · BEACON Center for the Study of Evolution in Action, Michigan State University, East Lansing, MI 48824, USA
Abstract
Whether large language models (LLMs) and LLM-based agents are a form of life is a scientifically interesting question. Under the Darwinian definition of life, it is also a practical one, because a system capable of Darwinian Evolution can adapt. We therefore test several modes in which a language model can reproduce itself: by emitting a genome that trains its offspring, by copying and mutating its own weights, and by teaching a child from its own samples. In principle, small language models can replicate and evolve: selection improves them, and they adapt to narrow niches. Selection also lowers mutation rates, and a language model, unlike any organism, can lower its own to zero, which may limit its evolution. Flagship LLMs can write such replicators, but for a large LLM to replicate by teaching its offspring remains, for now, technically and economically infeasible.
Figures & tables
| Mode | Inherited | Variation | Cost of a copy | Section | Outcome |
|---|---|---|---|---|---|
| Copy the weight file | the weights, exactly | none | a file copy | Intro. | replicates; cannot evolve |
| Genome, retrained every generation | the genome string | sampling errors | training a small model | 2 – 4 | replicates; selection improves it; what is selected adapts, the rest drifts |
| Weights as genome | the weights | mutations made by the string the weights express | a file copy | 5 | melts down, freezes, or adapts a little and stalls |
| Teaching | the genome, and part of the knowledge | sampling errors | billions of tokens, days of GPU time | 6 | genome copied almost exactly, knowledge only in part |
| Copy and fine-tune | the weights and a corpus | mutations of the corpus | one fine-tuning run | 7 | not tested |
| Gen. | Mutation | Effect | TFLOP | Exact copies |
|---|---|---|---|---|
| 0 | the ancestor | width 8, , 20,000 steps | 15.6 | 2/24 |
| 2 | #~ a=a-1 and #~ s=s-10 fused into #~ a=scpi rb +s-10 | width 9, 21,000 steps | 18.5 | 12/21 |
| 3 | #~ r=r-4 and #~ t=t-5 fused into #~ r=r-*d= nt=t-5 | , loss target | 14.5 | 21/25 |
Self-Training for Language Models
Self-training for language models uses their own generations, feedback, and interaction traces as supervision to improve capabilities with less labeled data.
See all 99 papers