Abstract
Honey badger algorithm (HBA) is a recently developed meta-heuristic algorithm, which mainly simulates the dynamic search behavior of honey badger in wild nature. Similar to other basic algorithms, HBA may suffer from the weakness of poor convergence accuracy, inadequate balance between exploration and exploitation, and ease of getting trapped into the local optima. In order to address these drawbacks, this paper proposes an enhanced honey badger algorithm (EHBA) to improve the search quality of the basic method from three aspects. First, we introduce the highly disruptive polynomial mutation to initialize the population. This is considered from increasing the population diversity. Second, Lévy flight is integrated into the position update formula to boost search efficiency and balance exploration and exploitation capabilities of the algorithm. Furthermore, the refraction opposition-based learning is applied to the current global optimum of the swarm to help the population jump out of the local optima. To validate the function optimization performance, the proposed EHBA is comprehensively analyzed on 18 standard benchmark functions and IEEE CEC2017 test suite. Compared with the basic HBA and seven state-of-the-art algorithms, the experimental results demonstrate that EHBA can outperform other competitors on most of the test functions with superior solution accuracy, local optima avoidance, and stability. Additionally, the applicability of the proposed method is further highlighted by solving four engineering design problems. The results indicate that EHBA also has competitive performance and promising prospects for real-world optimization tasks.
Keywords
Introduction
Optimization is the process of finding the best solution for a given problem without violating any constraint conditions. With the development of science and technology, increasingly complex optimization problems are emerging [1–3]. Nevertheless, the traditional mathematics-based programming techniques confront the challenges of large-scale, high-dimensional, and sub-optimal search regions, so they cannot efficiently obtain the optimal results on such problems [4–6]. The demand for more robust optimization tools is imperious. In the past few decades, meta-heuristic algorithms (MAs) have shown excellent performance in dealing with these complex optimization problems. Compared with conventional methods, MAs are usually able to provide the possible optimal solution within a reasonable amount of time, which is attributed to their distinctive advantages of few parameters, conceptual simplicity, no gradient information required, and strong ability to bypass the local optima [7]. Therefore, MAs have witnessed a rapid rise in popularity and been widely applied to various scenarios.
MAs find the optimal solution by simulating the stochastic phenomena in nature. Based on the sources of inspiration, MAs can generally be divided into three dominant categories [8, 9]: evolution-inspired, physics-inspired, and swarm-inspired. To be more specific, evolutionary algorithms are inspired by the laws of natural evolution, such as mutation, crossover, and selection. The most representative paradigm of evolutionary algorithms is genetic algorithm (GA) [10], which imitates Darwin’s theory of evolution. Of course, differential evolution (DE) [11], evolutionary programming (EP) [12], and biogeography based optimization (BBO) [13] are also covered in this branch. Physics-inspired algorithms are derived from a variety of physical concepts in the universe, which mainly contain simulated annealing (SA) [14], gravitational search algorithm (GSA) [15], multi-verse optimizer (MVO) [16], sine cosine algorithm (SCA) [17], and arithmetic optimization algorithm (AOA) [18]. Swarm-inspired algorithms imitate the collective behavior of creatures in nature. Particle swarm optimization (PSO) [19], first proposed by Kennedy and Eberhart in 1995 on the basis of the bird flocking behavior, is the most classical example in these algorithms. In PSO, each bird is considered as a candidate solution. To gain the global optimum, each bird would move around the search area and update its current position. Some other popular swarm intelligence algorithms are ant colony optimization (ACO) [20], firefly algorithm (FA) [21], ant lion optimizer (ALO) [22], grey wolf optimizer (GWO) [23], and whale optimization algorithm (WOA) [24]. Apart from the algorithms described above, more MAs are designed to solve the optimization problems in the real world, for instance, harris hawks optimization (HHO) [25], spotted hyena optimizer (SHO) [8], salp swarm algorithm (SSA) [26], moth-flame optimization algorithm (MFO) [27], butterfly optimization algorithm (BOA) [28], emperor penguin optimizer (EPO) [29], slime mould algorithm (SMA) [30], aquila optimizer (AO) [31], and gorilla troops optimizer (GTO) [32].
For MAs, it is critical to retain an appropriate balance between global exploration and local exploitation [1, 33]. In the initial stage, the search agents explore the entire search space as far as possible to determine the potential area with the optimal solution. Then, in the later stage, an algorithm conducts more local exploitation to increase the accuracy of the attained optimal solution. Even though hundreds of MAs have already been proposed, there is a constant need for further innovations in optimization algorithms. As per the no free lunch (NFL) theorem [34], no one algorithm can be suitable for all types of optimization problems. At the same time, it has been indicated that most MAs still have the limitations of slow convergence speed, imbalance between exploitation and exploration, and falling into the local optimum [35]. In addition to designing new algorithms, this theorem also prompts many scholars to improve existing algorithms with different effective strategies. To accelerate convergence, Tang et al [36] put forward a modified variant of particle swarm optimization called TACPSO through introducing acceleration coefficients and stochastic velocity. Nadimi-Shahraki et al. [37] embedded the dimension learning-based hunting mechanism into grey wolf optimizer to help the algorithm escape from the local optima. The proposed IGWO has been successfully used to solve 30 benchmark functions and four engineering design problems. In [38], Li et al. introduced the chaotic perturbation to improve the solution accuracy and robustness of ant colony optimization in the link prediction. Hosseinzadeh et al. [39] employed Lévy flight to promote the search performance of butterfly optimization algorithm and applied it to address the data placement and scheduling problem in edge computing environments. Nguyen et al. [40] proposed an improved slime mould algorithm based on opposition-based learning, namely ISMA, and implemented it for the optimal control of cascade hydropower station. Jia et al. [41] constructed a multi-strategy emperor penguin optimizer by incorporating the highly disruptive polynomial mutation, Lévy flight, and thermal exchange operator. Experimental results showed that it is an effective multilevel thresholding segmentation algorithm for colour satellite images. Meanwhile, Goodarzian et al. [42] combined firefly algorithm with simulated annealing and social engineering optimization respectively, and presented two hybrid algorithms named HFFA-SA and HSEO-FFA to find Pareto optimal solutions for the green medicine supply chain network design problem.
Honey badger algorithm (HBA) is a novel meta-heuristic algorithm developed by Hashim et al. [43] in 2021, which emulates the intelligent foraging behavior of honey badger when digging and searching for honey. Preliminary studies suggest that HBA can provide outstanding results on benchmark test problems. However, HBA also has the drawbacks of the decrease in population diversity, poor solution accuracy, and premature convergence when solving complex optimization problems. Nowadays, researches on the HBA algorithm have been carried out successively, but the proposed algorithm lacks global improvement mechanisms. As a result, NFL theorem motivates us to enhance this latest swarm-inspired algorithm.
Given the above discussion, a new enhanced honey badger algorithm (EHBA) is proposed in this paper, which introduces three search strategies to improve the overall optimization performance of HBA. First of all, the highly disruptive polynomial mutation is used to initialize the positions of honey badger to increase the population diversity. To speed up the convergence speed and balance exploration and exploitation trends of the algorithm, Lévy flight is integrated into the position update rules. Besides, the refraction opposition-based learning helps to enlarge the search area, thus strengthening the ability of jumping out of the local optima. To fully verify the effectiveness of the proposed EHBA, 18 standard benchmark functions, IEEE CEC2017 test suite, and four engineering design problems are employed for comparison experiments. The results demonstrate that EHBA outperforms the basic HBA and several advanced meta-heuristic algorithms in terms of solution accuracy, local optima avoidance, and robustness.
The structure of this paper is organized as follows. Section 2 presents the mathematical model of the basic HBA algorithm. A detailed description of three enhancement strategies and the proposed EHBA is provided in Section 3. In Section 4, we conduct a series of simulation experiments to evaluate the performance of EHBA and discuss the obtained results. Based on this, the proposed method is applied to solve four engineering design problems in Sections 5. Finally, the conclusion of this paper and future research direction are shown in Section 6.
Honey badger algorithm
As a nature-inspired optimization algorithm, HBA mimics the foraging behavior of honey badger [43]. To locate food sources (i.e., honey), honey badgers commonly adopt two ways: either relying on their smelling capability or following a honey-guide bird. In the former mode, the honey badger approximates the prey position based on its sense of smell. Once reaching there, it would move around the beehive, then choose the proper spot to dig and eventually catch the prey. In the latter mode, the honey badger locates the hives directly with the help of a honey-guide bird. With the above concept, the search process of HBA is modeled into three parts: initialization phase, digging phase, and honey phase, which are briefly described below.
Initialization phase
Suppose there are N (population size) honey badgers in the D-dimensional search space. The position of the i
th
honey badger individual is defined as
In this phase, the honey badger efficiently gets close to the prey through continuous movement and sniffing. First, the idea of the smell intensity I
i
is presented, which depends on the concentration strength of the prey and the distance between it to the i
th
honey badger. The higher the intensity, the faster the honey badger will move and vice versa. The value of smell intensity is determined using Equations (2)–(4).
Then, in order to ensure a stable transition between exploration and exploitation in the HBA algorithm, the density coefficient α that decreases with iteration is introduced to control the time-varying randomization as follows:
On the basis of smell intensity I
i
, distance information d
i
and density coefficient α, the honey badger acts like Cardioid shape [44] to update its position during the digging activity, which can be simulated as Equation (6).
In the honey phase, another pattern when the honey badger follows the honey-guide bird to the hive is simulated as Equation (8).
To overcome the drawbacks in the basic HBA, an enhanced version named EHBA is proposed in this section. First, the highly disruptive polynomial mutation is introduced to generate mutation candidate solutions, which increases the population diversity. Besides, Lévy flight is utilized to modify the position update formula to facilitate a better balance between the algorithm exploration and exploitation. In order to explore more unknown search areas and avoid falling into the local optima, we use the refraction opposition-based learning to evaluate the opposite solution of the global optimum. The detailed process is described below.
Highly disruptive polynomial mutation
The mutation operator is an exploratory method to generate new candidate solutions and provide additional diversity when solving a specific optimization problem [45, 46]. In fact, the highly disruptive polynomial mutation (HDPM) is an improved version of the polynomial mutation [47] to solve its problem that the mutation has no effect when a variable reaches the boundaries. Compared with the other mutation mechanisms, HDPM has been proved to be more accurate and consistent on most benchmark functions. The formula of HDPM is presented as follows:
It has been indicated that the flying behavior of many animals and insects in nature shows the typical characteristics of Lévy flight [48, 49]. Broadly speaking, Lévy flight is a class of random walk. In this methodology, the jump size alternates between short-distance and occasional long-distance steps drawn from the Lévy probability distribution. Due to its robust search efficiency, Lévy flight has been successfully designed in many optimizes, such as harris hawks optimization (HHO) [25] and aquila optimizer (AO) [31]. The formula of Lévy flight is expressed as follows:
Figure 1 illustrates the distribution and 2D trajectory of Lévy flight within 500 steps. It can be observed from the figure that an emblematical motion mode of Lévy flight works like this: the particle starts with a local movement, performing a number of small steps, and then it carries out a large step followed by another local movement. This factor contributes to undertaking both global and local search simultaneously. In the proposed EHBA, we try to integrate Lévy flight into the position update formula of search agents to boost the search efficiency and enhance the algorithm’s exploration and exploitation trends to a certain extent. After the enhancement, the position of honey badger can be updated as shown in Equations (16).

