Abstract

The Locust Search (LS) algorithm is a swarm-based optimization method inspired in the natural behavior of the desert locust. LS considers the inclusion of two distinctive nature-inspired search mechanism, namely, their solitary phase and social phase operators. These interesting search schemes allow LS to overcome some of the difficulties that commonly affect other similar methods, such as premature convergence and the lack of diversity on solutions. Recently, computer vision experiments in insect tracking methods have conducted to the development of more accurate locust motion models than those produced by simple behavior observations. The most distinctive characteristic of such new models is the use of probabilities to emulate the locust decision process. In this paper, a modification to the original LS algorithm, referred to as LS-II, is proposed to better handle global optimization problems. In LS-II, the locust motion model of the original algorithm is modified incorporating the main characteristics of the new biological formulations. As a result, LS-II improves its original capacities of exploration and exploitation of the search space. In order to test its performance, the proposed LS-II method is compared against several the state-of-the-art evolutionary methods considering a set of benchmark functions and engineering problems. Experimental results demonstrate the superior performance of the proposed approach in terms of solution quality and robustness.

1. Introduction

For the last few decades, optimization approaches inspired by the natural collective behavior of insects and animals have captivated the attention of many researchers. These techniques, commonly referred to as swarm optimization methods, combine deterministic rules and randomness with the purpose of mimicking some kind of natural phenomena, typically manifested in the form of a swarm behavior. Search strategies based in swarm behaviors have demonstrated to be adequate to solve complex optimization problems, often delivering significantly better solutions than those produced by traditional methods. Currently, an extensive variety of swarm-based optimization techniques can be found on the literature. Some examples include Particle Swarm Optimization (PSO), which emulates the social behavior of flocking birds or fishes [1], the Artificial Bee Colony (ABC) approach, which considers the cooperative behavior manifested in bee colonies [2], the Cuckoo Search (CS) algorithm, which simulates the brood parasitism behavior manifested by cuckoo birds [3], the Firefly Algorithm (FA), which mimics the distinctive bioluminescence-based behavior observed in fireflies [4], among others.

The Locust Search (LS) [5] algorithm is a swarm optimization approach inspired in the biological behavior of the desert locusts (Schistocerca gregaria). Biologically, locusts experiment two opposite phases: solitary and social. In the solitary phase, locusts avoid contact with others conspecifics in order to explore promising food sources. In opposition, in the social phase, locusts frantically aggregate around abundant foods sources (such as plantations) devastating them. This aggregation is carried on through the attraction to those elements that are found the best food sources. By integrating these two distinctive behaviors, LS maintains powerful global and local search capacities which enable it to solve effectively a wide range of complex optimization problems such as image processing [6], parameter estimation of chaotic systems [7], pattern recognition [8], among others.

In spite of its interesting characteristics, LS has some shortcomings from the evolutionary computing point of view. In its social phase operator, LS performs a series of random walks around some of the best individuals with the objective of refining its original solution. This process seems to be appropriate for the purpose of local exploitation; however, the excessive production of candidate solutions adversely increases the algorithm computational overload. Other important flaws of LS are the switch between the solitary and social phase. In LS, both behaviors are performed in the same cycle; this means that each individual search agent in LS is subject to performing both global and local movements at each iteration of the algorithms search process. Although this mechanism could be useful in some contexts, it is known that a misbalance between exploration and exploitation of solutions is able to significantly degrade any algorithm’s performance, thus making this approach somewhat unreliable.

