Directed particle swarm optimization with Gaussian-process-based function forecasting

Johannes Jakubik, Adrian Binding, Stefan Feuerriegel · DOI

Abstract

Particle swarm optimization (PSO) is an iterative search method that moves a set of candidate solutions around a search-space towards the best known global and local solutions with randomized step lengths. PSO frequently accelerates optimization in practical applications, where gradients are not available and function evaluations expensive. Yet the traditional PSO algorithm ignores the potential knowledge that could have been gained of the objective function from the observations by individual particles. Hence, we draw upon concepts from Bayesian optimization and introduce a stochastic surrogate model of the objective function. That is, we fit a Gaussian process to past evaluations of the objective function, forecast its shape and then adapt the particle movements based on it. Our computational experiments demonstrate that baseline implementations of PSO (i.e., SPSO2011) are outperformed. Furthermore, compared to state-of-the-art surrogate-assisted evolutionary algorithms, we achieve substantial performance improvements on several popular benchmark functions. Overall, we find that our algorithm attains desirable properties for exploratory and exploitative behavior.

Introduction

Particle Swarm Optimization (PSO) is a cornerstone of derivative-free optimization, modeled after the collective intelligence of social groups like bird flocks. It is particularly effective for "black-box" problems where the underlying mathematical structure is unknown and function evaluations are computationally taxing. However, traditional PSO is fundamentally "memoryless." While the swarm tracks the best positions found so far, it discards the vast majority of data generated during the search process. This inefficiency often results in particles revisiting explored regions or becoming trapped in local optima.

This paper proposes a hybrid approach that gives the swarm a "memory" by integrating Gaussian Process (GP) surrogate models. By using GPs to forecast the objective function's landscape, the authors developed a "Directed PSO" that leverages historical data to guide future movement.

Methodology: Integrating Forecasting into the Swarm

The core innovation lies in fitting a Gaussian Process—a stochastic model that provides both a mean prediction and an uncertainty estimate—to the points already visited by the particles. This GP acts as a surrogate for the expensive objective function. To utilize this forecast, the authors introduced three strategic variants:

  • Heuristic Direction (Variant A): This variant adds a third component to the particle's velocity equation. In addition to being pulled toward their personal best and the swarm's global best, particles are nudged toward the global optimum predicted by the GP surrogate.
  • Heuristic Exploitation (Variant B): This strategy identifies the worst-performing particle in the swarm and relocates it directly to the predicted optimum of the GP mean.
  • Heuristic Exploration (Variant C): To prevent premature convergence, this variant relocates the worst-performing particle to regions where the GP has the highest uncertainty (variance), forcing the swarm to explore "dark" areas of the search space.

To address the computational complexity of GPs—which typically scale poorly as data points increase—the researchers implemented a greedy memory heuristic. This mechanism ensures that only the most "informative" observations are retained, keeping the model efficient and fast enough for practical application.

Experimental Design

The proposed algorithms were evaluated using the CEC2013 benchmark suite, a rigorous set of 28 functions designed to test optimization robustness. These functions include:

  1. Unimodal functions: Smooth landscapes with a single peak.
  2. Multimodal functions: Complex landscapes containing numerous local traps.
  3. Composition functions: Non-symmetric, highly complex landscapes that mimic real-world engineering challenges.

The Directed PSO was benchmarked against the standard SPSO2011, pure Bayesian Optimization (BO), and several state-of-the-art Surrogate-Assisted Evolutionary Algorithms (SAEAs) like GPEME.

Key Insights and Results

The experimental results demonstrate a clear advantage for the Directed PSO framework:

  • Universal Performance Gains: The proposed method outperformed both SPSO2011 and standard Bayesian Optimization across all 28 benchmark functions. In 27 of these cases, the improvement was statistically significant at a 95% confidence level.
  • Superiority of Heuristic Direction: Variant (A), which applies a subtle directional nudge to the entire swarm, proved more effective than the "teleportation" strategies of Variants (B) and (C). This suggests that maintaining the swarm's natural dynamics while providing a guided "map" is the most robust approach.
  • Significant Efficiency: On complex multimodal landscapes, such as the Schwefel function, the Directed PSO achieved performance improvements of up to 64% over standard PSO. The GP model allows the swarm to stop "wandering" early in the search, leading to much faster convergence.
  • Competitive Edge: The model also outperformed specialized genetic algorithms in 75% of head-to-head tests, proving its viability against more complex evolutionary strategies.

Limitations and Future Directions

While the Directed PSO offers substantial performance benefits, it introduces computational overhead due to the GP fitting process. This makes the approach most suitable for problems where the objective function evaluation is the primary bottleneck (e.g., complex physical simulations).

Currently, the research has focused on 10-dimensional problems. Scaling Gaussian Processes to high-dimensional spaces remains a challenge. Future work will explore replacing GPs with more scalable models, such as Bayesian Neural Networks or Random Forests, and extending the framework to multi-objective optimization problems.

Summary updated

BibTeX
@article{jakubik2021directed,
  author = {Johannes Jakubik and Adrian Binding and Stefan Feuerriegel},
  title = {{Directed particle swarm optimization with Gaussian-process-based function forecasting}},
  journal = {Eur. J. Oper. Res.},
  year = {2021},
  doi = {10.1016/j.ejor.2021.02.053},
}
Figure