Abstract

Although there have been many studies on the runtime of evolutionary algorithms in discrete optimization, relatively few theoretical results have been proposed on continuous optimization, such as evolutionary programming (EP). This paper proposes an analysis of the runtime of two EP algorithms based on Gaussian and Cauchy mutations, using an absorbing Markov chain. Given a constant variation, we calculate the runtime upper bound of special Gaussian mutation EP and Cauchy mutation EP. Our analysis reveals that the upper bounds are impacted by individual number, problem dimension number , searching range, and the Lebesgue measure of the optimal neighborhood. Furthermore, we provide conditions whereby the average runtime of the considered EP can be no more than a polynomial of . The condition is that the Lebesgue measure of the optimal neighborhood is larger than a combinatorial calculation of an exponential and the given polynomial of .

1. Introduction

The running time to optimum is a key factor in determining the success of an evolutionary programming (EP) approach. Ideally, an implementation of an EP approach should run for a sufficient number of generations when the probability of achieving an optimum is greater than some desired value. However, few results on the running time of EP approaches can be found in the current literature.

As a technique of finite state machine, EP was first proposed for continuous optimization [1]. It has since been widely adopted as a powerful optimizing framework for solving continuous optimization problems [24]. More recently, EP research has mainly concentrated on the function of its parameters and its improvement by adaptive strategies. As a result, several EP variants have been proposed, distinguishing from each other mainly with different mutation schemes based on different probability distributions.

Arguably, the first EP algorithm that was widely considered successful was the one with Gauss mutation that has been termed as classical evolutionary programming (CEP) [2]. CEP has been intensively analyzed by Fogel [3, 4], Bäck and Schwefel [5], and Schwefel [5, 6]. Subsequently, Yao et al. proposed a fast evolutionary programming algorithm (FEP) with a new mutation scheme based on the Cauchy distribution [7]. Computational experiments showed that FEP is superior to CEP when tackling the optimization problems of multimodal and dispersed peak functions. Another EP variant [8] was later proposed by using the Lévy distribution based mutation, which we call Lévy evolutionary programming (LEP) in this paper. Empirical analyses show that, overall, LEP exceeds CEP and FEP when solving the benchmark problems of multimodal and highly dispersed peak functions.

CEP [2], FEP [7], and LEP [8] can be considered as classical evolutionary programming algorithms. Several modified types of EP have since been designed based on these three basic approaches [2, 7, 8].

The performances of EP approaches such as CEP, FEP, and LEP have oftentimes been verified experimentally rather than theoretically. The theoretical foundations of EP have been an open problem ever since it was first put forward [1, 2]. In particular, Bäck and Schwefel [5] and Schwefel [6] suggested the convergence analysis of EP algorithms as a research topic in their surveys of evolutionary algorithms. Fogel [24] presented an initial proof of EP convergence on the basis of the discrete solution space. Rudolph [911] then showed that CEP and FEP can converge with an arbitrary initialization; this result is more general since it applies to a continuous solution space.

Previous convergence studies only considered whether an EP algorithm is able to find an optimum within infinite iteration but did not mention the speed of convergence, that is, lacking running time analysis. To date, running time analyses have mainly focused on Boolean individual EAs like ()EA [12], ()EA [13], multiobjective EA [1416], and so forth. Alternative theoretical measures for evaluating the running time of Boolean-individual EA approaches have also been proposed [17, 18]. Recently, the impact of particular components of EA on runtime has also been studied, on mutation, selection [19], and population size [18, 20, 21]. In addition to these studies on EAs solving Boolean functions, some results of runtime analysis have been obtained on some combinatorial optimization problems [2224]. Lehre and Yao [25] completed the runtime analysis of the ()EA on computing unique input output sequences. Zhou et al. presented a series of EA analysis results for discrete optimization like the minimum label spanning tree problem [26], the multiprocessor scheduling problem [27], and the maximum cut problem [28]. Other proposed studies are on the topics of tight bounds on the running time of EA and randomized search heuristic [2931].

As summarized above, the majority of runtime analyses are limited to discrete search space; analyses for continuous search space require a more sophisticated modeling and remain relatively few, which is unsatisfactory from a theoretical point of view. Jägersküpper conducted a rigorous runtime analysis on ()ES, ()ES minimizing the Sphere function [32, 33]. Agapie et al. modeled the continuous EA as a renewal process under some strong assumption and analyzed the first hitting time of ()EA on inclined plane and Sphere function [34, 35]. Chen et al. [36] proposed general drift conditions to estimate the upper bound of the first hitting time for EAs to find -approximation solutions. Inspired by the studies above, especially the estimating approach in [17] for discrete situation, this paper presents an analytical framework for the running time of evolutionary programming. We also discuss whether the running time of CEP and FEP is influenced by individual number, problem dimension number, searching range, and the Lebesgue measure of the optimal neighborhood in the target problem. Furthermore, we give the approximate conditions under which the EP can converge in a timespan less than a polynomial of .

