Mathematical Problems in Engineering

Mathematical Problems in Engineering / 2014 / Article
Special Issue

Swarm Intelligence in Engineering 2014

View this Special Issue

Research Article | Open Access

Volume 2014 |Article ID 592682 | 10 pages | https://doi.org/10.1155/2014/592682

Quantum Behaved Particle Swarm Optimization Algorithm Based on Artificial Fish Swarm

Academic Editor: Fang Zong
Received02 May 2014
Revised29 Jul 2014
Accepted13 Aug 2014
Published28 Aug 2014

Abstract

Quantum behaved particle swarm algorithm is a new intelligent optimization algorithm; the algorithm has less parameters and is easily implemented. In view of the existing quantum behaved particle swarm optimization algorithm for the premature convergence problem, put forward a quantum particle swarm optimization algorithm based on artificial fish swarm. The new algorithm based on quantum behaved particle swarm algorithm, introducing the swarm and following activities, meanwhile using the adaptive parameters, to avoid it falling into local extremum of population. The experimental results show the improved algorithm to improve the optimization ability of the algorithm.

1. Introduction

Quantum behaved particle swarm algorithm is first proposed by Sun et al. [1] in 2004. Quantum behaved particle swarm optimization algorithm introduces quantum computing into the particle swarm algorithm, starting from the mechanical point of view that the particle in the space has quantum behavior. The algorithm overcomes the disadvantages while preserving the advantages of particle swarm algorithm, which can effectively improve the performance of optimization algorithms.

Research on the quantum particle swarm optimization mainly focuses on the following three aspects: The first one is proof theoretic research, the second one is to improve the contraction expansion factor, and the third one is combined with other algorithms. In 2005, Moore and Venayagamoorthy [2] proposed quantum particle swarm algorithm for the combinational logic circuit. In 2006, Mikki and Kishk [3] proposed a quantum mechanical particle swarm algorithm based on electromagnetism and is used to optimize the electromagnetic aspects.

Quantum particle swarm optimization (QPSO) is in the field of medical image watermarking for copyright protection and authentication [4]. The trade-off between the imperceptibility and robustness is one of most serious challenges in digital watermarking system. Image watermarking can be considered as an optimization problem by utilizing human visual system characteristics and QPSO algorithm in adaptive quantization index modulation and singular value decomposition in conjunction with discrete wavelet transform and discrete cosine transform. In the literature [5], a modified and efficient version of the QPSO combined with chaotic sequences (CQPSO) is proposed and evaluated.

An artificial fish swarm algorithm based on a filter methodology for trial solutions acceptance is analyzed for general constrained global optimization problems [6]. The preliminary numerical experiments with a well-known benchmark set of engineering design problems show the effectiveness of the proposed method.

In the literature [7], an improved dynamic clustering algorithm was presented, which combines the quantum particle swarm algorithm with -means algorithm by improving the encoding of quantum particles and the introduction of new distance metric rules. The algorithm has a quantum behaved particle swarm global search capability. In order to accelerate the convergence speed, the -means algorithm is used to optimize every particle. Through the adjustment of the value of the fitness function, our algorithm can search for the optimal clustering number of clusters, so the number of clusters and centers is not subject to subjective factors. Extensive experiments verified the effectiveness of the algorithm.

Based on quantum evolutionary algorithm and particle swarm optimization, a quantum particle swarm evolutionary algorithm is proposed [8]. In this algorithm, quantum angle is used to represent the qubit, a new method learning from the idea of particle swarm algorithm which is presented to determine rotation angle. The gate is taken to prevent premature convergence. In the literature [9], analytical optimization techniques suffer from slow convergence in complex solution space. Heuristics-based swarm intelligence is an efficient alternative to analytical optimization techniques. The particle swarm optimization approach is utilized for better and efficient nanodevice modeling.

Artificial fish swarm algorithm (AFSA) is a kind of swarm intelligence algorithms which is usually employed in optimization problems [10]. There are many parameters to adjust in AFSA like visual and step. Evaluations of the proposed methods were performed on eight well-known benchmark functions in comparison with standard AFSA and particle swarm optimization (PSO). The overall results show that proposed algorithm can be effective surprisingly.

