Abstract

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.

1. Introduction

The particle swarm optimisation—PSO—is a popular heuristic optimisation algorithm developed by Kennedy and Eberhart [1]. 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 [2]. It is a population based evolutionary technique [3, 4], its introductory description is provided in [5]. 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 [8]. The adaptive tuning of velocity particle estimated by the average velocity information accelerates the PSO ability to jump out of local optima [9]. Hu et al. [10] developed adaptive variant of PSO called PSO-MAM, which adopts the subgradient method for adjusting the PSO parameters. Liu et al. [11] 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. [13] 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. [14] 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 [16].

Besides the adaptation strategies of PSO parameters the special attention has to be put on development the multiswarm PSO [1719]. The multiswarm PSO based on exclusion and anticonvergence was tested in dynamic environments [20]. 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 [17]. The cooperative multiswarm PSO of four swarms with cooperative search and diversity strategy performed better than single PSO on complex multimodal functions [21]. The five swarms with constant period of migration and constant migration rate outperformed single PSO on eight optimisation problems [18].

The comparison study of 12 different migration strategies 6 on 36 optimisation problems is provided in [19]. 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. [22]. 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, 35].

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 [1719], 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.

3. Results

The proposed modifications of inertia weight strategies were applied on 28 CEC2013 benchmark minimization problems [25]. 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 [25].

The computations were made using the R statistical environment 3.0.2 [26] on 64-bit GNU/Linux operative system, and benchmark functions were used through the implementation of CEC2013 R package v0.1-4 [27]. The R package serves as a wrapper of original C code of 28 benchmark functions [25]. The random number generator was based on the work of Matsumoto and Nishimura [28].

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 [29]. 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. [24] and El-Abd [31]. 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 [32]). 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 .

4. Conclusions

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.