Base on this premise, in this paper, a modification to the original LS is proposed in order to better and more efficiently handle global optimization problems. In our modified approach, coined Locust Search II (LS-II), a probabilistic criterion, is introduced in order to control how the solitary and social phase operators are addressed by the algorithm, essentially allowing the swarm of locusts to “decide” when to apply each behavioral phase. Also, individual decision making based on probabilities is introduced to the algorithm’s social phase operator as a mean to allow search agents to manifest an attraction toward prominent individuals within the population. Said modifications were devised with the purpose of providing a better balance between the exploration and exploitation of solutions, while also allowing an important reduction on the algorithms overall computational cost. To demonstrate the proficiency of our proposed approach, we performed a series of experiments over a set of benchmark test functions. The results of our approach are compared to those produced by the original LS, as well as some other state-of-the-art optimization techniques, including Particle Swarm Optimization (PSO) [1], Artificial Bee Colony (ABC) [2], Bat Algorithm (BA) [9], Differential Evolution (DE) [10], and Harmony Search (HS) [11]. Also, in order to enhance the analysis of our proposed method, we also performed comparative experiments over several popular engineering optimization problems, including the design of pressure vessels, gear trains [12], tension/compression springs [13], welded beams [14], three-bar truss [15], parameter estimation for FM synthesizers [16], and Optimal Capacitor Placement for Radial Distribution Networks [17, 18]. The experimental results for both sets shows that LS-II are superior not only over the original LS, but also over all other compared methods in terms of solution quality and robustness.

The rest of this paper is organized as follows: in Section 2, the original LS approach is described; in Section 3, the proposed LS algorithm modification (LS-II) is presented, and in Section 4, the experimental analysis is developed. Finally, in Section 5, our conclusions are drawn.

2. The Locust Search Algorithm

Locust Search (LS) [5] is a global optimization algorithm based on the gregarious behavior observed in swarms of desert locusts [1924]. In LS, search agents are represented by a set of individual locusts (with representing the total population size), interacting with each other while moving through a -dimensional feasible solution space. Each individual position is defined within a bounded space (with and where and represent the lower and upper bounds at the -th dimension, respectively) and represents a candidate solution for a specified optimization problem.

Similar to other swarm-based optimization techniques, LS comprises an iterative scheme in which search agents change their positions at each generation of the algorithm during its evolution. The change of position applied to each individual is conducted by a set of operators inspired in the two behavioral phases observed in desert locusts: solitary phase and social phase.

2.1. LS Solitary Phase

In the solitary phase, individuals move in different locations searching for promising food sources (solutions) while they avoid to aggregate with other conspecifics. This scheme is modeled by considering attraction and repulsion forces manifested among individuals within the population. Therefore, for any iteration “”, the total attraction and repulsions forces (collectively referred to as social force) experienced by a specific individual “” are given by the following expression:where denotes the pairwise attraction (or repulsion) between individual “” and some other individuals “” and is given bywhere the operator is known as dominance value between and and the value represents the so called social factor, where denotes the Euclidian distance between the elements “” and “”. Therefore, stands for the unit vector pointing from to , while is a random vector whose elements are drawn from the uniform distribution of . The value is given bywhere the parameters and denote the attraction/repulsion magnitude and length scale, respectively. To apply the operator , it is first assumed that each individual is ranked with a number from 0 (best individual) to (worst individual) depending on their respective fitness value. Therefore, the dominance value may be given as follows:As a result of the influence of total social force , each individual “” manifests a certain tendency to move toward (or away from) other members within the population. Under such conditions, the new position adopted by the individual “” as a result of may be expressed asThe result of applying the solitary movement operators to each individual is a new set of candidate solutions , which represent the positions taken by each individual as a result of the influence exerted by all other members in the swarm.

2.2. LS Social Phase

The social phase operation is applied to refine some of the best candidate solutions generated by applying the solitary phase movement operator described in Section 2.1. For this purpose, a subset of solutions , comprised by the best solutions within the set , is first defined. Then, for each solution , a set of random solutions is generated within a corresponding subspace , whose limits are given bywhere and represent the upper and lower bounds of each subspace at the -th dimension, respectively, while stands for the -th element (decision variable) from solution , and wherewith and denoting the lower and upper bounds at the -th dimension, respectively, whereas stands for total number of decision variables. Furthermore, represents a scalar factor which modulates the size of .