The paper based on the quantum behaved swarm algorithm, combined with the artificial fish swarm algorithm, proposed the new improved quantum particle swarm algorithm. In order to avoid the individual into local extremum, the new algorithm uses the swarm and following behavior, meanwhile it combines with the adaptive parameter adjustment.

2. Quantum Particle Swarm Algorithm

2.1. The Principle of the Algorithm

According to the principle of quantum mechanics, quantum particle swarm algorithm is proposed by Sun et al. With the help of DELTA potential well, the particle swarm optimization algorithm is applied to the quantum space. The quantum space particle used wave function to describe Among them, is the square of the module of wave function, representing the probability density of particles in a position to appear. is the probability density function and satisfies the normalization condition:

Assume that the dimension of (on behalf of the dimension of the variables associated with problem) quantum space has a population, which consists of particles. Location of the th particle is , and the particle through the history of the best location is ; after all the particles of the best historical position is .

In quantum space, positions of particles after the particles get through stochastic simulation of Monte Carlo measurement: Among them, is the random number range of . is obtained by the particle’s current position and historical best position is . Thus, get the update formula of quantum particle swarm optimization: Among them, is the iteration number of algorithm. is the contraction expansion factor and is the only parameter of quantum particle swarm algorithm.

In order to avoid the premature convergence, Sun et al. improved quantum particle swarm algorithm, introducing best in the algorithm; that is, where is the best position of th particles and is the number of particles. “best” find the average best location of particles and solve problems based on the dimension of the variable.

After the introduction of best, the individual update formula is

Therefore, quantum particle swarm optimization particle updating formula can be described as Among them, is the random number in ; other parameters are same as the ones mentioned above.

2.2. The Algorithm Flow

Quantum particle swarm algorithm flow chart in Figure 1 is specifically described as follows.

Step 1. Initialize algorithm parameters (population size , particle dimension , the maximum number of iterations MAXGEN), population initialization, initialization particles history , and global history optimal value .

Step 2. Evaluate individual fitness value.

Step 3. Update the optimal population in history. The particle’s fitness is better than the particle history itself, with the current value of the replacement; otherwise, the history optimal particles remain unchanged.

Step 4. Update the history global optimal particle in a population, the best fitness value of all the particles in the population.

Step 5. Update particles by using quantum behaved particle swarm optimization algorithm formula, all the particles in space.

Step 6. If the algorithm reaches the maximum number of iterations, then output the optimal solution, and the algorithm terminates; otherwise, continue to implement the Step 2.

3. An Improved Quantum Behaved Particle Swarm Algorithm

For quantum particle swarm algorithm, due to the small parameter and the solving speed of algorithm, many scholars have joined the ranks of the algorithm, but the premature convergence may also exist. In order to optimize the algorithm, put forward a quantum particle swarm optimization algorithm based on artificial fish swarm, abbreviated as QAFSP.

3.1. Improvement Strategies
3.1.1. Swarm and Follow

In the improved QAFSP algorithm, for the individual updates, cluster operates to the optimal position of the history of particles. Based on   and searching other individuals within the perceived distance together constitute a search region. Calculate and record the center position and value to the small area. If the is better and the center around the position is not too crowded, so the individual   moves to the direction, and the moving formula is as follows:

If the mobile requirement is not met, the individual performing quantum particle swarm particle updating formula gets the new state of particles.

The introduction of polygroup activities which can help particle has been or is about to fall into the local extremum to escape, moving toward the optimal direction, to improve the quantum particle swarm algorithm local convergence. Similarly, the rear-end activities are also conducted for the individual and the current particle best position to be carried out. Take the minimum value problem as an example, rear-end activity is based on the , searches for the minimum value of individual among its sensing range. The all individuals within the perceived distance of together form a small region. If the fitness value of is better, and the small region is not too crowded, then the individual moves towards the direction of position:

If the mobile requirement is not met, then the particles perform the updating formula of the quantum particle swarm algorithm and get the new state of particles.

