An Introduction to Genetic Algorithms - Boente
An Introduction to Genetic Algorithms - Boente
An Introduction to Genetic Algorithms - Boente
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
with E ± the energy of individual ±,P the population size, and ² a variable controlling the amount of selection.<br />
This method is similar <strong>to</strong> "Boltzmann selection" with ² playing the role of temperature. This selection method<br />
has some desirable properties for GAs (<strong>to</strong> be described in the next chapter), and also has useful features for<br />
Prügel−Bennett and Shapiro's analysis.<br />
This is a rather easy problem, even with no mutation, but it serves well <strong>to</strong> illustrate Prügel−Bennett and<br />
Shapiro's approach. The goal was <strong>to</strong> predict changes in distribution of energies (the negative of fitnesses) in<br />
the population over time. Figure 4.4 plots the observed distributions at generations 0, 10, 20, 30, and 40<br />
(going from right <strong>to</strong> left), averaged over 1000 runs, with P = 50,N + 1 = 64, and ² = 0.05. Prügel−Bennett and<br />
Shapiro devised a mathematical model <strong>to</strong> predict these changes. Given Át(E), the energy distribution at time t,<br />
they determine first how selection changes Át(E) in<strong>to</strong> Á s t(E) (the distribution after selection), and then how<br />
crossover changes Á s t(E) in<strong>to</strong> Á sc t (E) (the distribution after selection and crossover). Schematically, the idea<br />
is <strong>to</strong> iterate<br />
(4.11)<br />
starting from the initial distribution Á0(E).<br />
Chapter 4: Theoretical Foundations of <strong>Genetic</strong> <strong>Algorithms</strong><br />
Figure 4.4: Observed energy distributions for the GA population at generations 0, 10, 20, 30, and 40. Energy<br />
E is plotted on the x axis; the proportion of individuals in the population at a given energy Á(E) is plotted on<br />
the y axis. The data were averaged over 1000 runs, with P = 50, N + 1 = 64, and ² = 0.05. The minimum<br />
energy for the given spin glass is marked. (Reprinted from Prügel−Bennett and Shapiro 1994 by permission of<br />
the publisher. © 1994 American Physical Society.)<br />
Prügel−Bennett and Shapiro began by noting that distributions such as those shown in figure 4.4 can be<br />
uniquely represented in terms of "cumulants," a statistical measure of distributions related <strong>to</strong> moments. The<br />
first cumulant,k1, is the mean of the distribution, the second cumulant,k2, is the variance, and higher cumulants<br />
describe other characteristics (e.g., "skew").<br />
Prügel−Bennett and Shapiro used some tricks from statistical mechanics <strong>to</strong> describe the effects of selection<br />
and crossover on the cumulants. The mathematical details are quite technical. Briefly, let kn be the nth<br />
cumulant of the current distribution of fitnesses in the population, k s n be the nth cumulant of the new<br />
distribution produced by selection alone, and k c n be the nth cumulant of the new distribution produced by<br />
crossover alone. Prügel−Bennett and Shapiro constructed equations for k s n using the definition of cumulant<br />
and a recent development in statistical mechanics called the Random Energy Model (Derrida 1981). For<br />
example, they show that k s 1 Hk1 ²k 2 and k s 2 H (1 1/P) k 2 ²k 3. Intuitively, selection causes the mean and<br />
the standard deviation of the distribution <strong>to</strong> be lowered (i.e., selection creates a population that has lower<br />
mean energy and is more converged), and their equation predicts precisely how much this will occur as a<br />
function of P and ². Likewise, they constructed equations for the k c n:<br />
113