5.3. Ablation Experiment
An ablation experiment is a systematic method for algorithm analysis. By removing or disabling specific components of an algorithm and observing performance changes, it quantitatively evaluates the contribution of each component to overall performance. This paper constructs four ablation variants based on the CEC2005 benchmark suite. Each variant retains the complete algorithm framework while only omitting one improvement strategy, with the remaining parts being identical to the complete algorithm. This design of controlled variables ensures that performance differences can be directly attributed to the omitted strategy. Based on the mathematical characteristics of the test functions, we perform ablation experiment analysis on three groups of CEC2005 functions separately to comprehensively evaluate the performance of various strategies on different types of optimization problems.
To ensure the fairness of the experiment, both CDSPSO and its ablation variant algorithms (CDMPSO-A, CDMPSO-B, CDMPSO-C, CDMPSO-D) adopt unified parameter settings, as shown in
Table 5.
5.3.1. Unimodal Function Group
A unimodal function has only one global optimum and is free from local optimum interference. It is primarily used to evaluate the convergence speed and optimization accuracy of algorithms. This group includes the f
1 Sphere function and the f
3 Schwefel 1.2 function. The former tests basic convergence ability, while the latter introduces variable coupling characteristics to examine the algorithm’s accuracy performance in handling variable correlation. The experimental results are shown in
Table 6.
On unimodal functions, the full CDMPSO-full algorithm ranks first with an average ranking of 1.5, verifying the comprehensive improvement of the four strategies on convergence accuracy and variable correlation handling. Especially on the f
1 Sphere function, the full CDMPSO achieves an ultra-high accuracy of 7.07 × 10
−248, significantly outperforming all ablation variants. Note that these extremely small values are well within the range of double-precision floating-point arithmetic (IEEE 754 [
39]), which supports values as small as 10
−324, and are genuine results achieved by the adaptive inertia weight strategy, not numerical underflow.
Relatively speaking, the performance of CDMPSO-B without adaptive weights is the worst (ranking fifth for both functions), differing from the complete algorithm by nearly 200 orders of magnitude. This significant gap fully demonstrates that the adaptive weight strategy is the core guarantee for achieving ultra-high-precision convergence. By reducing the weight to a minimum value in the later stages of iteration, it enables particles to conduct a fine search around the global optimum. However, fixed weights (w = 0.7) cannot achieve such dynamic adjustment, resulting in particles continuously oscillating near the optimal solution, making it difficult to further approach the theoretical optimum.
The non-differential mutation CDMPSO-A and the non-chaotic initialization CDMPSO-D ranked second and third, achieving orders of magnitude of 10−210 and 10−206, respectively. Although there is still a gap compared to the full algorithm, they have far surpassed other variants. This indicates that the chaotic initialization strategy lays a good foundation for subsequent iterations by providing a more evenly distributed initial population, enabling the algorithm to start from a more advantageous search starting point. Especially on the f3 Schwefel 1.2 function, which has strong variable coupling characteristics, the value of each dimension affects the summation terms of all subsequent dimensions. At this time, the non-chaotic initialization CDMPSO-A achieves the theoretical optimal value of 0, ranking first and even outperforming the full algorithm. The differential mutation strategy, by introducing random perturbations in the later stages of iteration, can effectively break the stagnation state of particles, helping the population continue to approach the theoretical optimum based on the already achieved high-precision region.
The convex lens imaging CDMPSO-C ranks fourth, achieving an order of magnitude of 4.12 × 10−101. Although it is still far superior to the unweighted variant, there is a significant gap between it and the top-ranked variants. This indicates that on terrains without local traps, such as unimodal functions, the wide-range perturbation effect of convex lens imaging is not prominent. Its main value lies in helping the algorithm escape from local optima, rather than improving convergence accuracy.
Based on the experimental results of the unimodal function set, we can draw the following conclusions: Adaptive weight is the core strategy of CDMPSO, and its absence will lead to a steep decline in performance. Differential mutation and chaotic initialization are important auxiliary strategies, ranked third and second, respectively, making significant contributions to improving convergence accuracy. Convex lens imaging contributes relatively limitedly to unimodal functions, ranking fourth, and its main value lies in multimodal and complex terrains. The complete algorithm ranks first in the unimodal function set with an average ranking of 1.5, proving the effectiveness of the synergistic action of the four strategies and performing well in both basic convergence ability and variable coupling issues.
5.3.2. Multimodal Function Group
Multimodal functions contain numerous local optima, posing significant challenges for optimization algorithms. This group includes the deceptive f
8 (Schwefel), the moderately difficult f
9 (Rastrigin) and f
10 (Ackley), and the complex f
12 and f
13 (Penalized) functions. The experimental results are presented in
Table 7.
On the multimodal function set, CDMPSO-full ranked first with an average ranking of 1.6, verifying the collaborative effectiveness of the four strategies in complex terrains. The following provides a detailed analysis from the perspective of the contributions made by each strategy:
The non-adaptive weight CDMPSO-B performed the worst on the three complex multimodal functions f8, f12, and f13, with an average ranking of 2.2, placing it at the bottom among all ablation variants. This once again confirms that adaptive weight remains the core strategy of the algorithm, not only affecting convergence accuracy but also profoundly influencing the algorithm’s global navigation ability in complex terrains. Its dynamic adjustment mechanism enables the algorithm to maintain exploration breadth in the early stages of iteration and focus on fine-grained search in the later stages, while fixed weights cannot achieve this balance.
For the chaos-free initialized CDMPSO-A, it performs exceptionally poorly on the f8 Schwefel function, which is typically deceptive (−1.15 × 104), with a performance gap of up to 80.98% compared to the complete algorithm. However, it performs relatively well on other functions. This difference demonstrates that chaos initialization greatly helps the algorithm avoid falling into the wrong area in the early stages by improving the quality of the initial population, laying a crucial foundation for subsequent search.
The lens-free variant CDMPSO-C ranks third, first, first, second, and third on multimodal group functions and is tied for second with the chaos-free variant. This indicates that convex lens imaging has a moderate effect on multimodal functions, and its strength varies depending on the characteristics of the function. Meanwhile, the differential mutation variant CDMPSO-D ranks fifth and fourth only on the complex multimodal functions f12 and f13, but it ranks first for all other functions, showing the most unstable performance among all variants. This suggests that in complex terrains, differential mutation plays a significant role by introducing random perturbations to effectively prevent the population from prematurely falling into local optima.
In addition, on the two moderately difficult multimodal functions f9 and f10, all ablation variants achieved the theoretical optimal values (0 for f9 and 4.44 × 10−16 for f10). This demonstrates the robustness of the overall CDMPSO framework—even if a certain strategy is missing, its basic global search capability is still sufficient to handle such rule-distributed multimodal terrain.
It is noteworthy that an anomalous phenomenon occurred with the f12 function: the chaos-free initialized CDMPSO-A performed the best, while the complete algorithm only ranked fourth. This indicates that in specific complex terrains, there may be mutual interference between strategies, necessitating further optimization of parameter configurations to achieve better collaboration. On the f13 function, the contribution of strategies reverted to the conventional pattern of adaptive weight > chaos initialization > convex lens imaging > differential mutation, which is highly consistent with the ranking of the unimodal function group.
Based on the experimental results of the five multimodal functions, the following conclusions can be drawn: The CDMPSO-full algorithm still ranks first in the multimodal function group, verifying the comprehensive effectiveness of the four strategies in complex terrain navigation. Chaotic initialization contributes most prominently in deceptive terrains and maintains a stable contribution to complex multimodal functions, with an average ranking of 2.0. Adaptive weight remains the core strategy. Although it performs on par with the full algorithm on f8, its performance significantly decreases when omitted on f12 and f13. Convex lens imaging and differential mutation, as auxiliary strategies, both make stable contributions to multimodal functions, with average rankings of 2.0 and 3.0, respectively. On medium-difficulty multimodal functions, all variants achieve theoretical optimality, reflecting the robustness of the CDMPSO framework.
5.3.3. Special Characteristic Function Group
Special feature functions introduce additional complexities, including pathological terrain and random noise. This group includes f
5 (Rosenbrock), which features a narrow-curved valley with strong variable coupling, and f
7 (Quartic with Noise), which introduces random noise to test robustness. The experimental results are presented in
Table 8.
Comparing the experimental results of f5 and f7, it can be observed that the convex lens imaging strategy plays a completely opposite role on different special feature functions.
On the f5 pathological function, the convex lens imaging CDMPSO-C performs the best, ranking first, even surpassing CDMPSO-FULL (ranked third). The Rosenbrock function features a narrow and curved valley terrain, with the global optimum located at the bottom of the valley, requiring particles to conduct fine local search along the valley. Large-scale perturbations from convex lens imaging may be counterproductive in such terrain—when particles have entered the valley region, large positional jumps can easily cause them to deviate from the narrow valley path, thereby interfering with the fine search process. Therefore, on f5, moderately reducing perturbations is beneficial for the algorithm to converge steadily along the valley. On the f7 noisy function, the situation is completely reversed. The convex lens imaging strategy contributes most prominently: CDMPSO-C performs the worst, with a performance drop of up to 89.97% compared to CDMPSO-FULL. Noise can make the fitness landscape rough and full of false local extremum points. If the algorithm only conducts local search, it is easy to fall into these false traps caused by noise. Large-scale perturbations from convex lens imaging can help particles escape from noise traps and reposition in more promising areas, thus maintaining the correct search direction macroscopically.
CDMPSO-B without adaptive weights performed extremely poorly on both functions (ranking fifth for f5 and ranking fourth for f7, with an average ranking of 4.5). This once again confirms the status of adaptive weights as a core strategy, demonstrating its indispensable dynamic adjustment capability for the search process, even on functions with special characteristics. Fixed weights cannot adjust the step size according to the iteration process, making it difficult to balance exploration and exploitation on ill-conditioned terrain, and are unable to effectively distinguish between true gradients and random perturbations in noisy environments.
For CDMPSO-FULL, although the complete algorithm ranks third in terms of f5, inferior to the lens-free variant C and the chaos-free variant A, its average ranking still ranks first. This proves that the complete algorithm performs evenly on different types of special feature functions, with no obvious shortcomings, which is the embodiment of the synergistic effect of the four strategies.
Regarding the experimental results of the comprehensive special feature function group, the complete algorithm ranks first in the special feature function group with an average ranking of 2.0, verifying the comprehensive effectiveness of the four strategies in morbid terrain and noisy environments. Convex lens imaging contributes most prominently in noisy environments and is a key strategy for the algorithm to cope with rough fitness landscapes; however, on morbid terrains that require fine search, its perturbation effect may interfere with the search and needs to be moderately controlled. Adaptive weighting remains the core strategy, and performance is the worst without it, reflecting its indispensability for dynamic adjustment of the search process. Both chaotic initialization and differential mutation, as auxiliary strategies, make stable positive contributions to the special feature function.
5.3.4. Summary of Ablation Experiment
Through systematic ablation experiments on unimodal function groups, multimodal function groups, and special feature function groups, the following comprehensive conclusions can be drawn:
Regarding the comprehensive evaluation of the contribution of the four strategies, (1) adaptive weighting is the core strategy of CDMPSO, playing a crucial role across all function types. Its dynamic adjustment capability cannot be replaced by fixed weighting, reflecting its universal value as the cornerstone of the algorithm. (2) Secondly, chaotic initialization contributes significantly to addressing deceptive landscapes and variable coupling issues. This proves that a high-quality initial population is the primary prerequisite for the algorithm’s success. The ergodicity and uniform distribution characteristics of chaotic initialization give it unique advantages in dealing with complex search spaces. (3) Furthermore, convex lens imaging exhibits irreplaceable value in noisy environments. However, in spaces requiring fine-grained search, its large-scale perturbations may interfere with precise search, causing the lens-free variant to perform better instead. This indicates that convex lens imaging is a “double-edged sword,” and its effect has significant function dependency. (4) Finally, random differential mutation, as an auxiliary strategy, plays an important role in escaping local optima.
In addition, on most functions, the four strategies exhibit good synergistic effects, with the complete algorithm ranking first or tied for first. However, on individual complex functions (such as f12 and f5), the complete algorithm is slightly inferior to some ablation variants, indicating that there may be subtle interference between strategies. These phenomena reveal the complexity of strategy synergy—the optimal combination of strategies may vary depending on the characteristics of the function, which points the way for future research on adaptive selection mechanisms for strategies. To address this, future work will explore three adaptive mechanisms: (1) landscape-aware adjustment of CLII perturbation intensity based on search space geometry to prevent unnecessary disruptions on narrow-valley functions; (2) state-dependent mutation probability that decreases from a high value in early exploration to a low value in late exploitation; and (3) an online learning framework (e.g., multi-armed bandit) that dynamically selects strategies based on their real-time contribution to fitness improvement. These mechanisms would enable CDMPSO to automatically favor beneficial strategies and suppress those causing interference.
Despite the presence of functional dependencies and individual interference phenomena, the complete CDMPSO ranks first on all three sets of functions. This fully demonstrates that the synergistic effect of the four strategies endows CDMPSO with comprehensive optimization capabilities—it can achieve ultra-high precision convergence on unimodal functions and effectively escape local optima on multimodal functions. The excellent performance of individual ablation variants on specific functions precisely reveals the functional dependency characteristics of the strategies, providing valuable insights for further optimization of the algorithm.
5.4. Comparative Experiment
To comprehensively evaluate the overall optimization performance of the proposed CDMPSO algorithm, this paper selected four representative particle swarm optimization variants for comparative experiments, namely, standard PSO, CPSO, ACPSO, and HPSOALS, aiming to systematically compare algorithm performance from different improvement paradigm levels. Among them, PSO serves as the benchmark algorithm, adopting the classic speed position update mechanism and fixed parameter configuration; CPSO introduces a compression factor instead of inertia weight and maintains population diversity while ensuring convergence through system velocity constraints; ACPSO integrates chaotic mapping and adaptive inertia weights to enhance population diversity and dynamically balance exploration and development; and HPSOALS combines chaos opposition learning and adaptive strategies to enhance global search capability.
To ensure the fairness of the experiment, all comparison algorithms adopted the parameter configurations recommended in their original literature (see
Table 9) and were run in a unified experimental environment: the population size was uniformly set to 50, the maximum iteration count was 1000, and each test function was independently run 30 times in both 30-dimensional and 50-dimensional scenarios. By comparing the performance of various algorithms in terms of indicators such as mean, standard deviation, ranking, average ranking, and final ranking, the system evaluates the convergence accuracy, stability, and comprehensive optimization ability of CDMPSO in different dimensions and function types in order to verify its performance improvement compared to existing algorithms.
5.4.1. Thirty-Dimensional Comparison Test
- (1)
Analysis of experimental results.
As shown in
Table 10, in the 30-dimensional space, CDMPSO achieves excellent performance in ranking first on all nine test functions, significantly better than the other four comparison algorithms. ACPSO ranks second, with an average ranking of 2.56, CPSO ranks third, with 3.22, PSO and HPSOALS rank fourth and fifth, with 3.44 and 4.78, respectively.
In order to better compare the differences between various algorithms,
Figure 5 shows the order of magnitude comparison of the final accuracy of each algorithm on nine representative functions, with the
y-axis being the commonly used logarithm of fitness values, log10 (f). The lower the column shape (the larger the negative value), the higher the convergence accuracy of the algorithm, and the closer it is to the theoretical optimum. On the contrary, the higher the column (the larger the positive value), the more the algorithm falls into a poor area and deviates from the optimal solution. By using parallel bar charts, it is possible to visually compare the relative performance of different algorithms on the same function, as well as the performance differences of the same algorithm on different types of functions.
From the overall difference situation, CDMPSO achieved a total of 45 comparisons on nine test functions (each function was compared with four comparison algorithms). The only difference that does not reach one order of magnitude is the comparison with ACPSO on the f5 Rosenbrock function (5.9 times, about 0.77 orders of magnitude), but this difference is already significant in pathological terrain. Specifically, on the four functions f1, f3, f9, and f10, the average difference between CDMPSO and the comparison algorithm exceeds 46 orders of magnitude, demonstrating a crushing advantage. On the three functions f7, f12, and f13, the average difference is 3.6 orders of magnitude, indicating a stable and significant advantage. On the f8 Schwefel function, CDMPSO reaches −2.09 × 104, which is extremely close to the theoretical optimal value, while the comparison algorithms all fall into local optima, with outstanding advantages. This statistical result fully demonstrates that the advantages of CDMPSO are not occasional in individual functions but have broad applicability and stable superiority in optimization problems of different types and difficulties.
From the perspective of function types, CDMPSO exhibits comprehensive performance advantages. On unimodal functions, CDMPSO exhibits extremely high convergence accuracy, capable of approaching theoretical optimal values to extremely small orders of magnitude, while comparative algorithms generally stagnate at the level of 100 to 103. Especially on the f3 function with strong variable coupling characteristics, CDMPSO still maintains an exponential advantage, indicating its ability to effectively handle inter-dimensional dependencies and accurately navigate the coupling space. The global search capability of CDMPSO has been fully validated on multimodal functions. On the f8 function with deceptive terrain, CDMPSO is extremely close to the theoretical optimal value, while PSO only reaches −1.18 × 104, falling into local optima. On the medium-difficulty multimodal functions f9 and f10, CDMPSO reaches the theoretical optimal value, becoming the only successful algorithm. On the penalty functions f12 and f13, CDMPSO achieves 5.11 × 10−7 and 2.96 × 10−3, respectively, which is several orders of magnitude higher than the second ranked ACPSO. On the special feature function, CDMPSO also performs outstandingly in the pathological function f5 and the noisy function f7, verifying its practicality and robustness in noisy environments.
In summary, CDMPSO has demonstrated excellent convergence accuracy, strong global search capability, and good robustness in 30-dimensional testing, and its overall performance is comprehensively leading compared algorithms.
5.4.2. Fifty-Dimensional Comparison Test
- (1)
Analysis of Experimental Results.
As shown in
Table 11, in the 50-dimensional search space, CDMPSO continued its excellent performance in the 30-dimensional test, ranking first on all nine test functions with an average ranking AR of 1.00 and a final ranking FR of 1. ACPSO ranks second, with an average ranking of 2.67, CPSO ranks third. with 3.00, PSO and HPSOALS rank fourth and fifth, with 3.44 and 5.00, respectively. This ranking result is completely consistent with the 30-dimensional test (30-dimensional ranking: CDMPSO > ACPSO > CPSO > PSO > HPSOALS), proving the stability and scalability of CDMPSO performance advantages.
- (2)
Dimension Expansion Analysis.
In order to systematically evaluate the performance degradation of various algorithms as the problem dimension increases, this paper further conducts dimension scalability analysis on the experimental results of 30 and 50 dimensions.
Table 12 shows the average ranking (AR) changes of five algorithms in 30 and 50 dimensions.
From
Table 12, it can be clearly observed that CDMPSO maintains a perfect performance with an average ranking of 1.00 in both 30 and 50 dimensions, and the AR changes to 0, demonstrating excellent dimensional scalability. This result indicates that the performance advantage of CDMPSO does not decrease with the increase in problem dimension, and its four improvement strategies can still effectively collaborate in high-dimensional space. In contrast, although PSO maintains a stable ranking (AR changes to 0), it remains at a relatively poor level of 3.44. CPSO’s ranking slightly improves in 50 dimensions (from 3.22 to 3.00), indicating that its compression factor strategy is relatively effective in high-dimensional space. The rankings of ACPSO and HPSOALS both deteriorate, with HPSOALS ranking at the bottom, with an AR of 5.00 in 50 dimensions, indicating that its hybrid strategy may cause interference in high-dimensional problems.
In order to further explore the performance trends of various algorithms with increasing dimensions, this paper takes the simplest unimodal function f
1 as an example and adds experiments with 100 dimensions.
Figure 6 shows the dimension performance curves of each algorithm on the f
1 function in 30, 50, and 100 dimensions. The figure adopts a dual vertical axis design: the left vertical axis (−2 to 5) corresponds to the log10 fitness values of PSO, CPSO, ACPSO, and HPSOALS, the right vertical axis (−85 to −70) corresponds to the log10 fitness values of CDMPSO, and the horizontal axis is the search space dimension. This design not only avoids the extremely low values of CDMPSO from flattening the curves of other algorithms but also clearly displays the changing trends of all algorithms.
From
Figure 6, it can be observed that the curves of PSO, CPSO, ACPSO, and HPSOALS show a gentle upward trend (with deterioration) in the range of 30 to 100 dimensions, with a variation range of 1.0 to 2.2 orders of magnitude. The curve of CDMPSO rises from −83.80 to −72.80, with a variation of 11.0 orders of magnitude and the largest change in absolute value. However, the curve of CDMPSO is much lower than other algorithms, with its log10 value consistently maintained at a very low level below −70, while the curve of the comparative algorithm is located in the higher range of −2 to 5, forming a huge gap of over 70 orders of magnitude between the two. This growth occurs at an extremely low level between 10
−84 and 10
−7, which can be considered as “staying near zero” in engineering. The attenuation of performance with increasing dimensions has almost no impact on the actual optimization effect.
Based on the quantitative ranking comparison in
Table 12 and the dimension performance curve in
Figure 6, CDMPSO consistently ranks first, with an average ranking of 1.00 in both the 30th and 50th dimensions, demonstrating stability that is not affected by increasing dimensions. From the dimension performance curve, CDMPSO consistently maintains an extremely low order of magnitude below 10
−70 in the range of 30 to 100 dimensions, with a difference of 70 orders of magnitude compared to the comparative algorithm. This indicates that CDMPSO not only performs well in low- and medium-dimensional problems but also maintains a stable leading advantage in high-dimensional spaces. Its performance advantages have broad applicability and reliable scalability.
5.4.3. Convergence Analysis
To further illustrate the search behavior of different PSO variants,
Figure 7 and
Figure 8 present the convergence curves of CDMPSO and its compared algorithms on six representative functions under 30-dimensional and 50-dimensional settings, respectively. The selected functions cover three categories: unimodal (f
1), multimodal (f
9, f
10, f
13), and ill-conditioned (f
5, f
8). Each curve represents the best run among 30 independent runs, plotted on a logarithmic scale.
As shown in
Figure 7, CDMPSO exhibits the fastest convergence speed and the highest final precision across all six functions at 30 dimensions. On the unimodal Sphere function (f
1), CDMPSO reaches approximately 10
−84 after 1000 iterations (the vertical axis in the graph cannot be displayed), while PSO stagnates at around 10
1. On the ill-conditioned Rosenbrock function (f
5), all algorithms decrease rapidly within the first 200 iterations, but CDMPSO maintains a steady downward trend and achieves the lowest final fitness value. On the deceptive Schwefel function (f
8), CDMPSO reaches
, very close to the theoretical optimum.
Notably, on the multimodal Rastrigin function (f9), PSO, CPSO, ACPSO, and HPSOALS stagnate after 200–300 iterations, trapped in local optima at around 102~103. In contrast, CDMPSO breaks through the plateau period around 300 iterations and continues to decline, eventually reaching the theoretical optimum of zero. Similarly, on the Ackley function (f10), CDMPSO is the only algorithm that reaches the theoretical optimum (). On the complex Penalized 2 function (f13), CDMPSO maintains a consistent downward trend throughout the entire iteration process without any obvious plateau period, achieving significantly better final precision than all compared algorithms, approximately six orders of magnitude lower than the second-ranked algorithm.
As shown in
Figure 8, the convergence patterns at 50 dimensions are nearly identical to those at 30 dimensions, further confirming the robustness and scalability of CDMPSO. On the Sphere function (f
1), CDMPSO achieves
compared to PSO’s
, an improvement of over 80 orders of magnitude. On the Rosenbrock function (f
5), CDMPSO reaches
, significantly outperforming all compared algorithms. On the Rastrigin function (f
9), CDMPSO again reaches the theoretical optimum of zero, while all other algorithms remain trapped in local optima.
The performance advantage of CDMPSO becomes even more pronounced at higher dimensions. For example, on the Schwefel function (f8), CDMPSO achieves at 50D, very close to the theoretical optimum of . On the Ackley function (f10), CDMPSO reaches the theoretical optimum, while the other algorithms stagnate at around 100 to 101. On the Penalized 2 function (f13), CDMPSO achieves , demonstrating its robust performance on highly complex terrains.
Across all six functions and both dimensions, CDMPSO consistently exhibits the fastest convergence speed, the highest final precision, and the best ability to escape local optima. Notably, on the Rastrigin and Ackley functions, CDMPSO is the only algorithm that reaches the theoretical optimum. The convergence curves of CDMPSO are smooth and stable, without severe oscillations, indicating that it maintains a good balance between exploration and exploitation throughout the entire search process. As dimensionality increases from 30 to 50, the performance advantage of CDMPSO remains stable or even becomes more pronounced, demonstrating its excellent scalability.
5.4.4. Stability Analysis
Beyond convergence accuracy, we also evaluated the stability of CDMPSO. A stability analysis was conducted on six representative functions (f
1, f
3, f
5, f
8, f
9, f
10, f
13) by overlaying the convergence curves of 30 independent runs. As shown in
Figure 9, the individual curves are tightly clustered across all functions, with the mean and median curves nearly overlapping throughout the entire iteration process. This indicates that CDMPSO produces consistently reliable results under different random seeds, demonstrating excellent stability. A slight bifurcation is observed on f
13 during the middle stages, where the convergence curves split into two distinct groups—one remaining relatively flat while the other continues to decline. This suggests that some runs may experience temporary stagnation before eventually converging to the global optimum. Overall, the tight clustering of convergence curves confirms the robustness of CDMPSO across diverse function types.
5.5. CEC2017 Benchmark Test
To further validate the performance of CDMPSO on more challenging and modern benchmark functions, we conducted additional experiments on the CEC2017 test suite. Following the same experimental setup, we compared CDMPSO against PSO, CPSO, ACPSO, and HPSOALS on 29 CEC2017 functions (f2 is excluded due to its unstable behavior). The search range is for all functions with dimension . The velocity bounds were set to and , which is approximately 15% of the search space, to ensure adequate exploration capability.
The experimental results are presented in
Table 13. The following subsections provide a detailed analysis.
5.5.1. Analysis of Experimental Results
As shown in
Table 13, CDMPSO achieves the best overall performance on the CEC2017 benchmark suite, with an average rank of 1.41, significantly outperforming ACPSO (2.83), PSO (2.41), CPSO (3.83), and HPSOALS (4.52).
On unimodal and simple multimodal functions (f1–f10), ACPSO achieves optimal results on f1, f3, and f4, demonstrating its advantage on relatively simple landscapes. However, CDMPSO ranks first on six out of nine functions (f5–f10) and achieves second place on the remaining four (f1, f3, f4, f2), highlighting its strong and consistent global search capability across diverse multimodal terrains. On hybrid functions (f11–f20), CDMPSO exhibits clear superiority, ranking first on seven out of ten functions (f11, f14, f16, f17, f18, f19, f20), with particularly notable advantages on f19, where it outperforms the compared algorithms by several orders of magnitude (1.99 × 104 vs. 1.66 × 105–4.39 × 107). CDMPSO achieves second place on f12, f13, and f15, demonstrating robust performance across this challenging category. On composition functions (f21–f30), CDMPSO continues to perform steadily, ranking first on six functions (f21, f22, f25, f26, f29, f30), second on three functions (f23, f27, f28), and third on f24. These results confirm CDMPSO’s robustness on highly complex optimization problems with intricate landscapes.
Overall, while ACPSO performs well on certain simple functions and PSO achieves competitive rankings on some individual problems, CDMPSO exhibits the most consistent and robust performance across the entire CEC2017 test suite. The statistical significance of these results is validated in the following subsection.
5.5.2. Statistical Significance Test
To further validate whether the performance differences between CDMPSO and the compared algorithms are statistically significant, we conducted the Wilcoxon signed-rank test for pairwise comparisons and the Friedman test for global comparison. All tests were performed at a significance level of α = 0.05 based on the mean fitness values from 30 independent runs across the 29 CEC2017 test functions.
Table 14 presents the pairwise Wilcoxon test results between CDMPSO and each baseline algorithm, where “+” indicates that CDMPSO significantly outperforms the compared algorithm, “≈” indicates no significant difference, and “−” indicates significantly worse performance.
The Wilcoxon signed-rank test results demonstrate that CDMPSO exhibits significant advantages across all comparisons. Compared with HPSOALS, CDMPSO significantly outperforms it on all 29 test functions (29 wins, 0 ties, 0 losses). Against CPSO, CDMPSO achieves 27 wins, one tie, and one loss, with only f24 showing significantly worse performance and f27 showing no significant difference. Against ACPSO, CDMPSO achieves 21 wins, five ties, and three losses, with significantly worse performance on f3, f4, and f28, while no significant difference is observed on f1, f12, f13, f14, f18, f23, and f27. Against PSO, CDMPSO achieves 20 wins, eight ties, and one loss, with only F24 showing significantly worse performance. Overall, CDMPSO significantly outperforms all compared algorithms on the vast majority of test functions, with particularly pronounced advantages on complex multimodal, hybrid, and composition functions.
The p-value of 5.5353 × 10−14 obtained from Friedman’s test is much lower than 0.05, fully demonstrating the superiority, stability, and statistical significance of CDMPSO on the CEC2017 benchmark test. Combined with the average ranks (CDMPSO 1.41, PSO 2.41, ACPSO 2.83, CPSO 3.83, HPSOALS 4.52), it is evident that CDMPSO achieves significantly superior comprehensive performance compared to the other four algorithms. The statistical test results are fully consistent with the numerical experimental results, providing strong evidence for the superiority, robustness, and statistical significance of CDMPSO on the CEC2017 benchmark suite.
5.7. Application in a Real-World Problem
To further validate the practical applicability of CDMPSO, we apply it to a wireless sensor network (WSN) coverage optimization problem. The goal is to maximize the coverage rate of a 100 m × 100 m square area by deploying 30 sensor nodes, each with a sensing radius of 15 m. This is a 60-dimensional optimization problem (30 nodes × 2 coordinates). The coverage rate is calculated using a 50 × 50 grid discretization, and the objective is to minimize the uncovered rate.
The experiment compares CDMPSO with four other PSO variants (standard PSO, CPSO, ACPSO, and HPSOALS) over 20 independent runs, with a population size of 50 and 500 iterations.
Table 17 presents the coverage rates achieved by each algorithm.
As shown in
Table 17, CDMPSO achieves the best overall performance. It is the only algorithm that attains 100% average coverage across all 20 runs, significantly outperforming PSO (99.85%), ACPSO (99.84%), CPSO (97.60%), and HPSOALS (79.61%). Moreover, CDMPSO exhibits the smallest standard deviation (8.94 × 10
−5), demonstrating excellent stability and robustness.
Figure 11 visualizes the optimal sensor deployment obtained by CDMPSO, where the red dots represent sensor positions, the blue circles indicate sensing ranges, and the black square denotes the area boundary. The entire 100 m × 100 m area is fully covered, with sensors strategically placed to avoid both excessive overlap and uncovered gaps. This result confirms that CDMPSO is highly effective for high-dimensional, real-world engineering optimization problems.
Figure 12 shows the convergence curves of all compared algorithms on the WSN coverage problem. CDMPSO converges faster and achieves a significantly lower uncovered rate than the other algorithms, demonstrating its superior convergence capability.