Bare-Bones Teaching-Learning-Based Optimization

Teaching-learning-based optimization (TLBO) algorithm which simulates the teaching-learning process of the class room is one of the recently proposed swarm intelligent (SI) algorithms. In this paper, a new TLBO variant called bare-bones teaching-learning-based optimization (BBTLBO) is presented to solve the global optimization problems. In this method, each learner of teacher phase employs an interactive learning strategy, which is the hybridization of the learning strategy of teacher phase in the standard TLBO and Gaussian sampling learning based on neighborhood search, and each learner of learner phase employs the learning strategy of learner phase in the standard TLBO or the new neighborhood search strategy. To verify the performance of our approaches, 20 benchmark functions and two real-world problems are utilized. Conducted experiments can been observed that the BBTLBO performs significantly better than, or at least comparable to, TLBO and some existing bare-bones algorithms. The results indicate that the proposed algorithm is competitive to some other optimization algorithms.


Introduction
Many real-life optimization problems are becoming more and more complex and difficult with the development of scientific technology. So how to resolve these complex problems in an exact manner within a reasonable time cost is very important. The traditional optimization algorithms are difficult to solve these complex nonlinear problems. In recent years, natureinspired optimization algorithms which simulate natural phenomena and have different design philosophies and characteristics, such as evolutionary algorithms [1][2][3] and swarm intelligence algorithms [4][5][6][7], are a research field which simulates different natural phenomena to solve a wide range of problems. In these algorithms the convergence rate of the algorithm is given prime importance for solving realworld optimization problems. The ability of the algorithms to obtain the global optima value is one aspect and the faster convergence is the other aspect.
As a stochastic search scheme, TLBO [8,9] is a newly population-based algorithm based on swarm intelligence and has characters of simple computation and rapid convergence; it has been extended to the function optimization, engineering optimization, multiobjective optimization, clustering, and so forth [9][10][11][12][13][14][15][16][17]. TLBO is a parameter-free evolutionary technique and is also gaining popularity due to its ability to achieve better results in comparatively faster convergence time to genetic algorithms (GA) [1], particle swarm optimizer (PSO) [5], and artificial bee colony algorithm (ABC) [6]. However, in evolutionary computation research there have been always attempts to improve any given findings further and further. This work is an attempt to improve the convergence characteristics of TLBO further without sacrificing the accuracies obtained in TLBO and in some occasions trying to even better the accuracies. The aims of this paper are of threefold. First, authors propose an improved version of TLBO, namely, BBTLBO. Next, the proposed technique is validated on unimodal and multimodal functions based on different performance indicators. The result of BBTLBO is compared with other algorithms. Results of both the algorithms are also compared using statistical paired -test. Thirdly, it is applied to solve the real-world optimization problem.

Teaching-Learning-Based Optimization
Rao et al. [8,9] first proposed a novel teaching-learningbased optimization (TLBO) inspired from the philosophy of teaching and learning. The TLBO algorithm is based on the effect of the influence of a teacher on the output of learners in a class which is considered in terms of results or grades. The process of working of TLBO is divided into two parts. The first part consists of "teacher phase" and the second part consists of "learner phase. " The "teacher phase" means learning from the teacher and the "learner phase" means learning through the interaction between learners.
A good teacher is one who brings his or her learners up to his or her level in terms of knowledge. But in practice this is not possible and a teacher can only move the mean of a class up to some extent depending on the capability of the class. This follows a random process depending on many factors. Let be the mean and let be the teacher at any iteration. will try to move mean toward its own level, so now the new mean will be designated as new . The solution is updated according to the difference between the existing and the new mean according to the following expression: where TF is a teaching factor that decides the value of mean to be changed and is a random vector in which each element is a random number in the range [0, 1]. The value of TF can be either 1 or 2, which is again a heuristic step and decided randomly with equal probability as Learners increase their knowledge by two different means: one through input from the teacher and the other through interaction between themselves. A learner interacts randomly with other learners with the help of group discussions, presentations, formal communications, and so forth. A learner learns something new if the other learner has more knowledge than him or her. Learner modification is expressed as As explained above, the pseudocode for the implementation of TLBO is summarized in Algorithm 1.
The Scientific World Journal 3

Bare-Bones Algorithm
In this section, we only presented a brief overview of some recently proposed bare-bones algorithms.

