NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Social Spider Algorithm for Global Optimization

James Jian Qiao Yu, Victor O. K. Li

Abstract

The Social Spider Algorithm (SSA) is a novel nature-inspired metaheuristic designed to solve global optimization problems by mimicking the foraging behavior of social spiders. By modeling the search space as a vibrating web where information is shared passively, SSA achieves superior performance and higher reliability compared to state-of-the-art algorithms like CMA-ES and JADE across complex, high-dimensional landscapes. This paper details the mechanics of SSA and evaluates its performance against standard benchmarks.

Introduction

As real-world optimization problems grow in complexity—often becoming non-convex, high-dimensional, and riddled with local optima—traditional mathematical methods struggle. Researchers have increasingly turned to swarm intelligence (e.g., Ant Colony Optimization or Particle Swarm Optimization) to find approximate solutions. However, many existing swarm algorithms rely on active information exchange, which can lead to significant information loss or premature convergence. SSA addresses this by utilizing a passive communication model inspired by social spiders, which use their web as a shared sensory organ to locate prey and communicate without a central leader.

The Social Spider Algorithm (SSA)

SSA formulates the optimization task as a "hyper-dimensional spider web."

The Agents and the Web

Each "spider" represents a potential solution, maintaining a memory of its current position, fitness, and a "target vibration" from the previous iteration. When a spider moves, it generates a vibration with an intensity proportional to the fitness of its position (better solutions vibrate "louder"). These vibrations attenuate (weaken) as they travel across the web based on Manhattan distance, naturally biasing spiders toward high-quality solutions that are spatially closer.

Information Sharing and Movement

Unlike algorithms with a single leader, SSA uses an Information Sharing (IS) model where every spider senses all vibrations on the web and selects the strongest one to follow. To move, a spider uses a binary "dimension mask" to decide which parts of its position to update. This is followed by a random walk that incorporates both the spider's previous momentum and the attraction toward the target vibration, effectively balancing exploration and exploitation.

Experimental Evaluation

The algorithm was evaluated using 25 benchmark functions from the CEC 2013 and CEC 2014 competitions, categorized into unimodal, multimodal, rotated, and hybrid functions. Tests were conducted across 10, 30, and 50 dimensions to assess scalability.

Key Results

  • Superiority: In 30-dimensional tests, SSA outperformed or matched CMA-ES in 22 out of 25 functions and JADE in 19 out of 25.
  • Hybrid Landscape Performance: SSA was particularly dominant in hybrid multimodal functions, achieving the best mean results in 4 out of 5 cases, suggesting high effectiveness for "black box" problems with unknown structures.
  • Reliability and Efficiency: Success rate tests showed SSA is more reliable than competitors like GL-25 and SaDE in 50-D tests. Furthermore, its computational complexity is comparable to JADE and CMA-ES, making it a practical choice for resource-constrained environments.

Parameter Sensitivity and Tuning

SSA relies on three primary parameters: the attenuation rate ($r_a$), the change probability ($p_c$), and the mutation probability ($p_m$). Understanding how these parameters affect the objective function is crucial for optimizing the algorithm's performance across different landscapes.

Sensitivity analysis of SSA parameters $r_a$, $p_c$, and $p_m$ across various benchmark functions.

As shown in the sensitivity analysis, the optimal values for these parameters can vary depending on the specific function (e.g., Sphere vs. Rosenbrock). While SSA is robust, finding the ideal configuration for a specific problem remains a key step in implementation.

Conclusion and Future Work

SSA introduces a powerful passive communication paradigm to swarm intelligence. While it excels in hybrid landscapes, it is currently less competitive on rotated multimodal functions due to the lack of a correlation matrix for sensing landscape orientation. Future work will focus on developing adaptive parameter schemes to automate tuning and exploring hybrid versions of SSA that incorporate local search heuristics or address combinatorial optimization problems like the Traveling Salesman Problem.

Summary updated

BibTeX
@article{yu2015social,
  author = {James Jian Qiao Yu and Victor O. K. Li},
  title = {{A Social Spider Algorithm for Global Optimization}},
  journal = {Applied Soft Computing},
  year = {2015},
  doi = {10.1016/j.asoc.2015.02.014},
}
Figure