Simulation Study of Swarm Intelligence Based on Life Evolution Behavior

Swarm intelligence (SI) is a new evolutionary computation technology, and its performance efficacy is usually affected by each individual behavior in the swarm. According to the genetic and sociological theory, the life evolution behavior process is influenced by the external and internal factors, so themechanisms of external and internal environment changemust be analyzed and explored. Therefore, in this paper, we used the thought of the famous American genetic biologist Morgan, “life = DNA + environment + interaction of environment + gene,” to propose the mutation and crossover operation of DNA fragments by the environmental change to improve the performance efficiency of intelligence algorithms. Additionally, PSO is a random swarm intelligence algorithmwith the genetic and sociological property, sowe embed the improvedmutation and crossover operation to particle swarm optimization (PSO) and designed DNA-PSO algorithm to optimize single and multiobjective optimization problems. Simulation experiments in single and multiobjective optimization problems show that the proposed strategies can effectively improve the performance of swarm intelligence.


Introduction
Optimization has been an active area of research for several decades; in order to effectively solve these problems, many scholars have been looking for solution methods, for example, conjugate gradient methods, genetic algorithm (GA), differential evolution (DE) algorithm, ant colony (ACO) algorithm, and particle swarm optimization (PSO).These algorithms have achieved satisfactory effects in some areas, and when optimization problem has lots of local optima, these algorithms will have phenomenon and low efficiency.To better solve practical problem and improve its running efficiency, some new technologies and improved algorithms are proposed in the optimization fields.
Swarm intelligence is a new evolutionary computation technology, and it has attracted more and more researchers' attention.The theory research of swarm intelligence mainly has two algorithms: ACO and PSO.ACO derived from the food collection process of the ant colonies, while PSO originated in the simulation of simple flock social system.Based on the generation mechanisms of simulating life evolution behavior, PSO and ACO have been successfully applied to many fields.According to the genetic and sociological theory, the life evolution behavior is influenced by the external and internal factors, so exploring the external and internal environment change mechanisms will further grasp evolutionary behavior.Therefore, the internal environment, for example, the mutation and crossover operator of DNA fragment, usually will be the inner decision mechanism in the life evolution process, while the external environment, for example, organization and corporation which an individual belongs to, usually depends on an individual society property which will affect individual social behaviors.
In this paper, according to the thought of the famous American genetic biologist Morgan, "life = DNA + environment + interaction of environment + gene," we proposed the mutation and crossover operation of DNA fragments based on environmental change to improve performance of intelligence algorithms.Our thoughts come from life evolution behavior based on the theory of evolution and sociology, and the process of individual evolution and improvement not only is enslaved to the genetic effects (fragment of DNA), but also still has the external environment influence.In view of this, we adopted the mutation and crossover operation of DNA fragments to realize the inner change of the life evolution behavior and employed the mutation and crossover operation of each individual to simulate the external environment change process.

Related Works
2.1.Searching Engine Algorithm.Firstly, we introduce the reason why particle swarm optimization (PSO) is adopted as searching engine to explore the mechanism of the mutation and crossover operation of DNA fragments based on the environmental change.In this paper, we mainly discuss the system that affected the process of individual growth and improvement; then, according to gene and sociological theory, the evolution process of a society individual will be enslaved to the internal and external environment change.Furthermore, the internal environment usually is regarded as genetic effect factor, for example, mutation and crossover of DNA fragments, and the external environment usually is the macro factors that include the individual society properties, for example, the organizations or corporations which an individual belongs to.Additionally, in the current intelligent optimization algorithms, genetic algorithm (GA), differential evolution (DE) algorithm, ant colony (ACO) algorithm, PSO, and so forth have been successfully used in various fields, and particularly PSO, which is a random swarm intelligence algorithm with the characteristic of GA and ACO, showed fast influence in recent years.Here, the swarm of PSO may be analogy of the environment, and the dimension of PSO can describe the internal environment.Therefore, the proposed strategies in this paper will combine with PSO to conduct the simulation research.
In 1995, Kennedy and Eberhart [1] firstly proposed a new optimization model based on the bird flight and foraging and then designed a novel optimization algorithm based on the swarm behavior, that is, particle swarm optimization (PSO).After twenty-year development, PSO has been widely used in science and engineering fields and achieved good effects.PSO is a kind of evolutionary algorithm similar to GA, and it also starts from the random solutions through the iterative search.Additionally, PSO evaluates the quality of the solution through the fitness value, but it has more simple rules than GA.PSO has no crossover and mutation operation, and it tracks the current individual search path to find the global optima, which makes PSO have easy implementation and high precision.
Each individual in PSO is composed of n-dimensional variables, and it has a velocity V  ⊂   .In the process of evolution, each individual flies to optimization position by updating its velocity and position described by where   is the history best position of the individual  (pbest for short);   is the best individual position in swarm (gbest for short);  1 and  2 are the speed constant of individual between 0 and 2;  1 and  2 are uniformly distributed random vector between 0 and 1. Usually, good things are flawed, although PSO also has some defects in practical applications.For example, when PSO optimizes an optimization problem with many local optima, the swarm of PSO is easy to fall into local optimal solution and has low operating efficiency.In order to conquer these defaults of PSO, many scholars have conducted various improvements and proposed some useful PSO variants [2][3][4][5][6][7][8][9][10][11][12].