Finally, the best solution from and its respective random solutions () is assigned as the position for individual “” at the following iteration “”. That is,It is worth nothing that any solution that is not grouped within the set of best solutions is excluded by the social phase operator. As such, the final position update applied to each individual ‘’ within the whole swarm may be summarized as follows:

3. The LS-II Algorithm

The LS algorithm proposes an interesting global and local search capacities in the form of the so called solitary and social phase operators. In spite of its interesting characteristics, LS has some shortcomings from an evolutionary computing point of view. Specifically, in its social phase operator, LS performs a series of random walks around some of the best individuals with the objective of refining their current solutions; while this process seems to be appropriate for the purpose of local exploitation, excessive evaluations of candidate solutions are known to adversely increase the algorithm computational load, a phenomenon that is undesirable to virtually any optimization approach. Another important flaw of the original LS approach is given by the way in which the solitary and social phase behavioral operators are addressed. In LS, both the solitary and social phases operators are coded to be performed in sequence at each iteration of the algorithms search process; this means that each individual is subject to undergone to both global and local operations without considering its individual decision. Although this mechanism could be useful in some contexts, it produces a misbalance between exploration and exploitation which could significantly degrade its performance.

In this paper a modification to the original LS algorithm, referred to as LS-II, is proposed. In our approach, instead of applying both the solitary and social phase operators in the same iteration, we propose a simple probabilistic scheme to selectively apply either one of this two behaviors at each iteration of the algorithms search process. Furthermore, we have also proposed some changes the original LS’s social operators: essentially, instead of performing a series of local evaluations around promising solutions, LS-II’s social operator incorporates a probabilistic selection mechanism that allows locusts to be attracted toward some other prominent individuals within the population. This modification not only allows to reduce the algorithms overall computational cost, but also enhances LS-II’s convergence speed.

3.1. Selecting between Solitary and Social Phases

The first modification, considered in the original LS, involves the selection for any given iteration between the solitary phase and the social phase. In the proposed LS-II approach, we assume that, at the beginning of the search process, individuals have a tendency to perform intensive exploration over the feasible search space by means of their solitary phase behavior, whereas in later stages of the evolution process exploitation is favored by the social phase behavior. Also, it is considered that the individuals maintain a certain probability to behave as either solitary or social depending on the current stage (iteration) of the algorithm’s search process. Therefore, as the evolutionary process progresses, the probability that an element behaves in a social manner increases, while the probability that it acts in solitary behavior, is reduced. Under such circumstances, at each iteration “”, the behavioral phase applied to the population is chosen as follows:where denotes a random number sampled within the uniformly distributed interval , while value , called behavior probability, is given bywhere stands for the maximum number of iterations considered in the search process. From the expression, it is clear that, as the iterative process increases, the value of the behavior probability is linearly decreased. Intuitively, other monotonically decreasing models (such as logarithmic or exponential functions) could also be considered to handle this value.

It is important to remark that from both operators (solitary and social) only the social phase has been modified, and the solitary phase behavior proposed by the original LS remains unchanged. In Figure 1, we show a comparison between the original LS algorithm and the proposed LS-II approach.

3.2. Modified Social Phase Operator

The second modification considers several changes to the original LS algorithm’s social phase, each aimed at giving every individual the ability to move toward potentially good solution within the feasible solution space instead of performing a series of local function evaluations. This mechanism does not only allow taking advantage of the information provided by all individuals within the population, but also allows a significant reduction in computational load by taking away excessive and unnecessary function evaluations. Similarly to the original LS approach, the LS-II’s social phase starts by selecting a subset of solutions that include the best solutions from the total set (therefore, ). However, instead of defining a set of random candidate solutions around each position (as in the original LS), we propose a movement scheme that allows each individual to be attracted toward the direction of a randomly selected solution . For this purpose, to each solution is assigned to a probability of being selected by a given individual , which depends on both the quality of and the distance separating both individuals ( and ) as follows:where denotes the Euclidian distance between the individual “ and a member “” from the set of best solutions , while stands for the attractiveness of solution as given bywhere denotes the fitness value (quality) related to , while stand for the best and worst fitness value from among the members within the set of best solutions . Finally, corresponds to a small value (typically between and ) used to prevent a division by cero.