2. EP Algorithms and the Associated Markov Chain

2.1. Introduction to EP Algorithms

This section introduces the two EP algorithms CEP [2] and FEP [7] that are studied in this paper. The skeleton of EP algorithms analyzed in this paper is given in Algorithm 1; the sole difference among CEP, FEP, and LEP lies in their treatments of Step  (3).

Algorithm 1 (framework of EP algorithms). (1)Generate individuals randomly.(2)Calculate the fitness of each individual.(3)Generate offspring by mutation.(4)Evaluate the offspring.(5)Select individuals by a tournament rule.(6)If the terminal condition is satisfied, output the best-so-far solution found and exit; otherwise, go back to Step  (3).

In Step (1), the generated individuals are denoted by a couple of real vectors , , where the elements are the variables to be optimized, and the elements are variation variables that affect the generation of offspring. We set the iteration number and the initial as proposed in [8]. The fitness values in Steps  (2) and (4) are calculated according to the objective function of the target problem.

In Step  (3), a single is generated for each individual , where . For , where denotes a renewing function of variation variable . The renewing function may have various forms, and a representative implementation of it can be found in [7]. However, for ease of theoretical analysis, we will consider a kind of simple renewing function, that is, constant function, in our case studies (see Section 4):The three EP algorithms differ in how is derived, which can be explained as follows (in this paper, we only consider CEP and FEP):where is a newly generated random variable by Gaussian distribution for each and is a Cauchy random number produced anew for th dimension, whose density function is

In Step  (5), for each individual in the set of all parents and offsprings, different opponent individuals are uniformly and randomly selected to be compared. If the selected individual’s fitness value is more than the opponent’s, the individual obtains a “win.” The top individuals with the most “wins” are selected to be the parents in the next iteration, breaking ties by greater fitness.

2.2. Target Problem of EP Algorithms

Without loss of generality, we assume that the EP approaches analyzed in this study aim to solve a minimization problem in a continuous search space, defined as follows.

Definition 2 (minimization problem). Let be a finite subspace of the -dimensional real domain , and let be an -dimensional real function. A minimization problem, denoted by the 2-tuple , is to find an -dimensional vector such that, , .

Without loss of generality, we can assume that where . The function is called the objective function of the minimization problem. We do not require to be continuous, but it must be bounded. Furthermore, we only consider the unconstrained minimization.

The following properties are assumed, and we will make use of them in our analyses:(1)The subset of optimal solutions in is nonempty.(2)Let be the fitness value of an optimal solution, and let be the optimal epsilon neighborhood. Every element of is an optimal solution of the minimization problem.(3), , where we denote the Lebesgue measure of as .

The first assumption describes the existence of optimal solutions to the problem. The second assumption presents a rigorous definition of optimal solution for continuous minimization optimization problems. The third assumption indicates that there are always solutions whose objective values are distributed continuously and arbitrarily close to the optimal, which makes the minimization problem solvable.

2.3. Markov Chain Associated with EP Algorithms

Our running time analyses are based on representing the EP algorithms as Markov chain. In this section, we explain the terminologies and notations used throughout the rest of this study.

Definition 3 (stochastic process of EP). The stochastic process of an evolutionary programming algorithm EP is denoted by ; , where is the th individual at the th iteration.

The stochastic status represents the individuals of the th iteration population for the algorithm EP. All stochastic processes examined in this paper are discrete-time; that is, .

Definition 4 (status space). The status space of EP is .

is the set of all possible population statuses for EP. Intuitively, each element of is associated with a possible population in the implementation of EP. Let be an optimal solution. We define the optimal status space as follows.

Definition 5 (optimal status space). The optimal status space of EP is the subset such that, , , where and .

Hence, all members of contain at least one optimal solution represented by individual .

Definition 6 (Markov chain). A stochastic process with status space is a Markov chain if , .

Lemma 7. The stochastic process of EP is a Markov chain.

Proof. The proof is given in the appendix.

We now show that the stochastic process of EP is an absorbing Markov chain, defined as follows.

Definition 8 (absorbing Markov chain to optimal status space). A Markov chain is an absorbing Markov chain to if , such that for .

Lemma 9. The stochastic process of EP is an absorbing Markov chain to .

Proof. The proof is given in the appendix.

This property implies that once an EP algorithm attains an optimal state, it will never leave optimality.

3. General Runtime Analysis Framework for EP Algorithms

The analysis of EP algorithms has usually been approximated using a simpler measure known as the first hitting time [13, 17], which is employed in this study.

