Evolution Strategies

5.2 Evolution Strategies

In the genetic algorithm discussed in the previous section, an individual (a potential solution) has been coded in binary. Such a representation is convenient if we are

searching a discrete solution space, 8 for example in the case of a discrete optimization problem. Evolution strategies were developed in the 1960s by Rechenberg [236] and Schwefel [267] at the Technical University of Berlin in order to support their

research into numerical optimization problems. 9 In this approach, an individual is represented by a pair of vectors (X, σ ), where X = (X 1 ,X 2 ,...,X n ) determines

the location of the individual in the n-dimensional (continuous) solution space, 10 σ = (σ 1 ,σ 2 ,...,σ n ) is a string of parameters of the method. 11

Let us discuss the general scheme of an evolution strategy shown in Fig. 5.5 a. Similarly to the case of genetic algorithms, we begin with the initialization and evaluation of a μ-element parent population R. Then, we start the basic cycle of the method, which consists of three phases.

During the first phase λ-element offspring population O is generated. Each de- scendant is created in the following way. Firstly, ρ individuals, which will be used

8 An example of a discrete solution space has been defined in the previous section in Fig. 5.1 . 9 The research into fluid dynamics was carried out at the Hermann Föttinger Institute for Hydrody- namics at TUB.

10 A vector X represents here the chromosome of the individual, and its components X 1 ,X 2 ,...,X n , being real numbers, correspond to its genes.

11 A parameter σ i is used for mutating a gene X i .

5.2 Evolution Strategies 59 for the production of a given descendant, are chosen. 12 These “parents” are drawn

with replacement according to the uniform distribution. 13 Then, these ρ parents pro- duce a “preliminary version” of the descendant with the crossover operator. After recombination the element σ of the child chromosome, which contains parameters of the method, is mutated. Finally, a mutation of the individual, i.e., a mutation of the element X of its chromosome, is performed with the help of the mutated parameters of σ .

In the second phase an evaluation of the offspring population O is made. This is performed in an analogous way to genetic algorithms, that is with the help of the fitness function.

The third phase consists of the selection of μ individuals to form a new parent population P according to the values of the fitness function. There are two main approaches to selection. In the selection of the (μ + λ) type a choice is made from among individuals which belong to both the (old) parent population and the offspring population. This means that the best parents and the best children create the next

generation. 14 In selection of the (μ, λ) type we choose individuals to form the next generation from the offspring population. Similarly to genetic algorithms, a termination condition is checked at the end of the cycle. If it is fulfilled, the best individual is chosen as our solution to the problem.

Otherwise, a new cycle is started (cf. Fig. 5.5 a).

After describing the general scheme let us introduce a way of denoting evolution strategies [23]. We assume an interpretation of parameters μ, λ, ρ as in the description above. If we use selection of the (μ + λ) type, then the evolution strategy is denoted by (μ/ρ + λ). If we use selection of the (μ, λ) type, then the evolution strategy is denoted by (μ/ρ, λ).

Now, we present a way of defining genetic operators for evolution strategies. Let us assume that both parents Father and Mother are placed in a solution space

15 = (X 1 ,X 2 ) in Fig. , respectively, as shown 5.5 b. Since an individual is represented by a vector of real numbers, calcu- lating the average of the values of corresponding genes which belong to the parents

according to vectors X F = (X F 1 ,X F 2 ) and X M

is the most natural way of defining the crossover operator. Therefore, the position of Child is determined by the vector X C = (X C 1 ,X C 2 ) , where X C F 1 M = (X 1 +X 1 )/ 2

and X C F 2 M = (X 2 +X 2 )/ 2 (cf. Fig. 5.5 b).

In case of crossover by averaging, we also compute σ C by taking the average values of σ F and σ M , which represent the parameters of the method. An exchange of single genes of parents can be an alternative way of creating an offspring.

12 This means that a “child” can have more than two “parents”. 13 Firstly, this means that each individual has the same chance to breed an offspring (the uniform

distribution). Secondly, any individual can be used for breeding several times (drawing with re- placement). This is the main difference in comparison to genetic algorithms, in which the best-fitted individuals have better chances to breed an offspring (roulette wheel selection, ranking selection).