With the previous being said, under LS-II’s social phase behavior, each individual within the swarm population updates their position as follows:where (with ) is a randomly chosen solution , selected by applying the roulette selection method [25] with regard to their respective probabilities (relative to and ), while stands for a random number drawn from within the uniformly distributed interval .

4. Experiments and Results

4.1. Benchmark Test Functions

In our experiments, we studied LS-II’s performance with regard to the optimization of 13 well-known benchmark tests functions (see Appendix A) operated in 30 dimensions. Furthermore, we have also compared out proposed method’s result against those produced by other popular optimization techniques, including Particle Swarm Optimization (PSO) [1], Artificial Bee Colony (ABC) [2], Bat Algorithm (BA) [9], Differential Evolution (DE) [10], Harmony Search (HS) [11], and the original Locust Search (LS) [5].

The parameters setting for each of the methods has been performed by using the automatic algorithm configuration software known as iRace [26]. This method allows obtaining the best possible parameter configuration under a specific set of benchmark problems. After the iRace analysis, the following settings have been found:(1)LS: the algorithm’s parameters were set to =10, =3 [5].(2)PSO: the cognitive and social coefficients are set to and , respectively. Also, the inertia weight factor is set to decrease linearly from to as the search process evolves [1].(3)ABC: the algorithm was implemented by setting the parameter , where (population size) and (dimensionality of the solution space) [2]. The code has been obtained from [27] which corresponds to the optimized version (v2).(4)BA: the parameters were set as follows: initial loudness rate , pulse emission rate , minimum frequency , and maximum frequency , respectively [9].(5)DE: the crossover rate is set to , while the differential weight is given as [10].(6)HS: the Harmony Memory Considering Rate is set to while the pitch adjustment rate is set to [11].(7)LS-II: the number of best individuals considered for the social phase operator is set to .

The code for each algorithm has been obtained from their original sources. In the analysis, all of the compared methods were tested by considering a population size of individuals and a maximum number of iterations as a stop criterion. Said tests setup was considered in order to keep consistency with other similar works currently found in the literature. All experiments were performed on MatLAB® R2016a, running on a computer with an Intel® Core™ i7-3.40 GHz processor, and Windows 8 (64-bit, 8GB of memory) as operating system.

Our experimental setup aims to compare the performance of LS-II against those of PSO, ABC, BA, DE, HS, and LS. The averaged experimental results, corresponding to 30 individual runs, are reported in Table 1 where the best outcomes for each test function are boldfaced. The results reported in this paper consider the following performance indexes: Average Best fitness (AB), Median Best fitness (MB), and the standard deviation of the best finesses (SD). As shown by our experiments, LS-II demonstrates to be superior not only to the original LS approach, but also to all other of the compared methods. Such a notorious performance is related to both the excellent global search capabilities provided LS-II’s solitary phase operators, the highly effective exploitation mechanism of our modified social phase operators, and naturally the better trade-off between exploration and exploitation that is achieved through the selective application of said behavioral phases. Furthermore, Wilcoxon’s rank sum test for independent samples [28] was conducted over the best fitness values found by each of the compared methods on 30 independent test runs (30 executions by each set). Table 2 reports the -values produced by said test for the pairwise comparison over two independent sets of samples (LS-II versus LS, ABC, BA, DE, and HS), by considering a 5% significance level. For the Wilcoxon test, a null hypothesis assumes that there is a significant difference between the mean values of two algorithms. On the other hand, an alternative hypothesis (rejection of the null hypothesis) suggests that the difference between the mean values of both compared methods is insignificant. As shown by all of the -values reported in Table 3, enough evidence is provided to reject the null hypothesis (all values are less than 0.05, and as such satisfy the 5% significance level criteria). This proves the statistical significant of our proposed method’s results and thus discard the possibility of them being a product of coincidence.

