Abstract

This paper presents an analysis of the relationship of particle velocity and convergence of the particle swarm optimization. Its premature convergence is due to the decrease of particle velocity in search space that leads to a total implosion and ultimately fitness stagnation of the swarm. An improved algorithm which introduces a velocity differential evolution (DE) strategy for the hierarchical particle swarm optimization (H-PSO) is proposed to improve its performance. The DE is employed to regulate the particle velocity rather than the traditional particle position in case that the optimal result has not improved after several iterations. The benchmark functions will be illustrated to demonstrate the effectiveness of the proposed method.

1. Introduction

Algorithms to tackle optimization problems include not only classical techniques such as dynamic programming, branch-and-bound, and gradient-based methods, but also more recent techniques such as metaheuristics [1]. Among the existing metaheuristic algorithms, the particle swarm optimization (PSO) algorithm is a population-based optimization technique developed by Kennedy and Eberhart in 1995 [2]. The PSO has resulted in a large number of variants of the standard PSO. Some variants are designed to deal with specific applications [36], and others are generalized for numerical optimization [710]. A hierarchical version of PSO (H-PSO) has been proposed by Janson and Middendorf [10]. In H-PSO, all particles are arranged in a tree that forms the hierarchy. A particle is influenced by its own best position and the best position particle in its neighborhood. It was shown that H-PSO performed very well compared to the standard PSO on unimodal and multimodal test functions [10, 11]. H-PSO presents the advantage of being conceptually very simple and requiring low computation time. However, the main disadvantage of H-PSO is the risk of a premature search convergence, especially in complex multiple peak search problems.

A number of algorithms combined various algorithmic components, often originating from algorithms of other research areas on optimization. These approaches are commonly referred to as hybrid meta-heuristics [12]. The surveys on hybrid algorithms that combine the PSO and differential evolution (DE) [13] were presented recently [14, 15]. These PSO-DE hybrids usually employ DE to adjust the particle position. But the convergence performance is dependent on the particle velocity. Limiting the velocity can help the particle to get out of local optima traps [16, 17]. In this paper, we will combine these two optimization algorithms and propose the novel hybrid algorithm H-PSO-DE. The DE is employed to regulate the particle velocity rather than the traditional particle position in case that the optimal result has not improved after several iterations. The hybrid algorithm aims to aggregate the advantages of both algorithms to efficiently tackle the optimization problem.

The remainder of this paper is organized as follows. Section 2 briefly describes the basic operations of the PSO, H-PSO, and DE algorithms. Section 3 presents an analysis of the relationship of particle velocity and convergence. Section 4 provides the hybrid optimization method: H-PSO-DE. Section 5 reveals the simulations and analysis of H-PSO-DE in solving unconstrained optimization problems. Finally, conclusions are given in Section 6.

2. The PSO, H-PSO, and DE Algorithms

2.1. The PSO Algorithm

The PSO [1820] is a stochastic population-based optimization approach. Each particle is a -dimensional vector, and it consists of a position vector , which represents a candidate solution of the optimization problem, a velocity vector , and a memory vector , which is the best candidate solution encountered by the particle. The velocity and position of the particle are updated in every dimension by where is the inertia weight, which determines how much of the previous velocity the particle is preserved. and are positive constants. and are randomly chosen numbers uniformly distributed in the interval . represents the best position achieved by any member of the population.

2.2. The H-PSO Algorithm

In H-PSO [21], all particles are arranged in a hierarchy. The hierarchy is defined by the height h, the branching degree bd, and the total number of nodes tnn of the corresponding tree.

In H-PSO, the iteration starts with the evaluation of the objective function of each particle at its current position. Then, the new velocity vectors and the new positions for the particles are determined. This means that for particle , the value of in (1) equals , with being the particle in the parent node of the node of particle . H-PSO uses only when particle is in the root. If the function value of a particle is better than the function value at its personal best position so far, then the new position is stored in . For each particle in a node of the tree, its own best solution is compared to the best solution found by the particles in the child nodes . If the best of these particles is better than particle , then particles and swap their places within the hierarchy.

2.3. The DE Algorithm

The DE [11, 13, 22] is a stochastic parallel direct search method. More specifically, DE’s basic strategy can be summarized as follows.

Initialization. DE begins with a randomly initiated population of   -dimensional parameter vectors , as a population for each generation . The initial population of the th parameter of the th vector is where and indicate the lower and upper bounds, respectively. is a uniformly distributed random number lying between 0 and 1.

Mutation. DE mutates and recombines the population to produce a population of trial vectors. Specifically, for each individual , a mutant vector is generated according to where , commonly known as scale factor, is a positive real number. Three other random individuals , , and are sampled randomly from the current population such that , and .

Crossover. DE crosses each vector with a mutant vector: where is called the crossover rate.

