Whale swarm algorithm with iterative counter for multimodal function optimization

Bing Zeng, Xinyu Li, Liang Gao, Yuyan Zhang

Introduction

In many real-world optimization scenarios, the objective function is not unimodal but "multimodal," possessing multiple local and global optima. Traditional metaheuristic algorithms, such as Genetic Algorithms (GA) or Particle Swarm Optimization (PSO), are typically designed to converge toward a single global optimum. While effective for simple landscapes, these "greedy" approaches often fail to identify alternative solutions that might be equally or more desirable in practical applications.

The Challenge of Multimodal Optimization

To address this, researchers employ "niching" methods to maintain population diversity and locate multiple peaks simultaneously. However, conventional niching techniques face two significant hurdles:

  1. Parameter Sensitivity: Most methods require pre-defined "niching parameters," such as a fixed radius for each peak. Without prior knowledge of the function's landscape, setting these parameters is often a matter of trial and error.
  2. Local Optima Stagnation: Once an algorithm identifies a peak, the population tends to cluster there, wasting computational resources on a known solution instead of exploring the remaining search space.
Comparison of unimodal (left) and multimodal (right) function landscapes. Multimodal functions require algorithms to identify multiple distinct peaks simultaneously.

Methodology: The WSA-IC Algorithm

The Whale Swarm Algorithm with Iterative Counter (WSA-IC) introduces a novel approach to multimodal optimization by mimicking the communication and hunting behaviors of whales. The authors propose two key enhancements to the standard Whale Swarm Algorithm (WSA):

Simplified Iteration with Elitism

The original WSA relies on an "attenuation coefficient" ($\eta$) to model ultrasound communication, which requires careful tuning. WSA-IC simplifies this by assuming perfect communication ($\eta = 0$) and introducing an elitism rule. A whale only updates its position if the new candidate solution is strictly superior to its current one. This mechanism prevents the swarm from drifting away from discovered peaks.

The Iterative Counter (IC) Mechanism

The core innovation is the Iterative Counter (IC), which acts as a temporal trigger for exploration. Each whale maintains a counter tracking the number of iterations since its last improvement.

  • Stability Threshold ($T_s$): When a whale fails to improve for a predefined number of steps (e.g., $100 \times \text{dimensions}$), it is deemed "steady," indicating it has likely converged to a peak.
  • Identify and Escape: Upon reaching the stability threshold, the algorithm records the whale's position as a potential optimum. Crucially, the whale is then randomly reinitialized within the search space. This "escape" mechanism forces the algorithm to continuously seek new optima rather than stagnating at known locations.

Experimental Evaluation

The performance of WSA-IC was rigorously tested against five state-of-the-art niching algorithms using a suite of 20 benchmark functions:

  • CEC2015 Niching Benchmarks (F1–F15): These functions include shifted and rotated landscapes, representing high-difficulty multimodal problems.
  • High-Dimensional Functions (F16–F20): Classical challenges like Griewank and Ackley were scaled to 50 and 100 dimensions to evaluate the algorithm's scalability.

Key Results and Insights

WSA-IC demonstrated superior performance across nearly all metrics, particularly in high-dimensional and complex landscapes:

  • Success Rate (SR): On several difficult functions (e.g., F3 and F5), WSA-IC achieved a 100% success rate, whereas competing algorithms often failed to find any optima.
  • Optima Discovery: In the F3 benchmark, which contains 625 global optima, WSA-IC successfully located all 625. In contrast, the next best algorithm, NCDE, identified only approximately 45.
  • Efficiency: By replacing spatial niching parameters with a temporal counter, the algorithm eliminates the need for prior knowledge of peak distribution, making it highly effective for "black-box" optimization.

Conclusion and Future Directions

The Whale Swarm Algorithm with Iterative Counter provides a robust, parameter-free solution for multimodal optimization. By integrating an elitism rule with an automated escape mechanism, it maximizes the utility of every function evaluation. Future research may explore more sophisticated "escape" strategies, such as using historical search data to guide re-initialization, or hybridizing the IC mechanism with other metaheuristic frameworks.

Summary updated

BibTeX
@inproceedings{zeng2019whale,
  author = {Bing Zeng and Xinyu Li and Liang Gao and Yuyan Zhang},
  title = {{Whale swarm algorithm with iterative counter for multimodal function optimization}},
  booktitle = {Neural},
  year = {2019},
  doi = {10.1007/s00521-018-3949-4},
}
Figure