Abstract
The Social Spider Algorithm (SSA) is a metaheuristic inspired by the foraging behavior of spiders. While effective for complex optimization, its performance is highly sensitive to its control parameters. This study evaluates 900 parameter combinations across 11 benchmark functions using rigorous statistical methods. We identify a robust default configuration—$[|pop|, r_a, p_c, p_m] = [30, 1.0, 0.7, 0.1]$—that provides stable performance across diverse optimization landscapes, significantly reducing the need for manual tuning in future applications.
Introduction
Black-box optimization often relies on metaheuristics like the Social Spider Algorithm (SSA), which mimics how spiders use web vibrations to locate prey. However, the success of SSA depends on tuning four key parameters: population size ($|pop|$), attenuation rate ($r_a$), and mask changing probabilities ($p_c$ and $p_m$). Because evaluating real-world problems is computationally expensive, manual tuning is often impractical. This paper presents a comprehensive sensitivity analysis to establish a "fixed scheme"—a reliable default parameter set for general use.
Methodology
The study investigates the four primary user-controlled parameters of SSA. To find the optimal configuration, the researchers performed a grid search of 900 combinations. Each setup was tested over 51 independent runs with 300,000 function evaluations per run. Statistical significance was assessed using the Friedman test followed by the Hochberg post-hoc procedure to isolate superior parameter sets.
Experimental Setup
The algorithm was evaluated on 11 continuous benchmark functions (4 uni-modal and 7 multi-modal). These functions were drawn from classic suites and the CEC 2013 testbed. Crucially, the global optima were shifted away from the origin to prevent the algorithm from exploiting center-bias in the search space.
Analysis of Parameter Impact
The analysis revealed that extreme parameter values typically degrade performance. Medium population sizes and moderate attenuation rates are essential for balancing exploration and exploitation.
As shown in Figure 1, population size ($|pop|$) is the most influential factor for convergence speed. Small populations lack the diversity to converge quickly, while excessively large ones waste computational resources. Similarly, extreme settings for the attenuation rate (e.g., $r_a = 8.0$) fail to reach the success rates achieved by standard settings.
Key Results
The statistical evaluation identified $[|pop|, r_a, p_c, p_m] = [30, 1.0, 0.7, 0.1]$ as the optimal general-purpose configuration. Performance remains stable if parameters stay within specific ranges: $|pop|$ between 20 and 40, $r_a$ between 0.5 and 2.0, $p_c$ between 0.5 and 0.7, and $p_m$ between 0.1 and 0.3.
Numerical results (Figure 2) demonstrate the algorithm's precision across the benchmark suite, achieving extremely low error values on several functions, particularly uni-modal ones like $f_1$ and $f_2$.
Conclusion
This research provides a statistically validated "rule of thumb" for SSA parameters. By adopting the recommended settings, practitioners can apply SSA to new engineering and scientific problems with high confidence, bypassing the need for exhaustive parameter tuning. Future work will continue to utilize success rate tests to further refine the understanding of parameter dynamics in complex landscapes.
Summary updated