The analysis of the final fitness values cannot absolutely characterize the capacities of an optimization algorithm. Consequently, a convergence experiment on the seven compared algorithms has been conducted. The objective of this test is to evaluate the velocity with which an optimization scheme reaches the optimum. In the experiment, the performance of each algorithm is analyzed over a representative set of functions, including , , , and . In the test, all functions are operated considering 30 dimensions. In order to build the convergence graphs, we employ the raw data generated in the simulations. As each function is executed 30 times for each algorithm, we select the convergence data of the run which represents the median final result. Figure 2 presents the fitness evolution of each compared method for functions, , , and . According to Figure 2, the LS-II method presents the overall best convergence when compared to the other compared methods; once again, this performance is testimony of LS-II’s better trade-off between diversification and intensification, as well as the decision-making scheme incorporated to the algorithms social phase operators.

4.2. Engineering Optimization Problems

In order to further evaluate the performance of our proposed approach, we tested LS-II over several well-studied engineering design optimization problems, namely, the design of pressure vessels, gear trains [12], tension/compression springs [13] welded beams [14], three-bar trusses [15], parameter estimation for FM synthesizers [16], and Optimal Capacitor Placement for Radial Distribution Networks [17, 18]. Appendix B provides a detailed description of each engineering problem used in this study.

Similarly to the experiments reported in Section 4.1, we compared LS-II’s performance over the previously mentioned real problems with those of Particle Swarm Optimization (PSO) [1], Artificial Bee Colony (ABC) [2], Bat Algorithm (BA) [9], Differential evolution (DE) [10], Harmony Search (HS) [11], and the original Locust Search (LS) [5]. For each design problem a penalty function is implemented to penalize the fitness value of solutions that infringe any of the restrictions modeled on each optimization task. The penalty implemented of the fitness function may be illustrated by the following expression: where is one of the seven fitness functions () defined by each engineering problem in terms of a given solution “”, where is a penalty value whose magnitude is set to [29].

All experiments described in this section have been performed by considering the same parameter setup and settings described in Section 4.1. In Table 3, the experimental results corresponding to each of the compared methods are shown. All of the considered engineering optimization problems were tested a total of 30 times per method. The performance indexes shown in said table include the best and worst fitness value found over all 30 individual runs ( and , respectively), as well as the average and standard deviation of all fitness values found over said each set of experiments ( and , respectively). For each individual problem, the best outcomes from among all of the compared methods are boldfaced.

From the results of Table 3, LS-II proves to be the superior choice when applied to handle each of the chosen engineering design problems. Naturally, this is easily attributed to LS-II’s to the effective exploration and exploitation mechanism provided by the selective use of both solitary and social phase operators. Finally, Tables 4 and 5 report the best set of design variables (solutions) found by LS-II for each of the considered engineering optimization problems.

5. Conclusions

Locust Search (LS) is a swarm-based optimization method inspired in the natural behavior of the desert locust [5]. When it was first proposed, the LS method considered as basis the biological models extracted from observations of locust behaviors. In these models, the procedure to change from the solitary phase to the gregarious phase, together with the mechanism to select the element to which a locust will be attracted, is fixed and does not consider the decision of each locust in the behavioral process.

Currently, new computer vision experiments in insect tracking methods have conducted to the development of more accurate locust motion models than those produced by simple behavior observations. The most distinctive characteristic of such new models is the use of probabilities to emulate the locust decision process.

In this paper, a modification to the original LS algorithm, referred to as LS-II, has been proposed to better handle global optimization problems. In LS-II, the locust motion model of the original algorithm is modified incorporating the main characteristics of the new biological formulations. Under the new model, probability decisions are considered to emulate the behavior of the locust colony. Therefore, the decisions, to change of behavioral phase and to select the attraction elements, are probabilistically taken.

The proposed LS-II method has been compared against several state-of-the-art evolutionary methods considering a set of benchmark functions and engineering problems. Experimental results demonstrate the superior performance of the proposed approach in terms of solution quality and robustness.