Distribution and 2D trajectory of Lévy flight.
Refraction opposition-based learning (ROBL), incorporating the traditional opposition-based learning [50] and refraction principle in physics, is a powerful technique to improve meta-heuristic algorithms [51, 52]. The ideology of ROBL is to evaluate the fitness values of the current solution and its opposite solution simultaneously, and then choose the better one to proceed with the next iteration. In the basic HBA, according to the position update rules, the new candidate position of honey badger is obtained by guiding the current individual to the best position of the swarm (i.e., X prey ). In the later stage of search, all the remaining honey badgers in the population prefer to cluster around the global optimum, thus leading to a decrease in the population diversity and even premature convergence. Hence, ROBL is introduced in this paper to help the global optimum move to a potential superior area and minimize the likelihood of falling into the local optima. Figure 2 illustrates the process of ROBL for the global optimum (X prey ) on one-dimensional space.

ROBL for the global optimum on one-dimensional space.
In Fig. 2, the cardinal point O denotes the midpoint of the x-axis search interval [a, b], the y-axis is the normal, X and X* are called the incidence point and refraction point, respectively, φ1 and φ2 are the angle of incidence and refraction, respectively, and the length of incidence light OX and refraction light OX* are h and h′, respectively. Let the projection of incidence point X on the coordinate axis be X
prey
, and its opposite position based on ROBL is defined as
According to Equations (18), the formula for the refraction index η is given as follows:
Here, let k = h′/h, the opposite solution
Generally, Equation (20) could also be extended to handle D-dimensional decision variables as follows:
Based on the enhanced strategies stated earlier in subsections 3.1 to 3.3, the flowchart and pseudo-code of the proposed EHBA algorithm in this paper are depicted in Fig. 3 and Algorithm 2, respectively.

