Abstract
Flower pollination algorithm is a new type of heuristic algorithm, which uses Lévy random walk as the key element for high efficiency of global searching. In order to explore the search performance of pollination algorithms under different random walk models, three random walk models are taken into account, including levy random walk model used by original flower pollination algorithm and two new random walk models based on McCulloch algorithm introduced in this paper. The analysis of searching performance and adaptive of Flower Pollination Algorithm with three random walks from two aspects of the model structure and the numerical simulation is given. The result shows that Cauchy random has a great competitive advantage for the low dimensional searching problem, and the Gauss random is more suitable for dealing with the multi-dimension unimodal case, while the Lévy random is able to provide better performance of solving the multi-dimension multimodal case. Simulation results and analysis will have a significant impact on the design of the randomness mechanism of the meta-heuristics algorithm and the improvement of Classical algorithms.
Introduction
Randomization, one of the most needed features to consider when designing heuristic and meta-heuristic algorithms, has great theoretical significance to improve the diversity, precision, convergence speed and global searching capability of the algorithm [1]. The randomization mechanism of the algorithm is generally implemented by using pseudo-random numbers generated through some stochastic process methods and random walk model plays an important role in the stochastic design of heuristic algorithms. From the view of the heuristic algorithm, the random walk model uses some typical probability distribution functions to generate random numbers as the walking step for updating the ‘position’ of the current solution vectors in whole solution domain, so as to guarantee the global searching capability of the algorithm.
Levy flight, first discovered in the study of foraging behavior of ant colony [1–5], is a special type of random walk. The walking step, in this case, is drawn from a power-law distribution called Levy distribution which can effectively demonstrate the randomness of intelligent algorithms. Since Levy flight shows competitive in large-scale searching capability [6–8], it has been widely used in the stochastic optimization design of the algorithm, such as, Flower Pollination Algorithm (FPA) [12], Improved Particle Swarm with Levy flight (PSL) [11], Levy inspired grey wolf Algorithm (LGWA) [13], Cuckoo search (CS) [10] and some improved intelligent algorithms [14–19] with levy characteristic etc. Among them, the Flower Pollination Algorithm, proposed by Yang et al. in 2013, has a powerful global searching ability by using Levy flight to simulate the process of remote pollination. Since this algorithm fully reflects the randomness of levy flight, it is often regarded as a typical meta-heuristic algorithm for studying the impact of Levy flight on the global search. In recent researches of the randomness design of the meta-heuristic algorithm, there are two main questions about Levy flight should be answered.one is whether the Levy flight is the best scheme of randomness design of a meta-heuristic algorithm for now. The other is what the differences in the global search ability of the algorithms based on the random walk model with different distributions are.
In our previous research, the optimal performance analysis of the cuckoo algorithm with different random walk models has been studied, but it should be concerned in detail whether this analysis method and the comparison result mentioned before can be equally applicable for other levy flight based algorithms. Therefore, this paper focuses on the global optimization performance of FPA with three different random walks. The content of this paper is arranged as follows: section 2 gives a brief introduction of the basic principle and algorithm framework of FPA. In section 3, random walks model with Levy case, Gauss case, and Cauchy case are introduced and analyzed from the mathematical point of view respectively. In section IV, detailed comparative analysis of the global optimization performance of FPA with three different random walks is proposed via numerical simulations. In the last section, several conclusions of this work are given.
Flower pollination algorithm
Flower pollination algorithm (FPA) is one of the intelligent algorithms that are enlightened by the law of nature. Particularly, its idea comes from the pollination of plants, which consists of self-pollination and cross-pollination in terms of different plants. In self-pollination, the plants pollinate their own pistil or Pollination between congeneric plants. On the contrast, If the pollination is achieved through intermediates, e.g. insects transmit pollen among flower plants, this process can be referred to the cross-pollination. By analyzing the above two pollination processes, Yang et al. [12] abstracted four basic rules from pollination of flower plants to establish the conceptual model of flower pollination algorithm.
Define the cross-pollination as global pollination, and the Intermediary subjects to Levy flight. Define the self-pollination as local pollination. Define the flower constancy as the replicative probability, which is proportional to the similarity between the two flowers involved in the pollination. Switch between the global pollination and local pollination according to a probability parameter. Due to the physical adjacency and with the consideration of winds, the local pollination is the dominant process during the pollination.
Following these rules above, one can achieve the basic framework of FPA. Obviously, the mathematical definition of global and local pollination is the key component of FPA.
The formula for the global pollination is described by Equation (1)
Where
Where Γ (λ) represents the standard gamma function. And it’s valid when s > 0.
The local pollination can be represented by the following equation:
Where