14 As one can see, we try to improve on the law of Nature. A “second life” is given to outstanding parents.

15 The reader is advised to compare Fig. 5.5 b with Fig. 4.11 in the previous chapter. For clarity there is no axis h(X 1 ,X 2 ) corresponding to the fitness function in Fig. 5.5 b.

60 5 Evolutionary Computing

(a)

initialization and evaluation of µ-element parent population P

generation of -element offspring population O by application of genetic operators

evaluation of population O

selection of µ individuals to form new

parent population P

selection of individual with best fitness from P

(b)

X C parent (Mother) (X 2 F +X 2 M )/2

offspring (Child)

X 1 F (X 1 F +X 1 M )/2

parent (Father)

Fig. 5.5 a The scheme of an evolution strategy, b an example of crossover by averaging in an evolution strategy

As we have mentioned above, firstly, mutation is performed for an element σ , secondly for an element X. A mutation of the element σ consists of multiplying its every gene by a certain coefficient determined by a random number, 16 which is generated according to the normal distribution. 17 After modifying the vector σ , we use it for a replacement of the individual in the solution space, as shown in Fig. 5.6 . As we can see in the figure, the position of the individual represented by X is determined by its genes (coordinates) X 1 and X 2 . Now, we can e.g., mutate its gene X 1 by adding

16 Sometimes, the coefficient is determined by several random numbers. 17 Formal definitions of notions of probability theory which are used in this chapter are contained

in Appendix B.1.

5.2 Evolution Strategies 61 Fig. 5.6 Mutation of an

X 2 mutated individual in an evolution

individual I m

individual I

1 ·N 1 (0,1) X m

a number σ 1 ·N 1 ( 0, 1), where σ 1 is its corresponding gene—and the parameter of the method—and N 1 ( 0, 1) is a random number generated according to the normal distribution with an expected value (average) equal to 0 and a standard deviation equal to 1.

Let us notice that the element σ = (σ 1 ,σ 2 ,...,σ n ) contains parameters which determine how big a mutation is. 18 As we have seen, these parameters are modified, 19

which means that evolution strategies are self-adapting.

Dokumen yang terkait

Hubungan pH dan Viskositas Saliva terhadap Indeks DMF-T pada Siswa-siswi Sekolah Dasar Baletbaru I dan Baletbaru II Sukowono Jember (Relationship between Salivary pH and Viscosity to DMF-T Index of Pupils in Baletbaru I and Baletbaru II Elementary School)

0 46 5

Institutional Change and its Effect to Performance of Water Usage Assocition in Irrigation Water Managements

0 21 7

The Effectiveness of Computer-Assisted Language Learning in Teaching Past Tense to the Tenth Grade Students of SMAN 5 Tangerang Selatan

4 116 138

the Effectiveness of songs to increase students' vocabuloary at second grade students' of SMP Al Huda JAkarta

3 29 100

The effectiveness of classroom debate to improve students' speaking skilll (a quasi-experimental study at the elevent year student of SMAN 3 south Tangerang)

1 33 122

Kerjasama ASEAN-China melalui ASEAN-China cooperative response to dangerous drugs (ACCORD) dalam menanggulangi perdagangan di Segitiga Emas

2 36 164

The Effect of 95% Ethanol Extract of Javanese Long Pepper (Piper retrofractum Vahl.) to Total Cholesterol and Triglyceride Levels in Male Sprague Dawley Rats (Rattus novergicus) Administrated by High Fat Diet

2 21 50

Factors Related to Somatosensory Amplification of Patients with Epigas- tric Pain

0 0 15

The Concept and Value of the Teaching of Karma Yoga According to the Bhagavadgita Book

0 0 9

Pemanfaatan Permainan Tradisional sebagai Media Pembelajaran Anak Usia Dini untuk Mengembangkan Aspek Moral dan Bahasa Anak Utilization of Traditional Games as Media Learning Early Childhood to Develop Aspects of Moral and Language Children Irfan Haris

0 0 11