Flow chart of the proposed EHBA algorithm.
In this section, the effectiveness and feasibility of the proposed EHBA are comprehensively validated on two sets of optimization problems. The first group consists of 18 standard benchmark functions selected from the literature [43], which are used to evaluate the performance of the algorithm in solving simple numerical optimization problems. The second group consists of 29 CEC2017 functions, and they are used to evaluate the performance of the algorithm with regard to addressing complicated numerical optimization problems. All the experiments are implemented in MATLAB R2017a software (version 9.2.0) with Microsoft Windows 10 system, and the hardware platform of the computer is configured as Intel (R) Core (TM) i5-6300HQ CPU @ 2.30GHz and 16GB RAM.
Experiment on standard benchmark functions
In this subsection, a total of 18 standard benchmark functions are employed for comparative experiments to investigate the performance of the proposed algorithm. First, the definitions of these functions and parameter settings are described. Then, EHBA, the basic HBA and some other state-of-the-art meta-heuristic algorithms are tested on these functions concurrently. The obtained quantitative results, boxplot, convergence behavior, and average computation time are analyzed. Final, we assess the scalability of EHBA.
Benchmark functions
The 18 benchmark functions can be divided into three types: unimodal (UM), multimodal (MM), and fix-dimension multimodal (FM). The unimodal benchmark functions (F1-F6) have only one global optimal solution, which are frequently used to detect the exploitation competence and convergence rate of the algorithm. The second category, namely the multimodal benchmark functions (F7-F11), on the other hand, consist of multiple local minima and one global optimum. This type of functions can be employed to examine the algorithm’s capability to explore and escape from local optima. Moreover, the fix-dimension multimodal benchmark functions (F12-F18) are a combination of the previous two types of functions but with lower dimensions, and they are designed to understand the stability of the algorithm between exploration and exploitation. The expression, name, spatial dimension (Dim), search range, and theoretical minimum of these functions are outlined in Table 1. Figure 4 visualizes the search space of 18 benchmark functions.
Descriptions of 18 benchmark functions
Descriptions of 18 benchmark functions

