Abstract
Bacterial foraging optimization (BFO), inspired from the foraging process of bacterium called E.coli, has been applied successfully to a variety of real world optimization problems. However, BFO easily encounters the issue of poor convergence when dealing with complex landscapes of optimization problems due to its inherent fixed chemotactic strategy. Aiming at the above issue, an adaptive bacterial foraging optimizer is presented in this paper, which is able to obtain a good balance between exploration and exploitation during the search. In this approach, the chemotactic step-length is adjusted dynamically, that is a larger chemotactic step is for global search and a smaller chemotactic step is conducive to local search. Moreover, the outstanding swarming pattern is incorporated to perform information sharing in population during the evolution, aiming to maintain diversity and convergence. Simulation results on a set of benchmark functions validate the effectiveness of the proposed algorithm.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
As an important computation paradigm in artificial intelligence, swarm intelligence algorithms, which are usually based on bio-inspired computation paradigms, have received a surge of attentions recently. The promising examples include Genetic Algorithm (GA) [1], Artificial Bee Colony (ABC) [2, 3], Particle Swarm Optimization (PSO) [4], Brain Storm Optimization (BSO) [5], Ant Colony Optimization [6], etc. Such biologically inspired algorithms are frequently used to optimize many-objective problems [7]. Among them, bacterial foraging optimization (BFO) algorithm [8] was firstly proposed by Passino in 2002 [9], based on the principle of foraging behaviors of E.coli bacteria. The bacterial swarm is essentially a complex adaptive system, where the foraging behaviors show the features of self-organization and self-adaptation. These interesting patterns inspire to develop an optimization paradigm based on bacterial foraging behaviors. Up to now, many improved BFO algorithms have been proposed such as citations [10,11,12,13,14]. BFO algorithm has been applied to many real-world problems, such as harmonic signal estimation [15], PID controller design [16], optimal power flow [17] and optimal power system stabilizers design [18], load forecasting [19], stock market prediction [20], optimum economic dispatch [21].
BFO algorithm solves single-objective the problem, which is different from multi-objective algorithm [22]. When dealing with complex optimization problems, however, BFO suffers from low convergence speed and being trapped into local optima easily. According, this paradigm can’t obtain convincing results in a certain range of optimization problems, due to a chemotactic step-length is always set as a constant no matter which phase the optimization is. For this weakness, a modified adaptive bacterial foraging optimization (MABFO) algorithm is devised by incorporating a modified adaptive chemotactic strategy including adaptive step-length and adaptive tumbling in this paper.
The remainder of this paper is organized as follows: Sect. 2 provides a brief introduction to BFO. Section 3 introduces the proposed MABFO. The simulation results of evaluating MABFO on nine benchmark functions and discussions are shown in Sect. 4. The conclusion is drawn in Sect. 5.
2 Bacterial Foraging Optimization
In principle, bacteria tend to gather towards the nutrient-rich areas in the living environment. In such dynamical environment, the most adapted bacteria survive into the next generation and have a change to reproduce via natural selection, passing on their genetic traits to their offspring. At the same time, those that can’t survive are eliminated. Some bacteria may migrate to other places, leading to extinction and migration operations in real bacterial population. In the search process, bacteria in population share information via cell-to-cell communication. This foraging activity can inspire the researchers to use it as optimization process.
The classical BFO algorithm comprises four processes, namely, chemotaxis, swarming, reproduction and elimination-dispersal. The following is brief description of these four processes.
2.1 Chemotaxis
This process simulates swimming behavior and tumbling behavior behavior of E.coli bacteria via flagella. The movement ways of bacteria include two types: swimming and tumbling. Biologically, bacteria can move in the above two ways alternatively, that is, swimming in the same direction or possibly tumbling for a period of time. Suppose \( \theta^{i} (j,k,l) \) represents the position of ith bacterial after the jth chemotaxis operation, kth reproduction operation and lth extinction and migration operation. \( C\left( i \right) \) represents the swimming step-length of the ith individual in random selected direction, \( \angle \phi (j) \) represents a vector of random direction. The mathematical expression of bacterial chemotaxis phase is defined as follows:
2.2 Swarming
In this process, a cell-to-cell communication is simulated by releasing different signals. As all bacterium are on the move, they release signals to attract other bacteria swimming toward it. At the same time, each bacterium releases a rejection signal to warn other bacteria maintaining a safe distance in face of harmful substances. Bacterial foraging optimization algorithm simulates the social behavior of information sharing and cooperation among bacteria. In the search process, bacteria should not only remember their own information, but also consider the information of their companions to transmit to each other. The numerical sequence expression of the influence value of swarming can be formulated as follows:
where s is the total number of bacteria. p is the number of optimized parameters for each bacterium, that is, the position of individuals in the popultion. \( d_{attract} \), \( w_{attract} \), \( h_{repelent} \), \( w_{repelent} \) are different coefficients.
2.3 Reproduction
The evolution and development of bacteria follow principle of ‘The survival of the fittest in natural selection’. After the chemotaxis process, some selections are obviously failed, and the individuals with weak foraging ability are eliminated. The individuals with strong foraging ability maintain stability of population quantity and improve quality of population through reproduction.
Health status of each bacterium is represented by sum of adaptive values of each chemotactic step-length in its life cycle:
In order to avoid the disappearance of good feasible solutions in the search process, this strategy eliminates the inferior ones and retain the excellent ones. All bacteria are ordered according to the fitness function. Half of these bacteria with poor fitness will be eliminated, and the remaining bacteria will replicate, so as to keep the number of bacterial population unchanged.
2.4 Elimination-Dispersal
E.coli bacterium may trap into local optimum. In order to improve the global search ability, the bacteria will die or migrate after \( N_{re} \) reproduction operation. With the probability of \( P_{ed} \), bacteria are dispersed to any location within the optimized region. This elimination-dispersal operation can reduce the possibility of bacteria falling into local optimal solution. The number of elimination-dispersal operation is denoted as \( N_{ed} \).
3 Modified Adaptive Bacterial Foraging Optimization
During the search process of BFO, the search region size of population at different phases is shown in Fig. 1 and Fig. 2. Figure 1 shows distribution of population at the initial phase, and Fig. 2 demonstrates distribution of population at the later period. As the algorithm runs, the search region becomes smaller. If a chemotactic step-length is too small, the convergence speed will be slow. On the contrary, it may occur oscillation phenomenon, as shown in Fig. 3, causing the bacteria to trap into local optimum easily. Therefore, it is difficult to balance exploration and exploitation with a fixed chemotactic step-length, which affects both the accuracy and speed of algorithm search. To summarize, a proper chemotactic step-length is critical to the performance of BFO.
The size of chemotactic step-length is dynamically adjusted in the reproduction process, which ensures the bacteria moving towards the global optimum quickly at the beginning of whole search process, and converging to the global optimum accurately in the end. In this way, it could balance exploration and exploitation of BFO.
Based on the above-mentioned analysis about changing chemotactic step-length, we proposed an adaptive step-length based on dynamic search region in which at each reproduction and elimination-dispersal process of algorithm. The novel adaptive chemotactic step-length formula is shown as follows:
where \( \lambda \) is a constant controlling the step-leng that the beginning of whole search process. \( x_{i} \) is position of the ith bacterium \( x_{best} \) is the best position in current population. \( T_{i} \) is total number of motion steps of ith bacterium in current reproduction phase. \( T_{\hbox{max} } \) is the ideally maximal number of motion steps in a reproduction phase. If \( T_{i} \) is larger, the area ith bacterium searches is more likely to get the optimal value. Thus, a large value \( C^{i} \) is needed to increase ability of exploitation. On the contrary, the value of \( C^{i} \) for ith bacterium is less than other bacteria. This strategy is inspired by non-uniform mutation [23]. This means that step-length of each bacterium in population may be different at the same time, which greatly increases the local search ability of population.
Moreover, MABFO also introduced a mechanism that new position of each bacterium is calculated according to Eq. (5), which makes all bacteria moving towards the global optimum as far as possible at the beginning of the iteration and maintaining sufficient diversity. In this way, it can obtain expected convergence and diversity in the whole search process.
where \( \angle \phi (i,j) \) is direction of movement (swimming or tumbling) of ith bacterium in the jth chemotaxis. \( \angle \phi_{rand} \) is a random direction.
The pseudocode of MABFO is given in Table 1. pop represents the number of bacteria. \( N_{s} \) represents the maximum number of swimming, \( N_{c} \) represents the maximum number of chemotaxis, \( N_{re} \) represents the maximum number of reproduction, \( N_{ed} \) represents the maximum number of elimination and dispersal, \( P_{ed} \) represents the maximum number of elimination-dispersal. The main process include: first, the initialization procedure generates pop initial solutions. It performs chemotactic process after initialization. Then it executes reproduction process. Finally, it carries out elimination-dispersal process. The computational complexity of MABFO isn’t significantly different compared with classic BFO, because the size of chemotactic step-length is only dynamically adjusted in the reproduction process.
4 Simulation Studies and Discussions
4.1 The Benchmark Function
To evaluate the performance of MABFO, nine benchmark functions selected from citation [24] as follows (Table 2):
The test suite includes nine benchmark functions in this paper, encompassing uni-modal, simple multi-modal, hybrid and composition problems. Function F1 is unimodal function. Functions F2–F3, which are more complex optimization problems, are simple multi-modal functions. Functions F4–F6 are hybrid functions, and functions F7–F9 are composition functions. Both hybrid function and composition functions consist of a variety of basic functions, where the number of local minimum increases exponentially with the problem dimension. So they are considered to be the most difficult class of optimization problems. More detailed function definition is given in citation [24].
4.2 Parameter Settings
The performance of the proposed MABFO is evaluated on the benchmark functions in comparison with PPBSO [25], ABFO [13] and BFO [8]. Here, the total number of iterations for each algorithm is set as 2000. Additionally, as for other specific parameters of each algorithm, as shown in Table 3:
It can be known from the description in Sect. 3, \( \lambda \) is important for the performance for the proposed algorithm. We should choose an appropriate value of \( \lambda \) to further improve the performance of the algorithm. Table 4 shows the stimulation results of nine functions with different values of \( \lambda \). There are the largest number of functions that can get the most accurate value when coefficient (\( \lambda \)) is set as 1.0.
4.3 Simulation Results
The merits and characteristics of MABFO are discussed in comparison with PPBSO, ABFO and BFO as follows. Table 5 demonstrates simulation results obtained by MABFO, PPBSO, ABFO and BFO applied on the nine benchmark functions respectively. The simulation results for these benchmark functions are shown in Fig. 1, 2, 3 and 4 which describe the convergence process of MABFO, PPBSO, ABFO and BFO respectively.
Precision of Optimization:
The proposed MABFO algorithm is evaluated on the 10-dimension and 30-dimension benchmark functions in comparison with PPBSO, ABFO and BFO respectively. Each algorithm runs 20 times to give a mean value of the best solutions and a standard deviation.
From Table 5, it can be seen clearly that the average convergence value of the proposed MABFO algorithm ranks first for 13 times in total among the nine functions, and has small deviation at the same time. This demonstrates that the search accuracy of MABFO algorithm is better than the other three algorithms. This is because that the modified adaptive chemotactic step strategy of MABFO can help escape from local optimum and improve its capability of searching global optimum.
Speed of Convergence:
From the results presented in Fig. 4, 5, 6 and 7, comparing MABFO and classic BFO, the adaptive chemotactic step-length mechanism of MABFO can balance exploration and exploitation on the whole phase. Because MABFO can use big chemotactic step-length for fast searching feasible solution region in exploration phase, and for local search with small chemotactic step-length in exploitation phase quickly. On the contrary, the constant chemotactic step-length of classic BFO unable to maintain high-speed search ability in different environments.
From Fig. 4, 5, 6 and 7, we can find that the convergence speed of MABFO is better than PPBSO, ABFO and BFO. The convergence speed of MABFO and PPBSO at the same level roughly in the initial search phase. Because MABFO not only adds mechanism of adaptive chemotactic step-length, but also introduces the adaptive tumbling mode that makes full use of the information of the global best individual. A larger chemotactic step-length and more suitable movement direction can obtain a relatively better convergence speed in the initial search phase. Moreover, MABFO also has faster convergence speed than other three algorithms in the middle and late stage of whole search process, because it has a desired chemotactic step-length and direction in the whole dynamic search region.
5 Conclusions
In this paper, a modified adaptive chemotaxis strategy in dynamic search region is proposed to improve the BFO algorithm. Nine benchmark functions were then used to test effectiveness of the proposed improvement. Compared with PPBSO, ABFO and BFO, the proposed MABFO algorithm has fast search performance according to its adaptive character in whole search phase. In a large number of scientific research and engineering application practice, people found that biologically inspired algorithm has some problems, mainly premature convergence, and easy to fall into the local optimal. Evaluation results obtained on benchmark functions have proved the effectiveness of the proposed MABFO algorithm in solving problems of premature convergence and easy to fall into the local optimal. But the performance on the 30-dimension is worse than that on the 10-dimension. This encourages us to study further to solve higher dimensions optimization problems.
References
Whitley, D.: A genetic algorithm tutorial. Stat. Comput. 4(2), 65–85 (1994)
Karaboga, D., Akay, B.: A comparative study of artificial bee colony algorithm. Appl. Math. Comput. 214(1), 108–132 (2009)
Ma, L., Hu, K., Zhu, Y., Chen, H.: Cooperative artificial bee colony algorithm for multi-objective RFID network planning. J. Network Comput. Appl. 42, 143–162 (2014)
Shi, Y.: Particle swarm optimization: developments, applications and resources. In: Proceedings of the 2001 Congress on Evolutionary Computation (IEEE Cat. No. 01TH8546), vol. 1, pp. 81–86. IEEE (2001)
Ma, L., Cheng, S., Shi, Y.: Enhancing learning efficiency of brain storm optimization via orthogonal learning design. IEEE Trans. Syst. Man Cybern. Syst. (2020). https://doi.org/10.1109/tsmc.2020.2963943
Dorigo, M., Birattari, M., Stutzle, T., et al.: Ant colony optimization: artificial ants as a computational intelligence technique. IEEE Comput. Intell. Mag. 1(4), 28–39 (2006)
Ma, L., Wang, R., Chen, M., Wang, X., Cheng, S., Shi, Y.: A novel many-objective evolutionary algorithm based on transfer learning with kriging model. Inf. Sci. 509, 437–456 (2020)
Das, S., Biswas, A., Dasgupta, S., et al.: Bacterial foraging optimization algorithm: theoretical foundations, analysis, and applications. In: Abraham, A., Hassanien, A.E., Siarry, P., Engelbrecht, A. (eds.) Foundations of Computational Intelligence Volume 3, vol. 203, pp. 23–55. Springer, Heidelberg (2009). https://doi.org/10.1007/978-3-642-01085-9_2
Passino, K.M.: Biomimicry of bacterial foraging for distributed optimization and control. IEEE Control Syst. Mag. 22(3), 52–67 (2002)
Tang, W.J., Wu, Q.H., Saunders, J.R.: Bacterial foraging algorithm for dynamic environments. In: 2006 IEEE International Conference on Evolutionary Computation, pp. 1324–1330. IEEE (2006)
Chu, Y., Mi, H., Liao, H., et al.: A fast bacterial swarming algorithm for high-dimensional function optimization. In: 2008 IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence), pp. 3135–3140. IEEE (2008)
Dasgupta, S., Das, S., Abraham, A., et al.: Adaptive computational chemotaxis in bacterial foraging optimization: an analysis. IEEE Trans. Evol. Comput. 13(4), 919–941 (2009)
Niu, B., Wang, H., Tan, L., et al.: Improved BFO with adaptive chemotaxis step for global optimization. In: 2011 Seventh International Conference on Computational Intelligence and Security, pp. 76–80. IEEE (2011)
Chen, H., Zhu, Y., Hu, K.: Adaptive bacterial foraging optimization. Abstract and Applied Analysis, Hindawi (2011)
Mishra, S.: A hybrid least square-fuzzy bacterial foraging strategy for harmonic estimation. IEEE Trans. Evol. Comput. 9(1), 61–73 (2005)
Kim, D.H., Cho, J.H.: Adaptive tuning of PID controller for multivariable system using bacterial foraging based optimization. In: Szczepaniak, Piotr S., Kacprzyk, J., Niewiadomski, A. (eds.) AWIC 2005. LNCS (LNAI), vol. 3528, pp. 231–235. Springer, Heidelberg (2005). https://doi.org/10.1007/11495772_36
Tang, W.J., Li, M.S., He, S., et al.: Optimal power flow with dynamic loads using bacterial foraging algorithm. In: 2006 International Conference on Power System Technology, pp. 1–5. IEEE (2006)
Das, T.K., Venayagamoorthy, G.K., Aliyu, U.O.: Bio-inspired algorithms for the design of multiple optimal power system stabilizers: SPPSO and BFA. In: Industry Applications Conference, pp. 1445–1457. IEEE (2006)
Ulagammai, M., Venkatesh, P., Kannan, P.S., et al.: Application of bacterial foraging technique trained artificial and wavelet neural networks in load forecasting. Neuro Comput. 70(16–18), 2659–2667 (2007)
Majhi, R., Panda, G., Majhi, B., et al.: Efficient prediction of stock market indices using adaptive bacterial foraging optimization (ABFO) and BFO based techniques. Expert Syst. Appl. 36(6), 10097–10104 (2009)
Farhat, I.A., Elhawary, M.E.: Dynamic adaptive bacterial foraging algorithm for optimum economic dispatch with valve-point effects and wind power. IET Gener. Trans. Distrib. 4(9), 989–999 (2010)
Ma, L., Wang, X., Huang, M., Lin, Z., Tian, L., Chen, H.: Two-level master-slave RFID networks planning via hybrid multi-objective artificial bee colony optimizer. IEEE Trans. Syst. Man Cybern. Syst. 49(5), 861–880 (2019)
Deep, K., Thakur, M.: A new mutation operator for real coded genetic algorithms. Appl. Math. Comput. 193(1), 211–230 (2007)
Awad, N.H., Ali, M.Z., Suganthan, P.N., Liang, J.J., Qu, B.Y.: Problem definitions and evaluation criteria for the CEC 2017 special session and competition on single objective real-parameter numerical optimization. Technical report (2016)
Duan, H., Li, S., Shi, Y.: Predator-prey brain storm optimization for DC brushless motor. IEEE Trans. Magn. 49(10), 5336–5340 (2013)
Acknowledgment
This work was supported in part by National Natural Science Foundation of China under Grant No. 61773103 and Huawei HIRP project under No. HO2019085002.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Yong, Y., Ma, L., Zhao, J., Shen, X. (2020). A Modified Bacterial Foraging Optimizer with Adaptive Chemotactic Step in Dynamic Search Region. In: Huang, DS., Bevilacqua, V., Hussain, A. (eds) Intelligent Computing Theories and Application. ICIC 2020. Lecture Notes in Computer Science(), vol 12463. Springer, Cham. https://doi.org/10.1007/978-3-030-60799-9_4
Download citation
DOI: https://doi.org/10.1007/978-3-030-60799-9_4
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-60798-2
Online ISBN: 978-3-030-60799-9
eBook Packages: Computer ScienceComputer Science (R0)