BBPSO and BBExp.
PSO is a swarm intelligence-based algorithm, which is inspired by the behavior of birds flocking [5]. In PSO, each particle is attracted by its personal best position ( best ) and the global best position ( best ) found so far. Theoretical studies [18,19] proved that each particle converges to the weighted average of best and best : where 1 and 2 are two leaning factors in PSO. Based on the convergence characteristic of PSO, Kennedy [20] proposed a new PSO variant called bare-bones PSO (BBPSO). Bare-bones PSO retains the standard PSO social communication but replaces dynamical particle update with sampling from a probability distribution based on best and best as follows: where , ( + 1) is the th dimension of the th particle in the population and represents a Gaussian distribution with mean ( best + best , ( ))/2 and standard deviation | best − best , ( )|. Kennedy [20] proposed also an alternative version of the BBPSO, denoted by BBExp, where (5) is replaced by where rand (0,1) is a random value within [0, 1] for the th dimension. For the alternative mechanism, there is a 50% chance that the search process is focusing on the previous best positions.

BBDE, GBDE, and MGBDE.
Inspired by the BBPSO and DE, Omran et al. [21] proposed a new and efficient DE variant, called bare-bones differential evolution (BBDE). The BBDE is a new, almost parameter-free optimization algorithm that is a hybrid of the bare-bones particle swarm optimizer and differential evolution. Differential evolution is used to mutate, for each particle, the attractor associated with that particle, defined as a weighted average of its personal and neighborhood best positions. For the BBDE, the individual is updated as follows: where 1 , 2 , and 3 are three indices chosen from the set {1, 2, . . . , NP} with 1 ̸ = 2 ̸ = , rand (0, 1) is a random value within [0, 1] for the th dimension, and , ( ) is defined by , ( + 1) = 1, ⋅ best , ( ) + (1 − 2, ) best ( ) , (8) where best and best are personal best position and the global best position, 1, , is a random value within [0, 1] for the th dimension.
Based on the idea that the Gaussian sampling is a fine tuning procedure which starts during exploration and is continued to exploitation, Wang et al. [22] proposed a new parameter-free DE algorithm, called GBDE. In the GBDE, the mutation strategy uses a Gaussian sampling method which is defined by where represents a Gaussian distribution with mean ( best, ( )+ , ( ))/2 and standard deviation | best, ( )− , ( )| and CR is the probability of crossover.
To balance the global search ability and convergence rate, Wang et al. [22] proposed a modified GBDE (called MGBDE). The mutation strategy uses a hybridization of GBDE and DE/best/1 as follows:

Proposed Algorithm: BBTLBO
The bare-bones PSO utilizes this information by sampling candidate solutions, normally distributed around the formally derived attractor point. That is, the new position is generated by a Gaussian distribution for sampling the search space based on the best and the best at the current iteration. As a result, the new position will be centered around the weighted average of best and best . Generally speaking, at the initial evolutionary stages, the search process focuses on exploration due to the large deviation. With an increasing number of generations, the deviation becomes smaller, and the search process will focus on exploitation. From the search behavior of BBPSO, the Gaussian sampling is a fine tuning procedure which starts during exploration and is continued to exploitation. This can be beneficial for the search of many evolutionary optimization algorithms. Additionally, the barebones PSO has no parameters to be tuned. paper. In fact, for TLBO, if the new learner has a better function value than that of the old learner, it is replaced with the old one in the memory. Otherwise, the old one is retained in the memory. In other words, a greedy selection mechanism is employed as the selection operation between the old and the candidate one. Hence, the new teacher and the new learner are the global best ( best ) and learner's personal best ( best ) found so far, respectively. The complete flowchart of the BBTLBO algorithm is shown in Figure 1.

Neighborhood Search.
It is known that birds of a feather flock together and people of a mind fall into the same group. Just like evolutionary algorithms themselves, the notion of neighborhood is inspired by nature. Neighborhood technique is an efficient method to maintain diversity of the solutions. It plays an important role in evolutionary algorithms and is often introduced by researchers in order to allow maintenance of a population of diverse individuals and improve the exploration capability of population-based heuristic algorithms [23][24][25][26]. In fact, learners with similar interests form different learning groups. Because of his or her favor characteristic, the learner maybe learns from the excellent individual in the learning group.
For the implementation of grouping, various types of connected distances may be used. Here we have used a ring topology [27] based on the indexes of learners for the sake of simplicity. In a ring topology, the first individual is the neighbor of the last individual and vice versa. Based on the ring topology, a -neighborhood radius is defined, where is a predefined integer number. For each individual, The Scientific World Journal its -neighborhood radius consists of 2 + 1 individuals (including oneself), which are − , . . . , , . . . , + . That is, the neighborhood size is 2 + 1 for a -neighborhood. For simplicity, is set to 1 ( Figure 2) in our algorithm. This means that there are 3 individuals in each learning group. Once groups are constructed, we can utilize them for updating the learners of the corresponding group.