3D view of the search space for 18 benchmark functions.
In order to demonstrate improvements and superiority of the proposed algorithm, the experimental results of EHBA are compared with those of the basic HBA [43], ALO [22], HHO [25], WOA [24], MVO [16], MFO [27], TACPSO [36], and IGWO [37]. For a fair comparison, the maximum iteration and population size of all mentioned algorithms are set as 500 and 30, respectively. As per the literatures [51, 52], in the proposed EHBA, we set the refraction index η = 100 and k = 1000. Besides, the other specific parameters of comparison algorithms are set as recommended in the original literatures, as shown in Table 2. These parameter settings guarantee the fairness of the experiment and allow each algorithm to take advantage of its optimization characteristic. To decrease random errors, all algorithms run independently 30 times on each benchmark function.
Parameter settings for EHBA and other comparison algorithms
Parameter settings for EHBA and other comparison algorithms
In this subsection, we test EHBA, HBA, and seven meta-heuristic algorithms on 18 different types of benchmark functions. To analyze the experimental results more clearly and intuitively, we adopt the average fitness (Avg) and standard deviation (Std) as two measures. The average fitness represents the convergence accuracy of the algorithm, which is calculate as follows:
In the experiment, the smaller the value of the standard deviation, the better robustness of the algorithm. After 30 independent runs, the average fitness and standard deviation results obtained by the nine optimizers are reported in Table 3. It should be noted that in all tables below, the best values have been highlighted in
Comparison results of EHBA and other algorithms on 18 benchmark functions
Specifically, when solving the unimodal benchmark functions F1-F6, only EHBA is able to accurately converge to the theoretical global optimum (0) on F1-F4. And the solution accuracy of EHBA has a dramatic improvement over the basic HBA. For F5 and F6, although EHBA cannot obtain the optimal value, it still marginally outperforms all other methods and shows superior results. In terms of the standard deviation, EHBA also performs best on all test functions. In light of the characteristics of the unimodal functions, it hopefully proves that the proposed EHBA has competitive local exploitation potential, which mainly owes to Lévy flight.
When solving the multimodal benchmark functions F7-F11, the average fitness and standard deviation of EHBA are obviously better than the remaining eight algorithms on F10 and F11. For F7-F9, EHBA shares the same performance as HHO and HBA. Meanwhile, it is notable that the proposed algorithm can stably achieve the global optimum on F7 and F9. The multimodal functions contain many local optima in the search space. Hence, these results prove EHBA can effectively get rid of local optima to find high-quality solutions, which is attributed to its excellent exploration trend enhanced by HDPM and ROBL strategies.
The fix-dimension multimodal benchmark functions F12-F18 are designed to evaluate the algorithm’s stability in the transition between exploration and exploitation stages. As we can see, the proposed EHBA obtains the best results on F15-F18. For F12 and F14, all algorithms provide the consistent average fitness, but the standard deviation of EHBA is the smallest among them. This implies that EHBA has better robustness. For F13, EHBA performs equally to MFO, HBA, TACPSO, and IGWO, but much better than the others. These results show that the proposed algorithm in this paper can well balance the behaviors of exploration and exploitation in the search space.
In order to better understand the distribution properties of the enhanced algorithm, the corresponding boxplots of 12 typical benchmark functions are drawn in Fig. 5. It can be clearly seen that the proposed EHBA exhibits good consistency on these functions and generates no outliers during the iteration. The obtained median, maximum and minimum values of EHBA are more concentrated than the comparison algorithms. The above validates the strong stability of EHBA.

