| Literature DB >> 35251144 |
Zikai Wang1, Xueyu Huang1, Donglin Zhu1.
Abstract
The swarm intelligence algorithm is a new technology proposed by researchers inspired by the biological behavior of nature, which has been practically applied in various fields. As a kind of swarm intelligence algorithm, the newly proposed sparrow search algorithm has attracted extensive attention due to its strong optimization ability. Aiming at the problem that it is easy to fall into local optimum, this paper proposes an improved sparrow search algorithm (IHSSA) that combines infinitely folded iterative chaotic mapping (ICMIC) and hybrid reverse learning strategy. In the population initialization stage, the improved ICMIC strategy is combined to increase the distribution breadth of the population and improve the quality of the initial solution. In the finder update stage, a reverse learning strategy based on the lens imaging principle is utilized to update the group of discoverers with high fitness, while the generalized reverse learning strategy is used to update the current global worst solution in the joiner update stage. To balance exploration and exploitation capabilities, crossover strategy is joined to update scout positions. 14 common test functions are selected for experiments, and the Wilcoxon rank sum test method is achieved to verify the effect of the algorithm, which proves that IHSSA has higher accuracy and better convergence performance to obtain solutions than 9 algorithms such as WOA, GWO, PSO, TLBO, and SSA variants. Finally, the IHSSA algorithm is applied to three constrained engineering optimization problems, and satisfactory results are held, which proves the effectiveness and feasibility of the improved algorithm.Entities:
Mesh:
Year: 2022 PMID: 35251144 PMCID: PMC8890830 DOI: 10.1155/2022/2475460
Source DB: PubMed Journal: Comput Intell Neurosci
Figure 1Individual distribution. (a) Individual initialization map of SSA. (b) Individual distribution of IHSSA.
Figure 2Lens schematic diagram.
Figure 3IHSSA flow chart.
Fourteen benchmark test functions.
| Function name | Function | Dimension | Interval |
|---|---|---|---|
| Sphere |
| 30 | [−100, 100] |
| Schwefel's problem 1.2 |
| 30 | [−100, 100] |
| Schwefel's problem 2.21 |
| 30 | [−100, 100] |
| Rosenbrock |
| 30 | [−30, 30] |
| Rastrigin |
| 30 | [−5.12, 5.12] |
| Ackley |
| 30 | [−32, 32] |
| Griewank |
| 30 | [−600, 600] |
| Schwefel |
| 30 | [−500, 500] |
| Three-hump camel |
| 2 | [−5, 5] |
| Colville |
| 4 | [−10, 10] |
| Bent cigar |
| 10 | [−1010, 1010] |
| Zakharov |
| 10 | [−510, 1010] |
| Noncontinuous rotated Rastrigin's |
| 10 | [−510, 510] |
| Levy function |
| 30 | [−1030, 1030] |
Algorithm parameters
| Algorithm | Parameters |
|---|---|
| GWO |
|
| PSO |
|
| SSA |
|
| CSSA |
|
| LSSA |
|
| GSSA |
|
| YSSA |
|
| IHSSA |
|
Figure 4Population distribution map. (a) SSA. (b) IHSSA. (c) SSA. (d) IHSSA.
Ablation experiment.
| Function | Index | SSA | ISSA-I | ISSA-II | ISSA-III | IHSSA |
|---|---|---|---|---|---|---|
| F1 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F2 | Avg | 4.9592 | 0 | 1.1301 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F3 | Avg | 2.9952 | 1.0566 | 5.119 | 1 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 4.7959 | 0 | 0 | |
|
| ||||||
| F4 | Avg | 1.3694 | 8.13949 | 2.59124 | 4 | 2 |
| Std | 3.77399 | 2.05064 | 5.66546 | 2 | 8 | |
| Best | 1.36288 | 1.88962 | 2.45252 | 7 | 0 | |
|
| ||||||
| F5 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F6 | Avg | 8.88178 | 8.88178 | 8.88178 | 9 | 9 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 8.88178 | 8.88178 | 8.88178 | 9 | 9 | |
|
| ||||||
| F7 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F8 | Avg | 3958.182107 | 3972.12115 | 2628.086289 | 4674.8 | 3377.4 |
| Std | 712.2420957 | 527.205402 | 1002.927817 | 770.11 | 1620.5 | |
| Best | 2389.812363 | 3085.587428 | 0.014612768 | 3396.7 | 0.0008 | |
|
| ||||||
| F9 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F10 | Avg | 4.82652 | 3.93007 | 1.53723 | 6 | 2 |
| Std | 1.02745 | 8.62134 | 3.49383 | 2 | 5 | |
| Best | 2.87751 | 2.76833 | 2.82932 | 2 | 4 | |
|
| ||||||
| F11 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F12 | Avg | 0 | 0 | 0 | 1 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F13 | Avg | 0 | 0 | 0 | 0 | 0 |
| Std | 0 | 0 | 0 | 0 | 0 | |
| Best | 0 | 0 | 0 | 0 | 0 | |
|
| ||||||
| F14 | Avg | 5.14521 | 8.78436 | 1.26547 | 1 | 2 |
| Std | 1.83095 | 4.04952 | 2.0902 | 5 | 8 | |
| Best | 2.07524 | 3.3079 | 3.0117 | 2 | 2 | |
Comparisons of IHSSA and other seven algorithms for 14 test functions.
| Function | Algorithm | Avg | Std | Best | Run time |
|---|---|---|---|---|---|
| F1 | WOA | 6.47271 | 2.45955 | 1.4869 | 0.00114 |
| GWO | 9.58408 | 1.61375 | 1.85345 | 0.001135 | |
| PSO | 4.51174 | 6.25117 | 1.31715 | 0.003173933 | |
| TLBO | 2.29067 | 1.79774 | 2.6797 | 0.0051 | |
| SSA | 0 | 0 | 0 | 0.001907 | |
| CSSA | 0 | 0 | 0 | 0.002318533 | |
| LSSA | 0 | 0 | 0 | 0.002167 | |
| GSSA | 3.826 | 1.4763 | 0 | 0.003030333 | |
| YSSA | 0 | 0 | 0 | 0.0024253 | |
| IHSSA | 0 | 0 | 0 | 0.00231 | |
|
| |||||
| F2 | WOA | 14907.66827 | 7290.613484 | 5245.501087 | 0.000753 |
| GWO | 2.01843 | 4.84067 | 2.37886 | 0.001054 | |
| PSO | 6.159248452 | 3.416561147 | 2.274329699 | 0.003053 | |
| TLBO | 1.49173 | 1.26326 | 1.28014 | 0.005033 | |
| SSA | 4.9592 | 0 | 0 | 0.001873 | |
| CSSA | 0 | 0 | 0 | 0.001958 | |
| LSSA | 0 | 0 | 0 | 0.002093 | |
| GSSA | 1.03442 | 1.13315 | 0 | 0.002994 | |
| YSSA | 0 | 0 | 0 | 0.00206 | |
| IHSSA | 0 | 0 | 0 | 0.001953 | |
|
| |||||
| F3 | WOA | 34.68527033 | 29.6668357 | 4.83669 | 0.000001 |
| GWO | 2.5165 | 2.80518 | 3.92494 | 0.000071 | |
| PSO | 0.210838877 | 0.155290345 | 0.057831908 | 0.002197 | |
| TLBO | 2.30203 | 1.48485 | 3.57945 | 0.004141 | |
| SSA | 2.9952 | 0 | 0 | 0.000924 | |
| CSSA | 0 | 0 | 0 | 0.00118 | |
| LSSA | 0 | 0 | 0 | 0.001134 | |
| GSSA | 4.87917 | 2.20121 | 0 | 0.002007 | |
| YSSA | 0 | 0 | 0 | 0.001297 | |
| IHSSA | 0 | 0 | 0 | 0.001171 | |
|
| |||||
| F4 | WOA | 28.72457614 | 0.198079568 | 27.98805166 | 0.000752 |
| GWO | 1.62822 | 6.51934 | 38250907192 | 0.001087 | |
| PSO | 3.24434 | 4.65939 | 2.29319 | 0.002976 | |
| TLBO | 420.4775663 | 1327.016075 | 21.95591078 | 0.004966 | |
| SSA | 1.3694 | 3.77399 | 1.36288 | 0.001724 | |
| CSSA | 6.06157 | 1.48998 | 1.03023 | 0.001897 | |
| LSSA | 5.93493 | 1.14239 | 0 | 0.001974 | |
| GSSA | 5.11701 | 5.04167 | 1.6666 | 0.002881 | |
| YSSA | 1.50157 | 3.02452 | 2.37868 | 0.002006 | |
| IHSSA | 2.40169 | 8.20733 | 0 | 0.001887 | |
|
| |||||
| F5 | WOA | 0 | 0 | 0 | 0.000587 |
| GWO | 1.581667461 | 2.939452422 | 0 | 0.001086 | |
| PSO | 45.60347387 | 12.12604405 | 24.87396229 | 0.003016 | |
| TLBO | 6.383023506 | 4.955050004 | 0 | 0.005033 | |
| SSA | 0 | 0 | 0 | 0.001767 | |
| CSSA | 0 | 0 | 0 | 0.001891 | |
| LSSA | 0 | 0 | 0 | 0.001917 | |
| GSSA | 0 | 0 | 0 | 0.0028 | |
| YSSA | 0 | 0 | 0 | 0.002885 | |
| IHSSA | 0 | 0 | 0 | 0.00188 | |
|
| |||||
| F6 | WOA | 5.15143 | 2.16807 | 8.88178 | 0.000032 |
| GWO | 2.6823 | 3.63147 | 1.86517 | 0.000032 | |
| PSO | 0.343589201 | 0.596942294 | 1.24699 | 0.002345 | |
| TLBO | 0.031044156 | 0.170035847 | 4.44089 | 0.004333 | |
| SSA | 8.88178 | 0 | 8.88178 | 0.001045 | |
| CSSA | 8.88178 | 0 | 8.88178 | 0.001243 | |
| LSSA | 8.88178 | 0 | 8.88178 | 0.001302 | |
| GSSA | 8.88178 | 1.00293 | 8.88178 | 0.002071 | |
| YSSA | 8.88178 | 1.00293 | 8.88178 | 0.001365 | |
| IHSSA | 8.88178 | 0 | 8.88178 | 0.001232 | |
|
| |||||
| F7 | WOA | 0.00420253 | 0.012960719 | 0 | 0.000702 |
| GWO | 0.001780922 | 0.004128695 | 0 | 0.000986 | |
| PSO | 0.017048805 | 0.019184635 | 6.22012 | 0.002873 | |
| TLBO | 0 | 0 | 0 | 0.004866 | |
| SSA | 0 | 0 | 0 | 0.001613 | |
| CSSA | 0 | 0 | 0 | 0.001893 | |
| LSSA | 0 | 0 | 0 | 0.001803 | |
| GSSA | 0 | 0 | 0 | 0.002723 | |
| YSSA | 0 | 0 | 0 | 0.001993 | |
| IHSSA | 0 | 0 | 0 | 0.001885 | |
|
| |||||
| F8 | WOA | 749.0614488 | 1053.51792 | 0.142228645 | 0.001887 |
| GWO | 5984.325616 | 512.034691 | 5075.836656 | 0.001087 | |
| PSO | 5822.761982 | 781.2113436 | 3040.698318 | 0.002733 | |
| TLBO | 5050.58229 | 1189.147899 | 3306.384094 | 0.004777 | |
| SSA | 3958.182107 | 712.2420957 | 2389.812363 | 0.001487 | |
| CSSA | 1619.35044 | 977.2374638 | 217.1401425 | 0.001995 | |
| LSSA | 4878.962977 | 846.4505234 | 3517.371964 | 0.001683 | |
| GSSA | 678.1120161 | 1382.220669 | 0.000381827 | 0.002487 | |
| YSSA | 2178.636278 | 2045.618662 | 0.000381827 | 0.002057 | |
| IHSSA | 3377.438965 | 1620.549772 | 0.000815262 | 0.001987 | |
|
| |||||
| F9 | WOA | 1.2342 | 5.3288 | 2.672 | 0.000885 |
| GWO | 0 | 0 | 0 | 0.001102 | |
| PSO | 7.15959 | 2.6399 | 6.0523 | 0.002666 | |
| TLBO | 6.1741 | 0 | 1.5723 | 0.004666 | |
| SSA | 0 | 0 | 0 | 0.001424 | |
| CSSA | 0 | 0 | 0 | 0.001911 | |
| LSSA | 0 | 0 | 0 | 0.001614 | |
| GSSA | 0 | 0 | 0 | 0.002457 | |
| YSSA | 0 | 0 | 0 | 0.002011 | |
| IHSSA | 0 | 0 | 0 | 0.001902 | |
|
| |||||
| F10 | WOA | 0.754881452 | 1.386931349 | 0.001459345 | 0.000757 |
| GWO | 0.600742635 | 1.39373905 | 2.53554 | 0.000965 | |
| PSO | 0.000892468 | 0.000922365 | 1.42838 | 0.002883 | |
| TLBO | 3.78444 | 9.24279 | 3.07036 | 0.004883 | |
| SSA | 4.82652 | 1.02745 | 2.87751 | 0.001633 | |
| CSSA | 6.06071 | 1.74794 | 4.9792 | 0.001969 | |
| LSSA | 1.87914 | 3.82252 | 0 | 0.001777 | |
| GSSA | 9.6035 | 1.483 | 2.07901 | 0.002665 | |
| YSSA | 5.06037 | 9.41366 | 2.87751 | 0.002075 | |
| IHSSA | 1.78222 | 5.32296 | 3.72464 | 0.001965 | |
|
| |||||
| F11 | WOA | 6.5603 | 3.17192 | 9.75895 | 0.00132 |
| GWO | 6.77957 | 2.37196 | 2.19507 | 0.000106 | |
| PSO | 1.0187 | 2.21398 | 4.6921 | 0.002255 | |
| TLBO | 4.82046 | 5.52867 | 1.68795 | 0.004233 | |
| SSA | 0 | 0 | 0 | 0.000977 | |
| CSSA | 0 | 0 | 0 | 0.001212 | |
| LSSA | 0 | 0 | 0 | 0.001273 | |
| GSSA | 0 | 0 | 0 | 0.002087 | |
| YSSA | 0 | 0 | 0 | 0.001338 | |
| IHSSA | 0 | 0 | 0 | 0.001206 | |
|
| |||||
| F12 | WOA | 6.6988 | 9.54778 | 39646.29751 | 0.000265 |
| GWO | 2.61392 | 3.73552 | 1.47252 | 0.000282 | |
| PSO | 2.38287 | 1.23114 | 4.17747 | 0.002377 | |
| TLBO | 9.02546 | 4.72246 | 2.97075 | 0.004306 | |
| SSA | 0 | 0 | 0 | 0.000983 | |
| CSSA | 0 | 0 | 0 | 0.001293 | |
| LSSA | 0 | 0 | 0 | 0.001166 | |
| GSSA | 0 | 0 | 0 | 0.001983 | |
| YSSA | 0 | 0 | 0 | 0.001412 | |
| IHSSA | 0 | 0 | 0 | 0.001282 | |
|
| |||||
| F13 | WOA | 0.7 | 0 | 0 | 0.001367 |
| GWO | 0.8 | 2.006884702 | 0 | 0.000958 | |
| PSO | 1.22453 | 2.91996 | 5.79476 | 0.003133 | |
| TLBO | 4.87463304 | 0.988415075 | 2.761251106 | 0.005187 | |
| SSA | 0 | 0 | 0 | 0.001922 | |
| CSSA | 0 | 0 | 0 | 0.002064 | |
| LSSA | 0 | 0 | 0 | 0.002097 | |
| GSSA | 0 | 0 | 0 | 0.002965 | |
| YSSA | 0 | 0 | 0 | 0.002185 | |
| IHSSA | 0 | 0 | 0 | 0.002057 | |
|
| |||||
| F14 | WOA | 591670353.7 | 3240707887 | 1.967264854 | 0.000187 |
| GWO | 5.22374 | 1.32705 | 5.04003 | 0.000466 | |
| PSO | 1.94575 | 2.11926 | 1.42718 | 0.002175 | |
| TLBO | 0.320134144 | 0.127010931 | 0.093171452 | 0.00516 | |
| SSA | 5.14521 | 1.83095 | 2.07524 | 0.000983 | |
| CSSA | 3.47974 | 7.18343 | 9.49837 | 0.001377 | |
| LSSA | 1.00461 | 2.21303 | 1.49976 | 0.001183 | |
| GSSA | 1.45943 | 2.58657 | 7.98889 | 0.002022 | |
| YSSA | 2.20337 | 6.82432 | 1.49976 | 0.001485 | |
| IHSSA | 1.96838 | 7.70225 | 2.39969 | 0.001365 | |
Figure 5Convergence curves of eight algorithms for ten representatives test functions. Note. (a) corresponds to F1, (b) corresponds to F2, (c) corresponds to F3, (d) corresponds to F4, (e) corresponds to F6, (f) corresponds to F8, (g) corresponds to F9, (h) corresponds to F10, (i) corresponds to F12, and (j) corresponds to F14. The image optimization results of the four functions F5, F7, F11, and F13 have greater advantages and reach the optimal value after a short number of iterations. Since the convergence effect is too good, considering the overall beauty of the image, it will not be displayed.
p value and Wilcoxon rank.
| Function | WOA | GWO1 | PSO1 | TLBO | SSA | CSSA | LSSA | GSSA | YSSA |
|---|---|---|---|---|---|---|---|---|---|
| F1 | 3.02 | 3.02 | 3.02 | 3.02 | N/A | N/A | 0.049941793 | N/A | 0.006518796 |
| F2 | 1.21 | 1.21 | 1.21 | 1.21 | 0.333710696 | N/A | N/A | 4.79 | N/A |
| F3 | 1.21 | 1.21 | 1.21 | 1.21 | 0.002788006 | N/A | N/A | 1.93 | N/A |
| F4 | 3.02 | 3.02 | 3.02 | 3.02 | 6.53 | 9.26 | 0.0239 | 9.13 | 7.49 |
| F5 | N/A | 2.15 | 1.21 | 1.93 | N/A | N/A | N/A | N/A | N/A |
| F6 | 2.53 | 5.67 | 1.21 | 3.50 | N/A | N/A | N/A | N/A | N/A |
| F7 | 0.081522972 | 0.021577192 | 1.21 | N/A | N/A | N/A | N/A | N/A | N/A |
| F8 | 1.49 | 5.57 | 4.18 | 4.12 | 0.02920541 | 3.09 | 1.61 | 6.51 | 0.1259 |
| F9 | 1.21 | N/A | 1.21 | 1.21 | N/A | N/A | N/A | N/A | N/A |
| F10 | 3.02 | 3.02 | 3.02 | 1.46 | 0.222572896 | 0.620403721 | 0.003475701 | 0.0199 | 0.0271 |
| F11 | 1.21 | 1.21 | 1.21 | 1.21 | N/A | N/A | N/A | N/A | N/A |
| F12 | 1.21 | 1.21 | 1.21 | 1.21 | N/A | N/A | N/A | N/A | N/A |
| F13 | 0.0815 | 0.0028 | 1.21 | 1.21 | N/A | N/A | N/A | N/A | N/A |
| F14 | 3.02 | 3.02 | 3.02 | 3.02 | N/A | N/A | 0.049941793 | N/A | 0.006518796 |
Best results for the optimal design of I-shaped beam problem.
| Algorithm | Variables | Constraint | |||||
|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
| |
| IARSM | 79.99 | 48.42 | 0.9 | 2.4 | 0.0869999 | −1.52454 | 0.0131 |
| CS | 80 | 50 | 0.9 | 2.3216 | −0.012005 | −1.57002 | 0.01307 |
| GWO | 80 | 50 | 0.9 | 2.3217 | −0.009059 | −1.570071 | 0.0131 |
| EMGO-FCR | 80 | 50 | 0.9 | 2.32 | −0.176 | −1.567179 | 0.0131 |
| SOS | 80 | 50 | 0.9 | 2.3217 | −0.000222 | −1.570224 | 0.01307 |
| AEFA-C | 79.9671 | 49.99 | 0.9 | 2.3164 | −0.560371 | −1.559518 | 0.0131 |
| SSA | 79.99992 | 49.99982 | 0.9 | 2.321795732 | −0.00058001 | −1.570210836 | 0.013074174 |
| IHSSA | 80 | 50 | 0.9 | 2.32179226 | −2.06E−08 | −1.570228475 | 0.013074119 |
Best results of the three-bar truss design problem.
| Algorithm | Variables | Constraint | ||||
|---|---|---|---|---|---|---|
|
|
|
|
|
|
| |
| GA | 0.788915 | 0.407569 | 9.64 | −1.464873605 | −0.53512542 | 263.8958857 |
| PSO | 0.788669 | 0.408265 | 4.8650 | −1.464082376 | −0.535917137 | 263.8958434 |
| ICA | 0.788625 | 0.408389 | 8.42 | −1.463941244 | −0.536057913 | 263.8958452 |
| CS | 0.78867 | 0.40902 | −2.90 | −0.26853 | −0.73176 | 263.9716 |
| WCA | 0.788651 | 0.408316 | 0.00 | −1.464024 | −0.535975 | 263.895843 |
| GWO | 0.788648 | 0.408325 | 3.34 | −1.464014397 | −0.535985569 | 263.8960063 |
| ALO | 0.788663 | 0.408283 | −5.32 | −1.464062005 | −0.53593799 | 263.8958434 |
| MFO | 0.788245 | 0.409467 | 7.71 | −1.462717072 | −0.537282927 | 263.8959796 |
| WSA | 0.788683 | 0.408276 | 3.00 | −1.46407036 | −0.53587454 | 263.8958434 |
| SSA | 0.788628 | 0.408381 | 5.43 | −1.463950108 | −0.536049349 | 263.8957734 |
| IHSSA | 0.788674 | 0.408251 | 5.13 | −1.464098378 | −0.535901617 | 263.8958427 |
Best results of the cantilever beam design example.
| Algorithm | Variables | Constraint | |||||
|---|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
| |
| CS | 6.0089 | 5.3049 | 4.5023 | 3.5077 | 2.1504 | −6.45 | 1.33999 |
| MFO | 5.98487 | 5.31672 | 4.49733 | 3.51361 | 2.16162 | 4.18 | 1.33998 |
| ALO | 6.01812 | 5.31142 | 4.48836 | 3.49751 | 2.15832 | −3.00 | 1.33995 |
| SOS | 6.01878 | 5.30344 | 4.49587 | 3.49896 | 2.15564 | 1.39 | 1.33996 |
| SSA | 5.99215 | 5.28536 | 4.54216468 | 3.482721286 | 2.174334383 | −0.00014501 | 1.3401483 |
| IHSSA | 5.99349 | 5.33819 | 4.501471252 | 3.4892014 | 2.152033962 | −1.92 | 1.340002 |