Pseudo code of the FPA.
Random walk model is one of the forms of random process. In algorithms, it is commonly represented by a path consists of a set of continuous random step length in a certain space. Every individual step is an independent random variable. The common expression of random walk model can be described by Equation (4)
Where s i is an independent random variable, and s n represents a random process subject to Equation (4). Note that, the random walk is a typical Markov chain. In FPA, the Lévy flight is employed as a pseudorandom number generator, its step lengths are randomly generated by the Mantegna’s algorithm, and they subject to the uniform Levy steady-state distribution. In this paper, another two random number generators based on McCulloch’s algorithm [20] are proposed, to study how random walk model affects the performance of global optimization of FPA. In the following section, we will address these three generators in detail.
Yang et al. proposed a random number generator based on Mantegna algorithm in 2014, see in Equations (5–7).
Where u and v are normal random variables, β ∈ [0.3, 1.99] is the adjustable parameter of the distribution function. In FPA, the parameter β of Levy distribution can be set to 3/2. To distinguish between other two random cases, It can be called Levy random or Levy step in the whole paper.
The symmetric a-stable distribution function which generated by McCulloch algorithm can be expressed by Equation (8)
Where ω and φ are independent random variables, subjects to the uniform distribution within [- π/2, π/2] and the standard exponential distribution, respectively. c denotes the scale factor and parameter θ reflects the characteristic exponent in the probability distribution. According to Equation (8), two special cases including Gauss and Cauchy case can be obtained by adjusting parameter θ.
In the Gauss case, the Equation (9) can be obtained from Equation (8) by setting the parameter θ to 2.
Similarly, the Cauchy case can be formulated in Equation (10) by setting the parameter θ to 1.
By observing Equation (10), it can be obviously found that the range of a random parameter s is from -c to c. To enhance the diversity of the Cauchy model, a modified Cauchy case with standard Gaussian noise is proposed in Equation (11).
Similar to Levy random, we can call the Equations (9 and 11) as Gaussian random and Cauchy random, or Gaussian step and Cauchy step. Moreover, the Fig. 2 and the Fig. 3 show the migration path and amplitude variation of 50 sets of random variables, which are generated by these three Random walk models.
Trajectory of three random walks in 2D space. 2-D Step change curves of three random walks.