Boxplot analysis of EHBA and other algorithms on 12 benchmark functions.
To illustrate the convergence performance of EHBA, Fig. 6 records the convergence curves of each algorithm in solving 12 selected functions. From Fig. 6, we notice that the proposed EHBA begins to converge from the initial stage of iterations on F1-F4, and its convergence curves have a greater decay rate than all other comparison algorithms. For F6, EHBA has a similar tendency to HHO and HBA, but it eventually converges with higher accuracy. For functions F7-F9, EHBA can efficiently reach the global optimum with the least number of iterations. For F10, EHBA performs slightly worse than HHO in the initial stage of iterations, however, it shows superiority in the latter stage and obtains a better result. The convergence curves of nine algorithms are quite close on F12 and F14, but EHBA still has a bit advantage in convergence speed. For F18, EHBA also presents a faster convergence speed and higher solution accuracy. These analyses reveal that the proposed EHBA has better convergence behavior with the help of Lévy flight and ROBL.

Convergence curves of EHBA and other algorithms on 12 benchmark functions.
Table 4 reports the average computation time spent on F1-F18. The total runtime of each algorithm is calculated and sorted as follows: ALO (123.18s)>IGWO (12.44s)>HHO (5.46s)>EHBA (4.70s)>MVO (4.03s)>HBA (3.68s)>MFO (2.37s)>WOA (2.19s)>TACPSO (2.16s). As it presents, the process consumption of TACPSO is the least, whereas EHBA requires more runtime than HBA, which ranks fourth to last. The main reason for this is that three enhancement strategies increase the steps of HBA and extra time. On the whole, our proposed algorithm is acceptable in view of its remarkable search performance.
Comparison results of the average computation time for different algorithms (unit: s)
Furthermore, the Wilcoxon rank-sum test [53], a nonparametric statistical method is utilized to examine whether there are significant differences between EHBA and other comparison algorithms in a statistical sense. For Wilcoxon rank-sum test, the significance level is fixed to 0.05 and the obtained p-values are listed in Table 5. In this table, the sign “+/=/-” denotes that EHBA performs better, identically to, or poorer than the comparison algorithm respectively, and the last line counts the total number of all signs. It can be observed from Table 5 that the proposed EHBA outperforms ALO on 18 functions, HHO on 15 functions, WOA on 17 functions, MVO on 18 functions, MFO on 17 functions, HBA on 14 functions, TACPSO on 15 functions, and IGWO on 15 functions, respectively. Therefore, on basis of the statistical theory, EHBA is significantly different from the other eight algorithms, and it is considered as the best optimizer among them.
Comparison results of Wilcoxon rank-sum test between EHBA and other algorithms on 18 benchmark functions
Scalability reflects the execution efficiency of an algorithm in different dimensions. As the dimensional size of the optimization problem increases, many algorithms are highly prone to lose their effectiveness. To assess the scalability’s impact on the performance of EHBA, the proposed algorithm is used to solve 11 benchmark functions F1-F11 in Table 1 with higher dimensions. We expand the dimension from 30 to 50, 100 and 500, respectively. The average fitness results of the basic HBA and EHBA are shown in Table 6.
Average fitness values of HBA and EHBA in different dimensions on 11 benchmark functions
Average fitness values of HBA and EHBA in different dimensions on 11 benchmark functions
Descriptions of IEEE CEC2017 test suite
From Table 6, it is clear that the optimization accuracy of both algorithms gradually decreases with the increase in the dimension. This is because the larger the dimensions, the more complex the search domain. However, the performance of EHBA does not deteriorate significantly. Especially for functions F1-F6, F8, F9, and F11, EHBA can always find more promising solutions than the basic HBA. The overall results provide strong evidence that EHBA can not only solve low-dimensional problems at ease but also maintain good search ability when tackling high-dimensional problems.
The standard benchmark function experiment has demonstrated the excellent performance of HBA in solving simple problems. Nevertheless, with the development of metaheuristics, more and more algorithms are able to take good results in the standard test functions. To further verify the superiority of the enhanced algorithm in this paper, we use the IEEE CEC2017 test suite [54] to evaluate the performance of EHBA on challenging problems. This test suite is composed of 29 functions with over half of complex hybrid and composition functions. The function name, dimension size (Dim), search range, and optimal objective value of these functions are outlined in Table 7. As described in the previous subsection, the proposed EHBA is compared with HBA and the other seven optimizers. The parameter settings for all involved algorithms are consistent with those in Table 2. Meanwhile, the maximum iteration and population size are set as 500 and 30, respectively. After 30 independent runs, the average value and standard deviation results are shown in Table 8.
Comparison results of EHBA and other algorithms on IEEE CEC2017 test suite
Comparison results of EHBA and other algorithms on IEEE CEC2017 test suite

