Abstract
The quantum-behaved particle swarm optimization (QPSO) algorithm, a variant of particle swarm optimization (PSO), has been proven to be an effective tool to solve various of optimization problems. However, like other PSO variants, it often suffers a premature convergence, especially when solving complex optimization problems. Considering this issue, this paper proposes a hybrid QPSO with dynamic grouping searching strategy, named QPSO-DGS. During the search process, the particle swarm is dynamically grouped into two subpopulations, which are assigned to implement the exploration and exploitation search, respectively. In each subpopulation, a comprehensive learning strategy is used for each particle to adjust its personal best position with a certain probability. Besides, a modified opposition-based computation is employed to improve the swarm diversity. The experimental comparison is conducted between the QPSO-DGS and other seven state-of-art PSO variants on the CEC’2013 test suit. The experimental results show that QPSO-DGS has a promising performance in terms of the solution accuracy and the convergence speed on the majority of these test functions, and especially on multimodal problems.
Introduction
In the past decades, many swarm intelligence algorithms have been proposed to solve complex benchmark and real-world optimization problems, such as particle swarm optimization (PSO) [1], artificial bee colony (ABC) [2, 3, 4], ant colony optimization (ACO) [5], grey wolf optimization (GWO) [6, 7, 8], cuckoo search (CS) [9], etc. PSO is one of the most popular algorithms due to its simple implementation and effectiveness, and has been widely applied in many real-world optimization problems, such as flexible job shop scheduling [10], path planning [11], circuit design [12], vehicle routing [13], feature selection [14, 15, 16], data clustering [17] and so on.
In PSO, each individual in the population, called a particle, represents a potential solution to an optimization problem. During the optimization process, particles adjust their flying trajectories by learning from their own experience and other partners’ experience which can help them fly towards a better search space and quickly converge to the optimum. However, the algorithm may suffer from the problem of premature convergence which means it gets trapped into the local optimum easily especially when solving complicated problems. This is because that the best experience of the swarm (i.e., the global best) is shared amongst all particles, which can lead the particles to gather around the global best. It would become difficult for the particles to escape from the local optimum if the global best is located near it. On the consideration of this problem, a lot of studies have been done and different variants of PSO have been put forward in the past decades. For example, Shi and Eberhart [18] first introduced the inertia weight in the velocity update equation of PSO in order to balance the exploration behavior of global search and the exploitation behavior of local search. Clerc and Kennedy [19] then added a constriction factor to control the convergence tendency of the particle swarm. Mendes et al. [20] developed a fully informed PSO (FIPS) algorithm in which information from a fully connected neighborhood is used. Later in 2006, Liang et al. [21] proposed a comprehensive learning PSO (CLPSO) for global optimization of multimodal functions, in which the velocity update of a particle is guided by the best information from all other particles. Zhan et al. [22] developed the orthogonal learning strategy to guide particles to fly in better directions by constructing an efficient exemplar. Nasir et al. [23] proposed a dynamic neighborhood learning particle swarm optimizer (DNLPSO), which modified the learning strategy in CLPSO and used it to generate exemplars from a predefined neighborhood, for the purpose of enhancing the explorative nature of the algorithm. In the same year, Li et al. [24] proposed a self-learning particle swarm optimizer, called SLPSO, in which a particle can adaptively adjust its search behavior during the search space. Specifically, there were four different strategies in SLPSO guiding particles to converge to the current global best, exploit the area of a local optimum, jump out of a local optimum, and explore new promising areas. Particles can automatically choose an appropriate learning objective at an appropriate moment during the search process. Besides, there also are some other PSO variants proposed in recent years that have been proven to be effective in solving complex optimization problems [25, 26, 27, 28, 29, 30].
Quantum-behaved particle swarm optimization (QPSO), proposed by Sun et al. in 2004 [31], is a variant of PSO inspired by quantum mechanics and the trajectory analysis of PSO. Each particle in QPSO is assumed to have quantum behavior and is further assumed to be attracted by a quantum delta potential well centered on its local focus. Compared to PSO, QPSO has no velocity vectors for particles to update and needs fewer parameters to adjust, making it easier to implement. Besides, the mean best position employed in this algorithm enables the particles to be more intelligent and cooperative, and thus the global search ability is enhanced. Given these advantages, QPSO has been widely used in many optimization problems [32, 33, 34, 35]. Nevertheless, it still succumbs to the issue of converging too fast and falling into the local optimum when solving complex multimodal problems, just like other PSO variants.
Based on the above analysis, in this paper, we proposed an improved QPSO with dynamic grouping searching strategy, named QPSO-DGS, in order to keep a good trade-off between exploration and exploitation. In this algorithm, the particle swarm is dynamically divided into two subgroups, and each subgroup is assigned to conduct the exploration and exploitation search, respectively. Each particle in each subgroup adjusts its own personal best position using a comprehensive learning method with a certain learning probability. Besides, a modified opposition-based computation is used during the search process to maintain the swarm diversity and thus further enhance the performance of the proposed algorithm.
The rest of this paper is organized as follows. Section 2 gives a brief introduction of PSO and QPSO. Section 3 describes the details of our proposed QPSO-DGS algorithm. The experimental results and analysis on several benchmark functions are presented in Section 4. Finally, the work is concluded in Section 5.
Related work
Particle swarm optimization
Particle swarm optimization (PSO) is a population-based optimization technique originally developed by Kennedy and Eberhart in 1995 [1], which imitates the swarm behavior of birds’ flocking. In PSO, each particle is treated as a potential solution to a given problem, and all particles follow their own experiences and the current optimal particle to fly through the solution space.
In the PSO with
for
Quantum-behaved particle swarm optimization (QPSO) algorithm, a variant of PSO, was inspired by quantum mechanics and the trajectory analysis of PSO [19]. It utilizes a strategy based on a quantum delta potential well model to sample around the previous best points [31].
In the QPSO with
for
Since it was first introduced, some improved versions of QPSO have been reported. For example, in [32], Coelho proposed a variant of QPSO using Gaussian mutation (GQPSO) and applied it to constrained engineering problems. Sun et al. [36] proposed the QPSO with local attractor point subject to a Gaussian probability distribution (GAQPSO). Li et al. [37] presented a cooperative QPSO (CQPSO) using Monte Carlo method. In [38], the generalized space transformation search was employed in QPSO for population initialization and generation jumping. In [39], Bhatia et al. proposed a hybrid QPSO with Cauchy operator and natural selection mechanism (QPSO-CD) from evolutionary computations and claimed its outperformance in context of stability and convergence. Chen et al. [40] proposed an improved Gaussian distribution based QPSO and applied it to engineering shape design problems with multiple constraints.
In this section, the proposed QPSO algorithm with dynamic grouping searching strategy (QPSO-DGS) is described in detail. During the search process, the swarm is randomly divided into two subpopulations. For these subpopulations, the dynamic grouping searching strategy is introduced in this work for the purpose of maintaining a balance between exploration and exploitation. In addition, a new opposition-based computation is periodically used to improve the swarm diversity and to increase the chance of finding a solution close to the optimal one. Section 3.1 and Section 3.2 present this new opposition-based computation and the dynamic grouping searching strategy in detail, respectively. Then the framework of the proposed QPSO-DGS algorithm is illustrated in Section 3.3.
A new opposition-based computation
Opposition-based learning (OBL) [41] is a popular concept in computational intelligence, and has been successfully used in various metaheuristics to enhance their performance [42, 43, 44, 45, 46, 47]. Its main idea is to consider an estimate and its corresponding opposite estimate at the same time, so as to achieve a more accurate approximation to the current candidate solution [48]. Some basic definitions of OBL are presented as follows.
Opposite number [41]: Let
Opposite point [41]: Let
In this paper, we made a modification to the computation of the opposite solution in the OBL model, and used it during the search process in order to provide another chance for finding a solution closer to the global best as well as to improve the swarm diversity. This modified computation is stated as
where
The OBL concept.
As stated in Section 2, the movement of each particle in the canonical QPSO is influenced by the local attractor and the mbest position. The local attractor attracts the particles to itself, and the mbest makes particles wait the lagged ones when they converge to the local attractor [31]. In short, the local attractor and the mbest position together make particles have strong ability of global search. Besides, according to the Eq. (4), the local attractor
: Computing the local attractors[1] // For group 1; particle
In Algorithm 3.2, for group 1, we set the weight of particle
Meanwhile, the comprehensive learning method [21] with a learning probability
where
[b] : Regrouping[1] // Update the boundaries of each dimension;
After the local attractors of two groups are determined, the position of each particle in both groups is updated according to the Eq. (3). Then the personal best positions of all particles, the local best positions of two groups and the global best position of the whole particle swarm are updated successively.
Furthermore, we define a regrouping gap
Based on the above description, the procedure of implementing our proposed QPSO-DGS algorithm is given in Algorithm 3.3. The search process stops when the termination criterion is satisfied.
: QPSO-DGS
Experimental studies
A variety of experiments are carried out in this section to evaluate the performance of the proposed QPSO-DGS algorithm. We first describe the test problems and then conduct a set of experiments to find out how different values of the regrouping gap
Test problems
In order to assess the performance of the QPSO-DGS algorithm, we use CEC’2013 test suit in the following experiments, which contains 28 test problems. A summary of this test suit is given in Table 1. As we can see that the CEC’2013 test functions can be divided into three classes according to their properties: unimodal functions (
Summary of the CEC’2013 test suit
Summary of the CEC’2013 test suit
Sensitivity of
The value of the regrouping gap
For other parameters in QPSO-DGS, we used the following settings. The population size (
The mean and standard deviation (Std) values are shown in Table 2 where the best ones for each test function are highlighted in bold background. It can be seen that
Comparative study with PSO variants
In this section, QPSO-DGS is compared with seven other PSO variants, including PSO with constriction factor (PSO-cf) [50], QPSO, comprehensive learning PSO (CLPSO) [21], dynamic neighborhood learning PSO (DNLPSO) [23], enhanced leader PSO (ELPSO) [25], self regulating PSO (SRPSO) [27], and MPSO [28].
The first two algorithms are the canonical PSO and QPSO. In CLPSO, a comprehensive learning strategy is used to improve the performance on complex multimodal problems. DNLPSO is an improved variant of CLPSO which introduces neighborhood based selection of the exemplar for velocity updating to enhance its exploration ability. ELPSO uses a five-staged successive mutation strategy to the swarm leader at each iteration considering the problem of premature convergence. SRPSO, inspired by learning principles found in human cognitive psychology, employs the self-regulating inertia weight to the best particle for stronger exploration and the self-perception of the global search direction to the rest of the particles for stronger exploitation. MPSO is a modified PSO, in which particles can adaptively choose the strategies of position updating according to the corresponding conditions, and thus achieving a better balance between exploration and exploitation.
For the fairness of fairness, all the above algorithms are tested on all 28 test functions and run 30 times independently, with the population size (
Parameters setting for different algorithms
Parameters setting for different algorithms
Comparison results of mean and standard deviation (Std) values on CEC’2013 benchmark functions. The best values are highlighted in bold background
Comparison results of mean and standard deviation (Std) values on CEC’2013 benchmark functions. The best values are highlighted in bold background
Comparison results of mean and standard deviation (Std) values on CEC’2013 benchmark functions. The best values are highlighted in bold background
Wilcoxon signed rank test results with a significance level of 0.05
The comparison results of mean and standard deviation (Std) values are listed in Tables 4–6, where the best results performed by those algorithms on each benchmark functions are marked with bold font. In these tables, the performance of each algorithm is ranked in terms of both the mean and standard deviation values, and the final rank for each algorithm is given according to its average rank value over 28 test problems. Besides, in order to evaluate the statistical difference between QPSO-DGS and the other PSO variants, the Wilcoxon signed rank test results with a significance level of 0.05 are presented in Table 7. In this table, the symbol “
As shown in Table 4, on unimodal functions (i.e., functions from
On multimodal and composition problems, QPSO-DGS yielded the best mean values on functions
Convergence graphs of different algorithms on functions 
Convergence graphs of different algorithms on functions 
Convergence graphs of different algorithms on functions 
Convergence graphs of different algorithms on functions 
The number of “Best/2nd Best/Worst” is counted for each algorithm in the last row of Table 6. We can see that the proposed QPSO-DGS algorithm outperformed the others on 13 out of 28 benchmark functions and obtained the second best mean values on 8 out of 28 benchmark functions. Overall, it ranked the first over the other PSO variants. CLPSO ranked the second, followed by MPSO, while DNLPSO ranked the last. Meanwhile, according to the statistical results in Table 7, we can also conclude that QPSO-DGS is evidently superior to its competitors and that DNLPSO is the worst among all of these tested algorithms in solving the CEC’2013 test suit.
Figures from Figs 2 to 5 show the convergence curves of the above eight algorithms. It should be noted that the convergence curves in these figures are the result of the minimum rather than the average of 30 independent runs. From these figures, we can see that the proposed QPSO-DGS can converge with a good convergence speed on most of the benchmark functions, except on functions
Mean and Standard deviation (Std) values obtained by QPSO, DGS1, DGS2 and QPSO-DGS. The best values are highlighted in bold background
Above all, our proposed QPSO-DGS algorithm outperforms the other PSO variants in terms of the mean values and the convergence speed on most of the benchmark functions, especially on multimodal and composition ones.
In order to investigate the effect of the dynamic grouping searching strategy employed in the QPSO-DGS algorithm, we carried out a set of experiments to study the performance of QPSO-DGS without comprehensive learning, QPSO-DGS with comprehensive learning only, and QPSO-DGS, and compared these algorithms with QPSO. For the purpose of simplicity, we denote the former two algorithms as DGS1 and DGS2. As for the parameters, we used the same settings as described in Section 4.2. The CEC’2013 test suit was used and each algorithm was conducted 30 runs for each benchmark function.
Table 8 illustrates the mean and standard deviation (Std) values of the above four algorithms, and the best results are highlighted in bold background. It is obvious that QPSO-DGS is the best among all competitors, for it obtained the minimal mean values on most of the benchmark functions, especially on multimodal and composition ones. According to the comparison results between QPSO and DGS2, we can see that DGS2 only outperformed the QPSO on functions
Overall, we can conclude that the dynamic grouping searching strategy adopted in our proposed QPSO-DGS algorithm could effectively improve the performance of the QPSO algorithm in solving complicated optimization problems.
Conclusions
In this paper, we proposed a hybrid QPSO with a dynamic grouping searching strategy, named QPSO-DGS, to solve complex optimization problems. In this algorithm, the particle swarm is dynamically grouped into two subpopulations, and each subpopulation is assigned to conduct the exploration and exploitation search, respectively. The comprehensive learning method with a certain learning probability is adopted for particles in each subpopulation to adjust their personal best positions so as to generate proper exemplars to guide their movement. Besides, a modified opposition-based computation is used periodically during the search process to maintain the swarm diversity.
In order to testify the performance of QPSO-DGS, we carried out various experiments to compare it with other seven state-of-art PSO variants. The experimental results show that QPSO-DGS can get better solutions as well as faster convergence speed on most of the test functions. It also reveals the competitive performance of QPSO-DGS and the ability of dealing with complex optimization problems such as multimodal and composition ones. Furthermore, we investigated the effect that the dynamic grouping searching strategy has on enhancing the performance of our proposed algorithm. The experimental results demonstrated that this strategy can effectively improve the algorithmic performance of QPSO-DGS, particularly when dealing with multimodal and composition problems.
As future work, we will focus on strengthening the performance of QPSO-DGS to make it more effective in solving complex optimization problems. In addition, we will also try to apply QPSO-DGS to real-world optimization problems.
Footnotes
Acknowledgments
This study was funded in part by the National Natural Science Foundation of China (Projects Numbers: 61673194, 61672263, 61672265), and in part by the national first-class discipline program of Light Industry Technology and Engineering (Project Number: LITE2018-25).
