Abstract
Customer segmentation, a critical strategy in marketing, involves grouping consumers based on shared characteristics like age, income, and geographical location, enabling firms to effectively establish different strategies depending on the target group of customers. Clustering is a widely utilized data analysis technique that facilitates the identification of diverse groups, each distinguished by their unique set of characteristics. Traditional clustering techniques often lack in handling the complexity of consumer data. This paper introduces a novel approach employing the Flying Fox Optimization algorithm, inspired by the survival strategies of flying foxes, to determine customer segments. Applied to two different datasets, this method demonstrates superior capability in identifying distinct customer groups, thereby facilitating the development of targeted marketing strategies. Our comparative analysis with existing state-of-the-art as well as recently developed clustering methods reveals that the proposed method outperforms them in terms of segmentation capabilities. This research not only presents an innovative clustering technique in market segmentation but also showcases the potential of computational intelligence in improving marketing strategies, enhancing their alignment with each customer’s needs.

Similar content being viewed by others
Data availability
The data supporting the findings of this study are available from the sources cited within the article.
References
Aalloul R, Elaissaoui A, Benlattar M, Adhiri R (2023) Emerging parameters extraction method of PV modules based on the survival strategies of flying foxes optimization (FFO). Energies 16(8):3531. https://doi.org/10.3390/EN16083531
Akbari MA, Zare M, Azizipanah-abarghooee R, Mirjalili S, Deriche M (2022) The cheetah optimizer: a nature-inspired metaheuristic algorithm for large-scale optimization problems. Sci Rep. https://doi.org/10.1038/s41598-022-14338-z
Anitha P, Patil MM (2020) RFM model for customer purchase behavior using K-means algorithm. J King Saud Univ - Comput Info Sci. https://doi.org/10.1016/j.jksuci.2019.12.011
Azizi M, Talatahari S, Gandomi AH (2023) Fire hawk optimizer: a novel metaheuristic algorithm. Artif Intell Rev 56:287–363. https://doi.org/10.1007/S10462-022-10173-W/TABLES/4
Belagoune S, Bali N, Atif K, Labdelaoui H (2022) A discrete chaotic Jaya algorithm for optimal preventive maintenance scheduling of power systems generators. Appl Soft Comput 119:108608. https://doi.org/10.1016/J.ASOC.2022.108608
Berg AM, Mol ST, Kismihók G, Sclater N (2016) The role of a reference synthetic data generator within the field of learning analytics. J Learn Anal 3(1):107–128. https://doi.org/10.18608/jla.2016.31.7
Bhasin A (2017) Credit Card Dataset for Clustering. https://www.kaggle.com/datasets/arjunbhasin2013/ccdata. Accessed 30 Nov 2023
Bolón-Canedo V, Sánchez-Maroño N, Alonso-Betanzos A (2013) A review of feature selection methods on synthetic data. Knowl Inf Syst 34:483–519
Chan CCH, Hwang YR, Wu HC (2016) Marketing segmentation using the particle swarm optimization algorithm: a case study. J Ambient Intell Humaniz Comput 7:855–863. https://doi.org/10.1007/s12652-016-0389-9
Chen L (2024) Predicting pile-bearing capacity utilizing least square support vector regression coupled with giant trevally optimizer and the flying foxes optimization. Multiscale Multidiscip Model, Exp a Des 7:3897–3918. https://doi.org/10.1007/S41939-024-00430-6/FIGURES/12
Colanzi TE, Guez Assunção WK, Ramirez Pozo AT, Vendramin K, Barros Pereira DA, Zorzo CA, de Paula Filho PL (2011) Application of Bio-inspired metaheuristics in the data clustering problem. CLEI Electron J 14(3):6. https://doi.org/10.19153/cleiej.14.3.5
Davies DL, Bouldin DW (1979) A cluster separation measure. IEEE Trans Pattern Anal Mach Intell PAMI-1(2):224–227. https://doi.org/10.1109/TPAMI.1979.4766909
Deepa D, Sivasangari A, Vignesh R, Priyanka N, Cruz Antony J, GowriManohari V (2023) Segmentation of Shopping Mall Customers Using Clustering. In: Jeena Jacob I, Shanmugam SK, Izonin I (eds) Data Intelligence and Cognitive Informatics: Proceedings of ICDICI 2022. Springer Nature Singapore, Singapore, pp 619–629. https://doi.org/10.1007/978-981-19-6004-8_48
Goldberg DE (1989) Genetic Algorithms in Search, Optimization, and Machine Learning
Golilarz NA, Gao H, Addeh A, Pirasteh S. (2020) ORCA Optimization Algorithm: A New Meta-Heuristic Tool for Complex Optimization Problems. 2020 17th International Computer Conference on Wavelet Active Media Technology and Information Processing, ICCWAMTIP 2020 198–204. https://doi.org/10.1109/ICCWAMTIP51612.2020.9317473
Gomes MA, Meisen T (2023) A review on customer segmentation methods for personalized customer targeting in e-commerce use cases. Info Syst e-Bus Manag 21(3):527–570. https://doi.org/10.1007/s10257-023-00640-4
Haupt RL, Haupt SE (2004) The continuous genetic algorithm. In: Haupt RL, Haupt SE (eds) Practical genetic algorithms, 2nd edn. John Wiley, pp 51–66
Hung PD, Hanh TD, Diep VT (2018) Breast cancer prediction using spark MLlib and ML packages. In: ACM International Conference Proceeding Series. Association for Computing Machinery, New York, New York, USA, pp 52–59
Hung PD, Thuy Lien NT, Ngoc ND (2019) Customer segmentation using hierarchical agglomerative clustering. In: ACM International Conference Proceeding Series. Association for Computing Machinery, New York, New York, USA, pp 33–37
Hung PD, Linh DQ (2019) Implementing an android application for automatic Vietnamese business card recognition. Pattern Recognit Image Anal 29:156–166. https://doi.org/10.1134/S1054661819010188
Kansal T, Bahuguna S, Singh V, Choudhury T (2018) Customer Segmentation using K-means Clustering. Proc Int Conf Compu Techn, Electron a Mech Syst, CTEMS 2018:135–139. https://doi.org/10.1109/CTEMS.2018.8769171
Kleinberg J, Papadimitriou C, Raghavan P (2004) Segmentation problems. J ACM 51:263–280. https://doi.org/10.1145/972639.972644
Kuo RJ, Zulvia FE (2018) Automatic clustering using an improved artificial bee colony optimization for customer segmentation. Knowl Inf Syst 57:331–357. https://doi.org/10.1007/s10115-018-1162-5
Lappas PZ, Xanthopoulos SZ, Yannacopoulos AN (2023) Metaheuristic-Based Machine Learning Approach for Customer Segmentation. 101–133. https://doi.org/10.1007/978-981-19-3888-7_4
Li J, Li J, He H (2011) A simple and accurate approach to hierarchical clustering. J Comput Info Syst 7:2577–2584
Li Y, Chu X, Tian D et al (2021) Customer segmentation using K-means clustering and the adaptive particle swarm optimization algorithm. Appl Soft Comput 113:107924. https://doi.org/10.1016/J.ASOC.2021.107924
Li Y, Lu W, Pan Z et al (2023) Simultaneous identification of groundwater contaminant source and hydraulic parameters based on multilayer perceptron and flying foxes optimization. Environ Sci Pollut Res 1:1–15. https://doi.org/10.1007/S11356-023-27574-1/FIGURES/10
Lin PJ, Samadi B, Cipolone A, et al (2006) Development of a synthetic data set generator for building and testing information discovery systems. In: Proceedings - Third International Conference onInformation Technology: New Generations, ITNG 2006. pp 707–712
Lizarraga E, Valdez F, Castillo O, Melin P (2023) Fuzzy Dynamic parameter adaptation in the mayfly algorithm: implementation of fuzzy adaptation and tests on benchmark functions and neural networks. Stud Comput Intell 1061:69–84. https://doi.org/10.1007/978-3-031-22042-5_4/COVER
Machauer A, Morgner S (2001) Segmentation of bank customers by expected benefits and attitudes. Int J Bank Mark 19:6–18. https://doi.org/10.1108/02652320110366472
Marinaki M, Taxidou A, Marinakis Y (2023) A hybrid dragonfly algorithm for the vehicle routing problem with stochastic demands. Intell Syst Appl 18:200225. https://doi.org/10.1016/J.ISWA.2023.200225
Mastrothanasis K, Zervoudakis K, Kladaki M (2024) An application of Computational Intelligence in group formation for digital drama education. Iran J Comput Sci 2024:1–13. https://doi.org/10.1007/S42044-024-00186-9
Mastrothanasis K, Zervoudakis K, Kladaki M, Tsafarakis S (2023) A bio-inspired computational classifier system for the evaluation of children’s theatrical anxiety at school. Educ Inf Technol (Dordr) 1–24. https://doi.org/10.1007/s10639-023-11645-4
Matlab Statistics and Machine Learning Toolbox (2019) Sample Data Sets - MATLAB & Simulink. https://www.mathworks.com/help/stats/sample-data-sets.html. Accessed 21 Feb 2020
Menesy AS, Ramadan HA, Kamel S, et al (2023) Optimal Parameters Identification of PEMFC Using Flying Foxes Optimization Algorithm. 2023 IEEE International Conference on Energy Technologies for Future Grids, ETFG 2023. https://doi.org/10.1109/ETFG55873.2023.10407961
Nobile MS, Cazzaniga P, Besozzi D et al (2018) Fuzzy self-tuning PSO: a settings-free algorithm for global optimization. Swarm Evol Comput 39:70–85. https://doi.org/10.1016/j.swevo.2017.09.001
Pantourakis M, Tsafarakis S, Zervoudakis K et al (2022) Clonal selection algorithms for optimal product line design: a comparative study. Eur J Oper Res 298:585–595. https://doi.org/10.1016/J.EJOR.2021.07.006
Polap D, Woźniak M (2017) Polar bear optimization algorithm: meta-heuristic with fast population movement and dynamic birth and death mechanism. Symmetry 9:203. https://doi.org/10.3390/SYM9100203
Połap D, Woźniak M (2021) Red fox optimization algorithm. Expert Syst Appl 166:114107. https://doi.org/10.1016/J.ESWA.2020.114107
Ran X, Xi Y, Yonggang Lu, Wang X, Zhenyu Lu (2022) Comprehensive survey on hierarchical clustering algorithms and the recent developments. Art Int Rev 56(8):8219–8264. https://doi.org/10.1007/s10462-022-10366-3
Roshan H, Afsharinezhad M (2017) The new approach in market segmentation by using RFM model. J Appl Res Ind Eng 4:259–267. https://doi.org/10.22105/jarie.2017.91297.1011
Saida IB, Nadjet K, Omar B (2014) A new algorithm for data clustering based on cuckoo search optimization. In: Advances in Intelligent Systems and Computing. Springer Verlag, pp 55–64
Santos MS, Abreu PH, Fernández A et al (2022) The impact of heterogeneous distance functions on missing data imputation and classification performance. Eng Appl Artif Intell 111:104791. https://doi.org/10.1016/J.ENGAPPAI.2022.104791
Savic A, Bjelobaba G, Janicijevic S, Stefanovic H (2019) An Application of PCA Based K-Means Clustering for Customer Segmentation in One Luxury Goods Company. UBT International Conference
Smith JA, Amine LS (2015) Modern versus postmodern consumer segmentation in international business: a comparative analysis and research agenda. Dev Mark Sci: Proc Acad Marketing Sci 27:141. https://doi.org/10.1007/978-3-319-11761-4_70/COVER
Sugeno M (1985) Industrial applications of fuzzy control. North-Holland
Taheri S, Bagirov AM, Sultanova N, Ordin B (2024) Robust clustering algorithm: the use of soft trimming approach. Pattern Recognit Lett 185:15–22. https://doi.org/10.1016/J.PATREC.2024.06.032
Tian Y, Shao L (2010) Customer segmentation based on ant clustering algorithm. 2010 2nd International Conference on Computational Intelligence and Natural Computing, CINC 2010 1:133–136. https://doi.org/10.1109/CINC.2010.5643876
Tsafarakis S, Zervoudakis K, Andronikidis A, Altsitsiadis E (2020) Fuzzy self-tuning differential evolution for optimal product line design. Eur J Oper Res 287:1161–1169. https://doi.org/10.1016/j.ejor.2020.05.018
Tsiptsis K, Chorianopoulos A (2010) Data mining techniques in CRM: inside customer segmentation. john Wiley and Sons, Chichester, UK
Yang Y, Guan X, You J (2002) CLOPE: A fast and effective clustering algorithm for transactional data. In: Proceedings of the ACM SIGKDD International Conference on Knowledge Discovery and Data Mining
Yang X-S, He X (2013) Firefly algorithm: recent advances and applications. Int J Swarm Intell 1:36–50. https://doi.org/10.1504/IJSI.2013.055801
Zakrzewska D, Murlewski J (2005) Clustering algorithms for bank customer segmentation. Proceedings - 5th International Conference on Intelligent Systems Design and Applications 2005, ISDA ’05 2005:197–202. https://doi.org/10.1109/ISDA.2005.33
Zervoudakis K, Tsafarakis S (2020) A mayfly optimization algorithm. Comput Ind Eng 145:106559. https://doi.org/10.1016/j.cie.2020.106559
Zervoudakis K, Tsafarakis S (2023) A global optimizer inspired from the survival strategies of flying foxes. Eng Comput 39:1583–1616. https://doi.org/10.1007/S00366-021-01554-w
Zervoudakis K, Mastrothanasis K, Tsafarakis S (2019) Forming automatic groups of learners using particle swarm optimization for applications of differentiated instruction. Comput Appl Eng Educ 28:282–292. https://doi.org/10.1002/cae.22191
Zhang M, Zhang Z, Qiu S (2018) A customer segmentation model based on affinity propagation algorithm and improved genetic k-means algorithm. IFIP advances in information and communication technology. Springer, New York LLC, pp 321–327
Zhang C, Song Z, Yang Y et al (2024) A Decomposition-based multi-objective flying foxes optimization algorithm and its applications. Biomimetics 9:417. https://doi.org/10.3390/BIOMIMETICS9070417
Funding
The authors did not receive support from any organization for the submitted work.
Author information
Authors and Affiliations
Contributions
All authors contributed to the study conception and design. Material preparation, software development, data collection and analysis were performed by Konstantinos Zervoudakis and Stelios Tsafarakis. The first draft of the manuscript was written by Konstantinos Zervoudakis and Stelios Tsafarakis revised the manuscript. All authors read and approved the final manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors have no relevant financial or non-financial interests to disclose.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Zervoudakis, K., Tsafarakis, S. Customer segmentation using flying fox optimization algorithm. J Comb Optim 49, 5 (2025). https://doi.org/10.1007/s10878-024-01243-6
Accepted:
Published:
DOI: https://doi.org/10.1007/s10878-024-01243-6