Ranking of EHBA and other algorithms on IEEE CEC2017 test suite.
As can be seen from Table 8, EHBA provides the best results on all unimodal functions CEC-1 and CEC-3. Although HBA and TACPSO obtain the same average fitness as EHBA on CEC-3, the standard deviation of EHBA is smaller. For multimodal functions, EHBA performs best on CEC-4, CEC-6, CEC-8, CEC-9 and CEC-10. IGWO and TACPSO have satisfactory solutions on CEC-5 and CEC-7, respectively. For hybrid functions and composite functions, EHBA outperforms the other eight algorithms on 12 out of 20 test functions. These results reveal that EHBA can solve a wide variety of complex optimization problems as well.
Figure 7 shows the radar ranking diagram of the nine algorithms on this test suite. The smaller the region surrounded by each curve, the better performance of the algorithm. It is obvious that EHBA has the smallest enclosed region, thereby visually proving that the proposed multi-strategy combination EHBA has superior performance in comparison.
In this section, the proposed EHBA is used to solve four constrained real-world engineering problems: three-bar truss design problem, pressure vessel design problem, tension/compression spring design problem, and speed reducer design problem, to highlight its performance at the practical application level. For the sake of convenience, the death penalty function [55] is adopted here to deal with the infeasible solutions subjected to these constraints during optimization. Likewise, EHBA runs independently 30 times for each project with the population size and maximum iteration are set to 30 and 500, respectively. The obtained results are compared against those of different well-known meta-heuristic algorithms released in the literature.
Three-bar truss design problem
The three-bar truss design problem is one of the most representative optimization applications in the field of civil engineering. As illustrated in Fig. 8, the main objective of this issue is to find three structural decision variables, namely the cross-sectional area of component 1 (A1), cross-sectional area of component 2 (A2), and cross-sectional area of component 3 (A3), where A1 = A3, to minimize the cost weight of a three-bar truss. The problem is defined mathematically as follow.

