Swarm Intelligence in Engineering 2014View this Special Issue
Research Article | Open Access
Petr Maca, Pavel Pech, "The Inertia Weight Updating Strategies in Particle Swarm Optimisation Based on the Beta Distribution", Mathematical Problems in Engineering, vol. 2015, Article ID 790465, 9 pages, 2015. https://doi.org/10.1155/2015/790465
The Inertia Weight Updating Strategies in Particle Swarm Optimisation Based on the Beta Distribution
The presented paper deals with the comparison of selected random updating strategies of inertia weight in particle swarm optimisation. Six versions of particle swarm optimization were analysed on 28 benchmark functions, prepared for the Special Session on Real-Parameter Single Objective Optimisation at CEC2013. The random components of tested inertia weight were generated from Beta distribution with different values of shape parameters. The best analysed PSO version is the multiswarm PSO, which combines two strategies of updating the inertia weight. The first is driven by the temporally varying shape parameters, while the second is based on random control of shape parameters of Beta distribution.
The particle swarm optimisation—PSO—is a popular heuristic optimisation algorithm developed by Kennedy and Eberhart . It is a nature inspired heuristic, which mimics the behaviour of flocks of birds or schools of fish. The recent survey of variants of PSO can be found in . It is a population based evolutionary technique [3, 4], its introductory description is provided in . The PSO has been successfully applied to many real life optimisation problems [6, 7].
Recently the PSO oriented research focuses on the development of new adaptation strategies, which avoid the premature convergence of particle population, or being trapped in local optima. For example the periodic changes of number of particles in population enhance the PSO performance . The adaptive tuning of velocity particle estimated by the average velocity information accelerates the PSO ability to jump out of local optima . Hu et al.  developed adaptive variant of PSO called PSO-MAM, which adopts the subgradient method for adjusting the PSO parameters. Liu et al.  applied in CPSO—chaotic particle swarm optimisation—the logistic equation for adjusting the new location of particles.
The improvement the estimation of particle’s velocity is an essential task in PSO research. It was shown that the inertia weight—IW—helps to increase the overall PSO search performance [4, 12]. Nickabadi et al.  provide the overview of 15 different strategies for the inertia weights adaptation.
The random adaptations of inertia weight play an important role in improving the PSO performance [4, 11, 12, 14, 15]. Mostly they support the exploratory search in the beginning of optimisation process. They increase the population diversity during the search process. Bansal et al.  compared 15 different IW strategies on 5 optimisation problems. The linear decreasing inertia term with logistic mapping was the best IW strategy in terms of average error. The logistic mapping of form is random number generator related to the symmetric Beta distribution with parameters and .
Besides the adaptation strategies of PSO parameters the special attention has to be put on development the multiswarm PSO [17–19]. The multiswarm PSO based on exclusion and anticonvergence was tested in dynamic environments . The master slave multiswarm models with competitive and collaborative versions, in which the slave swarm provides the master swarm with the best particle, were studied in . The cooperative multiswarm PSO of four swarms with cooperative search and diversity strategy performed better than single PSO on complex multimodal functions . The five swarms with constant period of migration and constant migration rate outperformed single PSO on eight optimisation problems .
The comparison study of 12 different migration strategies 6 on 36 optimisation problems is provided in . Two migration strategies BW and BWM—the BWM applied the mutation on migrating particles—based on migrating the selected number of best particles from subswarm and substituting with them the worst particles outperformed remaining migration models. The parallel PSO with three communication strategies is compared in work of Chang et al. . All three migration strategies are applied sequentially in one optimisation run and periodically exchange the particles between subswarms.
The aim of the presented paper is to compare selected version of PSO. The tested single and multiswarm versions of particle swarm optimisation are based on modifications of inertia weight, which are related to the random component controlled by the Beta distribution.
The remaining part of paper is arranged as follows. The description of PSO provides details on standard PSO, the proposed random inertia weight strategies, and the description of tested multiswarm PSO. Results comment on the finding based on extensive 10 dimensional computational experiments. The article summarizes the main findings in Conclusions.
2. The Description of PSO
2.1. The Standard PSO
The standard PSO (sPSO) modifies the location of particle with dimension using the velocity updated in generation aswhere the and are random numbers with uniform distribution, denote the acceleration coefficients of social and cognitive learning, and the is the inertia weight.
The new location of particle is computed asand the social component is controlled by the location of the global best particle denoted as . For solving the minimization problem based on fitness function is the for all in population. The cognitive learning component is represented by the personal best location of particle , which is for all actually known locations of particle . Equations (1) and (2) are applied on all for with is the number of particles in swarm population [1, 3–5].
The sPSO is based on the velocity update with the linear decreasing inertia term , calculated with the formulawhere the was set to 0.9, is equal to 0.4, and is the maximum number of generations.
The velocity update formula is restricted by , and it is applied as velocity control on the cases, when . Then the value of velocity is bounded onNote that this type of velocity control only enables limiting the maximum distance in which particle may move during one iteration [1, 23, 24].
2.2. The Proposed Inertia Weight Modifications
The proposed inertia weight modifications are based on random numbers generated using the Beta distribution. The density of Beta distribution is defined asFigure 1 shows selected densities of Beta distribution with different values of shape parameters and . The Beta distribution allows simulation from symmetric densities () and asymmetric densities with shape parameters . Note that the uniform distribution is a special case of Beta distribution , and it has the maximum entropy from all Beta distributions.
One of the main advantages of Beta distribution is that it describes probability densities with various shapes on the interval . For equal shape parameters the density is bell shaped, for is U shaped. The U shaped densities allow simulating the extremes on interval , while the bell shaped ones are focused on center of interval. This property supports the balanced exploratory and exploitative search process and avoids the premature convergence.
Table 1 shows definitions of three tested inertia weight strategies based on the Beta distribution. The RBld represents the linearly decreasing inertia weight with random component based on symmetric Beta distribution with linearly varied shape parameters . The are controlled by the iteration and are expressed aswhere the represents the shape parameters for symmetrical Beta distribution, which are applied on random number generation in time .
The RBrr inertia weight version applies randomly selected shape parameters and . The simulated random component for one generation consists mainly of random numbers generated from different asymmetrical Beta distributions. Note that the probability that is smaller than the probability that .
The RBRa is modification of original of logistic mapping [11, 12]. The noise generated by the Beta distribution random generator is added to linearly varied inertia weight. The randomly varied shape parameters enable generation from both symmetrical and asymmetrical Beta distributions.
2.3. The Multiswarm PSO
The new proposed multiswarm PSO combines the search of four subswarms. This PSO version is marked as BrBl. The algorithm follows the principles of multiswarm algorithms [17–19], and it is completed by migration principle. The subswarms are divided into the two groups: the cooperative subswarms and elitistic subswarm. The subswarms use different inertia weight Beta distribution strategies. They share the information about global best particle only through the migration process.
The migration period is controlled by the simple rule, which increases the number of generations between two successive migrations. The migration iteration is controlled by the previous migration and is calculated as follows:This mechanism supports in the beginning of search process the exploration of search space through the intensive migration of particles. The increase of supports the exploitive search. The migration of cooperative and of elitistic subswarms is performed in the same generation.
The cooperative subswarms are formed of the three subswarms. Their cooperation is based on migration with migration rate . Each subswarm selects the number of its best particles in generation and replaces the randomly selected particles of swarm. The two cooperative swarms use the RBrr inertia weight update; the third cooperative swarm applies the RBld updating formula. The elitistic swarm uses the RBld inertia weight control.
The selection of subswarm for emigration is controlled randomly. Note that with the probability all three subswarms will substitute their own worst or randomly selected particles with their own best particles, with probability at least one of subswarm interchanges its worst or random particles with its bests, and with probability the subswarm obtains best particles from other cooperative subswarms.
The second group of subswarms is formed from one elitistic swarm. This subswarm searches over the search space and receives the all best particles from cooperative swarms. The best particles substitute the randomly selected particles from elitistic subswarm. The elitistic swarm does not share the knowledge of global best particle with cooperative subswarms.
The proposed modifications of inertia weight strategies were applied on 28 CEC2013 benchmark minimization problems . Only 10 dimensional problems were analysed in the presented study. The set of CEC2013 benchmark problem consists of five unimodal functions f1–f5, fifteen multimodal problems f6–f20, and eight composition functions f21–f28.
The search space for all CEC2013 benchmark functions was . Each PSO run was repeated 51 times per one optimisation problem. The maximum number of function evaluations was 100000, as recommended by the CEC2013 benchmark optimisation experiment .
The computations were made using the R statistical environment 3.0.2  on 64-bit GNU/Linux operative system, and benchmark functions were used through the implementation of CEC2013 R package v0.1-4 . The R package serves as a wrapper of original C code of 28 benchmark functions . The random number generator was based on the work of Matsumoto and Nishimura .
The single PSO parameter settings were based on [3, 24]. The size of population was , the , and . The populations were randomly initialized within the search space using the uniform distribution and the values of parameters controlling inertia weight were and . The linearly increasing values of shape parameters were , , and .
The PSO with proposed inertia weight strategies was compared with standard PSO (sPSO) and AMPSO2. The AMPSO2 uses the Beta distribution on adaptive mutation of the personal best particles and global best particle . The RBrr and RBRa use the shape parameters and randomly generated from interval .
The parameter settings particle initializations of BrBl subswarms were those used in single PSO. The BrBl migration rate , the first migration started in the second generation , and the total number of realized migrations was 9.
3.1. The Exploration and Exploitation of Proposed PSO Versions
We relate the description of balance between the exploration and exploitation to the evolution of the variances and fitness values of global best particles generated by the all 51 optimisation runs.
The variance of tested PSO versions was described using the standard deviations of differences between fitness values and median, which was obtained from 51 runs in given iteration. The results for the first 4000 iterations on 12 selected benchmark problems are shown in Figures 2, 3, and 4.
On unimodal problems f1–f5 and multimodal problem f17 the AMPSO2 and sPSO show clearly different patterns in the evolution of standard deviations than PSO versions with Beta distribution. The PSO versions with Beta distribution show the decrease of the variance of swarm particles, while the AMPSO2 and sPSO show the stagnation. These similar patterns of decrease and stagnation are apparent on the fitness values of global best particles.
Those patterns are connected to the convergence of tested PSO versions. For example on f1 problem all PSO versions based on Beta distribution found earlier the optimum than AMPSO2 and sPSO (see the results of Table 3).
The BrBl shows the highest variances in the beginning of iteration search. These are connected to the intensive migrations, performed during the early stages of optimisation search. The main benefit is shown in later rapid decrease of fitness value (e.g., see the results in Figure 2). Similar patterns are shown in [17, 21, 30].
The BrBl version also shows the increase of variance during the search process on f15 and f23. This fact is again connected to the finding of better solutions in terms of values of global best particle (see Table 3). On the other hand the BrBl was on f23 the second worst PSO version (see Table 2).
3.2. The Comparison of PSO Versions
Following the recommendation of CEC2013 the maximum function evaluation (FES) was set as [24, 25, 31]. The overall results of fitness values of global best particles are shown Table 3 for and Table 2 for .
The PSO versions with Beta distribution components show the best convergence properties on all benchmark problems for FES (see Table 3). The best fitness values recorded on FES show the RBld for unimodal problems. Three PSO algorithms achieved best fitness values on 15 multimodal problems, f6–f21. They are sPSO on f8, RBld on f13 and f21, and RBrr on f7, f10, f12, and f20. The remaining 8 multimodal problems were described by the BrBl. The RBld and BrBl were superior for composition functions, f21–f28.
The results of FES show that tested versions of PSO solved the following benchmark problems: f1—all PSO versions, f5—all PSO versions, f6—the BrBl version, f11—all PSO versions except the AMPSO2, and RBld, f21—sPSO. These results are comparable with findings of Zambrano-Bigiarini et al.  and El-Abd . The BrBl achieved the best values on 13 optimisation problems.
The comparison of mean performance of all 51 runs for FES is shown in Table 4. Those results are based on the contrast test of unadjusted median test (for detailed explanation see ). The final ranking shows that the BrBl PSO version is superior to the remaining tested versions. Similar results showed the contrast test values obtained for FES .
These finding were confirmed by the results of paired Wilcoxon test. The values for Wilcoxon test of BrBl and other PSO versions were statistically significant for FES (see Table 5) and also for FES .
The presented analysis evaluates the 6 different versions of PSO algorithm on 28 CEC2013 benchmark functions. The goal was to experimentally compare the different inertia weight updating strategies related to the random component generated by the Beta distribution.
The computational experiment consists of approximately function evaluations (28 benchmark functions × 51 repetitions × 100000 function evaluations × 6 versions of particle swarm optimization algorithm). We compared 5 single swarm PSO versions and 1 multiswarm PSO version.
The results of comparison of selected single swarm PSO versions indicate that the Beta distribution applied on inertia weight strategy provides important source of modifications of original PSO. It supports the balanced exploratory and exploitive search. The best single swarm strategies according to the results of contrast test based on unadjusted median are RBld and RBrr.
Our results highlight that the best version from 6 tested PSO modifications is the multiswarm algorithm BrBl. The BrBl combines the swarms with modifications of inertia weight by the random component controlled by the time varied constant shape parameters and randomly varied shape parameters of Beta distributions.
Conflict of Interests
The authors declare that there is no conflict of interests regarding the publication of this paper.
- J. Kennedy and R. Eberhart, “Particle swarm optimization,” in Proceedings of the IEEE International Conference on Neural Networks, pp. 1942–1948, The University of Western Australia, Perth, Australia, December 1995.
- K. Kameyama, “Particle swarm optimization—a survey,” IEICE Transactions on Information and Systems, vol. 92, no. 7, pp. 1354–1361, 2009.
- Y. Shi and R. Eberhart, “Modified particle swarm optimizer,” in Proceedings of the IEEE International Conference on Evolutionary Computation (ICEC '98), pp. 69–73, IEEE Computer Society, Washington, DC, USA, May 1998.
- R. Eberhart and Y. Shi, “Tracking and optimizing dynamic systems with particle swarms,” in Proceedings of the Congress on Evolutionary Computation, vol. 1, pp. 94–100, 2001.
- A. P. Engelbrecht, Computational Intelligence: An Introduction, John Wiley & Sons, New York, NY, USA, 2nd edition, 2007.
- J.-B. Park, Y.-W. Jeong, J.-R. Shin, and K. Y. Lee, “An improved particle swarm optimization for nonconvex economic dispatch problems,” IEEE Transactions on Power Systems, vol. 25, no. 1, pp. 156–166, 2010.
- M. Zambrano-Bigiarini and R. Rojas, “A model-independent particle swarm optimisation software for model calibration,” Environmental Modelling & Software, vol. 43, pp. 5–25, 2013.
- D. Chen and C. Zhao, “Particle swarm optimization with adaptive population size and its application,” Applied Soft Computing Journal, vol. 9, no. 1, pp. 39–48, 2009.
- G. Xu, “An adaptive parameter tuning of particle swarm optimization algorithm,” Applied Mathematics and Computation, vol. 219, no. 9, pp. 4560–4569, 2013.
- M. Hu, T. Wu, and J. D. Weir, “An adaptive particle swarm optimization with multiple adaptive methods,” IEEE Transactions on Evolutionary Computation, vol. 17, no. 5, pp. 705–720, 2013.
- B. Liu, L. Wang, Y.-H. Jin, F. Tang, and D.-X. Huang, “Improved particle swarm optimization combined with chaos,” Chaos, Solitons and Fractals, vol. 25, no. 5, pp. 1261–1271, 2005.
- Y. Feng, G.-F. Teng, A.-X. Wang, and Y.-M. Yao, “Chaotic inertia weight in particle swarm optimization,” in Proceedings of the 2nd International Conference on Innovative Computing, Information and Control (ICICIC '07), p. 475, Kumamoto, Japan, September 2007.
- A. Nickabadi, M. M. Ebadzadeh, and R. Safabakhsh, “A novel particle swarm optimization algorithm with adaptive inertia weight,” Applied Soft Computing Journal, vol. 11, no. 4, pp. 3658–3670, 2011.
- J. C. Bansal, P. K. Singh, M. Saraswat, A. Verma, S. S. Jadon, and A. Abraham, “Inertia weight strategies in particle swarm optimization,” in Proceedings of the 3rd World Congress on Nature and Biologically Inspired Computing (NaBIC '11), pp. 633–640, October 2011.
- M. Jakubcová, P. Máca, and P. Pech, “A comparison of selected modifications of the particle swarm optimization algorithm,” Journal of Applied Mathematics, vol. 2014, Article ID 293087, 10 pages, 2014.
- R. M. May, “Simple mathematical models with very complicated dynamics,” Nature, vol. 261, no. 5560, pp. 459–467, 1976.
- B. Niu, Y. Zhu, X. He, and H. Wu, “MCPSO: a multi-swarm cooperative particle swarm optimizer,” Applied Mathematics and Computation, vol. 185, no. 2, pp. 1050–1062, 2007.
- M. Gang, Z. Wei, and X. Chang, “A novel particle swarm optimization algorithm based on particle migration,” Applied Mathematics and Computation, vol. 218, no. 11, pp. 6620–6626, 2012.
- X. Lai and G. Tan, “Studies on migration strategies of multiple population parallel particle swarm optimization,” in Proceedings of the 8th International Conference on Natural Computation (ICNC '12), pp. 798–802, IEEE, May 2012.
- T. Blackwell and J. Branke, “Multiswarms, exclusion, and anti-convergence in dynamic environments,” IEEE Transactions on Evolutionary Computation, vol. 10, no. 4, pp. 459–472, 2006.
- J. Zhang and X. Ding, “A multi-swarm self-adaptive and cooperative particle swarm optimization,” Engineering Applications of Artificial Intelligence, vol. 24, no. 6, pp. 958–967, 2011.
- J.-F. Chang, S.-C. Chu, J. F. Roddick, and J.-S. Pan, “A parallel particle swarm optimization algorithm with communication strategies,” Journal of Information Science and Engineering, vol. 21, no. 4, pp. 809–818, 2005.
- F. van den Bergh and A. P. Engelbrecht, “A cooperative approach to participle swam optimization,” IEEE Transactions on Evolutionary Computation, vol. 8, no. 3, pp. 225–239, 2004.
- M. Zambrano-Bigiarini, M. Clerc, and R. Rojas, “Standard particle swarm optimisation 2011 at CEC-2013: a baseline for future pso improvements,” in Proceedings of the IEEE Congress on Evolutionary Computation (CEC ’13), pp. 2337–2344, Cancun, Mexico, June 2013.
- J. J. Liang, B. Y. Qu, P. N. Suganthan, and A. G. Hernandez-Diaz, “Problem definitions and evaluation criteria for the CEC 2013 special session and competition on real-parameter optimization,” Tech. Rep. 201212, Computational Intelligence Laboratory, Zhengzhou University, Zhengzhou China and Technical Report, Nanyang Technological University, Singapore, 2013.
- R Development Core Team, R: A Language and Environment for Statistical Computing, R Foundation for Statistical Computing, Vienna, Austria, 2013.
- M. Zambrano-Bigiarini and Y. Gonzalez Fernandez, “cec2013: benchmark functions for the special session and competition on real-parameter single objective optimization at CEC-2013,” R Package Version 0.1-4, 2013.
- M. Matsumoto and T. Nishimura, “Mersenne twister: a 623-dimensionally equidistributed uniform pseudo-random number generator,” ACM Transactions on Modeling and Computer Simulation, vol. 8, no. 1, pp. 3–30, 1998.
- M. Pant, R. Thangaraj, and A. Abraham, “Particle Swarm Optimization using adaptive mutation,” in Proceedings of the 19th International Conference on Database and Expert Systems Applications (DEXA '08), pp. 519–523, IEEE Computer Society, September 2008.
- H. Wang, H. Sun, C. Li, S. Rahnamayan, and J. Pan, “Diversity enhanced particle swarm optimization with neighborhood search,” Information Sciences, vol. 223, pp. 119–135, 2013.
- M. El-Abd, “Testing a particle swarm optimization and artificial bee colony hybrid algorithm on the CEC13 benchmarks,” in Proceedings of the IEEE Congress on Evolutionary Computation (CEC '13), pp. 2215–2220, IEEE Computational Intelligence Society, Cancun, Mexico, June 2013.
- J. Derrac, S. García, D. Molina, and F. Herrera, “A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms,” Swarm and Evolutionary Computation, vol. 1, no. 1, pp. 3–18, 2011.
Copyright © 2015 Petr Maca and Pavel Pech. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.