AN EXPLAINABLE AI APPROACH TO HYPERPARAMETER TUNING FOR XGBOOST CUSTOMER CHURN PREDICTION
DOI:
https://doi.org/10.33480/jitk.v12i2.7754Keywords:
Customer churn, explainable AI, hyperparameter tuning, model interpretability, XGBoostAbstract
In the 2026 digital-first economy, AI transparency has emerged as a fundamental necessity for data driven decision making. This research aims to address customer churn prediction challenges in the telecommunications sector by proposing an Explainable AI (XAI) framework. The proposed model utilizes XGBoost optimized through Bayesian Optimization (BO) to ensure peak predictive performance. The primary focus of this research is to bridge the gap between high-level model performance and the need for managerial interpretation through the implementation of SHAP (SHapley Additive exPlanations). To overcome the "black-box" nature of the algorithm, SHAP is integrated to provide interpretability for stakeholders. Analyzing 7,043 customer records, the study involves rigorous data preprocessing and automated hyperparameter tuning. Experimental results indicate that the optimized model outperforms the baseline, achieving an AUC of 0.91 and an accuracy of 0.87. Furthermore, SHAP analysis identifies tenure, contract type, and monthly charges as the most significant drivers of churn. This study demonstrates that combining advanced optimization with XAI techniques yields a model that is both highly accurate and strategically actionable for designing customer retention programs.
Downloads
References
[1] I. Huda, A. A. Suhendra, and M. A. Bijaksana, “Design of Prediction Model using Data Mining for Segmentation and Classification Customer Churn in E-Commerce Mall in Mall,” International Journal on Informatics Visualization, vol. 7, no. 4, pp. 2280–2289, 2023, doi: 10.30630/joiv.7.4.2414.
[2] S. M. Sina Mirabdolbaghi and B. Amiri, “Model Optimization Analysis of Customer Churn Prediction Using Machine Learning Algorithms with Focus on Feature Reductions,” Discrete Dynamics in Nature and Society, vol. 2022, 2022, doi: 10.1155/2022/5134356.
[3] R. S. Abdullah, N. S. S. Nulizairos, N. H. M. Ariffin, D. Witarsyah, and R. Maskat, “Predicting and Explaining Customer Response to Upselling in Telecommunications: A Malaysian Case Study,” International Journal on Informatics Visualization, vol. 8, no. 3–2, pp. 1861–1868, 2024, doi: 10.62527/joiv.8.3-2.2823.
[4] R. Babatunde, S. O. Abdulsalam, O. A. Abdulsalam, and M. O. Arowolo, “Classification of customer churn prediction model for telecommunication industry using analysis of variance,” IAES International Journal of Artificial Intelligence, vol. 12, no. 3, pp. 1323–1329, 2023, doi: 10.11591/ijai.v12.i3.pp1323-1329.
[5] A. Hermawan, W. Wijaya, and B. Daniawan, “Optimizing Artificial Neural Network for Customer Churn: Advanced Data Balancing and Feature Selection,” International Journal on Informatics Visualization, vol. 9, no. 3, pp. 1132–1141, 2025, doi: 10.62527/joiv.9.3.3064.
[6] M. Shahabikargar, A. Beheshti, X. Zhang, J. Foo, and A. Jolfaei, “A comprehensive survey on customer churn analysis studies,” Journal of Information and Telecommunication, vol. 1839, pp. 1–47, 2025, doi: 10.1080/24751839.2025.2528440.
[7] Z. Zhu, “Customer Churn Prediction Based on Big Data and Machine Learning Approaches,” in Proceedings of the 8th International Conference on Financial Innovation and Economic Development (ICFIED 2023), Atlantis Press International BV, 2023, pp. 4–15. doi: 10.2991/978-94-6463-142-5_2.
[8] K. C. Mouli et al., “An analysis on classification models for customer churn prediction,” Cogent Engineering, vol. 11, no. 1, p., 2024, doi: 10.1080/23311916.2024.2378877.
[9] B. Prabadevi, R. Shalini, and B. R. Kavitha, “Customer churning analysis using machine learning algorithms,” International Journal of Intelligent Networks, vol. 4, no. May, pp. 145–154, 2023, doi: 10.1016/j.ijin.2023.05.005.
[10] S. M. Abdulrahman, R. R. Asaad, H. B. Ahmad, A. A. Hani, S. R. M. Zeebaree, and A. B. Sallow, “Machine Learning in Nonlinear Material Physics,” Journal of Soft Computing and Data Mining, vol. 5, no. 1, pp. 122–131, 2024, doi: 10.30880/jscdm.2024.05.01.010.
[11] N. A. B. M. Zahruddin, N. D. Kamarudin, R. M. Jusoh, N. A. A. Fataf, and R. Hidayat, “Case Study: Using Data Mining to Predict Student Performance Based on Demographic Attributes,” International Journal on Informatics Visualization, vol. 7, no. 4, pp. 2460–2468, 2023, doi: 10.30630/joiv.7.4.2454.
[12] L. Yang, Z. Chen, and G. Li, “Satellite Image Price Prediction Based on Machine Learning,” Remote Sensing, vol. 17, no. 12, pp. 1–27, 2025, doi: 10.3390/rs17121960.
[13] M. C. Younis, R. M. Ramo, and B. S. Bahnam, “Explainable Deep Learning for Hyperparameter Optimization-Based Prediction of Solar Radiation Intensity Classification,” Vietnam Journal of Computer Science, vol. 0, pp. 1–25, 2025, doi: 10.1142/S2196888825500058.
[14] N. Mahboubi, J. Xie, and B. Huang, “Point-by-point transfer learning for Bayesian optimization: An accelerated search strategy,” Computers and Chemical Engineering, vol. 194, p. 108952, 2025, doi: 10.1016/j.compchemeng.2024.108952.
[15] M. A. Atiea, R. Reda, S. Ataya, and M. Ibrahim, “Explainable AI and Feature Engineering for Machine-Learning-Driven Predictions of the Properties of Cu-Cr-Zr Alloys: A Hyperparameter Tuning and Model Stacking Approach,” Processes, vol. 13, no. 5, pp. 1–26, 2025, doi: 10.3390/pr13051451.
[16] Q. A. Hidayaturrohman and E. Hanada, “Impact of Data Pre-Processing Techniques on XGBoost Model Performance for Predicting All-Cause Readmission and Mortality Among Patients with Heart Failure,” BioMedInformatics, vol. 4, no. 4, pp. 2201–2212, 2024, doi: 10.3390/biomedinformatics4040118.
[17] Arisandy, B. Erfianto, and Setyorini, “Enhancing Contactless Respiratory Rate Measurement Accuracy: Integration of 24GHz FMCW Radar and XGBoost Machine Learning,” International Journal on Informatics Visualization, vol. 8, no. 4, pp. 2336–2343, 2024, doi: 10.62527/joiv.8.4.2654.
[18] Y. Pristyanto, Z. Mukarabiman, and A. F. Nugraha, “Extreme Gradient Boosting Algorithm to Improve Machine Learning Model Performance on Multiclass Imbalanced Dataset,” International Journal on Informatics Visualization, vol. 7, no. 3, pp. 710–715, 2023, doi: 10.30630/joiv.7.3.1102.
[19] N. A. Rahmi, S. Defit, and Okfalisa, “The Use of Hyperparameter Tuning in Model Classification: A Scientific Work Area Identification,” International Journal on Informatics Visualization, vol. 8, no. 4, pp. 2181–2188, 2024, doi: 10.62527/joiv.8.4.3092.
[20] H. Lamane, L. Mouhir, R. Moussadek, B. Baghdad, O. Kisi, and A. El Bilali, “Interpreting machine learning models based on SHAP values in predicting suspended sediment concentration,” International Journal of Sediment Research, vol. 40, no. 1, pp. 91–107, 2025, doi: 10.1016/j.ijsrc.2024.10.002.
[21] S. M. Dalhatu and M. A. A. Murad, “A Model for Enhancing Pattern Recognition in Clinical Narrative Datasets through Text-Based Feature Selection and SHAP Technique,” International Journal on Informatics Visualization, vol. 8, no. 4, pp. 2287–2296, 2024, doi: 10.62527/joiv.8.4.3664.
[22] N. Ndahiro, E. Ma, T. Bertalan, M. Donohue, Y. Kevrekidis, and M. Betenbaugh, “Integration of Bayesian optimization and solution thermodynamics to optimize media design for mammalian biomanufacturing,” iScience, vol. 28, no. 8, p. 112944, 2025, doi: 10.1016/j.isci.2025.112944.
[23] J. Lim, M. Choi, and S. Lee, “A Bayesian Optimization Algorithm for the Optimization of Mooring System Design Using Time-Domain Analysis,” Journal of Marine Science and Engineering, vol. 11, no. 3, 2023, doi: 10.3390/jmse11030507.
[24] A. Raut and C. Puri, “Customer Churn Prediction Using Machine Learning and Explainable AI,” in 7th International Conference on Mobile Computing and Sustainable Informatics (ICMCSI), 2026, pp. 1249–1254. doi: 10.1109/ICMCSI67283.2026.11412808.
[25] K. Peng and Y. Peng, “Research on Telecom Customer Churn Prediction Based on GA-XGBoost and SHAP,” Journal of Computer and Communications, vol. 10, pp. 107–120, 2022, doi: 10.4236/jcc.2022.1011008.
[26] Pandikumar and M. Shoukath, “An Explainable AI Approach for Telecom Churn Prediction and Retention Strategy Design Using XGBoost and SHAP,” International Journal of Scientific Research in Engineering and Management (IJSREM), vol. 9, no. 9, pp. 1–11, 2025, doi: 10.55041/IJSREM52569.
[27] D. Asif, M. Shoaib, and A. Mukheimer, “Results in Engineering A data-driven approach with explainable artificial intelligence for customer churn prediction in the telecommunications industry,” Results in Engineering, vol. 26, no. January, p. 104629, 2025, doi: 10.1016/j.rineng.2025.104629.
[28] J. Maan and H. Maan, “Customer Churn Prediction Model using Explainable Machine learning,” International Journal of Computer Science Trends and Technology (IJCST), vol. 11, no. 1, pp. 33–38, 2023, doi: https://doi.org/10.48550/arXiv.2303.00960.
[29] T. Shoko, T. Verster, and L. Dube, “Comparative analysis of classical and Bayesian optimisation techniques : Impact on model performance and interpretability in credit risk modelling using SHAP and PDPs,” Data Science in Finance and Economics, vol. 5, no. 3, pp. 320–354, 2025, doi: 10.3934/DSFE.2025014.
[30] B. S. Priya, G. Chitra, and R. Ramalakshmi, “Performance comparison of sampling techniques with machine learning algorithms for churn prediction in telecommunication,” Franklin Open, vol. 13, no. August, p. 100402, 2025, doi: 10.1016/j.fraope.2025.100402.
[31] A. El Attar and M. El-hajj, “Explainable AI-driven customer churn prediction: a multi-model ensemble approach with SHAP-based feature analysis,” Front. Artif. Intell, vol. 9, no. 1, pp. 1–23, 2026, doi: 10.3389/frai.2026.1748799.
[32] J. Yuan and H. Liu, “Telecom Customer Churn Prediction with Explainable Machine Learning,” in 2025 2nd International Conference on Modeling, Natural Language Processing and Machine Learning (CMNM 2025), May 16-18, 2025, Fuzhou, China, Association for Computing Machinery, 2025, pp. 246–250. doi: 10.1145/3757110.3757152.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Ahmad Fauzi, Budi Al Amin, Heribertus Ary Setyadi, Dahlan Susilo

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.




-a.jpg)
-b.jpg)