Introduction of DNA Fragment.
In the process of the life evolution, strengths and weaknesses of DNA will decide the life quality, so how to improve DNA quality to adapt to the environment change is a key problem for an individual evolution process.DNA is composed of some pieces where the pieces with genetic effect are called gene.In this paper, we will explore the effect of DNA + environment + interaction of environment + gene.As an individual, the ability of DNA genes to adapt to environments will be absolutely decided by its own quality and status in the existing society; thus, the micro individual can be equivalent to the microcosmic DNA.
Because of the DNA importance in individual life evolution, we regard an individual as a DNA molecule, and each dimension of an individual corresponds with DNA fragments.DNA fragments can be deemed as the internal mechanism which affects the individual behavior in society.Figure 1 gives the congruent relationship of DNA fragment with realization process of PSO.
As for the external environment, the commutation with each other and living environment of different individuals will decide its status and role in society which it belongs to, so the crossing and replacement of individual will be adopted to realize the process of the external environment effect.Figure 2 gives the effect factors of the individual evolution based on the external and internal environment change, where a swarm is composed of many single life individuals, I Mutation and I Crossing denote the corresponding mutation and crossover operation based on internal environment, and E Mutation and E Crossing are the corresponding mutation and crossover operation based on the external environment.Based on the external and internal environment change, we adopted PSO as searching engine to explore the mechanism roles.

Mutation and Crossing Operation of DNA
Fragments Based on Environmental Change

Mutation Operation Based on Environment Change.
In PSO, when the velocities of all particles are almost zero, the entire population will fall into local optima.The past experience shows that the mutation operation may be a good method.In [13], the author proposed that the mutation operation can produce new global best individual (gbest) to jump out of local optima.However, there are always two sides to anything, and the new individual produced by mutilation operation may be far away from gbest.Therefore, in this paper, the mutation is divided into two types: the first one is the intermutation operation (I Mutation for short) based on the internal environment change and the second one is the external mutation operation (E Mutation for short) based on the external environment change.When the algorithm runs, the different type environment will evoke the corresponding mutation operation type.
Here, the internal and external environment change correspond to DNA fragment and swarm of PSO, respectively.As the internal environment changes, we will combine the DNA fragments and the dimension of an individual to explore their roles.Additionally, in terms of previous experiences, the phenomenon that an individual only learns from its history experience will lead to "two steps forward, one step back" [2].Similarly, DNA fragments will have the same thing, so the internal environment change can be defined: where  bin() denotes the learning exemplar for DNA fragment of each individual; neighbor  is the neighbor sets for individual ;  bin()  is the  dimension of  bin() ;   is the corresponding history best individual (pbest i ); Fitness() is the solving process of the corresponding function; arg() denotes the recognition process of DNA fragment for the corresponding individual; ℎ   is the  dimension of individual ;   is the  dimension of individual , and the other individual is similar to it;  is the swarm;  is the average generation count that needs to be defined.In our proposed thoughts, when  is equal to or greater than a given value, the DNA fragments based on the internal environment change will be evoked.In the simulation experiments, we proposed a novel mutation strategy and the idea is the following: firstly, in the process of algorithm run, we selected some individuals (the hypothesis of the number of individuals is  ), whose pbest has no improvement for 1/3 continuous total iteration (note: 1/3 is the experience value); secondly,   individuals will be mutated as follows: where   () with DNA fragments denotes the individual at time ;    () and    () are upper and lower bound of   (), respectively;   is the disturbing term of individual , and its production process is as follows: Here,   is the uniform random numbers in (0, 1);   is the mutation distribution index equal to population size.According to the usual gene theory, the internal environment will affect the individual gene that can reflect individual performance.The external environment change will speed the gene expression, and the social group which the individual belongs to will decide the performance of the individual; for example, a person that lived in the aggressive environment will obtain the effect of the upward momentum and vice versa.Based on the thought, the external environment change can be described as follows: firstly, when the whole swarm has no improvement of optimization solution for  generation that will be defined in terms of the problem at hand; secondly, we adopted K-means clustering method to select pbest of  individuals (from swarm n) whose aim makes each individual have chance to develop its maximum potential; thirdly, we introduce the local search algorithm to explore some promising region in the whole search space, and here Quasi-Newton algorithm is adopted as local search engine that has the characteristics of global convergence and fast convergence.In each iteration, the search direction is determined based on Quasi-Newton algorithm as follows: where  is Hessian matrix that is the positive definite symmetric matrices;  is a constant vector;  is a constant number.If  * is the optimization solution, ( 7) is satisfied: The above discuss the application of the theory analysis, but in practical application of Quasi-Newton algorithm, the numerous calculations for Hessian matrix and its inverse matrix are needed.In order to effectively calculate the process, Broyden (BFGS) [4] is applied to realize the computing process whose methods are the following: As for the computing method of Hessian matrix and its inverse matrix  −1 , DFP equation of Davidon [4] is used to solve them.As a result, each iteration can be conducted by the direction of Figure 3 gives the sketch map of local search process with Quasi-Newton algorithm and Algorithm 1 gives the whole process of Quasi-Newton algorithm.By K-means clustering method, m best individuals are selected as the initial search point of Quasi-Newton algorithm from the swarm n; then  new individuals will be produced.Here, the replacement rule is the Euclidean distance; that is, m new individual produced by Quasi-Newton algorithm from n pbest is closest to the original  individual.the crossing role of his/her excellent genes and the favorable environment will improve his/her ability for better fitting society.Based on the above thoughts, we use the crossover operation to realize the process.Here, the external file is used to store the history best individual (pbest for short), and the external file can be regarded as an information store device.Note that the internal and external environment change standard is the same as the mutation standard.In the previous experiences, SBC crossing [5] is adopted to realize the crossing improvement.The internal crossing process is the following: firstly, in terms of environment change standard, the corresponding pbests are selected to conduct the crossover operation; secondly, the crossing operation is evoked by