Schematic view of three-bar truss design problem.
Consider
Minimize
Subject to
Variable range
In Table 9, the experimental results of EHBA and other famous algorithms are listed. As it presents, EHBA provides better outcomes than majority of other algorithms. Additionally, the results of EHBA are very competitive compared to SSA, GEO, AHA, and L-SHADE, which indicates the merits of EHBA in realizing the minimum cost of this problem.
Comparison results for three-bar truss design problem
The pressure vessel design problem first proposed by Kannan and Kramer [56] aims to reduce the overall fabrication cost of a pressure vessel as much as possible. Figure 9 illustrates the structure of the pressure vessel and associated parameters distribution. In this design, four decision variables are considered, including the thickness of the shell (T s ), thickness of the head (T h ), inner radius (R), and length of the cylindrical portion (L). The mathematical model of this optimization can be formulated as follows.
Consider

Schematic view of pressure vessel design problem.
Minimize
Subject to
Variable range
The comparison results of the optimum variables and cost for this problem are shown in Table 10. Compared with MFO, MVO, WOA, GWO, HHO, SMA, IGWO, IGTO, L-SHADE, and IPOP-CMA-ES, it is evident that the proposed EHBA can effectively reveal the lowest cost design
Comparison results for pressure vessel design problem
Just like its name implies, the final purpose of the tension/compression spring design problem is to find three structural parameters, such as wire diameter (d), mean coil diameter (D), and the number of active coils (N), to minimize the total weight of the tension/compression spring, as illustrated in Fig. 10. Besides, the constraints of shear stress, surge frequency and minimum deflection are supposed to be satisfied during the optimization process. The mathematical formulation of this problem is given as follows.
Consider

