English

When Fireflies Cluster; Enhancing Automatic Clustering via Centroid-Guided Firefly Optimization

Artificial Intelligence 2026-05-19 v1 Machine Learning Neural and Evolutionary Computing

Abstract

This work presents a novel variant of the Firefly Algorithm (FA) for data clustering, addressing limitations of traditional methods like K-Means that struggle with non-uniform cluster shapes, densities, and the need for pre-defining the number of clusters. The proposed algorithm introduces a centroid movement strategy and a multi-objective fitness function that balances compactness, separation, and a novel TSP-based navigation penalty. It automatically estimates the optimal number of clusters and dynamically adjusts cluster boundaries. Application to robotic sensor networks highlights its practical value, with experiments showing improved clustering quality and reduced intra-cluster path distances compared to K-Means. These results confirm the algorithm's robustness in complex spatial clustering tasks, with potential for future extensions to higher-dimensional and adaptive scenarios.

Keywords

Cite

@article{arxiv.2605.18460,
  title  = {When Fireflies Cluster; Enhancing Automatic Clustering via Centroid-Guided Firefly Optimization},
  author = {MKA Ariyaratne and Azwirman Gusrialdi and Yury Nikulin and Jaakko Peltonen},
  journal= {arXiv preprint arXiv:2605.18460},
  year   = {2026}
}

Comments

34 pages, 19 Figures