Introduction of rear-end activities and enabling space particle to move toward better accelerate the speed of the individuals to be close to better solutions. In addition, this can help the individual to jump out of local minimum, to prevent it falling into local extreme and to stop the search.

3.1.2. Adaptive Adjustment

The shrinkage factor is the only parameter of quantum particle swarm algorithm; how to choose can affect the overall performance of the proposed algorithm. If the contraction factor is too large, the algorithm convergence has long search time and too slow time; if it is too small, this can make the algorithm into a local optimal solution.

In order to avoid the defects of shrinkage factor fixed, use adaptive shrinkage factor to improve QAFSP algorithm. The shrinkage factor is defined as a function associated with the evolution algebra: Among them, MAXGEN is the maximum number of iterative algorithms; is the evolution algebra.

As can be seen, the shrinkage factor in the initial stage of algorithm is greatly easy to large range for group search. Accompanied by optimization algorithm, the shrinkage factor decreases gradually, the individual searching scope reduces. And it starts to fine search among the local area.

Another parameter to be automatically adjusted is the moving step in the clusters and rear end. Similar to the shrinkage factor, step size has a direct impact on the performance of the proposed algorithm. The individuals with larger step size expand those searching scope, and the individuals with smaller step size start to fine search among the local area.

In the improved quantum particle swarm algorithm QAFSP, use the adaptive step size adjustment. Based on fitness value of in the cluster or in rear end, the ratio of and individual fitness between, automatically adjust the step size, in particular to: Therefore, when the individual is closer to or , step of smaller values is more suitable for fine search in a small range. On the contrary, the adaptive step of larger size is suitable for moving in large scope. Adaptive step size selection can balance the local and global search ability, improving the ability of the algorithm.

3.2. Quantum Behaved Particle Swarm Optimization Algorithm Based on Artificial Fish Swarm

The proposed quantum particle swarm optimization algorithm based on artificial fish swarm, the basic process shown in Figure 2, can be described as follows.

Step 1. Initialize algorithm parameters (population size , the number of iterations MAXGEN, perceived distance, the maximum number of temptation, the maximum step size, and crowding factor) and population initialization.

Step 2. Evaluate individual fitness value of the population. Do records particle history optimal and populations of the globally best.

Step 3. Implement quantum particle swarm optimization particle updating formula; the particle is updated.

Step 4. Update the optimal particle itself and update the globally best population.

Step 5. For polygroup activities, according to the history of optimal particles , particles are perceived within the scope of the center . If it meets the mobile condition, move to the center position direction; if not satisfied, then perform particle update.

Step 6. For rear-end activity, according to the historical optimum particle , get the minimum fitness value of individual particles in the perception. If it meets the mobile condition, move to the minimum fitness position direction of individual; otherwise, perform particle update.

Step 7. To compare Step 6 to Step 7, newly produced particles, choose those better fitness values, updated .

Step 8. Update the particle’s own history and the globally best optimal of population.

Step 9. If the maximum number of iterations is reached, then output the optimal solution, and the algorithm terminates; otherwise, continue to implement Step 3.

Compared with quantum particle swarm algorithm, the improved algorithm adopts swarming and rear-end activities and basis on the best position of particle. In addition, the swarming and rear end use adaptive step length adjusting operation and dynamically change the length of the particles moving step; in update formula of the particles, adaptive shrinkage factor is also used, according the size of iterative search to automatic adjust.

4. Function Optimization and Simulation Experiment

4.1. Test Function

The improved algorithm is applied to a test function for function optimization. Use the following test functions:

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8) Minimum theoretical test functions are 0. The theory of minimum, respectively, is 7, −1, −1.0316, −6.5511.

4.2. The Experimental Design

The improved quantum particle swarm optimization algorithm based on artificial fish algorithm(QAFSP), quantum particle swarm algorithm (QPSO), quantum genetic algorithm (QGA), and artificial fish swarm algorithm (AFSA), of four kinds of algorithms, was applied to the eight minimum test functions. Experiments were carried out in environment of MATLAB R2008b; the computer processor is Intel(R), Core(TM)2, Quad CPU Q9400 @2.66 GHz (4 CPUs), and the RAM is 2048 MB. Each algorithm for each test function is repeated in 50 independent experiments.

