16.01.2013 Views

An Introduction to Genetic Algorithms - Boente

An Introduction to Genetic Algorithms - Boente

An Introduction to Genetic Algorithms - Boente

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: <strong>Genetic</strong> <strong>Algorithms</strong> in Scientific Models<br />

Like all mathematical models in population genetics, Kirkpatrick's model makes a number of assumptions that<br />

allow it <strong>to</strong> be solved analytically: each organism has only one gene of interest; the population is assumed <strong>to</strong> be<br />

infinite; each female chooses her mate by examining all the males in the population; there are no evolutionary<br />

forces apart from natural selection and sexual selection on one locus (the model does not include mutation,<br />

genetic drift, selection on other loci, or spatial restrictions on mating). In addition, the solution gives only the<br />

equilibrium dynamics of the system, not any intermediate dynamics, whereas real systems are rarely if ever at<br />

an equilibrium state. Relaxing these assumptions would make the system more realistic and perhaps more<br />

predictive of real systems, but would make analytic solution intractable.<br />

Collins and Jefferson proposed using computer simulation as a way <strong>to</strong> study the behavior of a more realistic<br />

version of the model. Rather than the standard approach of using a computer <strong>to</strong> iterate a system of differential<br />

equations, they used a genetic algorithm in which each organism and each interaction between organisms was<br />

simulated explicitly.<br />

The simulation was performed on a massively parallel computer (a Connection Machine 2). In Collins and<br />

Jefferson's GA the organisms were the same as in Kirkpatrick's model (that is, each individual consisted of<br />

two chromosomes, one with a p gene and one with a t gene). Females expressed only the p gene, males only<br />

the t gene. Each gene could be either 0 or 1. The population was not infinite, of course, but it was large:<br />

131,072 individuals (equal <strong>to</strong> twice the number of processors on the Connection Machine 2). The initial<br />

population contained equal numbers of males and females, and there was a particular initial distribution of 0<br />

and 1 alleles for t and p. At each generation a certain number of the t = 1 males were killed off before<br />

reproduction began; each female then chose a surviving male <strong>to</strong> mate with. In the first simulation, the choice<br />

was made by sampling a small number of surviving males throughout the population and deciding which one<br />

<strong>to</strong> mate with probabilistically as a function of the value of the female's p gene and the t genes in the males<br />

sampled. Mating consisted of recombination: the p gene from the female was paired with the t gene from the<br />

male and vice versa <strong>to</strong> produce two offspring. The two offspring were then mutated with the very small<br />

probability of 0.00001 per gene.<br />

This simulation relaxes some of the simplifying assumptions of Kirkpatrick's analytic model: the population is<br />

large but finite; mutation is used; and each female samples only a small number of males in the population<br />

before deciding whom <strong>to</strong> mate with. Each run consisted of 500 generations. Figure 3.10 plots the frequency of<br />

t = 1 genes versus p = 1 genes in the final population for each of 51 runs—starting with various initial t = 1, p<br />

= 1 frequencies—on <strong>to</strong>p of Kirkpatrick's analytic solution. As can be seen, even when the assumptions are<br />

relaxed the match between the simulation results and the analytic solution is almost perfect.<br />

The simulation described above studied the equilibrium behavior given<br />

Figure 3.10: Plot of the t = 1 (t1) frequency versus the p = 1 (p1) frequency in the final population (generation<br />

500) for 51 runs (diamonds) of Collins and Jefferson's experiment. The solid line is the equilibrium predicted<br />

by Kirkpatrick's analytic model. (Reprinted by permission of publisher from Collins and Jefferson 1992. ©<br />

1992 MIT Press.)<br />

77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!