As can be seen in Fig. 2, the Fig. 2(a-c) reflect the trajectory created by levy random, Gaussian random and Cauchy random walk in two-dimensional space, respectively. Among them, the trajectory in Fig. 2(a) shows existing mutation point in the walk step generating process, which can ensure that the algorithm avoids falling into the local optimum. But the number of its mutation point is small and the step size of the mutation point changes drastically, which directly influence the overall convergence rate. In Fig. 2(b), the trajectory generated by Gauss random changes steadily, which can effectively search the neighborhood of the optimal position of each iteration in the optimization process, which ensures the fast convergence of the algorithm, But the step size changes more evenly, cannot guarantee that the algorithm jumps out of the local optimum. Compared with the above two random walk models, Fig. 2(c) shows the dual characteristics of large-scale local search and partial mutation of the Cauchy random. It not only ensures that the algorithm can search the near domain of the current optimal point in each iteration but also relies on some mutation points to achieve the global search capability, which effectively balances the algorithm’s performance in exploration and exploitation. However, the upper bound of step-size variation generated by Cauchy random is almost determined by the parameter c, In Cauchy case, the step size is very sensitive to the parameter c, the mutation point cannot play the role of jumping out of the local optimum without properly setting. Combined with the step change curves in Fig. 3, the above conclusions have been further confirmed. Moreover, the optimization performance of FPA with these three random walks will also be discussed in Section 4.
Experiment and analysis
Test function
To analyze and verify the consequence of the three random walk models on the optimization performance of FPA, there are 23 different standard test functions has been selected and shown in Table 1 [20, 21–24], evaluating the converge speed and accuracy of the algorithm. All the results are shown in Tables 1 and 2. (F10 - F10) are based on the fixed-dimensional multi-modal test functions, (F11–F17) are based on the multi-dimensional unimodal functions, and (F18 - F23) are based on the fixed-dimensional multi-modal functions and Dim, Range, fmin represents the dimension of test function, solution domain, and global optimal value, respectively.
Fixed-dimension multimodal benchmark functions
Fixed-dimension multimodal benchmark functions
Benchmark functions with multi-dimension unimodal and multimodal
By setting specific terminal condition, variable-controlling approach (VCA) is able to indicate the accuracy, converge speed and multi-dimension process efficiency of the algorithm. This makes VCA be the main methodology for verifying the performance of optimization algorithm. Therefore, to compare the difference between the performances of the FPAs based on the three random walk models, this paper adopts a fixed iteration times and loss tolerance as the terminal condition, building two experiments respectively. In the first experiment, the iteration times is 500 and 5000, the corresponding dimension of test function are D = 2–6 and D = 30. The comparison results are shown in Table 3. In the second experiment, the loss tolerance e is 10-3, whose results show in Tables 4 and 5. Our hardware is a Lenovo laptop, with 2.90 GHz dual-core I5 CPU, 8GB memory, the software is Matlab 2012a under Windows 7. However, since the variation of experiment executor, optimization algorithm and the configuration of computers, the consumed time of the algorithm is not constant. Therefore, we use the average cost of time to do the comparison only.
Comparison result of fixed-dimension functions
Comparison result of fixed-dimension functions
Comparison result of multi-dimension functions
Comparison result of partial benchmark functions
At last, to explore the convergence property of the three random walk models, Fig. 4 shows the searching-path and converge curve of the first particle of certain test functions in the 1D space. The first column of Fig. 4 is the 3D visualization of the optimization process, showing the complexity of the test function. The second column is the searching-path of the first particle, showing the random variation of the step. The third and fourth columns of the figure illustrate the convergence curves of single and all particles, indicating the speed of the convergence. Though these four result, one can easily tell how difficult these algorithms are, and how good the optimizing capacity of the three random walk models is.
Trajectory of the first agent in 1st dimension and Convergence curves.
Experiment 1: From Table 3, we can analyze the optimizing capacity of these three random walk models with the same iteration times, when dealing with fixed-dimensional search problem.
Firstly, FPA can find the global optimization of fixed-dimensional multi-modal test function under all the three random walk models. Meanwhile, there is no obvious difference between the optimal value, mean and standard deviation. Then, from the average time of these algorithms cost, we can see the Cauchy random has a faster searching progress compared to other two models. That means Cauchy outperforms the rest models over the fixed-dimensional multi-modal optimization in terms of speed. The conclusion is also verified in Fig. 4 by the global convergence curve of F1, F3, and F5. At last, when dealing with low-dimensional test function, the optimal value, mean, standard deviation from Cauchy random based FPA can be found within the shortest time, compared to the other two models.
Experiment 2: From Table 4, we can analyze the optimizing capacity of these three random walk models with the same loss tolerance constraint, when dealing with multi-dimensional search problem. Overall, Levy and Gaussian random walk models have better performance than Cauchy in terms of multi-dimensional unimodal and multi-modal problem, except the efficiency. Then, we can learn from the converge curve of F11, F13, F22, F23 in Fig. 4 and the experiment data in Table 4 that Levy and Gaussian SSM have the similar converge speed and accuracy, which are way better than Cauchy. To compare the performance of the three models over the multi-dimensional unimodal, multi-dimensional multi-modal search problem, we compare the iteration times and average searching time of F11, F13, F22, F23 (F11, F13 are unimodal, F22, F23 are multi-modal) in Table 5. From this table, when the dimension is under 30, Cauchy SSM has the fast searching time. However, when the dimension is larger than 30, there is a huge increase of the time. On the contrast, Gaussian SSM has a short searching time when dealing with the unimodal searching problem whose dimension is above 30. And Levy is the best solution for the high-dimensional multi-modal searching problem.
Through the analysis of experiment 1 and 2, we have the following three conclusions of FPA with three different random walk models.
Cauchy random based FPA can achieve the global optimal solution in the fast speed over low-dimensional test function. Gaussian random based FPA can achieve the best balance between accuracy and time over multi-dimensional unimodal test function. Levy random based FPA is the best strategy for the multi-dimensional unimodal test function.
Conclusion
As an important meta-heuristic searching algorithm proposed in recent years, FPA shows a great capability for fast global searching relies on the random walk model validates the important role of stochastic mechanisms in meta-heuristic algorithms for solving complex optimization problems. In this paper, the impact of meta-heuristic algorithms with different random walk models on global search capabilities is well studied. Through the analysis of the motion characteristics of different random walk models in two-dimensional search space and the numerical simulation of 23 benchmark functions based on the modified FPA with different random walk models, there are three main conclusions can be given. Cauchy random can achieve the global optimal solution in the fast speed over low-dimensional test function. Gaussian random can achieve the best balance between accuracy and time over multi-dimensional unimodal test function. Levy random is the best strategy for the multi-dimensional unimodal test function. These results will contribute to the optimization design of the intelligent algorithm, and also provide a new idea for exploring the randomness mechanism of the algorithm.
Future research will mainly focus on the analysis of diversity and variability of populations in meta-heuristic algorithms since these results will help to further explore the impact of algorithmic stochastic mechanisms on global optimization performance. Other optimization strategies such as Orthogonal Learning Strategies and Rotation Learning Strategies will also be considered for improvement and optimization of algorithms.
Footnotes
Acknowledgments
This work was supported in part by the National Natural Science Foundation of China under Grant 71601183.
