Abstract
The Kangaroo Escape Optimization Technique (KET) combines escape and safe-area searches, but its fixed stage allocation, restricted guidance range, limited refinement of low-ranked individuals, and insufficient use of population-state information can reduce its performance on complex problems. This study develops a Multi-Strategy Kangaroo Escape Optimization Technique (MSKET) through iteration-dependent stage switching, population-proportion-based candidate guidance, selective greedy DE/rand-to-best/1 refinement, and beta-distribution opposition-based global-best guidance. The contribution lies in assigning established mechanisms to specific KET limitations and coordinating them across different stages and population subsets. MSKET was evaluated through 30 independent runs on the 100-dimensional CEC2017 and CEC2020 suites. It ranked first on 22 of 29 CEC2017 functions and 8 of 10 CEC2020 functions, with the best average rank on both suites. Ablation, diversity, and nonparametric statistical analyses further supported the observed performance gains. MSKET also achieved the best overall repeated-run results on the piston–lever and three-bar truss design problems. For near-infrared prediction, MSKET-BP obtained an R2 of 0.86440, an RMSE of 2.1377, and a MAPE of 5.0083% on the testing set. These results indicate improved search and prediction performance within the examined tasks, although at a higher computational cost than KET.
1. Introduction
Optimization problems in engineering design, model calibration, parameter identification, and data-driven prediction are often nonlinear, multimodal, constrained, and high-dimensional. In such settings, gradient information may be unavailable or expensive to obtain, while strong variable interactions can limit conventional deterministic methods [1,2,3]. Metaheuristic algorithms provide a derivative-free alternative through population-based search. Representative methods include Particle Swarm Optimization (PSO), Harris Hawks Optimization (HHO), the Slime Mould Algorithm (SMA), and the Newton Downhill Optimizer (NDO), which employ different information-sharing and position-update mechanisms [4,5,6,7]. Despite their different formulations, no single algorithm performs consistently well across all problem classes. Rapid diversity loss may cause premature convergence, whereas insufficient local refinement can limit final solution accuracy. These weaknesses become more evident on high-dimensional and complex multimodal landscapes. Current research therefore increasingly focuses on improving existing search structures and coordinating global exploration with local exploitation.
Recent variants of metaheuristic algorithms have used strategy selection, adaptive grouping, opposition-based learning, and stage-specific updates to address weaknesses in their base optimizers. The effect of each mechanism depends on its role, activation stage, and target individuals. Table 1 compares four representative methods published between 2022 and 2025 with MSKET, with emphasis on mechanism placement rather than the number of added operators [8,9,10,11].
Table 1.
Comparison of recent improved metaheuristic algorithms and MSKET.
These studies indicate that established mechanisms are more useful when their roles within the base algorithm are clearly defined. MSEFA selects among alternative search strategies, AGSMA separates population roles, ABetaCOBL adapts the opposition domain, and ISO assigns different mechanisms to successive search phases. The original KET lacks comparable role-specific control. MSKET addresses this issue by linking four mechanisms to four identified weaknesses and activating them by search stage or population subset. The individual mechanisms are established; the methodological contribution lies in their KET-specific coordination.
Metaheuristic and data-driven methods are increasingly used in engineering tasks that combine numerical modelling, experimental data, and performance prediction. Shafaie and Movahedi Rad integrated a multi-objective genetic algorithm with PFC3D to calibrate discrete-element parameters for ten coloured self-compacting concrete mixtures, illustrating the use of evolutionary search in multi-objective model calibration [12]. Shafaie et al. subsequently combined push-out testing with fuzzy logic to predict the shear bond strength of fibre-reinforced self-compacting concrete, achieving R2 values of up to 0.96 [13]. These studies show that intelligent computation can support both physics-based parameter calibration and data-driven property estimation. Such applications also require reliable performance across constrained design and prediction tasks. Accordingly, this study evaluates MSKET on engineering design problems and near-infrared prediction rather than relying solely on benchmark functions.
The Kangaroo Escape Optimization Technique (KET) is a population-based optimizer inspired by kangaroo escape behaviour [14]. Its search process combines long-jump escape, zigzag escape, safe-area search, and decoy-mask updating. Long-jump escape enables large displacements, whereas zigzag escape changes the search direction around the global-best direction. Safe-area search guides individuals toward selected promising regions, and the decoy mask determines which dimensions are updated. Despite this structure, four limitations remain. The stage-selection rule is fixed, the safe-area candidate set is small, low-ranked individuals receive no additional refinement, and the neighbourhood of the global best is not sufficiently explored. These limitations may reduce convergence accuracy and run-to-run stability on complex high-dimensional problems.
Based on these limitations, this study develops MSKET while retaining the original escape-search framework of KET. An iteration-dependent switching rule adjusts the use of escape and safe-area search. A population-proportion-based candidate group broadens the source of safe-area guidance. Low-ranked individuals are then refined by a greedy DE/rand-to-best/1 operator, and beta-distribution opposition-based guidance generates supplementary candidates around promising regions. These mechanisms are assigned to different search stages or population subsets rather than applied uniformly. Adaptive control, differential mutation, population guidance, and opposition-based learning are established concepts; the contribution of MSKET lies in their KET-specific assignment to stage regulation, guidance selection, low-ranked-individual refinement, and global-best information utilization. MSKET is evaluated on the 100-dimensional CEC2017 and CEC2020 suites. The assessment includes ablation experiments, population diversity analysis, function evaluations, CPU time, computational complexity, and Wilcoxon, Friedman, Iman–Davenport, and Nemenyi tests. Two constrained engineering design problems and an MSKET-optimized BP model for near-infrared prediction are also examined.
The main contributions of this study are threefold. First, MSKET restructures the KET search process by assigning adaptive stage switching, candidate-group-based safe-area guidance, selective greedy DE/rand-to-best/1 refinement, and beta-distribution opposition guidance to four identified limitations. The contribution lies in the KET-specific coordination of established mechanisms rather than in proposing new standalone operators. Second, MSKET is assessed on the 100-dimensional CEC2017 and CEC2020 suites through accuracy, convergence, stability, ablation, population diversity, function evaluations, CPU time, computational complexity, and nonparametric statistical tests. Third, its performance beyond benchmark functions is examined using piston–lever and three-bar truss design problems and an MSKET-BP model for near-infrared prediction of total praeruptorin content. Section 2 presents KET and MSKET. Section 3 reports the benchmark experiments and supplementary analyses. Section 4 describes the engineering design and near-infrared prediction applications. Section 5 concludes the study.
2. Proposed Methodology
2.1. Original Kangaroo Escape Optimization Technique
The Kangaroo Escape Optimization Technique (KET) is a swarm intelligence optimizer based on kangaroo escape behaviour [14]. In KET, each individual represents a candidate solution, and the population is updated through long-jump escape, zigzag escape, safe-area search, and decoy-mask operations.
At the beginning of the search, KET randomly initializes the population and evaluates the fitness of each individual. The best individual found so far is used as the main guide. Long-jump escape supports large movements across the search space, while zigzag escape changes the movement direction by combining the current position, a randomly selected individual, and the global best solution. Safe-area search guides individuals toward safer or better regions, and the decoy-mask mechanism controls the updated dimensions.
Although KET combines escape and safe-area searches, four limitations remain in its update process. The stage-selection rule does not adapt to search progress, the safe-area guide is chosen from a restricted candidate range, low-ranked individuals receive no secondary refinement after the main update, and population-state information is not used to generate supplementary candidates for the global best. These limitations define the four modification targets of MSKET.
2.2. Multi-Strategy Kangaroo Escape Optimization Technique
MSKET retains the original search framework of KET and modifies four parts of its update process. An adaptive stage-switching rule regulates the use of escape and safe-area searches, while a population-proportion-based candidate group expands the source of safe-area guidance. DE/rand-to-best/1 and beta-distribution opposition-based learning are established mechanisms [15,16]. In MSKET, they are applied selectively to the refinement of low-ranked individuals and the generation of supplementary candidates for global-best updating, respectively. The distinction of MSKET lies in assigning these mechanisms to specific KET limitations and executing them at different stages or on different population subsets.
Throughout this section, N and D denote the population size and problem dimension, respectively. The position of individual i at iteration t is represented by , while and denote the current best solution and its fitness value. The vectors lb and ub define the search bounds, and is the objective function. The random terms satisfy , , , and .
2.2.1. Population Initialization
MSKET follows the initialization rule of the original KET [14]. Each coordinate is sampled independently within its feasible interval according to Equation (1):
where , and and are the lower and upper bounds of the j-th variable, respectively. The initialized population is evaluated using , and the best solution is stored as .
2.2.2. Adaptive Stage Switching and Energy Regulation Mechanism
To replace the non-adaptive stage allocation of KET, MSKET defines an iteration-dependent probability for selecting Stage 1. The probability at iteration t is given by Equation (2).
where denotes the probability of selecting Stage 1 at iteration t. For each individual, an independent random scalar is generated. If , the individual enters Stage 1 and performs escape search; otherwise, it enters Stage 2 and performs safe-area search. As t increases from 1 to T, decreases from approximately 0.8 to 0.3. Escape search is therefore selected more often in the early iterations, whereas safe-area search becomes more frequent later. This rule changes the allocation of the two KET stages without altering their respective update operators.
After entering Stage 1, the individual further selects long-jump escape or zigzag escape according to the energy level. The energy level of the i-th individual at iteration t is calculated as shown in Equation (3).
where , denotes the logistic chaotic factor, and is the energy level of individual i at iteration t. The chaotic factor is initialized as and updated by . Equation (3) combines iteration-dependent random attenuation with bounded chaotic modulation. Within Stage 1, long-jump escape is selected only when and the stochastic trigger condition is satisfied; otherwise, zigzag escape is used. The energy level therefore determines the choice between the two retained KET updates and does not directly modify the individual position.
2.2.3. Long-Jump Escape and Zigzag Escape Update
MSKET retains the long-jump and zigzag escape updates of the original KET as the two branches of Stage 1 [14]. Their selection is determined by the energy level and stochastic trigger defined in Section 2.2.2. When long-jump escape is selected, a binary dimensional mask is generated, where . If all elements of the mask are zero, one randomly selected element is set to 1. The resulting candidate is defined by Equation (4).
where denotes the candidate solution generated by long-jump escape, is a Gaussian random scalar, is the binary dimensional mask, and denotes element-wise multiplication. Equation (4) perturbs only the selected dimensions and supports large-step search in partial dimensions.
If long-jump escape is not selected, zigzag escape is adopted. This update combines the direction from the current individual to the global best individual with an orthogonal perturbation direction. The zigzag escape update is shown in Equation (5).
where is the random deflection angle, , and . The vector points from the current individual toward the global-best solution. The unit vector is obtained by orthogonalizing and normalizing a random vector with respect to , such that . The vector denotes the rotated zigzag direction, and is the Euclidean norm of . Moreover, is a D-dimensional Gaussian random vector, denotes element-wise multiplication, and is the zigzag perturbation coefficient, set to 1 in this study. Equation (5) combines angular rotation of the global-best displacement direction with dimension-wise Gaussian perturbation to avoid purely straight-line movement.
2.2.4. Safe-Area Search and Candidate-Group Guidance Mechanism
Stage 2 retains the decoy-mask rule and safe-area position update of KET but changes how the guiding individual is selected [14]. The decoy mask is first generated by Equation (6).
where and . Here, denotes a D-dimensional all-one vector. Equation (6) generates masks with different sparsity levels, allowing the safe-area search to update all dimensions or only part of the dimensions.
Let denote the safe-area guiding individual for individual i. During the first half of the iterations, or under an independent stochastic condition with probability 0.5, the guide is sampled uniformly from the current population. Otherwise, the guide is selected from the candidate group with probability 0.75 or set to the current global best with a probability of 0.25. The safe-area search update is given in Equation (7).
where denotes the candidate solution generated by safe-area search, and is a Gaussian random scalar. Equation (7) constructs the search step based on the difference between the current individual and the safe-area guiding individual, while the decoy mask controls the updated dimensions.
To broaden the selection range of safe-area guiding individuals, MSKET constructs a candidate group according to the population size. The candidate group size is defined as shown in Equation (8).
where denotes the number of individuals in the candidate group. The candidate-group size scales with the population size and replaces the restricted guide range used in the original KET. This modification changes guide selection only; the safe-area position update remains defined by Equation (7). After generating the candidate solution, boundary handling is applied, and a greedy selection rule is used to retain the better individual.
2.2.5. Greedy DE/Rand-to-Best/1 Mutation Mechanism for Low-Ranked Individuals
DE/rand-to-best/1 is an established differential mutation strategy [15]. In MSKET, it is applied selectively rather than to the entire population. After the main KET update, all individuals are ranked in ascending order of fitness. Only individuals satisfying enter the secondary refinement step, where denotes the fitness rank of individual i in the current population.
For each selected individual, MSKET generates a DE/rand-to-best/1 candidate solution by Equation (9).
where denotes the generated mutation candidate. is the differential scaling factor, and determines whether the mutation step is performed. , , and are three individuals sampled from the current population. The mutation combines global-best guidance with differential variation among three sampled individuals.
After boundary handling, the mutation candidate replaces the current individual only if it yields a lower objective value. The DE component therefore provides selective post-update refinement for low-ranked individuals without perturbing higher-ranked solutions.
2.2.6. Beta-Distribution Opposition-Based Global-Best Guidance Enhancement Mechanism
Beta-distribution opposition-based learning with an adaptive search space is used to generate supplementary candidates for global-best updating [10,16]. Let denote individual i after the main KET update, boundary handling, DE refinement, and greedy selection. The dynamic population bounds in each dimension are defined by Equation (10).
where and denote the maximum and minimum values of the current population in the j-th dimension, respectively. Compared with fixed boundaries, these dynamic boundaries better describe the current search region.
To measure the population distribution, the normalized nearest-neighbour distance of the i-th individual is calculated as shown in Equation (11).
where denotes the nearest-neighbour crowding distance of the i-th individual, denotes element-wise division, and denotes the Euclidean norm. The average crowding distance of the population is then obtained by Equation (12).
where reflects the overall dispersion of the current population. A smaller value indicates a more concentrated population, whereas a larger value indicates a more dispersed population.
Based on , the spread factor of the beta distribution is determined as shown in Equation (13).
where is the spread factor of the beta distribution, , and . The spread factor is used to regulate the shape parameters of the beta distribution rather than directly updating individual positions.
The normalized mode position is defined as in the concave mode and in the convex mode. When , , , and . Otherwise, , , and . These parameters define the beta random vector used in Equation (14).
where denotes the candidate solution generated by beta-distribution opposition-based learning. is a beta random vector, and is the beta random sample in the j-th dimension. After boundary handling, each opposition candidate is compared with the current global best. If the candidate yields a lower objective value, and are updated; otherwise, the current global best is retained. In the present implementation, the opposition candidate is used only to challenge the global best and does not replace the corresponding population member.
2.2.7. Overall Procedure of MSKET
The overall procedure of MSKET is illustrated in Figure 1. The corresponding pseudocode and algorithm-specific parameter settings are presented in Algorithm 1 and Table 2, respectively.
| Algorithm 1. Main procedure of MSKET |
| Begin |
| 1. Input: , N, T, D, lb, and ub. |
| 2. Initialize the kangaroo population X according to Equation (1). |
| 3. Evaluate the fitness values of all individuals and determine the initial global best solution and its fitness value . |
| 4. Set the safe-area candidate group size according to Equation (8). |
| 5. t = 1 |
| 6. while t ≤ T do |
| 7. for i = 1, …, N do |
| 8. Calculate the Stage 1 execution probability according to Equation (2). |
| 9. if rand < then |
| 10. Calculate the energy level according to Equation (3). |
| 11. if > 0.5 and the random trigger condition is satisfied then |
| 12. Perform long-jump escape update according to Equation (4). |
| 13. else |
| 14. Perform Zigzag escape update according to Equation (5). |
| 15. end if |
| 16. else |
| 17. Generate the decoy mask according to Equation (6). |
| 18. Perform safe-area search update according to Equation (7). |
| 19. end if |
| 20. Apply boundary handling and evaluate the fitness value of the new position. |
| 21. If , replace with . |
| 22. end for |
| 23. Apply greedy DE/rand-to-best/1 refinement to the low-ranked individuals according to Equation (9). |
| 24. Update and using the accepted population. |
| 25. Perform Beta-distribution OBL according to Equations (10)–(14) and update the global best. |
| 26. set t = t + 1 |
| 27. end while |
| 28. Return and . |
| End MSKET |
Figure 1.
Flowchart of MSKET.
Table 2.
Algorithm-specific parameter settings of MSKET.
Within each iteration, adaptive stage selection first determines the main KET update. The accepted population is then ranked, and only the low-ranked subset undergoes DE refinement. The resulting population provides the dynamic bounds and crowding information used by beta-distribution opposition learning, after which the global best is updated. This execution order assigns a distinct role to each mechanism and avoids applying all enhancements uniformly to the population. The search terminates when the maximum number of iterations is reached.
3. Experimental Results and Analysis
3.1. Experimental Setup
The experiments were conducted on the CEC2017 and CEC2020 benchmark suites [17,18]. MSKET was compared with the original KET and eight algorithms: NDO [7], ESC [19], DBA [20], ALA [21], HHO [5], PSO [4], SMA [6], and UFIA [22].
All methods were coded in MATLAB R2023a. The common configuration used 30 individuals, 1000 iterations, and 100 decision variables. For each function, 30 independent trials were performed with MATLAB’s default random stream, without a fixed seed sequence.
The minimum, mean, standard deviation, and rank were recorded. Rankings were determined by the mean objective value, with the standard deviation used only to resolve ties. The same runs were used to generate the statistical tables, convergence curves, box plots, Wilcoxon tests, average-rank charts, and radar charts.
3.2. CEC2017 Test Functions
The 29 CEC2017 functions, with F2 excluded, were used to evaluate high-dimensional optimization performance [17]. The suite includes unimodal, multimodal, hybrid, and composition functions with different levels of variable interaction and landscape complexity.
Table 3, Table 4 and Table 5 report the numerical results. Figure 2, Figure 3 and Figure 4 present the convergence trajectories, whereas Figure 5, Figure 6 and Figure 7 show the distributions of the final solutions. Statistical significance and overall performance are examined through the Wilcoxon test, average ranks, and radar charts.
Table 3.
Statistical results of CEC2017 test functions F1 and F3–F10.
Table 4.
Statistical results of CEC2017 test functions F11–F20.
Table 5.
Statistical results of CEC2017 test functions F21–F30.
Figure 2.
Mean convergence curves for CEC2017 functions F1 and F3–F10.
Figure 3.
Mean convergence curves for CEC2017 hybrid functions F11–F20.
Figure 4.
Mean convergence curves for CEC2017 composition functions F21–F30.
Figure 5.
Box plots of CEC2017 test functions F1 and F3–F10. Circles in the box plots indicate outliers.
Figure 6.
Box plots of CEC2017 test functions F11–F20. Circles in the box plots indicate outliers.
Figure 7.
Box plots of CEC2017 test functions F21–F30. Circles in the box plots indicate outliers.
3.2.1. Analysis of Key Indicators for CEC2017
Table 3 reports the results for F1 and F3–F10. MSKET ranked first on F1, F3, and F7–F10, second on F4 and F5, and third on F6. It therefore remained within the top three on all nine functions. On F1 and F3, its mean objective values were 5.66 × 104 and 1.49 × 105, respectively, both lower than those obtained by KET. The results on F7–F10 further show that MSKET retained competitive performance on multimodal landscapes.
The hybrid-function results are listed in Table 4. MSKET ranked first on nine of the ten functions and second on F14. Marked improvements over KET were observed on several functions. For example, the mean value decreased from 2.25 × 108 to 3.11 × 107 on F12, from 3.12 × 104 to 4.07 × 103 on F15, and from 2.44 × 106 to 7.73 × 105 on F18. These results show that the modified search process was effective on functions with stronger variable coupling.
Table 5 presents the composition function results. MSKET ranked first on F21–F24, F26, F29, and F30; second on F25 and F28; and third on F27. Its advantage over KET was particularly pronounced on F30, where the mean value decreased from 4.37 × 106 to 1.17 × 105. Improvements were also obtained on F26 and F29.
Across the 29 CEC2017 functions, MSKET ranked first on 22 functions and remained within the top three on every function. The results in Table 3, Table 4 and Table 5 show consistent performance across unimodal, multimodal, hybrid, and composition landscapes, with the largest gains appearing on several high-dimensional hybrid and composition functions.
3.2.2. Convergence Analysis of CEC2017
Figure 2 presents the mean convergence profiles for F1 and F3–F10. On F1, MSKET continues to reduce the fitness value after the initial decline and reaches the lowest final level. On F3, most algorithms improve rapidly at the beginning, whereas MSKET maintains further progress and obtains the best final result, consistent with Table 3.
For the multimodal functions F4–F10, MSKET achieves the lowest final fitness values on F7–F10. Its curves separate from most competitors during the middle or later iterations, indicating sustained refinement. On F4–F6, MSKET does not rank first, but the convergence trajectories remain smooth and the final values are competitive.
Figure 3 presents the mean convergence curves for the hybrid functions F11–F20. Compared with the functions in Figure 2, these functions involve stronger variable interactions and produce clearer differences among the algorithms. MSKET maintains continued improvement on most functions and generally reaches low final fitness values.
On F12, F13, F15, F16, and F20, MSKET obtains lower final convergence levels than most comparison algorithms. For F12, F13, and F15, which have relatively large fitness scales, MSKET continues to improve after the early rapid decrease and maintains competitive late-stage performance. On F16 and F20, its convergence curves are also smooth and stable.
For F11, F17, F18, and F19, several algorithms converge rapidly in the early stage, and the final gaps are relatively small. Nevertheless, MSKET still reaches low final average fitness values without obvious oscillations. On F14, although MSKET is slightly inferior to the best-performing algorithm, it remains among the leading algorithms. These results show that MSKET has stable convergence behaviour on the F11–F20 hybrid functions.
Figure 4 presents the mean convergence curves for the CEC2017 composition functions F21–F30. These functions have more complex landscapes than the previous groups and impose higher requirements on robustness. Overall, MSKET maintains a steady decrease on most functions and reaches relatively low final fitness values.
On F21–F24, F26, F29, and F30, MSKET obtains lower final fitness levels than most comparison algorithms. On F25 and F28, although MSKET is slightly inferior to the best-performing algorithm, its curves remain stable and its final results are still competitive. On F27, MSKET does not achieve the best final result but remains among the leading algorithms.
These results indicate that MSKET maintains stable convergence behaviour on the CEC2017 composition functions.
Taken together, the convergence curves indicate that MSKET has stable convergence behaviour on the CEC2017 test functions. On most functions, MSKET reduces the fitness value rapidly in the early iterations and continues to refine the solution in the later stages. Compared with the original KET, MSKET reaches lower final fitness values on more functions and shows fewer cases of late-stage stagnation, suggesting better sustained search performance in 100-dimensional search spaces.
3.2.3. Stability Analysis of CEC2017
Figure 5 summarizes the final fitness distributions for F1 and F3–F10 over 30 independent runs. Lower medians indicate better central performance, whereas narrower interquartile ranges and fewer outliers reflect greater run-to-run consistency.
Overall, MSKET obtains low median values and compact distributions on most functions. For the unimodal functions F1 and F3, its boxes are located at relatively low levels with small fluctuations. For the multimodal functions F4–F10, MSKET shows lower medians than most comparison algorithms on F7, F8, F9, and F10. On F5 and F6, although MSKET does not obtain the lowest boxes, its distributions remain compact. On F4, MSKET is close to several well-performing algorithms and maintains a low median value.
These box plot results show that MSKET has stable performance on F1 and F3–F10. Compared with the original KET, MSKET generally produces more concentrated result distributions over 30 independent runs.
Figure 6 shows the box plots of all algorithms on the CEC2017 hybrid functions F11–F20 over 30 independent runs. These functions have more complex structures and stronger variable coupling, so the box plots provide further evidence of algorithmic stability in complex search spaces.
For F11–F20, Figure 6 shows that MSKET achieves comparatively low medians and narrow interquartile ranges on F11–F13, F15, F18, and F19. On F17, the leading algorithms perform similarly, while MSKET retains limited dispersion. Its median is not the lowest on F14, F16, or F20, but the distributions remain competitive. Several comparison methods exhibit broader spreads or more outliers, indicating greater run-to-run variability.
These results are consistent with the statistical indicators and convergence curves, showing that MSKET maintains stable performance on the F11–F20 hybrid functions.
Figure 7 summarizes the final fitness distributions for the composition functions F21–F30. MSKET yields low medians and narrow interquartile ranges on F21–F24, F26, F29, and F30. Its results on F25 and F28 remain close to those of the leading methods. Although the median on F27 is slightly higher than the best result, the dispersion is limited. These distributions indicate consistent repeated-run performance across the composition functions.
Several comparison algorithms present wider box spans or more outliers on F23, F24, F25, F27, and F29. In contrast, MSKET maintains compact result distributions on most F21–F30 functions, which is consistent with the statistical ranking results.
Overall, the box plots show that MSKET produces compact result distributions on different types of CEC2017 functions, with median values generally located at low levels. Compared with the original KET and most comparison algorithms, MSKET shows smaller fluctuations across unimodal, multimodal, hybrid, and composition functions, confirming its stable performance over 30 independent runs.
3.2.4. Statistical Analysis of CEC2017
Pairwise differences between MSKET and each competing algorithm were evaluated using the Wilcoxon rank-sum test [23]. Average ranks across the 29 CEC2017 functions were also computed to summarize overall performance.
Table 6 lists the pairwise Wilcoxon results for the CEC2017 benchmark suite. In this table, “+”, “−”, and “=” denote that MSKET is significantly better than, significantly worse than, or statistically comparable to the corresponding algorithm, respectively. The “+/−/=” summary provides a direct statistical comparison between MSKET and the other algorithms.
Table 6.
Results of the Wilcoxon rank-sum test for CEC2017.
As shown in Table 6, MSKET obtains more “+” cases than “−” cases in all pairwise comparisons. It achieves 29/0/0 against HHO, PSO, and UFIA, indicating significant advantages on all 29 CEC2017 functions. Compared with the original KET, MSKET obtains 28/0/1, with no significantly inferior cases.
MSKET also performs favourably against NDO, ALA, SMA, DBA, and ESC. The results against NDO and ALA are both 25/0/4, and no “−” case is observed. Although several “−” cases appear in the comparisons with ESC, DBA, and SMA, the number of “+” cases remains larger. In the average ranking results, MSKET ranks first among all algorithms, which is consistent with the Wilcoxon test results.
Figure 8 shows the average ranking results of all algorithms on the CEC2017 test functions. A smaller average rank indicates better overall performance. MSKET obtains the lowest average rank of 1.31, ranking first among all algorithms. The average ranks of SMA, ALA, KET, and NDO are 4.34, 4.55, 4.66, and 4.72, respectively, showing relatively close performance among these four algorithms but a clear gap from MSKET.
Figure 8.
Average ranking chart of CEC2017 test functions.
DBA and ESC obtain average ranks of 5.14 and 5.86, respectively. PSO, HHO, and UFIA show higher average ranks of 7.79, 8.21, and 8.41, respectively. Overall, the average ranking results are consistent with the statistical comparisons in Table 6 and further support the leading performance of MSKET on the CEC2017 benchmark suite.
3.2.5. Radar Chart Analysis of CEC2017
Figure 9 shows the radar charts of the ranking results on the CEC2017 test functions. The left chart corresponds to F1 and F3–F15, and the right chart corresponds to F16–F30. In the radar charts, a smaller rank and a position closer to the centre indicate better performance.
Figure 9.
Radar charts of ranking results on CEC2017 test functions.
Overall, the ranking curve of MSKET is closer to the centre on most functions, especially on hybrid and composition functions. This indicates that MSKET maintains relatively stable rankings across different function types. In contrast, HHO, PSO, and UFIA are farther from the centre on several functions, showing lower rankings and larger fluctuations.
The radar charts are consistent with the Wilcoxon rank-sum test and average ranking results. Taken together, the CEC2017 results show that MSKET achieves strong optimization accuracy, stable convergence behaviour, and reliable performance across different high-dimensional test functions.
3.3. CEC2020 Test Functions
To further verify the performance of MSKET on another benchmark suite, all algorithms were tested on the 100-dimensional CEC2020 functions [18]. The following analysis covers statistical results, convergence curves, box plots, Wilcoxon rank-sum tests, average rankings, and radar charts.
3.3.1. Analysis of Key Indicators for CEC2020
Table 7 reports the statistical results of all algorithms on the CEC2020 functions F1–F10, including the minimum value, standard deviation, mean value, and rank. MSKET ranks first on 8 of the 10 functions and ranks second and third on F5 and F6, respectively.
Table 7.
Statistical results of CEC2020 test functions F1–F10.
In terms of mean value, MSKET obtains the lowest values on F1–F4 and F7–F10. On F5 and F6, although MSKET does not achieve the best results, it remains within the top three. Compared with the original KET, MSKET obtains better rankings on all CEC2020 functions.
For the standard deviation, MSKET shows relatively small fluctuations on most functions, indicating stable results over 30 independent runs. Overall, the results in Table 7 show that MSKET maintains high ranking positions and stable performance on the CEC2020 benchmark suite.
3.3.2. Convergence Analysis of CEC2020
Figure 10 presents the mean convergence curves for CEC2020 functions F1–F10. Overall, MSKET decreases rapidly on most functions and reaches relatively low fitness values in the later iterations.
Figure 10.
Mean convergence curves for CEC2020 functions F1–F10.
On F1, F2, and F3, MSKET shows clear downward trends. On F1, its curve decreases continuously throughout the iterations. On F2 and F3, MSKET continues to improve in the middle and late stages and obtains lower final fitness values than most comparison algorithms. Similar trends are observed on F4, F8, F9, and F10, where MSKET converges rapidly and remains at low fitness levels in the later stage.
On F5 and F7, MSKET is close to DBA during some iterations but still obtains competitive final results. On F6, MSKET does not achieve the best final convergence result, although its curve remains smooth and better than those of most comparison algorithms. Compared with the original KET, MSKET reaches lower final fitness values on several CEC2020 functions, showing improved convergence behaviour.
3.3.3. Stability Analysis of CEC2020
Figure 11 shows the box plots of all algorithms on the CEC2020 functions F1–F10 over 30 independent runs. Overall, MSKET presents low box positions and compact distributions on most functions.
Figure 11.
Box plots of CEC2020 test functions F1–F10. Circles in the box plots indicate outliers.
MSKET performs well on F1, F3–F5, and F7–F10, where its median values are generally lower than those of most comparison algorithms. On F2, MSKET also remains at a relatively low box position, with only small differences from several competitive algorithms. On F6, although MSKET does not obtain the lowest box position, its distribution is still compact and shows no large fluctuation.
Several comparison algorithms show wider box spans or more outliers on some functions. In contrast, MSKET maintains compact result distributions on most CEC2020 functions, which is consistent with the statistical results in Table 7.
3.3.4. Statistical Analysis of CEC2020
Table 8 reports the Wilcoxon rank-sum test results between MSKET and each comparison algorithm on the CEC2020 functions. Overall, MSKET obtains more “+” cases than “−” cases in all pairwise comparisons.
Table 8.
Results of the Wilcoxon rank-sum test for CEC2020.
MSKET achieves 10/0/0 against ALA, HHO, PSO, and UFIA, showing significant advantages on all 10 functions. Compared with the original KET, MSKET obtains 9/0/1, with no significantly inferior case. The same result is observed in the comparisons with NDO and SMA.
For DBA, MSKET obtains 7/0/3, indicating significant advantages on most functions and no inferior case. Against ESC, the result is 8/1/1; although one “−” case appears, the number of “+” cases remains larger. In the final ranking, MSKET ranks first among all algorithms, which is consistent with the Wilcoxon test results.
Figure 12 shows the average ranking results of all algorithms on the CEC2020 functions. A smaller average rank indicates better overall performance. MSKET obtains the lowest average rank of 1.30, ranking first among all algorithms.
Figure 12.
Average ranking chart of CEC2020 test functions.
Compared with the original KET, the average rank decreases from 4.30 to 1.30, showing that MSKET achieves a better overall ranking on the CEC2020 benchmark suite. SMA and DBA obtain average ranks of 3.60 and 4.00, respectively, followed by KET, NDO, and ALA with average ranks of 4.30, 5.00, and 5.60. ESC, PSO, HHO, and UFIA have relatively higher average ranks.
Overall, the average ranking results are consistent with the statistical comparisons in Table 8 and support the leading position of MSKET on the CEC2020 functions.
3.3.5. Radar Chart Analysis of CEC2020
Figure 13 shows the radar chart of the ranking results on the CEC2020 functions F1–F10. In the radar chart, a smaller rank and a position closer to the centre indicate better performance on the corresponding function.
Figure 13.
Radar chart of ranking results on CEC2020 test functions.
Overall, the ranking curve of MSKET is closer to the centre on most functions. MSKET stays near the centre on F1–F4 and F7–F10, corresponding to its leading ranks on these functions. On F5 and F6, although MSKET does not obtain the best rank, it still remains competitive.
By contrast, HHO, PSO, UFIA, and ESC are farther from the centre on several functions, reflecting lower ranks and larger ranking variations. The radar chart is consistent with the Wilcoxon test and average ranking results, showing that MSKET maintains stable ranking performance on the CEC2020 benchmark suite.
3.4. Ablation Study of MSKET
To assess the contribution of each component, seven variants were derived from the original KET. KET-AS, KET-CG, KET-DE, and KET-BD separately incorporate adaptive stage switching, candidate-group-based safe-area guidance, greedy DE/rand-to-best/1 refinement for low-ranked individuals, and beta-distribution opposition-based guidance. KET-AS-CG and KET-AS-CG-DE were included to examine cumulative effects, while MSKET contains all four components.
All variants were evaluated on the 100-dimensional CEC2017 and CEC2020 benchmark suites using the same settings as those in Section 3.2 and Section 3.3. The population size was 30, the maximum number of iterations was 1000, and each experiment was repeated 30 times. CEC2017 contained 29 functions after excluding F2, whereas CEC2020 contained 10 functions. Rankings were determined by the mean fitness value, with the standard deviation used to resolve ties. Table 9 summarizes the overall results.
Table 9.
Overall ablation results on CEC2017 and CEC2020.
The single-component variants generally improved KET, although their effects varied across the two suites. KET-BD achieved the best average rank among the single-component variants on CEC2017, whereas KET-DE performed best on CEC2020. KET-AS produced a smaller independent gain, particularly on CEC2020, indicating that the effectiveness of each component depends on the function landscape.
A clearer trend was observed for the cumulative variants. On CEC2017, the average rank decreased from 7.45 for KET to 4.03 for KET-AS-CG, 2.52 for KET-AS-CG-DE, and 1.07 for MSKET. The corresponding values on CEC2020 were 6.90, 4.70, 3.30, and 1.00. MSKET ranked first on 27 of the 29 CEC2017 functions and on all 10 CEC2020 functions. It ranked second on CEC2017 F10 and F22.
The Friedman test [23,24] identified significant differences among the eight variants. The test statistics were for CEC2017 and for CEC2020, with corresponding p-values of 3.15 × 10−25 and 4.30 × 10−6, respectively. Figure 14 further shows that the cumulative variants generally achieved faster convergence or lower final fitness values than the original KET. These results indicate that the performance gain of MSKET arises from the complementary effects of the four components rather than from a single dominant strategy.
Figure 14.
Mean convergence curves of the ablation variants on representative benchmark functions: (a) CEC2017 F1; (b) CEC2017 F10; (c) CEC2017 F15; (d) CEC2017 F30; (e) CEC2020 F5; and (f) CEC2020 F7.
3.5. Population Diversity Analysis
To examine the population dynamics of MSKET, normalized population diversity was monitored throughout the optimization process. CEC2017 F1, F10, F15, and F30 were selected as representative unimodal, multimodal, hybrid, and composition functions, respectively. KET and MSKET were independently run 30 times under identical experimental settings.
At iteration t, diversity was quantified by the normalized mean pairwise distance defined in Equation (15):
where N is the population size, D is the problem dimension, denotes the position of the ith individual at iteration t, and ub and lb are the upper and lower search bounds, respectively. The operator denotes component-wise division. A larger value represents a more dispersed population, whereas a smaller value indicates greater concentration.
As shown in Figure 15, the diversity of KET declines rapidly on F1, F15, and F30, and subsequently remains at a relatively low level. By comparison, MSKET preserves a wider population spread during the early and middle stages before gradually contracting in the later iterations. This evolution is consistent with broader exploration at the beginning of the search and stronger exploitation toward the end.
Figure 15.
Mean normalized population diversity curves of KET and MSKET on representative CEC2017 functions: (a) F1; (b) F10; (c) F15; and (d) F30.
A different trend is observed on F10. After the initial decline, the diversity of MSKET rises temporarily during the middle stage before decreasing again. The temporary recovery suggests renewed population dispersion in the multimodal landscape, while the subsequent decline reflects increasing concentration around promising regions.
The results show that MSKET does not simply maintain high diversity throughout the search. Instead, its population spread changes across iterations, with greater dispersion in the early and middle stages and stronger concentration near the end. Combined with the convergence results, this behaviour supports the improved regulation of exploration and exploitation in MSKET.
3.6. Computational Cost Analysis
The computational cost of KET and MSKET was assessed using objective-function evaluations (FEs), average CPU time, and computational complexity. Here, N, T, and D denote the population size, maximum number of iterations, and problem dimension, respectively. Consistent with the benchmark experiments, N = 30 and T = 1000.
KET evaluates the initial population once and performs N objective-function evaluations per iteration. For MSKET, each iteration includes N evaluations for the main position update, evaluations for DE refinement, 2N evaluations in the implemented BD-OBL procedure, and N evaluations for fitness synchronization. The total FEs of the two algorithms are given by Equation (16):
The DE procedure refines individuals ranked from to N; therefore, when N = 30. Substituting the experimental settings into Equation (16) gives 30,030 FEs for KET and 130,030 FEs for MSKET.
As shown in Table 10, MSKET requires approximately 4.33 times as many FEs as KET. Its average CPU time increases from 0.8511 s to 4.9531 s because of DE refinement, BD-OBL, and fitness synchronization. The comparisons in Section 3.2 and Section 3.3 were therefore conducted under an equal-iteration budget rather than an equal-FE budget.
Table 10.
Computational cost comparison between KET and MSKET.
Excluding the problem-dependent cost of objective-function evaluation, the dominant computational complexities are expressed in Equation (17):
The quadratic term in MSKET mainly arises from the pairwise population-distance calculation in BD-OBL. Thus, the improved search performance is accompanied by a measurable increase in computational cost.
3.7. Statistical Comparison
Overall differences among the algorithms were evaluated using the Friedman test. Rankings were based on the mean fitness value for each function, with lower ranks indicating better performance. The Iman–Davenport statistic was then calculated, followed by Nemenyi post-hoc comparisons at a significance level of 0.05 [23,24].
For CEC2017, the Friedman test yielded with a p-value of 1.57 × 10−24. The Iman–Davenport statistic was , with a p-value of 6.04 × 10−35. Both results reject the null hypothesis that all algorithms perform equivalently. MSKET achieved the lowest average rank of 1.3103. The Nemenyi critical difference was 2.5154, and the rank difference between MSKET and each of the other nine algorithms exceeded this threshold. Thus, MSKET significantly outperformed all comparison algorithms on CEC2017.
For CEC2020, the Friedman statistic was , with a p-value of 3.97 × 10−8. The corresponding Iman–Davenport statistic was , with a p-value of 3.46 × 10−12. These results also indicate significant overall differences among the algorithms. MSKET again obtained the lowest average rank of 1.3000. The Nemenyi critical difference was 4.2836. The rank differences between MSKET and ALA, ESC, PSO, HHO, and UFIA exceeded this value, whereas those involving KET, NDO, DBA, and SMA did not reach the significance threshold.
Overall, MSKET achieved the best average rank on both benchmark suites. The Friedman and Iman–Davenport tests confirmed significant overall differences, while the Nemenyi analysis showed broader statistical superiority on CEC2017 than on CEC2020. These results provide additional statistical support for the performance improvements observed in the Wilcoxon tests and ranking analysis.
4. Engineering Design and NIR Prediction Applications
For the piston–lever and three-bar truss design problems, all algorithms used a population size of 30 and a maximum of 500 iterations, with each experiment repeated independently 30 times.
4.1. Piston–Lever Design Problem
The piston–lever design problem was selected to assess the performance of MSKET in constrained mechanical design. As illustrated in Figure 16, the geometric parameters of the piston–lever mechanism are optimized to minimize the oil volume displaced when the lever rotates from to . The design must satisfy the force-equilibrium, bending-moment, piston-stroke, and geometric constraints. The original problem contains four continuous design variables and four nonlinear inequality constraints [25]. The design vector is defined in Equation (18):
where a and b are the vertical and horizontal installation offsets, respectively, is the piston diameter, and denotes the piston connection position along the lever. The remaining geometric quantities in Figure 16 include the lever length , rotation angle , effective moment arm , and piston lengths and . The objective function, defined as the displaced oil volume, is expressed in Equation (19):
where and are the piston lengths at the initial and rotated positions, respectively. They are determined using Equation (20):
Figure 16.
Schematic of the piston–lever mechanism.
The effective moment arm and hydraulic thrust are expressed in Equation (21):
The mechanical and geometric requirements are summarized in Equation (22):
In Equation (22), , , , and represent the force-equilibrium, allowable bending-moment, minimum piston-stroke, and geometric constraints, respectively. The fixed parameters are given in Equation (23):
The allowable ranges of the design variables are specified in Equation (24):
Equations (18)–(24) define a constrained optimization model with four continuous variables and four nonlinear inequality constraints. The objective is to minimize the displaced oil volume subject to force-equilibrium, bending-moment, piston-stroke, and geometric requirements.
MSKET and the nine comparison algorithms were independently executed 30 times under the same population size, iteration budget, and constraint-handling procedure. Table 11 reports the best objective value, mean objective value, and standard deviation obtained by each algorithm over 30 independent runs. The average convergence curves and box plots of the final objective values are presented in Figure 17a and Figure 17b, respectively.
Table 11.
Statistical results of the comparison algorithms for the piston–lever design problem.
Figure 17.
Optimization results for the piston–lever design problem: (a) mean convergence curves; (b) box plots of the final objective values. Circles in the box plots indicate outliers.
As reported in Table 11, the optimal design obtained by MSKET is given in Equation (25):
The corresponding minimum objective value was 1.057393888. The mean value was also 1.057393888 to the reported precision, and the standard deviation was only 7.81 × 10−14, placing MSKET first according to the mean objective value. Although several algorithms obtained comparable minimum values, their repeated-run performance was less stable.
Figure 17a shows that MSKET rapidly converged to the lowest objective region. The highly concentrated distribution in Figure 17b is consistent with its small standard deviation. In contrast, KET obtained a mean value of 41.27169275 and a standard deviation of 110.5924767. These results show that MSKET markedly improved the repeated-run stability of KET and achieved the best overall statistical performance among the tested algorithms.
4.2. Three-Bar Truss Design Problem
The three-bar truss design problem was used to evaluate the performance of MSKET in constrained structural optimization. As shown in Figure 18, the structure consists of two symmetric diagonal members and one vertical member. The objective is to minimize the structural volume by determining the cross-sectional areas of the members while satisfying the allowable-stress constraints [25].
Figure 18.
Schematic configuration and design variables of the three-bar truss.
The design vector is defined in Equation (26):
where denotes the cross-sectional area shared by the two diagonal members, and is the cross-sectional area of the vertical member. In Figure 18, h denotes both the vertical height of the truss and the horizontal distance between adjacent upper joints, while F represents each external load applied at the lower joint.
The structural volume is expressed in Equation (27):
The allowable-stress constraints are formulated in Equation (28):
In Equation (28), , , and restrict the stresses in the truss members to the allowable stress . The fixed parameters and design-variable bounds are specified in Equation (29):
Equations (26)–(29) define a constrained structural optimization model with two continuous variables and three nonlinear inequality constraints. The objective is to minimize the structural volume while maintaining the stresses in all members within the allowable limit. MSKET and the nine comparison algorithms were independently executed 30 times under the same experimental conditions. Table 12 reports the best objective value, mean objective value, and standard deviation obtained by each algorithm over 30 independent runs. The average convergence curves and box plots of the final objective values are presented in Figure 19a and Figure 19b, respectively.
Table 12.
Statistical results of the comparison algorithms for the three-bar truss design problem.
Figure 19.
Optimization results for the three-bar truss design problem: (a) mean convergence curves; (b) box plots of the final objective values. Circles in the box plots indicate outliers.
As reported in Table 12, the optimal design obtained by MSKET is given in Equation (30):
The corresponding objective value was 263.895843376464. MSKET obtained the same average value as the reported precision, with a standard deviation of 1.78 × 10−13, and ranked first according to the average objective value. Although KET and ALA reached comparable best values, MSKET produced a more concentrated distribution over the 30 independent runs. Figure 19a shows that MSKET converged to the lowest objective region. The compact distribution in Figure 19b is consistent with its small standard deviation. These results indicate that MSKET achieved the best overall statistical performance and reliable repeated-run behaviour on the three-bar truss design problem.
4.3. Near-Infrared Prediction of Praeruptorin Content
To further verify the applicability of MSKET in practical regression prediction tasks, MSKET was combined with a BP neural network to construct the MSKET-BP prediction model and applied to near-infrared spectral modelling of white-flowered Peucedanum praeruptorum. Previous studies have shown that near-infrared spectroscopy combined with chemometric or regression models can be used for the rapid quantitative analysis of praeruptorins and related quality indicators in Peucedani Radix [26,27]. Therefore, in this study, near-infrared spectral variables were used as inputs, and the total content of praeruptorin A and praeruptorin B was used as the output to evaluate the modelling performance of MSKET-BP in predicting active component content in traditional Chinese medicinal materials.
4.3.1. Dataset Description and Preprocessing
Near-infrared (NIR) spectral data from white-flowered Peucedanum praeruptorum samples were used to evaluate the predictive performance of MSKET-BP. Spectroscopic techniques combined with chemometrics have been widely applied to the quality control and component analysis of traditional Chinese medicine [28]. The NIR spectral variables were used as the model inputs, whereas the total content of praeruptorin A and praeruptorin B was used as the response variable. A representative sample of white-flowered P. praeruptorum is shown in Figure 20.
Figure 20.
Sample of white-flowered Peucedanum praeruptorum.
The dataset contained 157 samples, including 104 training samples and 53 testing samples. Each sample comprised 119 NIR spectral variables and one response value. The first column contained the total content of praeruptorin A and praeruptorin B, whereas the remaining columns contained the spectral variables. Figure 21 presents the response-value distributions of the training and testing sets. The two subsets showed similar ranges and median values, indicating no marked distribution shift in the response variable between them.
Figure 21.
Distribution of the total content of praeruptorin A and praeruptorin B in the training and testing sets (blue: training set; orange: testing set).
The NIR spectra of the samples are shown in Figure 22. The spectral curves exhibited similar overall profiles, together with local variations at different spectral-variable positions. These variations provided the spectral information required to model the relationship between the NIR variables and total praeruptorin content.
Figure 22.
Near-infrared spectra of white-flowered Peucedanum praeruptorum samples (blue solid lines: training set; red dashed lines: testing set).
Before model construction, empty rows and columns were removed from the training and testing datasets. The spectral variables and response values were then normalized to the interval [0, 1] to reduce differences in numerical scale during network training. The normalized training set was used for model fitting, whereas the testing set was used to evaluate prediction performance on unseen samples.
4.3.2. MSKET-BP Model Construction
A backpropagation neural network was used to model the nonlinear relationship between the NIR spectral variables and total praeruptorin content [29]. Metaheuristic algorithms have been widely used to optimize neural network weights and biases [30]. Neural network models combined with NIR spectroscopy have also been applied to the quality control of traditional Chinese medicine extracts [31]. Therefore, MSKET was adopted to optimize the initial weights and biases of the BP network.
The input layer contained 119 spectral variables, and the output layer contained one node corresponding to the total content of praeruptorin A and praeruptorin B. The network structure was set as 119–5–1, with five hidden neurons.
In MSKET-BP, each individual encodes a complete set of BP initial parameters, including the input-to-hidden weights, hidden-layer biases, hidden-to-output weights, and output-layer bias. The encoding form is given in Equation (31).
where and are the weight matrices of the input-to-hidden and hidden-to-output layers, respectively. and are the hidden-layer and output-layer biases. The corresponding optimization dimension is calculated by Equation (32).
where , , and denote the numbers of input nodes, hidden neurons, and output nodes, respectively. In this study, , , and . Thus, the dimension of the optimization problem is shown in Equation (33).
During optimization, each MSKET individual was decoded into BP weights and biases. The decoded network was evaluated on the normalized training set, and the mean squared error was used as the fitness value, as shown in Equation (34).
where is the number of training samples, is the normalized measured value of the i-th sample, and is the corresponding network output. After MSKET obtained the best individual, it was used as the initial parameter set of the BP network for subsequent training.
The population size of MSKET was 20, the maximum number of iterations was 100, and the search range was [−1, 1]. The BP network was trained with a maximum of 1000 epochs, a target error of , and a learning rate of 0.01. After training, the testing predictions were transformed back to the original scale by inverse normalization.
4.3.3. Evaluation Metrics
The testing performance of MSKET-BP was assessed using the coefficient of determination , root mean square error (RMSE), and mean absolute percentage error (MAPE). measures the fitting degree between measured and predicted values, while RMSE and MAPE quantify prediction errors from absolute and relative perspectives. These indicators are defined in Equation (35).
Here, N denotes the number of testing samples; and are the measured and predicted values for sample i, respectively; is the mean of the measured values; and is the prediction residual.
4.3.4. Prediction Results and Analysis
The prediction results of different models on the testing set are shown in Table 13. The conventional BP model showed relatively weak prediction performance, with , RMSE, and MAPE values of 0.61992, 3.5789, and 7.7638%, respectively. In contrast, all optimized BP models achieved better prediction results, indicating that optimizing the initial weights and biases of the BP neural network can effectively improve its regression prediction performance.
Table 13.
Prediction performance comparison of different models on the testing set.
Among all models, MSKET-BP achieved the best prediction performance, with an of 0.86440, an RMSE of 2.1377, and a MAPE of 5.0083%. Compared with the conventional BP model, MSKET-BP increased by 0.24448 and reduced RMSE and MAPE by approximately 40.27% and 35.49%, respectively. Compared with the other optimized BP models, MSKET-BP also showed better overall performance. Among the comparative models, SMA-BP achieved a relatively high and a low RMSE, but its and RMSE values were 0.83048 and 2.3901, respectively, which were still inferior to those of MSKET-BP. In addition, the MAPE of ALA-BP was 5.2561%, which was higher than that of MSKET-BP. These results indicate that MSKET can further improve the prediction accuracy and generalization ability of the BP neural network by optimizing its initial parameters.
The comparison between the measured and predicted values on the testing set is shown in Figure 23. The predicted curve of MSKET-BP generally follows the variation trend of the measured values, and the predicted values are close to the measured values for most testing samples.
Figure 23.
Comparison between measured and predicted values of MSKET-BP on the testing set.
Figure 24 presents the scatter plot of the measured and predicted values. Most sample points are distributed near the ideal line, indicating good prediction consistency.
Figure 24.
Scatter plot of measured and predicted values of MSKET-BP on the testing set.
The convergence curve of MSKET-BP is shown in Figure 25. The fitness value decreases rapidly in the early stage and gradually becomes stable in the later stage, indicating good convergence behaviour during model optimization.
Figure 25.
Convergence curve of MSKET-BP.
Overall, the results in Table 13 and Figure 23, Figure 24 and Figure 25 demonstrate that MSKET-BP achieves good prediction accuracy and stability in predicting the active component content of white-flowered Peucedanum praeruptorum. These results suggest that using MSKET to optimize the initial parameters of the BP neural network can effectively improve near-infrared spectral regression modelling and provide a feasible method for the rapid prediction of the total content of praeruptorin A and praeruptorin B.
5. Conclusions
This study developed a Multi-Strategy Kangaroo Escape Optimization Technique (MSKET) by modifying four components of the original KET search process. Adaptive stage switching and candidate-group guidance were introduced for stage allocation and safe-area selection, while greedy DE/rand-to-best/1 refinement and beta-distribution opposition-based learning were assigned to low-ranked individuals and global-best updating, respectively. The contribution lies in the KET-specific coordination of these established mechanisms.
On the 100-dimensional benchmark suites, MSKET ranked first on 22 of 29 CEC2017 functions and 8 of 10 CEC2020 functions. The ablation, diversity, and nonparametric statistical analyses showed that the combined mechanisms produced stronger overall performance than the individual variants. MSKET also achieved the best overall repeated-run performance on the piston–lever and three-bar truss design problems. In the NIR application, MSKET-BP obtained an R2 of 0.86440, an RMSE of 2.1377, and a MAPE of 5.0083% on the testing set.
These findings indicate that MSKET improved the search behaviour of KET within the examined benchmark, engineering, and regression tasks. However, the improvement was accompanied by higher function evaluation and computational costs. In addition, the benchmark comparison used an equal-iteration budget, and the NIR results were based on a single data split. Future work will therefore focus on reducing computational cost, conducting equal-evaluation comparisons, and validating the method on additional engineering problems and independent spectral datasets.
Author Contributions
Conceptualization, Y.L.; methodology, J.Z.; software, J.Z.; validation, Q.Z.; formal analysis, Y.L.; investigation, J.Z.; resources, C.J.; data curation, Y.Z.; writing—original draft preparation, J.Z.; writing—review and editing, J.Z.; visualization, X.G.; supervision, M.F.; project administration, M.F.; funding acquisition, M.F. All authors have read and agreed to the published version of the manuscript.
Funding
This study was supported by the Open Project of Anhui Dabieshan Academy of Traditional Chinese Medicine (TCMADM-2024-07), the University Key Research Project of the Department of Education of Anhui Province (2024AH051994), the High-level Talent Start-up Project of West Anhui University (WGKQ2026008, WGKQ2023003, WGKQ2021052), the Horizontal Project of West Anhui University (0045026066, 0045022007, 0045023151), and the University Innovation Team Project of the Department of Education of Anhui Province (2023AH010078).
Institutional Review Board Statement
Not applicable.
Informed Consent Statement
Not applicable.
Data Availability Statement
The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.
Conflicts of Interest
The authors declare no conflicts of interest.
References
- Rezk, H.; Olabi, A.G.; Wilberforce, T.; Sayed, E.T. Metaheuristic optimization algorithms for real-world electrical and civil engineering application: A review. Results Eng. 2024, 23, 102437. [Google Scholar] [CrossRef] [Scilit]
- Houssein, E.H.; Saeed, M.K.; Hu, G.; Al-Sayed, M.M. Metaheuristics for solving global and engineering optimization problems: Review, applications, open issues and challenges. Arch. Comput. Methods Eng. 2024, 31, 4485–4519. [Google Scholar] [CrossRef] [Scilit]
- Rajwar, K.; Deep, K.; Das, S. An exhaustive review of the metaheuristic algorithms for search and optimization: Taxonomy, applications, and open challenges. Artif. Intell. Rev. 2023, 56, 13187–13257. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kennedy, J.; Eberhart, R. Particle swarm optimization. In Proceedings of the ICNN’95—International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; IEEE: Piscataway, NJ, USA, 1995; Volume 4, pp. 1942–1948. [Google Scholar]
- Heidari, A.A.; Mirjalili, S.; Faris, H.; Aljarah, I.; Mafarja, M.; Chen, H. Harris hawks optimization: Algorithm and applications. Future Gener. Comput. Syst. 2019, 97, 849–872. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Chen, H.; Wang, M.; Heidari, A.A.; Mirjalili, S. Slime mould algorithm: A new method for stochastic optimization. Future Gener. Comput. Syst. 2020, 111, 300–323. [Google Scholar] [CrossRef] [Scilit]
- Xiao, W.; Lian, J.J.; Ouyang, K.; Gu, S.; Ke, Z.; Wei, D.; Sha, X.; Wang, J.; Fu, S.; Qiu, M.; et al. Newton downhill optimizer with application to engineering optimization and breast cancer feature selection. Biomed. Signal Process. Control 2026, 117, 109184. [Google Scholar] [CrossRef] [Scilit]
- Peng, H.; Xiao, W.; Han, Y.; Jiang, A.; Xu, Z.; Li, M.; Wu, Z. Multi-strategy firefly algorithm with selective ensemble for complex engineering optimization problems. Appl. Soft Comput. 2022, 120, 108634. [Google Scholar] [CrossRef] [Scilit]
- Deng, L.; Liu, S. An enhanced slime mould algorithm based on adaptive grouping technique for global optimization. Expert Syst. Appl. 2023, 222, 119877. [Google Scholar] [CrossRef] [Scilit]
- Choi, T.J.; Pachauri, N. Adaptive search space for stochastic opposition-based learning in differential evolution. Knowl.-Based Syst. 2024, 300, 112172. [Google Scholar] [CrossRef] [Scilit]
- Zhu, Y.; Huang, H.; Wei, J.; Yi, J.; Liu, J.; Li, M. ISO: An improved snake optimizer with multi-strategy enhancement for engineering optimization. Expert Syst. Appl. 2025, 281, 127660. [Google Scholar] [CrossRef] [Scilit]
- Shafaie, V.; Movahedi Rad, M. Multi-objective genetic algorithm calibration of colored self-compacting concrete using DEM: An integrated parallel approach. Sci. Rep. 2024, 14, 4126. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Shafaie, V.; Ghodousian, O.; Ghodousian, A.; Cucuzza, R.; Movahedi Rad, M. Integrating push-out test validation and fuzzy logic for bond strength study of fiber-reinforced self-compacting concrete. Constr. Build. Mater. 2024, 425, 136062. [Google Scholar] [CrossRef] [Scilit]
- Almutairi, S.Z.; Shaheen, A.M. A Kangaroo Escape Optimizer-enabled fractional-order PID controller for enhancing dynamic stability in multi-area power systems. Fractal Fract. 2025, 9, 530. [Google Scholar] [CrossRef] [Scilit]
- Mohamed, A.W.; Hadi, A.A.; Mohamed, A.K. Differential evolution mutations: Taxonomy, comparison and convergence analysis. IEEE Access 2021, 9, 68629–68662. [Google Scholar] [CrossRef] [Scilit]
- Park, S.-Y.; Lee, J.-J. Stochastic opposition-based learning using a Beta distribution in differential evolution. IEEE Trans. Cybern. 2016, 46, 2184–2194. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Awad, N.H.; Ali, M.Z.; Liang, J.J.; Qu, B.Y.; Suganthan, P.N. Problem Definitions and Evaluation Criteria for the CEC 2017 Special Session and Competition on Single Objective Bound Constrained Real-Parameter Numerical Optimization; Technical Report; Nanyang Technological University: Singapore, 2016. [Google Scholar]
- Yue, C.T.; Price, K.V.; Suganthan, P.N.; Liang, J.J.; Ali, M.Z.; Qu, B.Y.; Awad, N.H.; Biswas, P.P. Problem Definitions and Evaluation Criteria for the CEC 2020 Special Session and Competition on Single Objective Bound Constrained Numerical Optimization; Technical Report 201911; Computational Intelligence Laboratory, Zhengzhou University: Zhengzhou, China; Nanyang Technological University: Singapore, 2019. [Google Scholar]
- Ouyang, K.; Fu, S.; Chen, Y.; Cai, Q.; Heidari, A.A.; Chen, H. Escape: An optimization method based on crowd evacuation behaviors. Artif. Intell. Rev. 2025, 58, 19. [Google Scholar] [CrossRef] [Scilit]
- Cheng, J.; De Waele, W. Detective behavior algorithm (DBA): A new metaheuristic for design and engineering optimization. Knowl.-Based Syst. 2026, 338, 115434. [Google Scholar] [CrossRef] [Scilit]
- Xiao, Y.; Cui, H.; Khurma, R.A.; Castillo, P.A. Artificial lemming algorithm: A novel bionic meta-heuristic technique for solving real-world engineering optimization problems. Artif. Intell. Rev. 2025, 58, 84. [Google Scholar] [CrossRef] [Scilit]
- Basetti, V.; Shiva, C.K.; Tiwari, S.; Karri, R.R.; Arya, Y.; Sen, S. Solving nonlinear engineering problems using UFIA: A social inspired metaheuristic algorithm. Chaos Solitons Fractals 2026, 207, 117876. [Google Scholar] [CrossRef] [Scilit]
- Derrac, J.; García, S.; Molina, D.; Herrera, F. A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms. Swarm Evol. Comput. 2011, 1, 3–18. [Google Scholar] [CrossRef] [Scilit]
- Demšar, J. Statistical comparisons of classifiers over multiple data sets. J. Mach. Learn. Res. 2006, 7, 1–30. [Google Scholar]
- Gandomi, A.H.; Yang, X.-S.; Alavi, A.H. Cuckoo search algorithm: A metaheuristic approach to solve structural optimization problems. Eng. Comput. 2013, 29, 17–35. [Google Scholar] [CrossRef] [Scilit]
- Hu, Y.; Zhang, H.; Liang, W.; Xu, P.; Lou, K.; Pu, J. Rapid and simultaneous measurement of praeruptorin A, praeruptorin B, praeruptorin E, and moisture contents in Peucedani Radix using near-infrared spectroscopy and chemometrics. J. AOAC Int. 2020, 103, 504–512. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Jia, B.; Wang, F.; Song, X.; Chen, S.; Luo, H.; Yan, H.; Chen, C.; Han, B. Rapid prediction of praeruptorin A in Peucedani Radix based on NIRS. J. Bengbu Med. Univ. 2024, 49, 510–514. (In Chinese) [Google Scholar]
- Liu, Y.; Zhang, L.; Zhang, X.; Bian, X.; Tian, W. Modern spectroscopic techniques combined with chemometrics for process quality control of traditional Chinese medicine: A review. Microchem. J. 2025, 213, 113605. [Google Scholar] [CrossRef] [Scilit]
- Rumelhart, D.E.; Hinton, G.E.; Williams, R.J. Learning representations by back-propagating errors. Nature 1986, 323, 533–536. [Google Scholar] [CrossRef] [Scilit]
- Kaveh, M.; Mesgari, M.S. Application of meta-heuristic algorithms for training neural networks and deep learning architectures: A comprehensive review. Neural Process. Lett. 2023, 55, 4519–4622. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Peng, C.; Zhang, M.; Kong, M.; Zhang, S.; Li, C.; Feng, T.; Tian, W.; Nie, L.; Zang, H. Integrating deep learning and near-infrared spectroscopy for quality control of traditional Chinese medicine extracts. Microchem. J. 2024, 205, 111310. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
