Teacher Phase.
To balance the global and local search ability, a modified interactive learning strategy is proposed in teacher phase. In this learning phase, each learner employs an interactive learning strategy (the hybridization of the learning strategy of teacher phase in the standard TLBO and Gaussian sampling learning) based on neighborhood search.
In BBTLBO, the updating formula of the learning for a learner in teacher phase is proposed by the hybridization of the learning strategy of teacher phase and the Gaussian sampling learning as follows: where called the hybridization factor is a random number in the range [0, 1] for the th dimension, ℎ and are the existing neighborhood best solution and the neighborhood mean solution of each learner, and TF is a teaching factor which can be either 1 or 2 randomly.
In the BBTLBO, there is a ( * 100)% chance that the th dimension of the th learner in the population follows the behavior of the learning strategy of teacher phase, while the remaining (100 − * 100)% follow the search behavior of the Gaussian sampling in teacher phase. This will be helpful to balance the advantages of fast convergence rate (the attraction of the learning strategy of teacher phase) and exploration (the Gaussian sampling) in BBTLBO.

Learner Phase.
At the same time, in the learner phase, a learner interacts randomly with other learners for enhancing his or her knowledge in the class. This learning method can be treated as the global search strategy (shown in (3)).
In this paper, we introduce a new learning strategy in which each learner learns from the neighborhood teacher and the other learner selected randomly of his or her corresponding neighborhood in learner phase. This learning method can be treated as the neighborhood search strategy. Let represent the interactive learning result of the learner . This neighborhood search strategy can be expressed as follows: where 1 and 2 are random vectors in which each element is a random number in the range [0, 1], ℎ is the teacher of the learner 's corresponding neighborhood, and the learner is selected randomly from the learner's corresponding neighborhood.
In BBTLBO, each learner is probabilistically learning by means of the global search strategy or the neighborhood search strategy in learner phase. That is, about 50% of learners in the population execute the learning strategy of learner phase in the standard TLBO (shown in (3)), while the remaining 50% execute neighborhood search strategy (shown in (12)). This will be helpful to balance the global search and local search in learner phase.
Moreover, compared to the original TLBO, BBTLBO only modifies the learning strategies. Therefore, both the original TLBO and BBTLBO have the same time complexity (NP ⋅ ⋅ Gen max ), where NP is the number of the population, is the number of dimensions, and Gen max is the maximum number of generations.
As explained above, the pseudocode for the implementation of BBTLBO is summarized in Algorithm 2.

Functions Optimization
In this section, to illustrate the effectiveness of the proposed method, 20 benchmark functions are used to test the efficiency of BBTLBO. To compare the search performance of BBTLBO with some other methods, other different algorithms are also simulated in the paper.  Table 1. Among 20 benchmark functions,

Parameter Settings.
All the experiments are carried out on the same machine with a Celoron 2.26 GHz CPU, 2 GB memory, and Windows XP operating system with Matlab 7.9.

6
The Scientific World Journal (1) Begin (2) Initialize (number of learners), (number of dimensions) and hybridization factor (3) Initialize learners and evaluate all learners (4) while (stopping condition not met) (5) for each learner of the class % Teaching phase Donate the ℎ and the in its neighborhood for each learner (8) Updating each learner according (11)  (9) Accept if ( ) is better than ( ) (10) endfor (11) for each learner of the class % Learning phase (12) Randomly select one learner , such that ̸ = (13) if rand(0, 1) < 0.5 (14) Updating each learner according (3)  (15) else (16) Donate the ℎ in its neighborhood for each learner (17) Updating each learner according (12) For the purpose of reducing statistical errors, each algorithm is independently simulated 50 times. For all algorithms, the population size was set to 20. Population-based stochastic algorithms use the same stopping criterion, that is, reaching a certain number of function evaluations (FEs).

Effect of Variation in Parameter .
The hybridization factor u is set to {0.0, 0.1, 0.3, 0.5, 0.7, 0.9, 1.0}. Comparative tests have been performed using different . In our experiment, the maximal FEs are used as ended condition of algorithm, namely, 40,000 for all test functions. Table 2 shows the mean optimum solutions and the standard deviation of the solutions obtained using different hybridization factor in the 50 independent runs. The best results among the algorithms are shown in bold. Figure 3 presents the representative convergence graphs of different benchmark functions in terms of the mean fitness values achieved by using different hybridization factor on all test functions. Due to the tight space limitation, some sample graphs are illustrated.
The comparisons in Table 2 and Figure 3 show that when the hybridization factor is set to 0.9, BBTLBO offers the best performance on 20 test functions. Hence, the hybridization factor is set to 0.9 in the following experiments.