Appendix

A.

In Table 1, all of the 13 benchmark test functions that were implemented in our experiments are shown.

See Table 6.

B.

In this section, we offer a detailed description for all of the engineering optimization problems considered in our experiments.

B.1. Pressure Vessel Design Problem

As described in [12], the pressure vessel design problem consists on a constrained optimization problem in which the main objective is to minimize the cost of said artifact. This is usually achieved by defining an appropriate set of four design variables , namely, the shell’s thickness (), head’s thickness (), vessel’s internal radius (), and vessel’s length () (see Figure 3). With that being said, such cost minimization problem may be more formally expressed as follows.

Problem B.1 (pressure vessel design).

B.2. Gear Train Design Problem

The optimization problem related to the design of gear trains (as the one shown in Figure 4) is to minimize the squared difference between the gear’s teeth ratio and some scalar value ( in this case) [12]. As such, the decision variables comprise the number of teeth on each of the gears , , , and . By considering , , , and , the gear train design problem may then be formulated as follows.

Problem B.2 (gear train design).

B.3. Tension/Compression Spring Design Problem

For this design problem the objective is to minimize the tension (or compression) experiment by a spring when subjected to some load (see Figure 5). This is usually achieved by optimizing with regard to three decision variables: the wire diameter (), the coil diameter (), and the number of active coils (). As such, the problem may be formulated as follows.

Problem B.3 (tension/compression spring design).

B.4. Three-Bar Truss Design Problem

The objective behind the design of a symmetric three-bar truss (as shown in Figure 6) is to minimize its fabrication cost while also allowing it to sustain a certain static load and some stress . In this case, the design variables are comprised by the cross-sectional areas , , and corresponding to each of the truss’s three bars. By considering (due to symmetry on the truss design), the optimization problem may be then defined as follows.

Problem B.4 (three-bar truss design).

B.5. Welded Beam Design Problem

For this design problem, the aim is to minimize the fabrication cost of a beam meant to be welded to another surface. Said welded beam must be designed so that it is able to sustain certain amounts of shear stress (), bending stress (), bucking load (), and deflection (). The design variables implied on the design of such a mechanism include the weld’s thickness and length and , respectively, as well as the beam’s width and thickness and , respectively (see Figure 7). By considering , , , and , this design problem may then be formulated as follows.

Problem B.5 (welded beam design).

B.6. Parameter Estimation for FM Synthesizers

An FM synthesizer is a device purposed to generate a sound (signal) such that it is similar to some other target sounds . As such, a FM synthesizer’s parameter estimator aims to provide a set of decision variables (with and denoting a finite wave amplitude and frequency, respectively) such that the error between signals and is minimized [16]. Under this considerations, said parameter estimation problem may be described as follows.

Problem B.6 (parameter estimation for FM synthesizers).

B.7. Optimal Capacitor Placement for the IEEE’s 69-Bus Radial Distribution Networks

The Optimal Capacitor Placement (OCP) problem [17, 18] is a complex combinatorial optimization formulation in which the objective is to determine the number, location, type, and size of shunt capacitors that are to be placed in a Radial Distribution Network (RDN). In the problem, the main objective function involves the minimization of the network’s total operation cost in terms of a certain amount of reactive compensation of the RDN [17].

In this problem, a RDN of 69 buses (which implies dimensions) is assumed as it is illustrated in Figure 8. Under this architecture, the model can be characterized as follows.

Problem B.7 (optimal capacitor placement for radial distribution networks). In the model, represents the equivalent cost per unit of power loss ($/kW) and represents the total power loss of the distribution system (kW). corresponds to the size of the shunt capacitor (kVAR) installed at bus “”. symbolizes the cost per unit of reactive power ($/kVAR). is the operation time in hours, is the installation cost ($), and is the number of compensation capacitors that are required to be installed in the distribution network. In the formulation, it is considered that and is the number of buses required to be compensated.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.