Definition 10 (first hitting time of EP). is the first hitting time of EP if .

If an EP algorithm is modeled as an absorbing Markov chain, the running time of the EP can be measured by its first hitting time . We denote its expected value by which can be calculated by Theorem 11.

Let be the probability that EP has attained an optimal state by time .

Theorem 11. If , the expected first hitting time .

Corollary 12. The expected first hitting time can also be expressed as .

Proof. The proof is given in the appendix.

The conclusions of Theorem 11 and Corollary 12 are a direct approach to calculating the first hitting time of EP. However, Corollary 12 is more practical than Theorem 11 for this purpose since , which is the probability that the process first finds an optimal solution at time , is dependent on the mutation and selection techniques of the EP. Hence, the framework of Corollary 12 is similar to the one in [17]. However, the estimating method [17] is based on a probability in discrete optimization . is a probability for continuous status while is for the discrete one. In general, the exact value of is difficult to calculate. Alternatively, first hitting time can also be analyzed in terms of an upper and a lower bound of , as shown by the following Corollaries 13 and 15.

Corollary 13. If ,(1) where and ;(2) when and .

Proof. The proof is given in the appendix.

Corollary 13 indicates that can be studied by the lower bound and upper bound of . Therefore, the theorem and corollaries introduce a first-hitting-time framework for the running time analysis of EP. The running times of EP based on Gaussian and Cauchy mutation are studied following the framework.

4. Runtime Upper Bounds of CEP and FEP

In this section, we use the framework proposed in Section 3 to study the running time of EP based on Gaussian and Cauchy mutations, that is, CEP and FEP. Moreover, our running time analysis aims at a class of EP with constant variation, as shown in (2).

4.1. Mean Running Time of CEP

CEP [2] is a classical EP, from which several continuous evolutionary algorithms are derived. This subsection mainly focuses on the running time of CEP proposed by Fogel [3], Schwefel [6], and Schwefel [5, 6]. The mutation of CEP is based on the standard normal distribution indicated by (3).

According to the running time analysis framework, the probability for CEP is a crucial factor, and its property is introduced by the following.

Theorem 14. Let the stochastic process of CEP be denoted by . Let be the population size of CEP with solution space where . Then , one has the following: (1)For fixed individual , where the renewing function .(2)The right part of the inequality of conclusion (1) is maximum when .(3) if .

Proof. The proof is given in the appendix.

In Theorem 14, Part (1) indicates a lower bound of the probability that an individual can be renewed to be in the optimal neighborhood . As a result, the lower bound is a function of variation . Part (2) presents the lower bound that Part (1) will be tightest if . By this, the key factor of Corollary 13   may have a tight lower bound shown by Part (3).

Theorem 14 indicates that a larger leads to faster convergence for CEP since becomes larger when is larger. Moreover, Theorem 14 produces the lower bound of , with which the first-hitting time of CEP can be estimated following Corollary 13. Corollary 15 indicates the convergence capacity and running time upper bound of CEP.

Corollary 15. Supposed conditions of Theorem 14 are satisfied:(1);(2),

Proof. The proof is given in the appendix.

Corollary 15 shows that CEP converges globally and that the upper bound of CEP’s running time decreases as the Lebesgue measure of the optimal neighborhood of increases. A larger translates to a larger optimal neighborhood , which allows the solution of CEP more easily. Moreover, an increase in problem dimension number can increase the upper bound, and enlarging the individual number will make the upper bound smaller.

According to (6), has a smaller upper bound when the population size increases. Approximately,since when is large. Furthermore, the running time of CEP is similar to an exponential order function of size , if where is a positive constant. Hence, the running time of CEP is nearly .

Moreover, we can give an approximate condition under which CEP can converge in time polynomial to when , where .

Suppose (7) holds. Then Thus, the running time of CEP can be polynomial to , under the constraint that, , , where .

4.2. Mean Running Time of FEP

FEP was proposed by Yao et al. [7] as an improvement to CEP. The mutation for FEP is based on the Cauchy distribution indicated by (4). The property of the probability is discussed by Theorem 16  .

Theorem 16. Let be the stochastic process of FEP, and then one has the following:(1).(2)The right part of the inequality of conclusion (1) is maximum when .(3) if .

Proof. The proof is given in the appendix.

Similar to Theorem 14, FEP with may lead to a tight lower bound of the probability in Part (1) and Part (3). Theorem 16 indicates that affects the convergence of FEP directly. A larger allows FEP to more easily arrive at a status in the optimal state space (Definition 5). Conversely, a bigger (the bounds of search space) increases the difficulty of the problem for FEP. Given this convergence time framework, Corollary 17 summarizes the convergence capacity and running time upper bound of FEP.