Algorithm of QAFSP, QPSO, and AFSA adopts real coding and QGA coding using qubits. For multidimensional functions, take dimension , take dimension , and and take dimension . The specific parameter of each algorithm is shown in Table 1.


Population scaleMaximum number of iterationsIndividual test timesIndividual perception of distanceCongestion factorThe maximum step sizeCode length

QAFSP20505501.6180.1
QPSO2050
QGA10010020
AFSA10010055011.6181.25

QAFSP10010051501.6180.1
QPSO100100
QGA15010020
AFSA150100515011.6181.25

QAFSP105051001.6180.1
QPSO1050
QGA20010020
AFSA2001001010011.6181.25

QAFSP2050551.6180.1
QPSO2050
QGA505020
AFSA20505511.6181.25

QAFSP2001005101.6181.25
QPSO200100
QGA20010020
AFSA200100201011.61811.25

QAFSP15010052001.6180.1
QPSO200200
QGA20010020
AFSA2002005020061.61821.25

QAFSP5010053001.6180.1
QPSO200100
QGA2001005
AFSA2001002030061.61821.25

QAFSP10010051001.6180.1
QPSO200100
QGA2001005
AFSA2001002010011.61811.25

4.3. Experimental Results and Analysis

The accuracy of the function is 10−3, when the difference between optimal value from algorithm and the theoretical minimum value is less than 10−3, denoted by algorithm for success. Define the algorithm success rate, the number of times for successful and independent experiment ratio. Four kinds of algorithms on eight benchmark functions result in Table 2.


The optimal solutionAverage valueThe average operation time (seconds)The number of successfulThe success rate

QAFSP770.21501
QPSO77.00040.03450.9
QGA77.00092.07400.8
AFSA77.00193.54370.74

QAFSP−1−0.999024.16450.9
QPSO−1−0.997560.31350.7
QGA−1−0.991375.59190.38
AFSA−1−0.956419.0300

QAFSP−1.0316−1.03160.10501
QPSO−1.0316−1.03150.02490.98
QGA−1.0316−0.82937.58140.28
AFSA−1.031620.138911.83120.24

QAFSP−6.5511−6.55110.22501
QPSO−6.5511−6.54570.03490.98
QGA−6.5511−6.48070.9580.16
AFSA−6.5511−6.55020.23340.68

QAFSP13.26501
QPSO0.000122160.136640.6460.12
QGA3.704218.5540.08
AFSA0.234275.910116.8700

QAFSP0.000215459.65490.98
QPSO0.000763341.52420.84
QGA0.0798395.788237.1500
AFSA13.642225.993839.6900

QAFSP2.05501
QPSO0.0260630.079690.7500
QGA14464.099927368.990627.8100
AFSA1364.29938233.303717.9100

QAFSP6.45501
QPSO0.0348440.18220.9000
QGA3.15753.296427.9300
AFSA9.543912.196826.7600

As can be seen from the table, strong optimization ability of quantum particle swarm algorithm (QAFSP) is based on artificial fish school. Using the same even smaller population size, the number of iterations, compared with the other three algorithms, QAFSP solves the optimal solution closer to the theoretical minimum function. In separate experiments 50 times, the number of successful optimization QAFSP is more and the success rate is close to 1. Experimental results show that the improved algorithm can be relatively stable to meet the accuracy requirements of searching the global optimum. In addition, the test functions include higher dimension complex functions, although the other three algorithms to optimize the effect of low-dimensional test function better, the high-dimensional functions lose the optimization capabilities gradually, meanwhile QAFSP Shows better optimization ability to high-dimensional functions or low-dimensional functions.

In Figures 3, 4, 5, 6, 7, 8, 9, and 10 four algorithms on eight test function optimization iterations convergence plan were given. Where “fitness” represents the result value of test functions during the algorithm runs, “evolution algebra” is the number of iterations performed for solving test functions.

From the convergence graph functions, you can see that quantum particle swarm algorithm based on artificial fish (QAFSP) has better convergence. Compared with the other three optimization algorithms, QAFSP is fast and stable convergence. Experimental results show that the improved quantum particle swam optimization improved quantum particle swarm premature convergence and effectively improved the performance of the algorithm.

