Explainable Swarm: A Methodological Framework for Interpreting Swarm Intelligence
Nitin Gupta, Bapi Dutta, Anupam Yadav
TL;DR
This study addresses the opacity of Particle Swarm Optimization by combining Exploratory Landscape Analysis (ELA) with an explainable benchmarking framework (IOHxplainer) to reveal how topology (Star, Ring, Von Neumann) and hyperparameters drive exploration–exploitation balance across diverse landscapes. The authors integrate SHAP-based analysis, AOCC performance metrics, and data-driven configuration learning (decision trees and random forests) to map algorithm settings to problem structure, validated on 24 BBOB functions in 2D and 5D. Key contributions include a unified explainability pipeline, topology-specific performance insights, and a data-driven approach to selecting or configuring PSO settings with interpretable rules. The work advances trustworthy swarm intelligence by promoting transparent design and actionable guidelines for topology and parameter choices, with practical implications for deploying PSO in real-world optimization tasks.
Abstract
Swarm based optimization algorithms have demonstrated remarkable success in solving complex optimization problems. However, their widespread adoption remains sceptical due to limited transparency in how different algorithmic components influence the overall performance of the algorithm. This work presents a multi-faceted interpretability related investigations of one of the popular swarm algorithms, Particle Swarm Optimization. Through this work, we provide a framework that makes the role of different topologies and parameters in PSO interpretable and explainable using novel machine learning approach. We first developed a comprehensive landscape characterization framework using Exploratory Landscape Analysis to quantify problem difficulty and identify critical features in the problem that affects the optimization performance of PSO. Secondly, we rigorously compare three topologies - Ring, Star, and Von Neumann analyzing their distinct impacts on exploration-exploitation balance, convergence behavior, and solution quality and eventually develop an explainable benchmarking framework for PSO. The work successfully decodes how swarm topologies affect information flow, diversity, and convergence. Through systematic experimentation across 24 benchmark functions in multiple dimensions, we establish practical guidelines for topology selection and parameter configuration. These findings uncover the black-box nature of PSO, providing more transparency and interpretability to swarm intelligence systems. The source code is available at \textcolor{blue}{https://github.com/GitNitin02/ioh_pso}.