Crossing Operation
where  ,, is random individual;  , ( = 1,2) is the  dimension of the new individual after SBC;   (≥0) is the random factor produced by (12).Here,  is a random number in (0, 1);   is the swarm distribution index that is equal to population size.Hence, Thirdly, the new pbests produced by SBC operation will replace the original individuals to continue the swarm evolution process.The whole process combines the promising information of each dimension of each individual and improves the individuals to adapt to the internal environment, which is equivalent to the crossover operation of DNA fragment of the individual.
As for the crossover operation based on the external environment, its thoughts root in the real world; that is, an individual always learns from his/her history best experience and the best performance individual in his/her organization, to inherit and strengthen his/her experiences and shorten the gap with the best one.So we proposed a novel crossover operation that can produce new best history individual (pbest) by crossover operation with the global best individual (gbest).Therefore, the external crossover operation is the following: firstly, when the crossover operator is satisfied, n (the swarm size) pbests and the current gbest are selected; secondly, ( 13) is used to cross the corresponding individual  to improve their learning ability from other perfect individuals (here we called it position crossing operation).Hence, Here, the index is defined by where   () is the sets of Euclidean distances of the current individual  with other individuals and gbest at time , which realized that an individual improves its own desire by learning;  is the swarm size at time ;   () is the size of organization with the distance merit to the individual  at time ;  is the number of organizations whose value is usually 1/5∼1/4 of ; sort() is the sort computation from small to large for sets A; Index  is the finding index, which denotes the individuals nearest to individual .
Finally, the  new pbest will be produced by the position crossover operation, and then  individual will start the new evolution.

Algorithm Design for Simulation
Experiments.On the basis of the above analysis, ( 1) is used to update the velocity of each individual, and (15) gives the updating process of individual position, in which DNA disturbance strategies are added.We have where Δ() is composed of Δ().
In order to explore the mutation and crossing operation of DNA fragments and individual based on environmental change, the simulation experiments are conducted in single and multiobjective optimization problems.Algorithm 2 gives the pseudocode of PSO with mutation and crossing operation of DNA fragments based on environmental change in single objective optimization problem.In Algorithm 2, the data with " †" sign includes the required strategies of multiobjective PSO where the computing method of the external archives based on -dominance and crowding distance of each particle is shown in [11].