Schematic view of tension/compression spring design problem.
Minimize
Subject to
Variable range
The comparison results of the optimum variables and weight obtained by different optimization techniques are recorded in Table 11. It can be seen from this table that EHBA significantly outperforms all other competitors and achieves the best weight of 0.011841, which indicates that EHBA has superior potential in solving this design problem within confined space.
Comparison results for tension/compression spring design problem
The speed reducer design problem is also a popular research case for engineering optimization in real life. Its goal is to reduce the speed reducer’s weight as much as possible. As illustrated in Fig. 11, there are seven decision variables involved in this optimum design that need to be optimized, namely the face width (x1), module of teeth (x2), number of teeth in the pinion (x3), distance of the shafts between bearings (x4, x5), and diameter of the shafts (x6, x7). Meanwhile, the minimization process is subject to four constraints: the bending stress of the gear teeth, covering stress, stress in the shafts and transverse deflections of the shafts. The mathematical model of this problem is expressed as follows.

Schematic view of speed reducer design problem.
Minimize
Subject to
Variable range
Table 12 reports the comparison results of EHBA with AO, AOA, GSA, SCA, SHO, STOA, SC-GWO, L-SHADE, and IPOP-CMA-ES. Based on the data in this table, it can be noticed that the optimum weight
Comparison results for speed reducer design problem
As a summary, these observed results demonstrate that EHBA is equally practical and competitive in engineering applications. Benefiting from the introduced HDPM, Lévy flight, and ROBL strategies, EHBA accomplishes excellent optimization performance, which is highly recommended to handle more real-world tasks.
In this paper, an enhanced variant of honey badger algorithm, namely EHBA, was proposed based on three search strategies. First, HDPM was introduced to enrich the diversity of the population. Then, Lévy flight was incorporated into the core position update formula to improve the search efficiency and maintain a better balance between exploration and exploitation phases. Final, ROBL was utilized to evaluate the opposition solution of the global optimum, which contributes to reduce the likelihood of falling into the local optima. The feasibility and effectiveness of the proposed EHBA is comprehensively validated on 18 standard benchmark functions and IEEE CEC2017 test suite. And the non-parametric Wilcoxon’s rank-sum test was used to investigate the significance of the results. Numerical and statistical results demonstrate that three introduced strategies greatly enhance the performance of the basic algorithm. Compared with HBA and seven state-of-the-art meta-heuristic algorithms, EHBA achieves better local optima avoidance, convergence accuracy, and stability. In addition, EHBA was applied to solve four engineering design problems to verify its applicability. The results indicate that EHBA also has competitive performance for real-world optimization applications.
However, it can be seen that the proposed EHBA still suffers from high computation cost. We believe this limitation can be mitigated by introducing some parallel mechanisms such as master-slave model, cell model, and island model. In the future work, other new optimization operators and search strategies will be used to improve the optimization skills of EHBA further. Besides, we hope to integrate HDPM, Lévy flight, and ROBL into more meta-heuristic algorithms, and investigate their performance in the field of feature selection. It is also meaningful to apply EHBA to resolve more real-life problems, including the parameter self-tuning of speed proportional integral differential (PID) controller for brushless direct current motors, the global path planning for autonomous underwater vehicles in a complex environment, and the maximum power point tracking of solar photovoltaic systems.
Footnotes
Acknowledgments
The authors are grateful to the editor and reviewers for their constructive comments and suggestions, which have improved the presentation. And this work is financially supported by the National Natural Science Foundation of China under Grant 52075090 and the Fundamental Research Funds for Central Universities under Grant 2572014BB06.
