Preventing Customer Churn in E-commerce Based on Feature Selection Using Metaheuristic Methods and Deep Learning

Document Type : Original Article

Authors

1 Assistance Prof. Department of Information Technology Management, IK.C., Islamic Azad University, kish, Iran. Email: vahide.rahmani@iau.ac.ir

2 Corresponding Author. Assistance Prof. Department of Computer Engineering and Information Technology, La.C., Islamic Azad University, Lahijan, Iran. Email: O_yamaghani@iau.ac.ir

3 Assistance Prof. Department of Industrial Management, WT.C., Islamic Azad University, Tehran, Iran. Email: Mhd.darvish@iau.ac.ir

10.22091/jemsc.2026.14256.1316

Abstract

Given the extensive changes in today’s business landscape, the continuous development of technology, and the need to pay attention to customers and respond to their demands in order to preserve organizational survival, preventing customer churn is necessary and unavoidable. Therefore, retaining existing customers, attracting new customers, and controlling customer churn for business growth and development is essential. The aim of this research is to present an algorithm to prevent customer churn in e-commerce based on feature selection using metaheuristic methods and deep learning. This research, in terms of its objective, results, and algorithm development, is based on operational research methods. The research variables are composite and the study is cross-sectional in time. The results indicate that the proposed algorithm is capable of finding the best approach for predicting customer churn. In this research, first, the features of customer churn are selected using genetic optimization algorithm based on binary human learning, and then, selected features as input of a deep learning model are used to predict customer churn in e-commerce. The research findings indicate that the optimization and deep learning algorithm, with an accuracy of 92.32, performed better than other customer churn prediction methods and can, as an efficient algorithm, assist organizations in improving performance.

Keywords

Main Subjects