5. Conclusion

On the basis of the quantum particle swarm optimization, combinations of artificial fish clusters and rear-end activities, a new improved algorithm is provided. The new algorithms use a dynamic parameter adjustment which is conducive to jump out of local optima and move to global extreme. Through the optimization of test functions, the experimental results show that the improved algorithm can improve the algorithm for solving ability and can better solve the global optimum to meet the accuracy requirements.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This paper was supported by the National Natural Science Foundation of China (61173056).

References

  1. J. Sun, B. Feng, and W. B. Xu, “Particle swarm optimization with particles having quantum behavior,” in Proceedings of the Congress on Evolutionary Computation (CEC '04), pp. 325–331, June 2004. View at: Google Scholar
  2. P. Moore and G. K. Venayagamoorthy, “Evolving combinational logic circuits using a hybrid quantum evolution and particle swarm inspired algorithm,” in Proceeding of the NASA/DoD Conference on Evolvable Hardware (EH '05), pp. 97–102, July 2005. View at: Publisher Site | Google Scholar
  3. S. M. Mikki and A. A. Kishk, “Quantum particle swarm optimization for electromagnetics,” IEEE Transactions on Antennas and Propagation, vol. 54, no. 10, pp. 2764–2775, 2006. View at: Publisher Site | Google Scholar
  4. M. M. Soliman, A. E. Hassanien, and H. M. Onsi, “An adaptive medical images watermarking using Quantum Particle Swarm Optimization,” in Proceedings of the 35th International Conference on Telecommunications and Signal Processing (TSP '12), pp. 735–739, Prague, Czech Republic, July 2012. View at: Publisher Site | Google Scholar
  5. L. dos Santos Coelho, F. A. Guerra, B. Pasquim, and V. Cocco Mariani, “Chaotic quantum-behaved particle swarm optimization approach applied to inverse heat transfer problem,” in Proceedings of the 5th International Joint Conference on Computational Intelligence (IJCCI '13), pp. 97–102, 2013. View at: Google Scholar
  6. A. M. A. C. Rocha and M. F. P. Costa, “An artificial fish swarm filter-based method for co nstrained global optimization,” in Proceedings of the 12th International Conference Computational Science and Its Applications (ICCSA '12), M. G. P. Fernandes, Ed., vol. 7335 of Lecture Notes in Computer Science, pp. 57–71, 2012. View at: Publisher Site | Google Scholar
  7. F. Q. Liu and H. W. Zhang, “Dynamic clustering based on quantum-behaved particle swarm optimization,” Advanced Materials Research, vol. 798, pp. 808–813, 2013. View at: Google Scholar
  8. H. Li and S. Li, “Quantum particle swarm evolutionary algorithm with application to system identification,” in Proceedings of the International Conference on Measurement, Information and Control (MIC '12), vol. 2, pp. 1032–1036, May 2012. View at: Publisher Site | Google Scholar
  9. S. Deb, N. B. Singh, and S. K. Sarkar, “Particle swarm approach for parameter optimization of quantum well nano structure,” Expert Systems with Applications, vol. 38, no. 10, pp. 12999–13004, 2011. View at: Publisher Site | Google Scholar
  10. D. Yazdani, A. N. Toosi, and M. R. Meybodi, “Fuzzy adaptive artificial fish swarm algorithm,” in AI 2010: Advances in Artificial Intelligence, vol. 6464 of Lecture Notes in Computer Science, pp. 334–343, 2011. View at: Google Scholar

Copyright © 2014 Dong Yumin and Zhao Li. 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.

2969 Views | 998 Downloads | 8 Citations
 PDF  Download Citation  Citation
 Download other formatsMore
 Order printed copiesOrder

We are committed to sharing findings related to COVID-19 as quickly and safely as possible. Any author submitting a COVID-19 paper should notify us at help@hindawi.com to ensure their research is fast-tracked and made available on a preprint server as soon as possible. We will be providing unlimited waivers of publication charges for accepted articles related to COVID-19.