DNA Mechanism Role in Algorithm Convergence Character in Single Objection
Optimization.In order to test DNA mechanism role, we adopted the combination of the qualitative and quantitative analysis for different test functions.Here, the scatter diagrams of the convergence process are used for the qualitative analysis to explore the algorithm convergence behavior, and the best optimal value and the mean value of the independent operation will be the quantitative analysis in the maximum iteration number.Additionally, we used PSO as searching engine to explore the roles of the proposed strategies, and Algorithm 2 gives the pseudocode of PSO.
For convenience, PSO with the mutation and crossover of DNA fragments and individual based on environmental change is short for DNA-PSO.Sphere, Rosenbrock, Ackley, Griewank, and Rastrigin are selected to test the algorithm performance.Maximum number of iterations of all algorithms (MAXT) is 1000.Population size (PS) is 30.Function dimension is 60.In order to test the DNA mechanism role in the algorithm stability in single objection optimization problem, we will rotate Ackley, Griewank, Rastrigin, and Rastrigin noncont function to further test the effectiveness of the proposed strategies, and the fitness evaluation of the rotated function is 6 × 10 4 .In simulation experiments, we will compare the performances of DNA-PSO with CF-LPSO [1], CF-GPSO [1], and CPSO [2].Each algorithm is implemented in Matlab R2008B platform.Figures 4 and 5 show the algorithm convergence characteristics in the nonrotated and rotated function.
On nonrotated function, except for Sphere function, DNA-PSO achieved the best performance, especially on multimodal function; DNA mechanism has obvious merit.
(1) Begin (2) Initialize positions and associated velocity of all particles (3) Evaluate the fitness values of all particles (4) Set the current position as  (5) Set  max = 0.25( max −  min ) (6) † Build initial external archives based on -dominance (7) † Calculate crowding distance of each particle (8) While (fitcout < Max FES) && (k < iteration) (9) For each particle ( = 1 : PS) (10) Update particle velocity and position by ( 1) and (15) (11) Update  (12) Evaluate the fitness values of current particle  (13) End for (14) Similarly, in rotated function (Figure 5), DNA-PSO has also strong competitiveness.Table 1 gives the mean and 95% confidence interval after 3 × 10 4 function evaluations for nonrotated functions, and Table 2 gives the mean and 95% confidence interval after 6 × 10 4 function evaluations for rotated functions.In order to test the difference of the results of different algorithms from the statistical significance, we adopted Wilcoxon rank to analyze the results of DNA-PSO with the other PSOs in the optimal test results, and the statistical test results appear at the bottom of Tables 1 and 2.
From Figures 4 and 5, we can clearly see that DNA-PSO has better convergence characteristic compared with PSOs, and particularly in the rotated function, DNA-PSO shows better ability to jump out of local optima.Better performance of DNA-PSO roots in the mutation and crossover operation of DNA fragments based on the environmental change, where the mechanism of mutation and crossover can take full advantage of each DNA fragment of an individual, to effectively avoid "two steps forward, one step back" phenomenon.The mutation and crossover operator for the external environmental change will make pbest of each individual and gbest of the whole swarm be of sufficient use and blend.Additionally, from the quantitative analysis (Tables 1 and 2) and statistical analysis, we can also get the same conclusion.Therefore, whether qualitative or quantitative analysis, the mutation and crossover operation of DNA fragments and each individual based on the environmental change can improve the swarm intelligence performance, and as a result, the strategies can be an effective improvement method for the algorithm design and variants.optimization problem, the mechanisms of the mutation and crossover operation of DNA fragments based on the internal environmental change have shown positive role; to further test their performance, we also choose two representative multiobjective PSOs (MOPSO [11] and OMOPSO [12]) and four test functions (ZDT1, ZDT2, ZDT3, and ZDT4) to test the proposed mechanism role in multiobjective swarm intelligence algorithm.In this section, the dimension of decision variables of each test function is 30.Figures 6-9 clearly show that DNA-PSO has the ability to trace Pareto fronts which implies that DNA-PSO is effective for solving multiobjection problem.Particularly, as for ZDT4 function with 21 9 local optima, DNA-PSO has better performance to find and trace its Pareto front compared to MOPSO and OMOPSO.

Conclusions and Future Work
This paper mainly discussed the strategies of the mutation and crossover operation of DNA fragments and individuals    on (i) proposing a novel intelligence algorithm based on DNA mechanism and (ii) exploring new biology role in life evolution.
Character in Multiobjection Optimization.In the single objective
Based on Environment Change.As a social person, his/her behavior is affected by him/herself gene and the external environment where he/she lives, so

Table 1 :
Means and confidence interval for nonrotating function after 3 × 10 4 function evaluations.

Table 2 :
Means and confidence interval for rotating function after 6 × 10 4 function evaluations.basedon the environmental change, and these strategies are embedded to particle swarm optimization (DNA-PSO for short).In order to test the effectiveness of the proposed strategies, we design DNA-PSO that can deal with single and multiobjective optimization algorithm by adding some methods and conducted the simulation experiments in single objective problems (Sphere, Rosenbrock, Ackley, Griewank, and Rastrigin) and multiobjective test problems (ZDT1, ZDT2, ZDT3, and ZDT4).Additionally, in order to test DNA-PSO stability in single objection optimization, we rotated Ackley, Griewank, Rastrigin, and Rastrigin noncont function.Simulation experiments show that, whether qualitative or quantitative analysis, the mutation and crossover operation of DNA fragments and individuals based on environmental change can improve the swarm intelligence performance, and they are effective methods for algorithm design and variants.Finally, in view of the effectiveness of the proposed strategies, in the future, we will focus