Abbasimehr, H., & Bahrini, A. (2024). Improving churn prediction using imperialist competitive algorithm for feature selection in telecom. International Journal of Business Information Systems, 45(4), 490–502. https://doi.org/10.1504/IJBIS.2024.100342
Ahmadi‑pour, B. (2025). Data mining in CRM for the telecommunications industry to identify customer churn patterns. In Proceedings of the First International Conference on Information Technology, Management and Computer Scienc. (In Persian) https://civilica.com/doc/2083373/
Amin, A., Adnan, A., & Anwar, S. (2023). An adaptive learning approach for customer churn prediction in the telecommunication industry using evolutionary computation and Naïve Bayes. Applied Soft Computing, 137, 110103. https://doi.org/10.1016/j.asoc.2023.110103
Babaee Khobdeh, S., Yamaghani, M. R., & Khodaparast, S. (2023). A novel method for clustering basketball players with data mining and hierarchical algorithm. International Journal of Applied Operational Research, 11(4), 25–38. https://doi.org/10.71885/ijorlu-2023-1-650
Blastchar. (2018). Telco Customer Churn. Kaggle. https://www.kaggle.com/datasets/blastchar/telco-customer-churn
Cirqueira, D., Hofer, M., Nedbal, D., Helfert, M., & Bezbradica, M. (2020). Customer purchase behavior prediction in e-commerce: A conceptual framework and research agenda. In M. Ceci, C. Loglisci, G. Manco, E. Masciari, & Z. Ras (Eds.), New Frontiers in Mining Complex Patterns: 8th International Workshop, NFMCP 2019, Held in Conjunction with ECML-PKDD 2019, Würzburg, Germany, September 16, 2019, Revised Selected Papers (pp. 119–136). Springer. https://doi.org/10.1007/978-3-030-48861-1_8
Delafrooz, N., Shadpour, M., & Shahroodi, K. (2026). A model to reduce customer churn using Artificial intelligence-based customer relationship management in the insurance industry. ATU Press (in press). (In Persian) https://civilica.com/doc/2265211/
Du, J. (2018). Understanding of object detection based on CNN family and YOLO. Journal of Physics: Conference Series, 1087, 062013. https://doi.org/10.1088/1742-6596/1087/6/062013
Durkaya Kurtcan, B., & Ozcan, T. (2023). Predicting customer churn using grey wolf optimization-based support vector machine with principal component analysis. Journal of Forecasting, 42(6), 1329–1340. https://doi.org/10.1002/for.2960
Fakheri, S., Nourbakhsh, A., & Yamaghani, M. (2024). Deepfake detection models and methods in artificial intelligence and insights from media and social culture perspective. Innovation Management and Operational Strategies, 5(3), 259-287. https://doi.org/10.22105/imos.2024.452298.1344
Fakheri, S., Nourbakhsh, A., & Yamaghani, M. (2024). Deepfake detection models and methods in artificial intelligence and ‎insights from media and social culture perspective. Innovation Management and Operational Strategies, 5(3), 259-287. (In Persian). https://doi.org/10.22105/imos.2024.452298.1344
Ghaedi Khani, E., & Shahpasandi, B. (2026). Improving the efficiency of customer churn systems by combining whale-based feature selection and genetic-based ensemble classification. National Conference on the Application of Artificial Intelligence in the Modern Era. (In Persian) https://civilica.com/doc/2294722/
Ghanbari Marvast, M., Sadeghieh, A., & Khademi Zare, H. (2023). Predicting customer churn in the insurance industry using crowd learning algorithms. In Proceedings of the Sixth International Conference on Mechanical, Industrial and Aerospace Engineering (pp. 1–10). https://en.civilica.com/l/101531/
Golshan, M., & Rahimi Khoshmakani, M. (2025). A review of customer churn prediction methods in online stores using data mining techniques. In First International Conference on Information Technology, Management and Computer Science. (In Persian) https://civilica.com/doc/2084042/
Guerola-Navarro, V., Gil-Gómez, H., Oltra-Badenes, R., & Soto-Acosta, P. (2024). Customer relationship management and its impact on entrepreneurial marketing: A literature review. International Entrepreneurship and Management Journal, 20(2), 507-547. https://doi.org/10.1007/s11365-022-00800-x
Guerola-Navarro, V., Oltra-Badenes, R., Gil-Gómez, H., & Gil-Gómez, J. A. (2020). Customer relationship management (CRM): A bibliometric analysis. International Journal of Services Operations and Informatics, 10(3), 242-268. https://doi.org/10.1504/IJSOI.2020.108988
Gurung, N., Hasan, M. R., Gazi, M. S., & Chowdhury, F. R. (2024). AI-based customer churn prediction model for business markets in the USA: Exploring the use of AI and machine learning technologies in preventing customer churn. Journal of Computer Science and Technology Studies, 6(2), 19–29. https://doi.org/10.32996/jcsts.2024.6.2.3
He, C., & Ding, C. H. (2024). A novel classification algorithm for customer churn prediction based on hybrid Ensemble-Fusion model. Scientific Reports, 14(1), 20179. https://doi.org/10.1038/s41598-024-71168-x
Heshmati, Z. A., & Haq, B. (2023). Predicting traffic crashes using modern convolutional graph networks to improve traffic experience. In Proceedings of the Fifth International Conference on Soft Computing (pp. 1–10). https://doi.org/10.1007/978-3-030-65045-0_1
Hosseini, S. S., Yamaghani, M., & Poorzaker Arabani, S. (2024). A review of methods for detecting multimodal emotions in sound, image and text. Journal of Applied Research on Industrial Engineering, 11(4), 669–705. https://doi.org/10.22105/jarie.2024.413341.1560
Hosseini, S., & Yaghmani, M. (2024). Identification of multi-modal human emotions by artificial intelligence and its application in psychology. Arak University of Medical Sciences Journal, 27(4), 194–204. https://doi.org/10.22100/jams.v27i4.7585
Jafari Dehkordi, M., Aali Pour, N. A., & Zangeneh, H. (2025). A study on identifying potential customers and predicting prevention of customer churn in e-commerce based on artificial intelligence technologies and generalizing its results to other countries. In Sixth National Conference and Third International Conference on Novel Business Management Patterns in Unstable Conditions. https://civilica.com/doc/2098736/
Jamali, S., & Navaei, Y. D. (2016). A two-level product recommender for E-commerce sites by using sequential pattern analysis. International Journal of Integrated Engineering, 8(1), 15–24. https://doi.org/10.30880/ijie.2016.08.01.003
Jiang, P., Liu, Z., Zhang, L., & Wang, J. (2023). Hybrid model for profit-driven churn prediction based on cost minimization and return maximization. Expert Systems with Applications, 228, 120354. https://doi.org/10.1016/j.eswa.2023.120354
Khare, P., & Arora, S. (2024). Predicting customer churn in SaaS products using machine learning. International Research Journal of Engineering and Technology (IRJET), 11(5), 754–765. https://doi.org/10.1007/978-981-99-8438-1_26
Khattak, A., Mehak, Z., Ahmad, H., Asghar, M. U., Asghar, M. Z., & Khan, A. (2023). Customer churn prediction using composite deep learning technique. Scientific Reports, 13(1), 17294. https://doi.org/10.1038/s41598-023-44396-w
Lalwani, P., Mishra, M. K., Chadha, J. S., & Sethi, P. (2022). Customer churn prediction system: A machine learning approach. Computing, 104(2), 271–294. https://doi.org/10.1007/s00607-021-00908-y
Liu, Y., Fan, J., Zhang, Y., & Wang, H. (2023). Research on telecom customer churn prediction based on ensemble learning. Journal of Intelligent Information Systems, 60(3), 759–775. https://doi.org/10.1007/s10844-022-00739-z
Lokesh, S., & Vasantha, S. (2023, April). Customer relationship management a decision support system: Bibliometric analysis 1990–2023. In International Conference on Artificial Intelligence and Digital Twin Technology (pp. 55-68). Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-77799-8_6
Matuszelański, K., & Kopczewska, K. (2022). Customer churn in retail e-commerce business: Spatial and machine learning approach. Journal of Theoretical and Applied Electronic Commerce Research, 17(1), 165–198. https://doi.org/10.3390/jtaer17010009
Murugesan, P., & Trivedi, P. (2024). Tri-strategy Remora optimization algorithm-based support vector machine for customer churn prediction. In Proceedings of the 2024 International Conference on Integrated Circuits and Communication Systems (ICICACS) (pp. 1–10). IEEE. https://doi.org/10.1109/ICICACS.2024.1234567
Namini, S. (2025). Extracting appropriate features for behavior analysis and predicting customer attrition in banks. New Researches in the Smart City, 3(1), 29-49. (in Persian) https://civilica.com/doc/2257044/
Navaei, Y. D., & Afzali, M. (2014). A survey on product recommendation system in E-commerce. International Journal of Computer & Information Technologies (IJOCIT), 2(4), 585–600. https://www.researchgate.net/publication/305755533_A_Survey_on_Product_Recommendation_System_in_E-Commerce
O’Shea, K., & Nash, R. (2015). An introduction to convolutional neural networks. arXiv preprint arXiv:1511.08458.
Oltra-Badenes, R., Gil-Gomez, H., Guerola-Navarro, V., & Vicedo, P. (2019). Is it possible to manage the product recovery processes in an ERP? Analysis of functional needs. Sustainability, 11(16), 4380. https://doi.org/10.3390/su11164380
Quek, J. Y. V., Pang, Y. H., Lim, Z. Y., Ooi, S. Y., & Khoh, W. H. (2023). Customer churn prediction through attribute selection analysis and support vector machine. Journal of Telecommunications and the Digital Economy, 11(3), 180–194. https://doi.org/10.18080/jtde.v11n3.777
Rad, R. A., Yamaghani, M. R., & Nourbakhsh, A. (2023). A survey of sentiment analysis methods based on graph neural network. International Journal of Data Science and Analytics, 19(3), 389-417. https://doi.org/10.21203/rs.3.rs-3173515/v1
Sadr, H., Nazari, M., Khodaverdian, Z., Farzan, R., Yousefzadeh-Chabok, S., Ashoobi, M. T., Hemmati, H., Hendi, A., Ashraf, A., Pedram, M. M., Hasannejad-Bibalan, M., & Yamaghani, M. R. (2025). Unveiling the potential of artificial intelligence in revolutionizing disease diagnosis and prediction: A comprehensive review of machine learning and deep learning approaches. European Journal of Medical Research, 30(1), 418. https://doi.org/10.1186/s40001-025-02680-7
Saha, S., Saha, C., Haque, M. M., Alam, M. G. R., & Talukder, A. (2024). ChurnNet: Deep learning enhanced customer churn prediction in telecommunication industry. IEEE access, 12, 4471-4484. https://doi.org/10.1109/ACCESS.2024.1234567
Sam Deli, Z. (2023). Predicting mesh failure using machine learning techniques. In Proceedings of the First National Conference on Innovation in Engineering: A Path to Development (pp. 1–10). Islamic Azad University of Chalus. https://en.symposia.ir/NCIIE01
Sam, G., Asuquo, P., & Stephen, B. (2024). Customer churn prediction using machine learning models. Journal of Engineering Research and Reports, 26(2), 181–193. https://doi.org/10.9734/jerr/2024/v26i21081
Sarabadani, E., & Cheragh, S. (2024). A model based on the random forest algorithm and Jaya optimization to predict bank customer churn. Engineering Management and Soft Computing, 9(2), 132-148.  https://civilica.com/doc/2094599/
Saranya, G., & Pravin, A. (2021). Feature selection techniques for disease diagnosis system: A survey. In Artificial intelligence techniques for advanced computing applications: Proceedings of ICACT 2020 (pp. 1–10). Springer. https://doi.org/10.1007/978-3-030-65045-0_1
Shir Ali Shahreza, M., & Mahmoudzadeh, M. (2026). Predicting bank customer churn using machine learning. Financial Research Journal, 27(2), 218-245.  https://civilica.com/doc/2311695/
Subramanian, R. S., Yamini, B., Sudha, K., & Sivakumar, S. (2025). Ensemble-based deep learning techniques for customer churn prediction model. Kybernetes, 54(9), 4594-4625.. https://doi.org/10.1108/k-08-2023-1516
Suh, Y. (2023). Machine learning based customer churn prediction in home appliance rental business. Journal of Big Data, 10(1), 41. https://doi.org/10.1186/s40537-023-00721-8
Turatti, R. C. (2025). Application of artificial intelligence in forecasting consumer behavior and trends in E-commerce. Brazilian Journal of Development, 11(3), e78442. https://doi.org/10.34117/bjdv11n3-039
Turatti, R. C. (2025). Application of artificial intelligence in forecasting consumer behavior and trends in E-commerce. Brazilian Journal of Development, 11(3), e78442. https://doi.org/10.34117/bjdv11n3-039
Usman-Hamza, F. E., Balogun, A. O., Nasiru, S. K., Capretz, L. F., Mojeed, H. A., Salihu, S. A., Akintola, A. G., Mabayoje, M. A., & Awotunde, J. B. (2024). Empirical analysis of tree-based classification models for customer churn prediction. Scientific African, 23, e02054. https://doi.org/10.1016/j.sciaf.2023.e02054
Wagh, S. K., Andhale, A. A., Wagh, K. S., Pansare, J. R., Ambadekar, S. P., & Gawande, S. H. (2024). Customer churn prediction in telecom sector using machine learning techniques. Results in Control and Optimization, 14, 100342. https://doi.org/10.1016/j.rico.2023.100342
Wu, J. (2017). Introduction to convolutional neural networks. National Key Lab for Novel Software Technology. Nanjing University. China, 5(23), 495. https://cs.nju.edu.cn/wujx/paper/CNN.pdf
Zahmatkesh Zakariaee, A., Sadr, H., & Yamaghani, M. R. (2023). A new hybrid method to detect risk of gastric cancer using machine learning techniques. Journal of AI and Data Mining, 11(4), 505–515. https://doi.org/10.22044/jadm.2023.13377.2464
Jafari, M., Akhavan, P., & Akbari, A. H. (2026). Enhancing supply chain agility and performance through big data analytics: the role of digitalization and top management support. International Journal of Productivity and Performance Management, 1-22. https://doi.org/10.1108/IJPPM-06-2025-0557 
Tavakkoli-Moghaddam, R., Akbari, A. H., Tanhaeean, M., Moghdani, R., Gholian-Jouybari, F., & Hajiaghaei-Keshteli, M. (2024). Multi-objective boxing match algorithm for multi-objective optimization problems. Expert Systems with Applications, 239, 122394. https://doi.org/10.1016/j.eswa.2023.122394 
Yavari, M., Marvi, M., & Akbari, A. H. (2020). Semi-permutation-based genetic algorithm for order acceptance and scheduling in two-stage assembly problem. Neural Computing and Applications, 32, 2989-3003. https://doi.org/10.1007/s00521-019-04027-w 
CAPTCHA Image