1. Introduction
Optimization plays a pivotal role in modern science and engineering, serving as the foundation for decision-making, resource allocation, and system design across a broad spectrum of disciplines. Many real-world problems [
1,
2,
3,
4], ranging from structural design and mechanical engineering to transportation systems and industrial scheduling, can be formulated as optimization tasks. These problems often involve conflicting objectives, nonlinear constraints, high-dimensional search spaces, and intricate interactions among variables, making their resolution highly challenging. Conventional optimization techniques, such as gradient-based methods or deterministic heuristics, typically suffer from premature convergence or limited applicability in such complex domains, especially when the objective functions are multimodal, discontinuous, or analytically intractable [
5,
6,
7,
8]. Consequently, metaheuristic algorithms have emerged as powerful and flexible alternatives, offering robust performance in solving a wide variety of global optimization problems.
Over recent decades, numerous metaheuristic algorithms inspired by natural phenomena, biological processes, and physical laws have been developed. Representative approaches encompass Genetic Algorithms (GAs) [
9], Particle Swarm Optimization (PSO) [
10], differential evolution (DE) [
11], the Artificial Bee Colony (ABC) [
12], the Grey Wolf Optimizer (GWO) [
13], the Butterfly Optimization Algorithm (BOA) [
14], the Sparrow Search Algorithm (SSA) [
15], the Chimp Optimization Algorithm (ChOA) [
16], the Arithmetic Optimization Algorithm (AOA) [
17], the Optical Microscope Algorithm, the Sine Cosine Algorithm [
18], and the Artificial Jellyfish Search Optimizer (JS) [
19]. These methods rely on stochastic search principles to maintain a balance between global exploration and local exploitation, which helps them to avoid premature convergence and approximate near-optimal solutions. In recent years, newer swarm-intelligence and evolutionary models such as the Whale Optimization Algorithm (WOA) [
20], Harris Hawks Optimization (HHO) [
21], and the Dung Beetle Optimizer (DBO) [
22] have gained considerable interest owing to their conceptual simplicity, adaptability, and promising performance across various benchmark tasks. Nevertheless, many existing algorithms still suffer from drawbacks, including limited convergence efficiency, restricted scalability, and reduced robustness in solving large-scale or constrained optimization problems. Therefore, the pursuit of enhanced metaheuristic frameworks continues to be a vital and evolving research direction.
Among these approaches, the DBO has emerged as a promising algorithm due to its biological inspiration from the unique behaviors of dung beetles, including foraging, breeding, and obstacle avoidance. The algorithm has demonstrated effectiveness in striking a balance between exploration and exploitation. Nevertheless, the canonical DBO still exhibits certain drawbacks, such as susceptibility to local optima and relatively slow convergence in complex search landscapes. To overcome these issues, researchers have explored various extensions and hybridizations of the DBO, integrating adaptive mechanisms, chaos-based initialization, or hybrid operators from other algorithms [
4,
23,
24,
25,
26]. Nevertheless, significant opportunities for advancement still exist, especially in accelerating convergence, improving accuracy, and strengthening robustness when addressing a variety of engineering optimization tasks.
To address these challenges, this paper proposes the Enhanced Randomized Dung Beetle Optimizer (ERDBO), which introduces two major innovations to refine the balance between global exploration and local exploitation. First, a randomized breeding strategy is incorporated by introducing stochastic factors, modeled as “random spores,” to enhance population diversity and mitigate the risk of premature convergence. Second, sinusoidal perturbation operators, derived from trigonometric functions, are employed to strengthen local exploitation around promising solutions, thereby accelerating convergence while maintaining accuracy. Together, these mechanisms enable the ERDBO to dynamically adapt to varying search landscapes and improve its overall performance in complex optimization scenarios.
The effectiveness of the ERDBO is comprehensively evaluated using the CEC2017 benchmark suite, which consists of a wide range of unimodal, multimodal, hybrid, and composite functions at both 30-dimensional and 100-dimensional scales. Comparative results against several state-of-the-art metaheuristic algorithms demonstrate that the ERDBO consistently achieves superior performance in terms of mean objective value, standard deviation, and robustness. These findings highlight the algorithm’s ability to deliver high-quality solutions with reduced computational effort, particularly in large-scale and high-dimensional optimization problems.
Apart from standard benchmark assessments, the ERDBO’s effectiveness is also demonstrated on a set of widely studied engineering design challenges, including the tension/compression spring, three-bar truss, and pressure vessel problems. These classical engineering problems, characterized by nonlinear constraints and practical design trade-offs, provide a rigorous test bed for assessing algorithmic performance. The experimental results confirm that the ERDBO is capable of producing competitive, and in many cases superior, solutions compared to existing algorithms while maintaining computational efficiency. This underscores the algorithm’s potential for broader use in engineering practice, where reliability, accuracy, and efficiency are crucial.
The contributions of this paper can be summarized as follows:
Three-Stage Bio-Inspired Mechanism: This study proposes the Enhanced Reproductive Dung Beetle Optimizer (ERDBO), which simulates the complex biological behaviors of dung beetles during the larval growth, reproduction and nurturing stages, and predator avoidance. The mechanism effectively balances global exploration and local exploitation in the search space.
Innovations in Larval Growth and Reproduction Phases: During the larval growth phase, experiential learning is used to dynamically update individual positions, enhancing global exploration. In the reproduction and nurturing phase, a parent–offspring verification and teaching mechanism is incorporated to guide systematic solution updates, optimize local exploitation, and maintain population integrity.
Predator Avoidance and Adaptive Displacement: The predator avoidance phase simulates the rapid escape and warning behaviors of dung beetles, enabling adaptive position updates. This strategy enhances population diversity and local search capability, thus improving convergence speed and solution accuracy in complex optimization problems.
The structure of this paper is organized as follows.
Section 1 provides a review of the recent developments in metaheuristic algorithms, emphasizing both the advantages and limitations of the DBO algorithm.
Section 2 describes the basic procedure of the DBO. In
Section 3, the enhanced version, the ERDBO, is introduced along with its key design improvements.
Section 4 presents a comparative study of the ERDBO against several classical algorithms via the CEC2017 benchmark suite, including statistical analyses and performance rankings.
Section 5 demonstrates the practical utility of the ERDBO by applying it to three representative engineering design problems: the tension/compression spring, the three-bar truss, and the pressure vessel. Finally,
Section 6 concludes the paper by summarizing the contributions of the ERDBO and discussing potential future research directions for DBO-based optimization methods.
2. Dung Beetle Optimizer
To systematically tackle the problem, the objective function and the set of feasible solutions are initially formulated.
Let
denote the objective function, where
and
X represents the feasible solution set. The overall search domain is denoted by
S. Within this framework,
X is also regarded as the population matrix that includes all candidate solutions, which can be expressed as
where
N is the number of individuals in the population, and
d denotes the dimensionality of the problem space. For experimental validation, the proposed method is tested on the CEC2017 benchmark functions with
, while the problem dimension is set to
or
in order to examine its scalability across different search spaces. The initial population is generated randomly, with each individual corresponding to a point in the feasible domain, thus serving as a candidate solution. Accordingly, a solution vector
x can be represented as
For the optimization variables, the lower and upper limits, represented as and , are specified by the CEC2017 benchmark to lie within ; i.e., and . To initialize the population, the function is employed to produce random values uniformly distributed over , thereby introducing a stochastic element into the initialization procedure.
2.1. Rollerball Dung Beetle
In their natural environment, dung beetles demonstrate an impressive capability to traverse linear trajectories while rolling dung balls, frequently exposed to strong sunlight. To capture this sophisticated navigational behavior, the position update of the beetle is described by Equation (
4), following the original formulation. This expression explicitly dictates how the beetle’s position is adjusted throughout the rolling process.
Within the proposed framework, the variable t corresponds to the current iteration index, and denotes the position of the ith dung beetle at iteration t. The parameter a governs whether the beetle follows its original trajectory or deviates from it. Specifically, a is assigned a binary value: indicates adherence to the original path, whereas represents a deviation from it.
The parameter acts as a defect coefficient, initially set to , controlling the magnitude of deviation. The constant , chosen as in this study, modulates the influence of random environmental perturbations. Both a and k are treated as fixed parameters, and their product with contributes directly to updating the agent’s position.
The term represents the location of the worst-performing individual in the population, while ∆x captures the effect of solar illumination. Larger values of ∆x correspond to increased separation between the dung beetle and the light source.
In natural habitats, dung beetles exhibit adaptive responses to obstacles by performing characteristic turning maneuvers, often described as dance-like behaviors, to reorient their rolling paths. To mimic this phenomenon, the original study introduced a probabilistic mechanism to approximate the likelihood of obstacle encounters during the rolling process. Upon detecting an obstacle, the beetle’s updated direction is determined via a tangent-based function, reproducing the biologically inspired adjustment in trajectory.
This adaptive behavior is incorporated into the position update described by Equation (
5), which governs the motion dynamics of the rolling dung beetle. Integrating this mechanism reflects the inherent flexibility in the beetle’s navigation and provides a biologically grounded justification for the employed position update strategy.
The deflection angle
is confined to the range
. Position updates are skipped when
takes the values 0,
, or
. It is important to note that, as
approaches
from the left (
),
tends to positive infinity, whereas approaching from the right (
) results in
tending to negative infinity. This unbounded behavior of
may cause the computation of
to become unstable or undefined. Moreover, at
, since
, the position
remains unchanged. The dependency of
on
is depicted in
Figure 1.
2.2. Spawning Dung Beetles
In their natural environment, dung beetles select a secure site for oviposition. To mimic this behavior, the original DBO algorithm employs a boundary selection mechanism to define the oviposition region, as shown in Equation (
6):
Here, and denote the lower and upper bounds of the oviposition region, respectively. represents the position of the top-performing individual in the population, and the coefficient R is defined as , with being the maximum number of iterations.
Once the optimal oviposition region is established, dung beetles lay their eggs within this area. Each egg-laying event updates the agent’s position, enabling local exploration around the current best solution and reducing the risk of premature convergence. The position update formula for spawning dung beetles is provided in Equation (
7):
In this work, and are stochastic vectors of size , where denotes the dimensionality of the optimization problem. The Hadamard product (⊙) is applied element-wise between and , as well as between and .
2.3. Foraging Dung Beetles
In their natural habitat, foraging dung beetles exhibit behavior analogous to selecting secure oviposition sites. The designated region is defined in the original study by the following formulation, as presented in Equation (
8):
In this context,
represents the globally optimal position, while
and
specify the lower and upper boundaries of the optimal foraging region, respectively. Additionally,
and
denote the overall lower and upper bounds of the problem domain. Each foraging operation carried out by the dung beetle induces a position update, which is described by Equation (
9):
The variable is sampled from a normal distribution, whereas is a vector with elements independently drawn from a uniform distribution over . The vector is applied element-wise (Hadamard product) to the difference , while is similarly multiplied element-wise with .
2.4. Stealing Dung Beetles
In natural environments, some dung beetles exhibit the behavior of stealing dung balls from conspecifics. To capture this phenomenon, the original study defines the global best position, denoted by
X, to represent the location of the contested dung ball. The corresponding stealing behavior is then modeled as a position update, which is mathematically formulated by the following equation:
According to the original study, the parameter S is a constant with a value of . The variable g represents the magnitude of a random vector, and denotes the dimensionality of the optimization problem. In this context, S is treated as a scalar, g as a column vector, and as a vector; their dot product yields a resultant vector.
Furthermore, the study specifies the population sizes for the different categories of dung beetles as follows: 6 rollers, 6 breeders, 7 foragers, and 11 thieves.
2.5. Pseudocode for the DBO Algorithm
The pseudocode for DBO is as follows:
2.6. The Time Complexity of DBO
At the beginning, the population is initialized and the algorithm parameters are set, resulting in a computational cost of , where N denotes the population size and D indicates the dimensionality of the problem. In each iteration, updating the positions of all dung beetles—including rollers, spawners, foragers, and thieves—also requires operations. Considering that the algorithm runs for iterations, the overall time complexity amounts to .
3. Enhanced Reproductive Dung Beetle Optimizer
3.1. Our Motivation
This study introduces the ERDBO Algorithm 1, inspired by the complex biological processes observed in dung beetles during their growth, reproduction, and predator avoidance phases.
Firstly, in the larval growth stage, population members’ positions are dynamically updated through a process of experiential learning. Considering the large population size and survival challenges, the algorithm simulates rapid larval development by continuously assimilating experiential knowledge to adjust individual positions within the solution space. This mechanism models a sequence of motion patterns that induce significant positional diversity, thereby enhancing exploration capabilities.
| Algorithm 1 Framework of the Dung Beetle Optimizer (DBO) Algorithm |
Input: Maximum number of iterations , population size N Output: Optimal solution and its corresponding fitness value - 1:
Initialize a population of N individuals and set the necessary parameters. - 2:
whiledo - 3:
for each individual in the rolling dung beetle group do - 4:
Generate a random number - 5:
if then - 6:
Update the position of the rolling beetle according to Equation ( 4) - 7:
else - 8:
Perform position update simulating obstacle-influenced rolling using Equation ( 5) - 9:
end if - 10:
end for - 11:
Compute the nonlinear convergence factor - 12:
for each individual in the spawning dung beetle group do - 13:
Update the beetle’s position using Equations ( 6) and ( 7) - 14:
end for - 15:
for each individual in the foraging dung beetle group do - 16:
Update the beetle’s position according to Equations ( 8) and ( 9) - 17:
end for - 18:
for each individual in the stealing dung beetle group do - 19:
Update the beetle’s position based on Equation ( 10) - 20:
end for - 21:
end while - 22:
return Optimal position and its associated fitness
|
Secondly, during the reproduction and nurturing stage, the ERDBO incorporates a biologically inspired teaching mechanism. When the environmental risk threshold is low, dung beetles enter the breeding phase, wherein a unique parentage verification process during oviposition prevents external species infiltration. This mechanism ensures population integrity and guides the systematic update of solution candidates’ positions.
Thirdly, in the foraging phase, the algorithm simulates dung beetles’ predator avoidance behaviors to adaptively update positions. Upon detection by predators, the targeted beetle executes rapid escape maneuvers accompanied by disruptive leg movements and emits warning signals to alert conspecifics. Consequently, the targeted individual undergoes minor positional adjustments, while other members perform evasive hovering, resulting in substantial spatial displacement. This adaptive strategy improves the algorithm’s ability to avoid premature convergence and maintain population diversity.
Together, these biologically inspired strategies establish a robust balance between exploration and exploitation, contributing to improved convergence speed and solution accuracy.
3.2. The Larval Growth Stage of Dung Beetles
During the larval growth phase, the positions of individuals in the population are adaptively adjusted based on experiential learning strategies [
27,
28,
29]. Considering the large population size and competitive survival pressures, the algorithm simulates the rapid development of larvae by continuously incorporating accumulated experiential knowledge to dynamically update each individual’s position within the search space. This mechanism effectively models a series of complex movement behaviors, thereby increasing positional diversity and enhancing the exploratory capability of the algorithm. The position update during the larval growth stage is expressed by Equation (
11):
3.3. The Reproduction and Nurturing Stage
In the second phase of dung beetle reproduction, the positions of population members are updated by simulating the teaching mechanisms observed during the beetles’ reproductive and nurturing behaviors. When the environmental risk threshold is low, dung beetles enter the breeding stage and employ a distinctive parent–offspring identification strategy during oviposition to prevent invasion by foreign species.
Here, and are random variables drawn from a normal distribution.
During the predator avoidance phase, the positions of population members are updated based on the defensive mechanisms that dung beetles employ to resist predator attacks. When an exceptional dung beetle is spotted by a predator, it responds by rapidly fleeing and repeatedly striking its legs to obscure the predator’s vision. Simultaneously, it emits warning signals to alert other members of the population.
Under such circumstances, the targeted dung beetle escapes quickly, resulting in a slight positional change, while the remaining members perform evasive maneuvers to avoid the predator, leading to significant positional shifts. These two distinct behavioral responses within the DBO population enhance the algorithm’s ability to expand its search range in the solution space while improving its local exploitation capabilities. The corresponding motion patterns are mathematically defined in Equation (
13):
Here, l denotes the Lévy flight-based random step size, which enables the algorithm to escape from local optima. The parameter k represents the adaptive flight balance coefficient, while w denotes the calling frequency value.
3.4. Implementation of ERDBO
Population Initialization: The algorithm starts by setting the population size
N, the problem dimensionality
D, the maximum number of evaluations Max, and the upper and lower bounds
and
. The initial population
x is then generated within the search space following Equation (
3).
Larval Growth Stage: During the growth phase, dung beetles continuously adjust their positions to assimilate extensive experiential knowledge, thereby facilitating rapid development. To simulate this, a foundational growth model is constructed, enabling dung beetles to perform wide-ranging exploration within a constrained solution space. Position updates in this phase are computed using Equation (
11).
Reproduction and Nurturing Stage: When environmental conditions are deemed safe, dung beetles engage in educational behaviors during reproduction, wherein several members take turns caring for the eggs until hatching. This cooperative mechanism results in localized movements near the nesting area as each member alternates between foraging and caregiving. Based on this, a localized exploitation model is established, allowing dung beetles to perform in-depth exploration in defined regions. The corresponding position update is described by Equation (
12).
Predator Avoidance Stage: In response to perceived threats, dung beetles shake their legs to distract predators and issue warning signals to nearby members. This defensive behavior introduces greater randomness into their exploration patterns. A predator avoidance model is established to simulate this adaptive strategy, and the associated position update is formalized in Equation (
13).
3.5. Pseudocode for the ERDBO Algorithm
The pseudocode for the ERDBO algorithm is in Algorithm 2. The value of
a is a uniformly distributed random real number greater than or equal to 0 and less than 1.
| Algorithm 2 Framework of the ERDBO Algorithm |
Input: Maximum number of iterations , population size N Output: Optimal solution and its associated fitness value - 1:
Initialize a population of N individuals and configure algorithm parameters. - 2:
whiledo - 3:
for each individual in the rolling dung beetle group do - 4:
Generate a random scalar - 5:
if then - 6:
Update the position according to Equation ( 4) - 7:
else - 8:
Perform obstacle-influenced rolling update using Equation ( 5) - 9:
end if - 10:
end for - 11:
Compute the nonlinear convergence factor - 12:
for each individual in the spawning dung beetle group do - 13:
Update the position using Equations ( 6) and ( 7) - 14:
end for - 15:
for each individual in the foraging dung beetle group do - 16:
Update the position according to Equation ( 14) - 17:
end for - 18:
for each individual in the stealing dung beetle group do - 19:
Set reproductive or interaction parameters - 20:
Update the position based on Equations ( 12) and ( 13) - 21:
end for - 22:
end while - 23:
return Optimal position and its corresponding fitness
|
3.6. The Time Complexity of ERDBO
The computational complexity of the ERDBO algorithm is primarily determined by the population size and the total number of iterations. Let denote the maximum number of iterations, N the population size, and D the dimensionality of each candidate solution.
During each iteration, individuals are categorized into four behavioral types: rollers, spawners, foragers, and thieves. Each individual updates its position according to specific rules, with each update requiring constant-time operations (i.e., ), possibly involving vector operations across D dimensions.
Consequently, the cost per iteration scales with both the population size and the solution dimensionality. Considering that the algorithm executes for iterations, the total time complexity of the ERDBO can be expressed as .
This analysis shows that the algorithm exhibits linear scalability with respect to the number of iterations, the population size, and the problem dimensionality.
4. Experimental Results and Discussion
In this study, the performance of the proposed enhanced algorithm is systematically evaluated using the CEC2017 benchmark suite [
30,
31]. A comprehensive overview of the benchmark functions is provided in
Table 1. Since the original F2 function is excluded from the CEC2017 set, a total of 29 single-objective benchmark functions are employed for the evaluation.
Specifically, F1 and F2 are unimodal functions, each featuring a single global optimum. Functions F3 through F9 are simple multimodal functions containing multiple local optima. Functions F10 to F19 are hybrid functions, each composed of three or more rotated or shifted CEC2017 benchmark functions. Finally, functions F20 to F29 are composite functions formed by combining at least three hybrid or transformed benchmark components, incorporating both rotation and translation operations.
The comparative algorithms selected for performance evaluation include SSA, HHO, BOA, OMA (only for the CEC2017 benchmark functions, as clarified in Dr. Moh Nur Sholeh’s work), SCA, and DBO. To ensure fair comparison, the initial population size for all the algorithms is uniformly set to 30, with a maximum of 500 iterations. To reduce the influence of randomness, each algorithm is executed independently for 30 runs, and the results are subjected to statistical analysis. The parameter settings for all the algorithms are detailed in
Table 2.
4.1. CEC2017 Test Function Results and Analysis
The statistical outcomes for the CEC2017 benchmark functions in 30- and 100-dimensional settings are systematically recorded. The metrics reported include the minimum (min), mean, and standard deviation (std) calculated over 100 independent runs for each algorithm. The best mean value for each test function is highlighted in bold. The final row, labeled “Total,” summarizes the number of instances in which each algorithm achieved the highest mean performance across all the benchmark functions. Detailed results for the 30- and 100-dimensional cases are presented in
Table 3 and
Table 4, respectively.
An analysis of
Table 3 and
Table 4 reveals that, in the 30-dimensional experiments, the ERDBO achieved the top-ranked solution in 14 of the 29 benchmark functions, reflecting its overall effectiveness. For the other 15 functions, although the absolute optimum was not reached, the ERDBO consistently provided high-quality suboptimal solutions, demonstrating its capability to handle a diverse set of problems. In the 100-dimensional experiments, a similar pattern is observed: the ERDBO secured the best result in 14 functions and produced robust suboptimal outcomes for the remaining cases. These findings indicate that the ERDBO maintains stable performance and robustness even in high-dimensional optimization scenarios. The subsequent sections present a more detailed discussion of these results.
For the unimodal function F1, the ERDBO showed competitive results but was slightly outperformed by WOA in both 30- and 100-dimensional settings and therefore did not achieve the top rank among all the tested algorithms. In contrast, for the unimodal function F2, the ERDBO consistently attained the fifth position across both dimensions, closely following SCA and WOA while clearly outperforming the original DBO. These observations suggest that the ERDBO provides a substantial enhancement over the baseline DBO, demonstrating stable and reliable convergence behavior on unimodal optimization tasks.
For the simple multimodal functions F3–F9, the ERDBO demonstrated strong performance in the 30-dimensional experiments, achieving the highest rank in F3, F4, F6, F7, and F9. These results reflect the algorithm’s improved exploration ability and its effectiveness in avoiding local optima. Although the ERDBO was slightly outperformed by WOA and SCA in F5 and F8, it still significantly exceeded the original DBO and most other competing algorithms. In the 100-dimensional experiments, the ERDBO continued to perform well, attaining the top position in F4, F5, F8, and F9, which illustrates its robustness and scalability in higher-dimensional search spaces. While WOA and SCA occasionally achieved better results on specific functions, the ERDBO consistently produced competitive outcomes across the majority of the benchmarks. The overall advantage of the ERDBO over DBO further confirms the efficacy of the proposed algorithmic improvements.
Regarding the hybrid functions F10–F19, the ERDBO achieved the highest ranks in F11, F15, and F17 under the 30-dimensional setting, showcasing its capability in handling complex problem landscapes. Although it slightly trailed WOA on several functions, the ERDBO outperformed the basic DBO by a substantial margin, highlighting the effectiveness of its hybrid optimization strategies. In the 100-dimensional scenario, the ERDBO continued to perform competitively, ranking prominently in F11, F15, F16, and F19 despite minor performance gaps relative to WOA and SCA. These findings demonstrate the ERDBO’s adaptability and improved solution quality in multidimensional hybrid problems.
For the composite functions F20–F29, the ERDBO achieved notable performance in the 30-dimensional experiments, securing the top rank in F20, F22–F24, and F26. This demonstrates its capability in handling complex and multi-component optimization landscapes. While WOA slightly outperformed the ERDBO on a few functions, the ERDBO still markedly surpassed the original DBO, highlighting its enhanced efficiency and accuracy in optimizing composite functions. In the 100-dimensional experiments, the ERDBO continued to exhibit strong results, attaining the highest rank in F20–F23, F26, and F28, further illustrating its robustness and scalability in high-dimensional search spaces. Overall, these findings confirm that the ERDBO offers significant improvements in convergence speed, solution quality, and algorithmic stability across a diverse set of benchmark problems.
The ERDBO demonstrates superior optimization performance across a wide range of benchmark functions owing to multiple key algorithmic enhancements. It introduces an adaptive weight adjustment mechanism that dynamically balances global exploration and local exploitation, substantially improving its ability to escape local optima and enhancing search diversity and efficiency. Additionally, the ERDBO employs an improved heuristic update strategy that optimizes information sharing and maintains population diversity, effectively preventing premature convergence while accelerating convergence speed and improving solution quality. These features ensure robust stability and reliability even in high-dimensional complex optimization problems. Moreover, the ERDBO incorporates automated and intelligent parameter tuning, reducing dependence on user expertise and broadening its applicability across diverse problem domains. Extensive testing on multi-dimensional and varied problem sets confirms its scalability and strong generalization capabilities, from low- to high-dimensional and from simple to complex tasks, providing a solid foundation for real-world engineering and scientific applications. Overall, the ERDBO not only significantly outperforms the original DBO and other benchmark algorithms in convergence speed, accuracy, and stability but also achieves critical breakthroughs in algorithm design, establishing itself as a powerful tool for solving complex, nonlinear, multimodal, and high-dimensional optimization problems and advancing the field of heuristic optimization.
4.2. CEC2017 Convergence Curve Analysis
To evaluate both convergence speed and solution accuracy, convergence curves were plotted for the 30- and 100-dimensional experiments, comparing the ERDBO with several competing algorithms, as illustrated in
Figure 2 and
Figure 3. In each subplot, the x-axis represents the iteration count, while the y-axis shows the average objective values obtained over 30 and 100 independent runs. The analysis of these curves yields the following insights:
For the unimodal function F1, the ERDBO initially converged more slowly than SCA. However, after roughly two-thirds of the iterations, its convergence accelerated, eventually catching up with SCA and surpassing all the other algorithms. This pattern was observed in both 30- and 100-dimensional settings, illustrating the ERDBO’s effective balance between exploration and exploitation throughout the search process. On F2, the ERDBO consistently converged faster than the original DBO, achieving superior final solutions. These observations confirm the ERDBO’s ability to enhance convergence behavior, particularly in the later stages of unimodal optimization.
For simple multimodal functions F3–F9, the ERDBO achieved rapid convergence and top-ranked solutions in the 30-dimensional case, particularly for F3, F4, F6, F7, and F9. Notably, on F6, the ERDBO reached the equilibrium point of the baseline DBO in approximately 280 iterations, highlighting the efficiency of its improvements. In the 100-dimensional experiments, the ERDBO maintained robust convergence, leading on F4, F5, F8, and F9 while consistently obtaining high-quality solutions. These results demonstrate the ERDBO’s scalability and reliability in high-dimensional multimodal optimization tasks.
For hybrid functions F10–F19, the ERDBO exhibited consistently fast convergence, frequently leading on F15 and F19. In 30 dimensions, the fastest optimal solutions were observed on F11, F15, F16, and F17. Specifically, the ERDBO achieved equilibrium on F15 and F16 well before 100 iterations, outperforming the other algorithms in both speed and solution quality. In 100-dimensional scenarios, the ERDBO continued to excel, attaining optimal solutions on F15, F16, F17, and F19 with significantly faster convergence than the baseline DBO. These findings highlight the ERDBO’s effectiveness in efficiently handling complex landscapes composed of multiple functional components.
For composite functions F20–F29, the ERDBO consistently delivered excellent performance in 30 dimensions, rapidly converging to optimal solutions on F20, F22, F23, and F26–F29, outperforming most competing algorithms. Its performance was comparable to SCA only on F28 and F29, emphasizing its competitiveness. In 100-dimensional experiments, the ERDBO maintained its advantage, achieving optimal solutions on F20–F23, F25, and F26 with impressive convergence speed. Overall, these results confirm the ERDBO’s strong adaptability and efficiency in complex high-dimensional composite optimization problems, demonstrating its potential for real-world applications requiring robust optimization.
4.3. Wilcoxon Rank-Sum Test
The Wilcoxon rank-sum test, a widely used nonparametric statistical approach [
32,
33], was applied to assess the performance differences between the proposed ERDBO and conventional algorithms without assuming specific data distributions. In this work, the test was employed to evaluate the performance variations between the ERDBO and six benchmark algorithms. Experiments conducted on the CEC2017 dataset across multiple dimensions provided insights into the relative effectiveness of these algorithms in solving optimization problems.
For the 30-dimensional results (
Table 5), the ERDBO exhibited clear advantages over WOA and SAO, likely due to its improved exploration capability. When compared with the DBO and HHO, significant differences were observed across all the test functions, emphasizing the ERDBO’s stability and robustness. Comparisons with WOA and SCA demonstrated the ERDBO’s superiority on several specific functions, although some performance fluctuations were present.
In the 100-dimensional experiments (
Table 6), the ERDBO continued to outperform DBO, WOA, and SAO significantly, highlighting its adaptability to high-dimensional problems. However, for SSA, HHO, and other algorithms, differences were observed on certain functions, which can be attributed to variations in search strategies and convergence behaviors in high-dimensional search spaces.
4.4. Comparison of ERDBO with Other Improved DBO Variants, DE, and State-of-the-Art Algorithms
To thoroughly evaluate the performance of the ERDBO, we conducted extensive experiments, comparing it with the original DBO, several of its improved variants on the CEC2017 benchmark functions with multiple dimensionalities. L-SHADE-E is recognized as one of the state-of-the-art differential evolution variants and is widely used as a performance benchmark in the evolutionary computation community. These benchmark functions cover a wide range of characteristics, including unimodal, multimodal, hybrid, and composition functions, providing a comprehensive test of algorithmic exploration and exploitation capabilities. The convergence behavior of all the algorithms is illustrated in
Figure 4 (Dim = 30) and
Figure 5 (Dim = 100), which demonstrate that the ERDBO consistently achieves faster convergence and higher-quality solutions across most functions. These results confirm the effectiveness of the biologically inspired strategies incorporated into the ERDBO, particularly in balancing global exploration and local exploitation, and highlight its superiority over both conventional DBO variants and other competitive metaheuristic algorithms.
As shown in
Figure 4 and
Figure 5, the ERDBO demonstrates superior performance compared to the original DBO, its improved variants, the L-SHADE-E algorithm, and the DE algorithm on several benchmark functions (F1, F4, F8, F11, F20, and F29) of the CEC2017 suite for both Dim = 30 and Dim = 100. In the 30-dimensional case, the ERDBO achieves faster convergence and higher-quality solutions due to its enhanced exploration and exploitation mechanisms, effectively avoiding premature convergence. In the 100-dimensional case, despite the increased search space and higher problem complexity, the ERDBO maintains its advantage by efficiently balancing global exploration and local exploitation, outperforming competing algorithms, such as L-SHADE-E and DE, which often converge slowly or become trapped in local optima. These results collectively highlight the robustness, scalability, and practical effectiveness of the biologically inspired strategies incorporated into the ERDBO across different problem dimensions.
5. Engineering Optimization Issues
5.1. Tension/Compression Spring-Design Problem
The design optimization of tension/compression springs is a foundational yet complex topic in mechanical engineering [
34,
35] given the widespread use of springs as indispensable components in a multitude of mechanical and structural systems. Springs play a pivotal role in absorbing energy, providing force, and enabling motion control in systems ranging from automotive suspensions to aerospace actuators. At the heart of this optimization task lies the fine-tuning of critical geometric parameters—including wire diameter, mean coil diameter, and the number of active coils—to achieve a balance between mechanical performance and structural efficiency.
The primary objective in spring design is typically to minimize the spring’s weight while ensuring that it can withstand specified loads and deformations under various working conditions. A reduction in weight not only contributes to the overall efficiency and responsiveness of the mechanical system but also supports the broader goals of lightweight engineering and sustainability. Achieving this requires solving a constrained nonlinear optimization problem in which material strength, allowable stress, and manufacturing constraints must all be carefully considered.
In practice, engineers must integrate multiple design considerations, including the mechanical behavior of spring materials, fatigue resistance, space limitations, and thermal or environmental factors. The trade-offs between these competing requirements demand a systematic and intelligent optimization approach, one that can navigate the complex design landscape to identify globally optimal solutions. Consequently, the tension/compression spring-design problem serves as a benchmark for testing both algorithmic performance and engineering insight.
Addressing this problem effectively has significant implications across industries. Optimized spring designs lead to lighter, more compact, and cost-effective components, directly contributing to improved energy efficiency, lower material usage, and enhanced system durability. Such advancements are especially valuable in high-performance sectors like aerospace and automotive engineering, where weight reduction is closely linked to fuel efficiency and system responsiveness. Additionally, efficient spring designs can reduce manufacturing complexity and improve product reliability, thereby supporting sustainable and economical production practices.
Figure 6 illustrates the schematic of the tension/compression spring optimization problem, where the design variables—wire diameter (
d), mean coil diameter (
D), and number of active coils (
N)—are adjusted to minimize the spring’s total mass. The goal is to ensure that the resulting spring meets all the performance requirements under operational loads while achieving the lightest possible configuration. This kind of optimization framework not only yields high-performance and lightweight spring solutions but also serves as a valuable reference model for other mechanical design challenges.
Subject to
where
and
.
The convergence curve is shown in
Figure 7.
Table 7 summarizes the results obtained from 100 independent runs of the tension/compression spring-design optimization problem, comparing the performance of several state-of-the-art algorithms. Notably, the ERDBO algorithm consistently achieves the lowest objective function value across all the trials, demonstrating its superior capability in identifying high-quality solutions. This performance highlights the algorithm’s effectiveness in navigating the complex nonlinear design spaces inherent to spring optimization tasks.
The consistent dominance of the ERDBO in terms of solution quality suggests strong robustness and convergence reliability, even under repeated experimental conditions. Such performance is particularly valuable in engineering design applications, where stability across multiple executions is essential. These results reinforce the practical potential of the ERDBO in solving real-world design problems, where cost reduction and performance optimization are critical objectives. Consequently, the ERDBO stands out as a promising tool for advancing intelligent design methodologies in mechanical and structural system optimization.
5.2. Three-Bar Truss-Design Problem
The design of a three-pole truss constitutes a multifaceted engineering challenge that requires balancing structural integrity, material cost, and environmental impact. Unlike conventional architectural tasks, this problem [
36,
37] demands the integration of mechanics, materials science, and mathematical modeling.
Ensuring structural stability and safety necessitates precise stress and deformation analyses for each truss member under varying load conditions, with strict adherence to the design specifications. Simultaneously, minimizing the overall structural volume is critical for reducing material consumption and construction costs.
To address this optimization problem, advanced mathematical techniques such as linear and nonlinear programming, alongside structural optimization methodologies, are employed. These approaches facilitate the identification of design solutions that achieve an effective trade-off between mechanical performance and material efficiency. The truss with three poles in the design is illustrated in
Figure 8.
Given the growing emphasis on resource scarcity and environmental sustainability, such optimization efforts are increasingly significant. The development of efficient, lightweight, and sustainable truss structures not only enhances engineering performance but also contributes to long-term goals of resource conservation and ecological responsibility.
Subject to
where
.
With bounds .
Recent advancements in metaheuristic algorithms have further enhanced the efficiency of truss optimization. Among these, the algorithm has demonstrated promising performance in solving high-dimensional nonlinear structural design problems. The ERDBO builds upon the standard DBO framework by incorporating adaptive refracted search strategies and dynamic perturbation mechanisms, which significantly improve global convergence and robustness against local optima.
In truss structure optimization, the ERDBO enables efficient exploration of the design space while maintaining exploitation precision, thereby ensuring that the final solution achieves both mechanical soundness and material economy. Comparative simulations against other state-of-the-art algorithms such as PSO, GA, and standard DBO indicate that the ERDBO achieves faster convergence rates and lower structural weights under identical constraint conditions (
Table 8).
The convergence curve is shown in
Figure 9.
Table 9 presents the comparison results. The application of the ERDBO to the three-pole truss design not only validates the algorithm’s effectiveness but also underscores its potential in addressing complex real-world structural engineering problems. Its flexibility and scalability make it a viable tool for broader optimization challenges in civil and mechanical engineering.
5.3. Pressure Vessel Problem
The primary objective in pressure vessel [
38] design is to achieve cost-effective manufacturing without compromising functional performance. This necessitates the multi-objective optimization of four critical design parameters: shell thickness (Ts), head thickness (Th), inner radius (R), and the cylindrical body length excluding the heads (L) (
Figure 10). These parameters must be carefully coordinated to ensure the structural integrity, pressure-bearing capacity, and long-term durability of the vessel while minimizing material and fabrication costs.
Specifically, the thicknesses of the shell and heads are directly correlated with the vessel’s ability to withstand internal pressure and mechanical stresses. In contrast, the inner radius and cylindrical length predominantly influence the internal storage volume and surface area, which in turn affect material usage and manufacturing complexity. Therefore, achieving an optimal configuration of these variables requires a holistic approach that considers the mechanical properties of construction materials, fabrication techniques, regulatory safety codes, and economic constraints. Such a comprehensive design strategy is essential for developing efficient, reliable, and economically viable pressure vessels.
Parameter range:
A comprehensive analysis of the pressure vessel model illustrated in
Figure 9, along with the convergence behavior presented in the iteration curve of
Figure 10, clearly demonstrates that the ERDBO algorithm achieves the optimal solution with significantly fewer iterations compared to its counterparts. This efficiency highlights the algorithm’s exceptional capability in addressing the pressure vessel design problem. The results not only affirm the effectiveness and robustness of the ERDBO algorithm in solving complex engineering optimization tasks but also offer meaningful contributions to both academic research and industrial practice within the domain of pressure vessel design.
Moreover, the iterative performance depicted in
Figure 11 further substantiates the superiority of the ERDBO algorithm over all other benchmark methods. Under identical problem settings, the ERDBO consistently yields better performance metrics, thereby validating its strong applicability in practical design scenarios. Through comparative analysis of algorithmic performance, this study provides critical insights into the relative advantages and limitations of various optimization approaches, offering a valuable foundation for advancing intelligent design strategies in pressure vessel engineering.
Table 9 presents a detailed statistical analysis based on 100 independent runs of the pressure vessel design optimization task. Among the eight algorithms evaluated, the ERDBO algorithm achieves the lowest mean objective function value, indicating superior optimization capability. Although the ERDBO exhibits marginally lower stability compared to the WOA algorithm, it still demonstrates greater consistency than the original DBO algorithm. This suggests that, with appropriate parameter settings, the ERDBO offers notable advantages in solving pressure vessel design problems.
When considering both average performance and result stability, the ERDBO consistently outperforms its peers, underscoring its effectiveness and robustness. These findings not only reinforce the potential of the ERDBO in addressing complex engineering optimization challenges but also provide a solid foundation for its application in real-world design processes. The statistical evidence further supports its adoption in practical scenarios and encourages future exploration in intelligent optimization for pressure vessel design.
6. Conclusions
This paper proposed the Enhanced Reproductive Dung Beetle Optimizer (ERDBO) and applied it to solving complex optimization problems. By incorporating random seeds and trigonometric functions derived from the dung beetle’s reproductive strategy, the ERDBO enhances the balance between global exploration and local exploitation, thereby improving both convergence speed and solution accuracy. On the 30-dimensional and 100-dimensional CEC2017 benchmark functions, the experimental results demonstrate that the ERDBO significantly outperforms several recent metaheuristic algorithms in terms of mean value, standard deviation, and robustness.
Furthermore, the applicability of the ERDBO was validated through classical engineering optimization cases, including the tension/compression spring-design problem, the three-bar truss design problem, and the pressure vessel problem. The results indicate that the ERDBO can achieve competitive or even superior solutions while maintaining computational efficiency. These findings highlight the reliability and potential of the ERDBO in both theoretical research and practical applications.
Future research will focus on extending the ERDBO to dynamic and large-scale optimization problems, as well as exploring its integration with machine learning and intelligent control frameworks to advance applications in power systems, smart grids, and sustainable engineering design.