Comparison of BBTLBO with Some Similar Bare-Bones
Algorithms. In this section, we compare BBTLBO with five other recently proposed three bare-bones DE variants and two bare-bones PSO algorithms. Our experiment includes two series of comparisons in terms of the solution accuracy and the solution convergence (convergence speed and success rate). We compared the performance of BBTLBO with other similar bare-bones algorithms, including BBPSO [20], BBExp [20], BBDE [21], GBDE [22], and MGBDE [22].

Comparisons on the Solution Accuracy.
In our experiment, the maximal FEs are used as ended condition of algorithm, namely, 40,000 for all test functions. The results are shown in Table 3 in terms of the mean optimum solution and the standard deviation of the solutions obtained in the 50 independent runs by each algorithm on 20 test functions. The best results among the algorithms are shown in bold. Figure 4 presents the convergence graphs of different benchmark functions in terms of the mean fitness values achieved by 7 algorithms for 50 independent runs. Due to the tight space limitation, some sample graphs are illustrated.
From Table 3 it can be observed that the mean optimum solution and the standard deviation of all algorithms perform well for the functions 15 and 17 . Although BBExp performs better than BBTLBO on function 9 and MGBDE performs better than BBTLBO on function 20 , our approach BBTLBO achieves better results than other algorithms on the rest of test functions. Table 3 and Figure 4 conclude that the BBTLBO has a good performance of the solution accuracy for test functions in this paper.

Comparison of the Convergence Speed and SR.
In order to compare the convergence speed and successful rate (SR) of different algorithms, we select a threshold value of the objective function for each test function. For other functions, the threshold values are listed in Table 4. In our experiment, the stopping criterion is that each algorithm is terminated when the best fitness value so far is below the predefined threshold value ( Value) or the number of FEs reaches to cos (2 ) Table 4 in terms of the mean number of FEs (MFEs) required to converge to the threshold and successful rate (SR) in the 50 independent runs. "NaN" represents that no runs of the corresponding algorithm converged below the predefined threshold before meeting the maximum number of FEs. The best results among the six algorithms are shown in boldface. From Table 5 it can be observed that all algorithms hardly converge to the threshold for unimodal functions 3 , 5 , 6 , and 8 and multimodal functions 11 , 12 , and 14 . BBTLBO converges to the threshold except for functions 3 , 9 , and 14 . From the results of total average FEs, BBTLBO converges faster than other algorithms on all unimodal functions and the majority of multimodal functions except for functions 15 , 16 , 19 , and 20 . The acceleration rates between BBTLBO and other algorithms are mostly 10 for functions 1 , 2 , 4 , 7 , 9 , 10 , and 13 . From the results of total average SR, BBTLBO achieves the highest SR for those test functions of which BBTLBO successfully converges to the threshold value. It can be concluded that the BBTLBO has a good performance of convergence speed and successful rate (SR) of the solutions for test functions in this paper.      The Scientific World Journal 9  60 + 000 ± 3.41 + 000 −7.90 + 000 ± 2.74 + 000 −7.09 + 000 ± 3.33 + 000 −7.63 + 000 ± 2.86 + 000 −8.01 + 000 ± 3.00 + 000 −9.85e + 000 ± 1.22e + 000 19 −5.97 + 000 ± 3.31 + 000 −7.87 + 000 ± 3.03 + 000 −6.21 + 000 ± 3.66 + 000 −8.60 + 000 ± 2.68 + 000 −8.37 + 000 ± 2.90 + 000 −9.82e + 000 ± 1.78e + 000 20 −5.81 + 000 ± 3.65 + 000 −9.40 + 000 ± 2.42 + 000 −6.02 + 000 ± 3.77 + 000 −9.46e + 000 ± 2.24e + 000 −9.38 + 000 ± 2.51 + 000 −9.41 + 000 ± 2.43 + 000

10
The Scientific World Journal

Comparison of BBTLBO with DE Variants, PSO Variants, and Some TLBO Variants.
In this section, we compared the performance of BBTLBO with other optimization algorithms, including jDE [28], SaDE [29], PSOcfLocal [27], PSOwFIPS [30], and TLBO [8,9]. In our experiment, the maximal FEs are used as the stopping criterion of all algorithms, namely, 40,000 for all test functions. The results are shown in Table 5 in terms of the mean optimum solution and the standard deviation of the solutions obtained in the 50 independent runs by each algorithm on 20 test functions, where " / / " summarizes the competition results among BBTLBO and other algorithms. The best results among the algorithms are shown in boldface. The comparisons in Table 5 show that that all algorithms perform well for 15 , 16 , and 17 . Although SaDE outperforms BBTLBO on 14 , PSOcfLocal outperforms BBTLBO on  Table 5 concludes that BBTLBO has a good performance of the solution accuracy for all unimodal optimization problems and most complex multimodal optimization problems.