Corollary 17. Supposed conditions of Theorem 16 are satisfied:(1);(2), .

Proof. The proof is given in the appendix.

Corollary 17 proves the convergence of FEP and indicates that a larger can make FEP converge faster. Using a similar analysis to that for CEP, a larger dimension number of problems can increase the upper bound of FEP, but larger individual number can lead to a smaller upper bound. Furthermore, is the maximum interval bound for each dimension of the variables to be optimized (Definition 2). As a result, the second conclusion of Corollary 17 also implies that a larger search space will increase the upper bound of .

If becomes large enough, we have such that

Hence, the running time of FEP is nearly when is a constant greater than zero.

Moreover, we can give an approximate condition where FEP can converge in polynomial time ; that is, , when (8) is true. The analysis is similar to the one for CEP at the end of Section 4.1.

5. Conclusion

In this paper, we propose a running time framework to calculate the mean running time of EP. Based on this framework, the convergence and mean running time of CEP and FEP with constant variation are studied. We also obtain some results at the worst running time of the considered EP, although the results show that the upper bounds can be tighter if the variation where is the length of the searching interval per dimension. It is shown that the individual number, problem dimension number, searching range, and the Lebesgue measure of the optimal neighborhood of the optimal solution have a direct impact on the bounds of the expected convergence times of the considered EP. Moreover, the larger the Lebesgue measure of the optimal neighborhood of the optimum, the lower the upper bound of the mean convergence time. In addition, the convergence time of the EP can be polynomial on average on the condition that the Lebesgue measure is greater than a value that is exponential to .

However, it is possible to make an improvement on the running time framework and analysis given in this study. The deduction process in the proofs for Theorems 14 and 16 uses few properties of the distribution functions of the mutations, and so it is possible to tighten the results. By introducing more information on the specific mutation operations, more sound theoretical conclusions may be derivable. More importantly, unlike the rigorous conditions under which CEP and FEP can converge in polynomial time, the running time analysis of specific EP algorithms for real-world and constructive problems would have a more significant and practical impact. Future research could also focus on the runtime analysis of specific case studies of EP.

The proposed framework and results can be considered as a first step for analyzing the running time of evolutionary programming algorithms. We hope that our results can serve as a basis for further theoretical studies.

Appendix

Proof of the Lemmas, Theorems, and Corollaries

Proof of Lemma 7. Recall that is a real vector and the status space of EP is continuous. Furthermore, is only dependent on for , as evidenced by Steps  (3)–(6) of the EP process. Hence, is a Markov chain.

Proof of Lemma 9. when where is an optimal solution. Given Steps  (5)-(6) of EP, will have the most “wins” as well as the highest fitness, so will be selected for the next iteration with probability one if there are less than optimal solutions in the tournament. might be lost but other optimal solutions will be selected if there are more than optimal solutions in the parent and offspring. Thus, , and is an absorbing Markov chain to .

Proof of Theorem 11. Observe that . Therefore, we have

Proof of Corollary 12. Let . Based on the total probability equation, . Substituting it into Theorem 11, we have .

Proof of Corollary 13. According to Corollary 12, . Similarly, we have . Thus, when and .

Proof of Theorem 14. (1) For fixed individual , , where is -dimension variation variable and the stochastic disturbance follows -dimensional standard Gaussian distribution. Let ; that is, . According to (1) and (2), . Then, we have since , where . Therefore,
Given Let . According to the property of measure, . One has .
Note that and , so we have (), which leads to the following inequality: That is, we obtain a lower bound of as follows: Noting that , we also have . (2) Let where . One has , and .
Noticing that , we have , which implies the lower bound of can be improved into Therefore, .
(3) By the property of and in Definition 5, and , . Thus, .

Proof of Corollary 15. (1) Based on the total probability equation, we have Because can be considered as an absorbing Markov chain following Lemma 9, . Also, , and we have . According to Theorem 14, For , and . Thus, , so . Since , .
(2) Given , we know that based on Theorem 14. According to Corollary 15, , .

Proof of Theorem 16. (1) For fixed individual , , where the stochastic disturbance follows -dimensional standard Cauchy distribution. Let ; that is, (). Then, we have and since ().
In a manner similar to the proof of Theorem 14, we derive (Note that ().)
(2) Letting , we have It can be improved into when .
(3) Hence, and , if , .

Proof of Corollary 17. (1) According to Theorem 16, . due to the second assumption in Section 2.2. Let for . Then and .
Thus, . Also, since .
(2) Since , following Corollary 13 and Theorem 16, we find that

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgments

This work is supported by Humanity and Social Science Youth Foundation of Ministry of Education of China (14YJCZH216) and National Natural Science Foundation of China (61370177).