



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Richard E. Lenski*, Charles Ofria†, Robert T. Pennock‡ & Christoph Adami§
Charles Darwin’s theory of evolution^1 , including its intertwined hypotheses of descent with modification and adaptation by natural selection, is widely regarded as one of the greatest scientific achievements of all time. From the outset, Darwin realized that “organs of extreme perfection and complication”, such as the eye, posed a difficulty for his theory. Such features are much too complex to appear de novo, and he reasoned that they must evolve by incremental transitions through many intermediate states, some- times undergoing changes in function. There now exists substantial evidence concerning the evolution of complex features that sup- ports Darwin’s general model 2–16^. Nonetheless, it is difficult to provide a complete account of the origin of any complex feature owing to the extinction of intermediate forms, imperfection of the fossil record, and incomplete knowledge of the genetic and developmental mechanisms that produce such features. To examine the evolutionary origin of a complex feature in much greater detail than has previously been possible, we have performed experiments with digital organisms — computer programs that self- replicate, mutate and compete17–26^. As Daniel Dennett 27 has empha- sized, “…evolution will occur whenever and wherever three con- ditions are met: replication, variation (mutation), and differential fitness (competition)”. By using this tractable system, we aim to shed light on principles relevant to any evolving system. Digital organisms are also of interest as computer scientists and engineers explore ways to apply evolutionary principles to program design, engineering and robotics 28–31^. The next section describes our experi- mental system, including the logic functions that digital organisms can use to obtain energy. There follows a case study of the genomic and phenotypic changes in a population that evolved an especially complex function, and then a functional-genomic analysis of the first genotype able to perform that function. Next we compare the trajectories and solutions of many populations that independently evolved this same function, and we conclude by examining the influence of different selective environments on the propensity of digital organisms to evolve the function.
Avida is a software platform for research on digital organisms 19. To convey what digital organisms are, it is helpful to compare them with computer viruses. Digital organisms are self-replicating com- puter programs, as are viruses. However, computer viruses require
direct intervention to mutate and evolve, whereas digital organisms exist in a computational environment where copying is imperfect such that they mutate randomly and evolve spontaneously. Also, digital organisms compete for energy and, depending on the environment, can obtain energy by performing logic functions 19,25. In Avida, a genome is a circular sequence of instructions (Fig. 1) that are executed sequentially except when the execution of one instruction causes the instruction pointer to jump to another position. Jumps are encoded using a template-based system, which is more robust to mutation than is numerical addressing17,24. Each item in a sequence is one of 26 possible instructions (Sup- plementary Information). Reproduction is asexual and occurs by binary fission. Experiments began with an ancestor that could replicate but could not perform any logic functions. All organisms
Figure 1 Digital organism in Avida. Each individual organism has a circular genome and a virtual CPU with two stacks and three registers that hold 32-bit strings. Execution of the genomic program generates a computational metabolism, whereby numerical substrates can be input from the environment, processed in stacks and registers, and resulting products output to the environment. See main text for details.
NATURE | VOL 423 | 8 MAY 2003 | www.nature.com/nature ©^2003 Nature^ Publishing^ Group 139
were identical and obtained equal energy to execute their genomic programs, including the copy commands by which a genome replicates itself one instruction at a time. Copying is subject to errors, including point mutations, insertions and deletions. Each mutation alters the genome and may change an organism’s pheno- type, including its replication efficiency, computational metabolism and robustness. Thus, genotypes vary in their expected reproductive success. As in nature, selection in Avida depends on the phenotypic effects of a mutation in its genetic context and in relation to the organism’s environment; the researcher does not specify a distribution of selection coefficients. Most mutations in Avida are deleterious or neutral, but a small fraction increases fitness 20. Digital organisms compete for the energy needed to execute instructions. Energy occurs as discrete quanta called ‘single-instruc- tion processing’ units, or SIPs. Each SIP suffices to execute one instruction. By executing instructions, a digital organism can express phenotypes that enable it to obtain more energy and copy its genome. In Avida, organisms can acquire energy by two mech- anisms. First, each organism receives SIPs in proportion to its genome length. Second, an organism can obtain further SIPs by performing one- and two-input logic operations on 32-bit strings (Supplementary Information). Only one of the 26 instructions in the genetic code, nand (‘not and’), is itself a logic operator; and nand must be executed in coordination with IO (‘input–output’) instructions to perform the NAND function. All other logic func- tions can be constructed using one or more nand instructions within an integrated framework of other instructions. Two logic functions, NAND and EQU (‘equals’), are shown in Fig. 1. The execution of the highlighted nand instruction, when immediately followed by the modifying nop-A (‘no operation’) instruction, causes the bit-strings in the BX and CX registers to be combined according to the nand operator and the result to be written to the AX register. The nand operator returns 0 (‘false’) when both inputs are 1 (‘true’); it returns 1 if one or both inputs are
function, given the available genomic instructions. An exhaustive search shows that the minimum number of nand operations to perform EQU is five, which is greater than for any other one- or two-input logic function. Using the 26 available instructions, we wrote a program of length 19 that performs EQU but does not replicate (Supplementary Information). This program seems, but has not been proven, to be the shortest one to perform EQU.
The ancestor could replicate but could not perform any logic function. However, an organism that evolved one or more of nine logic functions would obtain further energy. The benefit increased exponentially with the approximate difficulty of each function (Table 1). Functions could be performed in any order during an individual’s life, but no extra energy was obtained by repeatedly performing the same function. No single mutation in the ancestor can produce even the simplest of these functions. Instead, several mutant instructions must appear in the same lineage, and such that they are coordinately executed, to perform even a simple function. Nonetheless, this population (and many others) evolved the capacity to perform EQU, the most complex of these functions. Figure 2 shows the trajectory of the population’s divergence from the ancestor. The vertical axis, phylogenetic depth, is the cumulative number of generations in which an individual differed from its parent by one or more mutations. The horizontal axis is time in computational updates (see Methods). The colour scale shows the abundance of genotypes at a given depth. The blue line shows the exact line of descent leading to the genotype that was most abundant at the end of the experiment. This final dominant type was 344 steps removed from its ancestor. That is, an offspring differed genetically from its parent in 344 of the many thousands of generations leading to this final type. The final dominant has a genome 83 instructions long (the ancestral length was 50), and it performs all nine logic functions that provide energy. Figure 3 shows the trajectories for two fitness components, replication efficiency and computational merit, for all 344 geno-
Table 1 Rewards for performing nine one- and two-input logic functions
Function name Logic operation Computational merit ............................................................................................................................................................................. NOT ,A; ,B 2 NAND ,(A and B) 2 AND A and B 4 OR_N (A or ,B); (,A or B) 4 OR A or B 8 AND_N (A and ,B); (,A and B) 8 NOR ,A and ,B 16 XOR (A and ,B) or (,A and B) 16 EQU ............................................................................................................................................................................. (A and B) or (,A and ,B) 32
The symbol ‘,’ denotes negation. The reward for computational merit increases with 2n, where n is the minimum number of nand operations needed to perform the listed function. Symmetrical operations, shown separated by a semi-colon, are treated as the same function. No added benefit is obtained for performing any function multiple times. These functions include all one- and two-input logic operations except ECHO, which requires no nand operations and was not rewarded.
Figure 2 Phylogenetic depth versus time in the case-study population. Phylogenetic depth is the cumulative number of generations in which an organism’s genotype differs from its parent. The exact line of descent leading to the most abundant final genotype is shown as the blue line. Colours indicate the relative abundance of genotypes at any depth, yellow being more abundant than red.
140 ©^2003 Nature^ Publishing^ Group NATURE | VOL 423 | 8 MAY 2003 | www.nature.com/nature
mutations used 10 of the 26 possible instructions; and several pivotal insertions and deletions were unique. Therefore, many different mutations produced the EQU function in the right genomic context. Before the pivotal mutations, each line of descent had already experienced 50 or more steps, including beneficial, neutral and deleterious mutations. Some deleterious mutations had small effects and hitchhiked with beneficial mutations; others reverted or were compensated by mutations elsewhere. But in the case study, we showed that one deleterious mutation had genetically predis- posed (through an epistatic interaction) the subsequent origin of EQU. To investigate this possibility further, we examined all of the mutations one step before the pivotal mutations. Five of the 23 one- step-prior mutations were deleterious in the backgrounds in which they occurred (including the case study). When these five were reverted in the pivotal genotypes, the EQU function was eliminated in three cases. Thus, three genotypes that first performed this complex function depended on a one-step-prior mutation that was deleterious when it appeared. The 23 pivotal genomes ranged in length from 49 to 356 instructions; the ancestor had 50 instructions and so there was a strong tendency for increased length to precede the origin of EQU. The parents of the pivotal genotypes performed between four and all eight of the simpler logic functions, with a median of seven. Therefore, at least several simpler functions evolved before EQU in every population. However, no particular function was essential for the subsequent evolution of EQU, because each one was absent from at least one of the 23 parent genotypes. All the pivotal mutations were beneficial owing to the extra energy obtained by the EQU function. However, net gains also depended on pleiotropic side- effects on other traits. Twenty of the 23 pivotal mutations caused losses of one or more logic functions the parent performed, and 13 reduced replication efficiency. Eight yielded another function, and three improved replication efficiency. On balance, 20 of the 23 pivotal mutations would have been deleterious if EQU had not been rewarded, whereas three would still have been beneficial. Thus, beneficial mutations that produced this new function usually, but not always, engendered trade-offs in other aspects of performance. We ran the functional-genomic analyses on all 23 pivotal geno- types. The number of instructions required for EQU ranged from 17 to 43, with a median of 28 instructions. Notice that one evolved type apparently needed only 17 instructions to perform EQU, whereas our shortest hand-written program used 19 instructions. Further examination showed that this unexpectedly low value occurred because the evolved genome was partially redundant, such that one- at-a-time null mutations did not reveal the full extent of its computational network. These analyses therefore provide a mini- mum estimate of the number of instructions that a genotype uses to perform a function.
We carried out experiments to examine the effects of different selective environments on the propensity to evolve the EQU func- tion, with all other conditions held constant. Ten further popu- lations evolved under each of 36 possible regimes in which one or
Figure 4 Functional-genomic array for the first organism to perform EQU in the case- study population. Its genome sequence is shown to the left; the instruction highlighted in yellow is the pivotal mutation that yielded EQU but simultaneously eliminated AND. Top labels denote replication (Repl.) and logic functions; associated colours show whether this organism can (green) or cannot (red) perform the function. The fill in each interior cell shows the effect on the function of replacing the instruction with a null instruction. Red, null mutation destroys existing function; blank, null mutation has no qualitative effect; green, null mutation produces new function. The number of state changes for each function is shown at the bottom.
142 ©^2003 Nature^ Publishing^ Group NATURE | VOL 423 | 8 MAY 2003 | www.nature.com/nature
two simpler functions were not rewarded. In all environments, at least one population evolved EQU. Evidently, neither any particular simpler function nor any pairwise combination of functions was required to evolve this complex feature. In these 36 environments, the overall fraction of populations that evolved EQU was 124 of 360 (34%), only slightly less than in the ‘reward-all’ environment (P ¼ 0.0764, one-tailed Fisher’s exact test). At the other extreme, 50 populations evolved in an environment where only EQU was rewarded, and no simpler function yielded energy. We expected that EQU would evolve much less often because selection would not preserve the simpler functions that provide foundations to build more complex features. Indeed, none of these populations evolved EQU, a highly significant difference from the fraction that did so in the reward-all environment (P < 4.3 £ 1029 , Fisher’s exact test). However, these populations tested more genotypes, on average, than did those in the reward-all environment (2.15 £ 10 7 versus 1.22 £ 10 7 ; P , 0.0001, Mann- Whitney test), because they tended to have smaller genomes, faster generations, and thus turn over more quickly. However, all popu- lations explored only a tiny fraction of the total genotypic space. Given the ancestral genome of length 50 and 26 possible instruc- tions at each site, there are ,5.6 £ 10 70 genotypes; and even this number underestimates the genotypic space because length evolves.
By using digital organisms, we traced the exact genealogy, without any ‘missing links’, from an ancestor that could replicate only to descendants able to perform multiple logic functions requiring the coordinated execution of many genomic instructions. The most complex function, EQU, evolved only when several simpler func- tions were also useful. Some simpler functions were accessible from the ancestor by relatively few mutations, and these served as a foundation on which more complex features were built. The foundational role of simpler functions in the origin of more complex ones was evident in the overlap of the genetic networks underlying their expression, and the frequent loss of simpler functions as side-effects of mutations yielding more complex functions. Our experiments demonstrate the validity of the hypoth- esis, first articulated by Darwin^1 and supported today by compara- tive and experimental evidence2–16^ , that complex features generally evolve by modifying existing structures and functions. Some readers might suggest that we ‘stacked the deck’ by studying the evolution of a complex feature that could be built on simpler functions that were also useful. However, that is precisely what evolutionary theory requires, and indeed, our experiments showed that the complex feature never evolved when simpler functions were not rewarded. Our experiments also show that many different genomic solutions produce the same complex function. Following any particular path is extremely unlikely, but the complex function evolved with a high probability, implying a very large number of potential paths 32. Although the complex feature first appeared as the immediate result of only one or two mutations, its function invariably depended on many instructions that had previously evolved to perform other functions, such that their removal would eliminate the new feature. Of course, digital organisms differ from organic life in their genetic constitution, metabolic activities and physical environ- ments. However, digital organisms undergo the same processes of reproduction, mutation, inheritance and competition that allow evolution and adaptation by natural selection in organic forms. Other similarities are pleiotropy (one mutation affects multiple traits) and epistasis (multiple mutations interact to determine the same trait), which emerge in both organic and digital life from the nonlinear processes by which genomes encode and produce phe- notypic features. As a consequence, selection acts on organisms rather than directly on their genes. The organisms in our study were asexual. Sex might accelerate the evolution of complex features by combining functions that independently evolved in different
lineages. On the other hand, asexuality permits beneficial combi- nations of mutations to spread even when they are individually deleterious, as sometimes occurred in our experiments. The con- sequences of asexual and sexual reproduction for the evolution of complex features deserve further research. In closing, digital organ- isms provide opportunities to address important issues in evolu- tionary biology. They are particularly well suited to problems that are difficult to study with organic forms owing to incomplete information, insufficient time and the impracticality of experiments. A
Avida software Avida uses a time-slicing algorithm 19 to ensure that all organisms execute instructions in an effectively parallel manner. Experiments ran using Avida version 1.6 on the Linux operating system on a Beowulf cluster of 64 Pentium III processors. The software and configuration files for our experiments can be obtained free from our website (http:// myxo.css.msu.edu/papers/nature2003). More information about Avida, and further data from our experiments, can also be found there.
Experimental conditions Every population started with 3,600 identical copies of an ancestral genotype that could replicate but could not perform any logic functions. Each replicate population that evolved in the same environment was seeded with a different random number. The hand- written ancestral genome was 50 instructions long, of which 15 were required for efficient self-replication; the other 35 were tandem copies of a single no-operation instruction (nop-C) that performed no function when executed. Copy errors caused point mutations, in which an existing instruction was replaced by any other (all with equal probability), at a rate of 0.0025 errors per instruction copied. Single-instruction deletions and insertions also occurred, each with a probability of 0.05 per genome copied. Hence, in the ancestral genome of length 50, 0.225 mutations are expected, on average, per replication. Various organisms from nature have genomic mutation rates higher or lower than this value 33. Mutations in Avida also occasionally cause the asymmetrical division of a copied genome, leading to the deletion or duplication of multiple instructions. Each digital organism obtained ‘energy’ in the form of SIPs at a relative rate (standardized by the total demand of all organisms in the population) equal to the product of its genome length and computational merit, where the latter is the product of rewards for logic functions performed. The exponential reward structure shown in Table 1 was used in the reward-all environment, whereas some functions obtained no reward under other regimes. An organism’s expected reproductive rate, or fitness, equals its rate of energy acquisition divided by the amount of energy needed to reproduce. Fitness can also be decomposed into replication efficiency (ratio of genome length to energy required for replication) and computational merit. Each population evolved for 100,000 updates, an arbitrary time unit equal to the execution of 30 instructions, on average, per organism. The ancestor used 189 SIPs to produce an offspring, so each run lasted for 15,873 ancestral generations. Populations existed on a lattice with a capacity of 3,600 individuals. When an organism copied its genome and divided, the resulting offspring was randomly placed in one of the eight adjacent cells or in the parent’s cell. Each birth caused the death of the individual that was replaced, thus maintaining a constant population size. Received 19 September 2002; accepted 13 March 2003; doi:10.1038/nature01568.
NATURE | VOL 423 | 8 MAY 2003 | www.nature.com/nature ©^2003 Nature^ Publishing^ Group 143