Two Real-World Optimization Problems
In this section, to show the effectiveness of the proposed method, the proposed BBTLBO algorithm is applied to estimate parameters of two real-world problems.

Nonlinear Function Approximation.
The artificial neural network trained by our BBTLBO algorithm is a three-layer feed-forward network and the basic structure of the proposed scheme is depicted in Figure 5. The inputs are connected to all the hidden units, which in turn all connected to all 12 The Scientific World Journal = ( + 1) * + ( + 1) * .
For neural network training, the aim is to find a set of weights with the smallest error measure. Here the objective function is the mean sum of squared errors (MSE) over all training patterns which is shown as follows: where is the number of training data set, is the number of output units, is desired output, and is output inferred from neural network.
In this example, a three-layer feed-forward ANN with one input unit, five hidden units, and one output unit is constructed to model the curve of a nonlinear function which is described by the following equation [31]: In this case, activation function used in the output layer is the sigma function and activation function used in the output layer is linear. The number (dimension) of the variables is 16 for BBTLBO-based ANN. In order to train the ANN,  Table 6 in terms of the mean MSE and the standard deviation obtained in the 50 independent runs for three methods. Figure 6 shows the predicted time series for training and test using different algorithms. It can conclude that the approximation achieved by BBTLBO has good performance.

Tuning of PID Controller.
The continuous form of a discrete-type PID controller with a small sampling period Δ is described as follows [32]: For an unknown plant, the goal of this problem is to minimize the integral absolute error (IAE), which is given as follow [32,33]: The Scientific World Journal 13    Figure 6: Comparison of the performance curves using different algorithms. where ( ) and ( ) are used to represent the system error and the control output at time , is the rising time, and ( = 1, 2, 3) are weight coefficients.
To avoid overshooting, a penalty value is adopted in the cost function. That is, once overshooting occurs, the value of overshooting is added to the cost function, and the cost function is given as follows [32,33]: The Scientific World Journal 15  In our simulation, the formulas for the plant examined are given as follows [34]: ( ) = 1958 3 + 17.89 2 + 103. 3 + 190.8 .
In the simulations, the step response of PID control system tuned by the proposed BBTLBO is compared with that tuned by the standard genetic algorithm (GA) and the standard PSO (PSO). The population sizes of GA, PSO, and BBTLBO are 50, and the corresponding maximum numbers of iterations are 50, 50, and 50, respectively. In addition, the crossover rate is set as 0.90 and the mutation rate is 0.10 for GA.
The optimal parameters and the corresponding performance values of the PID controllers are listed in Table 7 and the corresponding performance curves and step responses curves are given in Figures 7 and 8. It can be seen from Figure 7 and Table 7 that the PID controller tuned by BBTLBO has the minimum cost function and CPU time. Although PID controllers tuned by PSO have a smaller peak time and rise time, their maximum overshoots are much larger than the overshoot tuned by BBTLBO. It concludes that the PID controller tuned by the BBTLBO could perform the best control performance in the simulations.

Conclusion
In this paper, TLBO has been extended to BBTLBO which uses the hybridization of the learning strategy in the standard TLBO and Gaussian sampling learning to balance the exploration and the exploitation in teacher phase and uses a modified mutation operation so as to eliminate the duplicate learners in learner phase. The proposed BBTLBO algorithm is utilized to optimize 20 benchmark functions and two real-world optimization problems. From the analysis and experiments, the BBTLBO algorithm significantly improves the performance of the original TLBO, although it needs to spend more CPU time than the standard TLBO algorithm in each generation. From the results compared with other algorithms on the 20 chosen test problems, it can be observed that the BBTLBO algorithm has good performance by using neighborhood search more effectively to generate better quality solutions, although the BBTLBO algorithm does not always have the best performance in all experiments cases of this paper. It can be also observed that the BBTLBO algorithm gives the best performance on two real-world optimization problems compared with other algorithms in the paper. Further work includes research into neighborhood search based on different topological structures. Moreover, the algorithm may be further applied to constrained, dynamic, and noisy single-objective and multiobjective optimization domain. It is expected that BBTLBO will be used to more realworld optimization problems.