Abstract
Considering the problem that the original chicken swarm optimization algorithm ethnic diversity and easy to fall into local optimum problems, an improved chicken swarm optimization algorithm based on fireworks (FW-ICSO) algorithm was proposed. In this algorithm, roulette was introduced to die out some chickens, produce new chicken’s methods is implemented in fireworks algorithm, and adding an inertia factor to balance search capability. Finally, FW-ICSO is tested with twenty benchmark function and compared with other similar algorithms to confirm their effectiveness in terms of the accuracy and convergence rate of the results.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
- Chicken swarm optimization (CSO) algorithm
- Roulette algorithm
- Fireworks optimization (FWA) algorithm
- Function optimization
1 Introduction
Swarm intelligence optimization algorithms are novel type of computational method by simulating the swarm behavior or predatory behavior of natural creatures. At present, researchers have proposed a variety of swarm intelligence optimization algorithms, such as particle swarm optimization (PSO) [1], Genetic algorithm (GA) [2], firefly algorithm (FA) [3].
The chicken swarm optimization (CSO) algorithm was originally presented by Meng et al. [4] at the Fifth International Conference on swarm intelligence (ICSI) in 2014. The algorithm simulates the regular pattern of foraging and the hierarchy order in the chicken swarm, the proposed algorithm has become the focus of a growing number of scholars, they are extensively used in applications. Such as, Dinghui Wu et al. [5] have used the Markov chain to analyze the convergence of clustering algorithm and verified the global convergence of CSO; Deb S et al. [6] summarized the research progress of chicken swarm olony optimization algorithm;Hafez A I et al. [7] proposed an innovative approach for feature selection based on chicken swarm optimization; Cui D [8] proposed projection pursuit model for evaluation of flood and drought disasters based on chicken swarm optimization algorithm; Osamy W et al. [9] proposed the Chicken Swarm Optimization based Clustering Algorithm to improve energy efficiency in Wireless Sensor Network.
Although the CSO algorithm has fast convergence rate and high optimum accuracy, there is easy to trap in the local optimum. Therefore, the optimization of the CSO algorithm becomes the focus of the researcher. Such as, Dinghui Wu et al. [10] proposed a method, which added the part of chicken learning cock, and introduced inertia weight and learning factor; Wang J et al. [11] proposed the improved Chicken Swarm Optimization algorithm to solve the interruptible load scheduling scheme; Bin Li et al. [12] proposed algorithm is a combination of the grey wolf optimizer (GWO) and the particle swarm optimization (PSO) algorithm with CSO; N. Bharanidharan et al. [13] proposed a method, which Improved chicken swarm optimization to classify dementia MRI images using a novel controlled randomness optimization algorithm.
In this paper, an improved chicken swarm optimization algorithm based on fireworks (FW-ICSO) algorithm was developed. Firstly, the roulette algorithm is used to select and eliminate individuals. Secondly, combines the advantage of the firework algorithm (FWA) [14] to generate new particles and improve the population diversity. Then, adding inertia factor to balance search capability. Finally, FW-ICSO is tested with a set of test functions and compared with other algorithms. The experimental data show that FW-ICSO has obvious advantages.
The rest of the paper is organized as follows: Sect. 2 introduces the idea of the chicken swarm optimization algorithm and update formula. The improvements of the FW-ICSO algorithm are introduced in Sect. 3. In Sect. 4, simulation results of FW-ICSO are presented. Finally, conclusions and expectation are stated in Sect. 5.
2 CSO Algorithm Introduction
The CSO algorithm was proposed by observing chicken swarm behavior.The best quality food is taken as the target point, through the continued transport of position information among chickens of different grades in each subgroup, and comparison with their best position, the next direction of each chicken is determined and the food finally funds. The central idea of CSO is as follows:
-
1)
The chicken swarm is divided into multiple subgroups, which are composed of roosters, hens, and chicks.
-
2)
Each subgroup consists of only one rooster and several hens and chicks, roosters have the best fitness and act as the leader in a subgroup. The individuals with the worst fitness values will be defined as chicks and the rest are hens.
-
3)
The hierarchy and mother-child relationships are updated every few times.
-
4)
The roosters lead its subgroup foraging, hens always looking for food follow the roosters, each chick follows their mothers to search for food.
In the algorithm, the entire swarm population was set to \(N\), then \(N_{R} ,N_{M} ,N_{H} ,N_{C}\) were the number of roosters, mother hens, hens, and chicks. \(x\) denotes the position of each chicken, then the position update of the rooster can be expressed as:
In formula (1), \(x_{i,j} (t)\) denote the position of the \(i\) th rooster on the \(j\) th dimension in the \(t\) th iteration(\(j \in \left[ {1,d} \right]\), d is the dimension of the search space); \(Randn\left( {0,\sigma^{2} } \right)\) is a Gaussian distribution with mean 0 and standard deviation \(\sigma^{2}\). Formula (1) simulates the rooster’s position moves.
In formula (2), k is a rooster’s index, which is randomly selected from the roosters’ group (\(k \ne i\)), \(\varepsilon\) is the smallest constant in the computer. Formula (2) simulates the competitive relationship between different roosters.
The position update of the hens (include mother hens) can be expressed as:
In the formula (3), \(Rand\) represents a random number between [0,1]; \(r_{1}\) is the rooster in the same subgroup, \(r_{2}\) is chicken(rooster or hen), which randomly calculated in the entire swarm(\(r_{1} \ne r_{2}\)), and the fitness of \(r_{2}\) is better than the fitness of \(i\).
The position update of the chicks can be expressed as:
In the formula (6), \(m\) is the index of the mother hen of chicks \(i\); \(FL\) is the adjustment parameter of chick following its mother, \(FL \in \left[ {0,2} \right]\).
The algorithm CSO is shown in Algorithm 1.
3 FW-ICSO Algorithm Introduction
Although convergence accuracy and rate of the traditional CSO algorithm is quite remarkable, the ethnic diversity is relatively single, and the chicks easily fall into local optimum, which leads to the depression of algorithm efficiency. Therefore, this paper proposed the FW-ICSO algorithm, additional the elimination mechanism, and use the FWA algorithm to generate new individuals, which is conducive to jumping out of the local optimum; additional the inertia factor, and balancing the searchability.
3.1 Elimination Mechanism
In this paper, using the roulette algorithm, after the G cycle, the poorly fitness part of chickens will be eliminated. Roulette algorithm: Link the probability of each individual being selected to its fitness, with better fitness comes a lower probability of being selected, and with worse fitness comes a greater probability of being selected.
Firstly, calculate the probability of each individual being selected:
Secondly, calculate the cumulative probability:
If the individual's fitness is poor, the corresponding selection probability will be greater. After the selection probability is converted to the cumulative probability, the corresponding line segment will be longer, and the probability of being selected will be greater.
Finally, generate a random number \(judge\), \(judge \in \left[ {rPercent,1} \right]\). If \(Q(x_{i} ) > judge\), eliminate the individual.
3.2 Creates New Individuals
In order to create new individuals, this paper introduces the FWA [12] algorithm. Assuming that \(n\) individuals are eliminated in part 3.1, then set the first \(n\) individuals with better fitness as the center. Calculate the explosive strength, explosive amplitude and displacement, then create new individuals, and select individuals with good fitness to join the algorithm.
-
(a)
Explosive strength
This parameter is used to determine the number of new individuals. Good fitness individuals will create more new individuals, and poor fitness individuals will create fewer new individuals.
In formula (9): \(S_{i}\) represents the number of new individuals produced by the \(i\) th individual; \(m\) is the constant used to control the number of new individuals of the maximum explosive amplitude, \(Y_{\max }\) is the worst fitness.
-
(b)
Explosive amplitude
The explosive amplitude is used to limit the range of individuals to create new individuals. Good fitness solutions can be very close to the global solution, so the smaller the explosive amplitude, on the contrary, the larger the explosive amplitude.
$$ A_{i} = \hat{A}\frac{{f\left( {x_{i} } \right) - Y_{\min } + \varepsilon }}{{\mathop \sum \nolimits_{i = 1}^{N} \left( {f\left( {x_{i} } \right) - Y_{\min } } \right) + \varepsilon }} $$(10)
In formula (10): \(A_{i}\) represents the explosive amplitude of the \(i\) th individual creating new individuals; \(\hat{A}\) is the constant of the maximum explosive amplitude; \(Y_{\min }\) is the best fitness.
-
(c)
Displacement operation
With the explosive strength and explosive amplitude, and according to the Displacement operation, Si new individuals can be created.
$$ \Delta x_{i}^{k} = x_{i}^{k} + rand\left( {0,A_{i} } \right) $$(11)
In formula (11): \(x_{i}^{k}\) represents the location of the ith individual; \(\Delta x_{i}^{k}\) represents the location of the new individual;\(rand(0,A_{i} )\) is the random displacement distance.
3.3 Inertial Factor
In the test without adding inertial factor \(\omega\), although the FW-ICSO algorithm can achieve better results than other algorithms, its stability is not strong, so the inertial factor ω is added to solve this problem.
The updated roosters' position formula is:
The updated hens' position formula is:
The updated chicks' position formula is:
3.4 The Flow of the FW-CSO Algorithm
The algorithm FW-ICSO is shown in Algorithm 2.
4 Experimental Comparison and Analysis
4.1 Experimental Parameter Settings
Fifteen benchmark functions in Table 1 are applied to compare FW-ICSO, CSO, ISCSO[15], PSO, BOA [16]. Set the D = 50; The search bounds are [−100,100]; The total particle number of each algorithm to 100; The maximum number of iterations is 1000; The algorithms run 50 times independently for each function. The parameters for algorithms are listed in Table 2.
4.2 Experiment Analysis
As can be seen from Figs. 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 and 30 the FW-ICSO has a considerable convergence speed. In Fig. 1, 15, and 17, the convergence speed of the FW-ICSO algorithm is much faster, the PSO and BOA has fallen into the local optimum. CSO and ISCSO converge at the same speed, but compared with FW-ICSO, the speed is much slower, and it falls into the local optimum. Therefore, FW-ICSO can avoid falling into the local optimal solution.
In Fig. 3, 7, 9, 11, and 23, FW-ICSO has a considerable speed of convergence. Although other algorithms perform well, they are still slower than FW-ICSO in terms of speed. Therefore, the convergence speed of the FW-ICSO algorithm is excellent. It can be seen from their variance graphs, the variance of FW-ICSO is small and stable. Therefore, FW-ICSO is not only fast, but also very stable.
It can be seen from Table 3 that the FW-ICSO is better than the data of other algorithms in the Worst, Best, Mean, and Std of each function except F4 and F14. In function F4, the standard deviation of FW-ICSO was worse than that of BOA, and the worst fitness of FW-ICSO was better than the best fitness of BOA. although the standard deviation is worse than BOA, it is also within the acceptable range. In function F14, the standard deviation of FW-ICSO was larger than the standard deviation of ISCSO, but the value is relatively close, and other values are better than ISCSO.
In terms of time consumption, since the algorithm time of CSO itself is longer than other algorithms, the speed of FW-ICSO algorithm is 0.1 to 0.2 s slower than that of CSO algorithm, but when the time loss is acceptable, the accuracy will be greatly improved.
5 Conclusion and Future Work
In order to improve the CSO algorithm, this paper proposes the FW-ICSO algorithm to select individuals for elimination through the roulette algorithm, introduces the explosion strength, explosion amplitude, and displacement operations in the FWA algorithm, generates new individuals to join the algorithm, and introduces the searchability of the inertial balance algorithm. Finally, tested FW-ICSO with Fifteen benchmark functions, the results demonstrate that it is true, the convergence speed, accuracy, and robustness of the FW-ICSO algorithm are considerable.
References
Kennedy, J., Eberhart, R.: Particle swarm optimization. In: IEEE Proceedings of ICNN'95-International Conference on Neural Networks, vol. 4, pp. 1942–1948 (1995)
Yong-Jie, M.A., Yun, W.X.: Research progress of genetic algorithm. Appl. Res. Comput. 29(4), 1201–1206 (2012)
Iztok, F., et al.: A comprehensive review of firefly algorithms. Swarm Evol. Comput. 13, 34–46 (2013)
Meng, X., Liu, Y., Gao, X., Zhang, H.: A new bio-inspired algorithm: chicken swarm optimization. In: Tan, Y., Shi, Y., Coello, C.A.C. (eds.) ICSI 2014. LNCS, vol. 8794, pp. 86–94. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-11857-4_10
Wu, D., Shipeng, X., Kong, F.: Convergence analysis and improvement of the chicken swarm optimization algorithm. IEEE Access 4, 9400–9412 (2016)
Deb, S., Gao, X.-Z., Tammi, K., Kalita, K., Mahanta, P.: Recent studies on chicken swarm optimization algorithm: a review (2014–2018). Artif. Intell. Rev. 53(3), 1737–1765 (2019). https://doi.org/10.1007/s10462-019-09718-3
Ahmed Ibrahem, H., et al.: An innovative approach for feature selection based on chicken swarm optimization. In: 2015 7th International Conference of Soft Computing and Pattern Recognition (SoCPaR), pp. 19–24. IEEE (2015)
Cui, D.: Projection pursuit model for evaluation of flood and drought disasters based on chicken swarm optimization algorithm. Adv. Sci. Technol. Water Resour. 36(02), 16–23+41 (2016)
Osamy, W., El-Sawy, A.A., Salim, A.: CSOCA: chicken swarm optimization based clustering algorithm for wireless sensor networks. IEEE Access 8, 60676–60688 (2020)
Wu, D., et al.: Improved chicken swarm optimization. In: 2015 IEEE International Conference on Cyber Technology in Automation, Control, and Intelligent Systems (CYBER), pp. 681–686. IEEE (2015)
Wang, J., Zhang, F., Liu, H., et al.: A novel interruptible load scheduling model based on the improved chicken swarm optimization algorithm. CSEE J. Power Energy Syst. 7(2), 232–240 (2020)
Bin, L.I., Shen, G.J., Sun, G., et al.: Improved chicken swarm optimization algorithm. J. Jilin Univ. (Eng. Technol. Ed.) 49(4), 1339–1344 (2019)
Bharanidharan, N., Rajaguru, H.: Improved chicken swarm optimization to classify dementia MRI images using a novel controlled randomness optimization algorithm. Int. J. Imaging Syst. Technol. 30(3), 605–620 (2020)
Tan, Y., Zhu, Y.: Fireworks algorithm for optimization. In: International Conference in Swarm Intelligence, vol. 6415, pp. 355-364. Springer, Heidelberg (2010)
Tong, B., et al.: Improved chicken swarm optimization based on information sharing. J. Guizhou Univ. (Nat. Sci.) 38(01), 58–64+70 (2021)
Fan, Y., et al.: A self-adaption butterfly optimization algorithm for numerical optimization problems. IEEE Access 8, 88026–88041 (2020)
Acknowledgments
This work is supported by the National Natural Science Foundation of China (61662005). Guangxi Natural Science Foundation (2018GXNSFAA294068) ;Research Project of Guangxi University for Nationalities (2019KJYB006); Open Fund of Guangxi Key Laboratory of Hybrid Computation and IC Design Analysis (GXIC20–05).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Zheng, B., Wei, X., Huang, H. (2021). An Improved Chicken Swarm Optimization Algorithm with Fireworks Factor. In: Huang, DS., Jo, KH., Li, J., Gribova, V., Bevilacqua, V. (eds) Intelligent Computing Theories and Application. ICIC 2021. Lecture Notes in Computer Science(), vol 12836. Springer, Cham. https://doi.org/10.1007/978-3-030-84522-3_52
Download citation
DOI: https://doi.org/10.1007/978-3-030-84522-3_52
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-84521-6
Online ISBN: 978-3-030-84522-3
eBook Packages: Computer ScienceComputer Science (R0)