Selection. To decide whether or not it should become a member of generation , the trial vector is compared to the target vector using the greedy criterion. The selection operation is described as where is the objective function to be minimized.

3. Relationship of Particle Velocity and Convergence

This section presents an analysis of the relationship of particle velocity and convergence.

Substituting (1) into (2) results in From (2), it is known that Substituting (8) into (7) results in

This recurrence relation can be written as a matrix-vector product, so that

The characteristic polynomial of the matrix in (10) is , which has a trivial root of and two other solutions where .

Note that and are both eigenvalues of the matrix in (10). The explicit form of the recurrence relation (9) is then given by where , , and are constants determined by the initial conditions of the system.

Substituting (12) into (8) results in

where , .

Consider

Equation (15) implies that if the PSO algorithm is convergent, the velocity of the particles will decrease to zero or stay unchanged until the end of the iteration.

4. The Proposed H-PSO-DE Algorithm

The main idea of the hybrid H-PSO-DE algorithm is to employ the DE to regulate the particle velocity rather than the traditional particle position in case that the optimal result has not improved after several iterations. If the swarm is going to be in equilibrium, the evolution process will be stagnated as time goes on. To prevent the trend, if the stagnating step of evolution process is larger than threshold value , the particle velocity performs mutation operators. The velocity and position of the particles are updated as follows.

If ( or , ), then where , is a random number in the interval , and and are sampled randomly from .

The procedure for H-PSO-DE algorithm is presented in Algorithm 1.

Step 1. Initialize particles in swarm. Initialize location , and velocity
   of each particle . Best position .
Step 2. Evaluate objective function and update personal best.
   for each particle , do
     if then
     
    end if
   end for
Step 3. Swap particles.
    for each particle , do
     Determine the best successor arg
     min , where are the successors of .
    if then
    Swap particles and
    end if
   end for
Step 4. Update the position and velocity of the th particle.
  for each particle , do
Update the velocity in each dimension :
    
    Move the particle:
  end for
Step 5. Judge the evolution process of H-PSO.
  if ( ), then
   goto Step 6
   else goto Step 7
  end if
Step 6. Update the velocity and position of the particle according to (16).
 if then
  end if
Step 7. If a stopping criterion is met, then output the global best position and stop;
  otherwise, repeat Step 2–Step 6.

5. Simulations and Results

In this section, we present a simulation study to validate the proposed H-PSO-DE algorithm. A set of test functions that are commonly used in the field of continuous function optimization is listed in the appendix. They are a set of curvilinear functions for difficult unconstrained minimization problems. For illustration, the landscapes of two-dimensional versions of the six functions are depicted in Figure 1. The first two functions (Sphere and Rosenbrock) are unimodal functions, and they have a single local optimum that is also the global optimum. The remaining functions are multimodal, and they have several local optima. Note that the dimensional increase of these scalable functions does not change their basic features.

In our experiments, the H-PSO uses the parameter values , and as suggested in [23] for a faster convergence rate. The population size that has been used is . The maximal number of generations uses . The remainder parameters are set as , , , , , and . Thirty independent runs were carried out. The convergence behavior of the H-PSO is shown in Figure 2. For comparison purpose, the H-PSO-DE is also given in the same figure. As shown in Figure 2, the convergence performance of the H-PSO-DE is better than the H-PSO. H-PSO-DE is compared with H-PSO, DE, and PSO-DE [1] in terms of the selected performance metrics, such as the mean, maximum, and minimum values. In DE, we use DE/rand/1/bin strategy (, ). As shown in Tables 1, 2, and 3, the H-PSO-DE outperforms H-PSO, DE, and PSO-DE. The H-PSO-DE is quite competitive when compared with the other existing methods.

6. Conclusions

In this paper, a new method named H-PSO-DE is proposed to solve optimization problems, which improves the performance of the H-PSO by incorporating DE. In H-PSO-DE, when the evolution process is stagnated for several generations, all the particles may lose the ability of finding a better solution. Then, the DE is employed to regulate the particle velocity to avoid wasting too much calculation time for vain search, so the searching efficiency of the H-PSO-DE is improved greatly. The H-PSO-DE is compared on test functions with H-PSO, DE, and PSO-DE. It is shown that H-PSO-DE performs significantly better.

Appendix

Benchmark Functions

Sphere:

Rosenbrock:

Rastrigin:

Griewank:

Ackley:

Schaffer’s F6:

Acknowledgments

This work was supported by the Key Project of Chinese Ministry of Education (no. 212135), the Guangxi Natural Science Foundation (no. 2012GXNSFBA053165), the project of Education Department of Guangxi (no. 201203YB131), and the Doctoral Initiating Project of Guangxi University of Science and Technology (no. 11Z09).