Explainable Fraud Detection Using Ensemble Learning and SHAP-Based Feature Interpretation

Authors

  • Shah Khadafi Institut Teknologi Adhi Tama Surabaya, East Java, Indonesia
  • Julius Cesar O. Mamaril Pangasinan State University, Philippines
  • Clark Kim C. Castro Pangasinan State University, Philippines

DOI:

https://doi.org/10.61453/jods.v20260318

Keywords:

Fraud detection, Ensemble learning, Explainable artificial intelligence, SHAP, Data mining, Process innovation

Abstract

Financial fraud detection is a challenging data science problem because fraudulent transactions are rare, adaptive, and costly when not detected early. Machine learning models can identify suspicious transaction patterns, but many high-performing models remain difficult to interpret, limiting their use in audit-oriented financial decision support. This study proposes an explainable fraud detection framework combining ensemble learning and SHAP-based feature interpretation. Random Forest, XGBoost, and LightGBM were compared with a soft-voting ensemble model using a controlled synthetic financial transaction dataset of 20,000 records, including 400 fraudulent and 19,600 legitimate transactions. Performance was evaluated using accuracy, precision, recall, F1-score, and AUC-ROC, while SHAP was used to explain global feature importance and local prediction outcomes. The voting ensemble achieved the strongest performance, with accuracy of 0.991, precision of 0.729, recall of 0.875, F1-score of 0.795, and AUC-ROC of 0.973. SHAP identified merchant risk score, customer velocity, transaction amount, location distance, and failed attempt count as the most influential fraud indicators. The findings show that explainable ensemble learning can improve fraud detection performance while supporting transparent and auditable fraud analytics

References

Al-dahasi, E. M., Alsheikh, R. K., Khan, F. A.,&Jeon, G. (2025). Optimizing fraud detection in financial transactions with machine learning and imbalance mitigation. Expert Systems, 42(2), Article e13682. https://doi.org/10.1111/exsy.13682

Ali, A., Abd Razak, S., Othman, S. H., Eisa, T. A. E., Al-Dhaqm, A., Nasser, M., Elhassan, T., Elshafie, H.,&Saif, A. (2022). Financial fraud detection based on machine learning: A systematic literature review. Applied Sciences, 12(19), Article 9637. https://doi.org/10.3390/app12199637

Ashfaq, S.,&Chowdhury, T. K. (2023). Explainable artificial intelligence (XAI) approaches for cyber risk assessment in financial services. American Journal of Interdisciplinary Studies, 4(3), 96–135. https://doi.org/10.63125/3gjcb322

Chen, J., Liu, J., Liang, Y.,&Zhou, M. (2026). KE-MLLM: A knowledge-enhanced multi-sensor learning framework for explainable fake review detection. Applied Sciences, 16(6), Article 2909. https://doi.org/10.3390/app16062909

Hashemi, S. K., Mirtaheri, S. L.,&Greco, S. (2023). Fraud detection in banking data by machine learning techniques. IEEE Access, 11, 3034–3043. https://doi.org/10.1109/ACCESS.2022.3232287

Khalid, A. R., Owoh, N., Uthmani, O., Ashawa, M., Osamor, J.,&Adejoh, J. (2024). Enhancing credit card fraud detection: An ensemble machine learning approach. Big Data and Cognitive Computing, 8(1), Article 6. https://doi.org/10.3390/bdcc8010006

Leong, W. Y., Leong, Y. Z., & Leong, W. S. (2026). Artificial intelligence-driven fraud detection: Enhancing security in digital age. In T.-H. Meen, C.-F. Yang, & C.-Y. Chang (Eds.), Proceedings of the 7th International Conference on Knowledge Innovation and Invention, Volume 1 (pp. 65–78). Springer. https://doi.org/10.1007/978-981-95-2113-5_7

Liu, S. (2026). AI and machine learning for e-commerce risk management. Springer Singapore. https://doi.org/10.1007/978-981-95-6184-1

Mathew, D. E., Ebem, D. U., Ikegwu, A. C., Ukeoma, P. E.,&Dibiaezue, N. F. (2025). Recent emerging techniques in explainable artificial intelligence to enhance the interpretable and understanding of AI models for human. Neural Processing Letters, 57(1), Article 16. https://doi.org/10.1007/s11063-025-11732-2

Nahar, J., Hossain, M. S., Rahman, M. M.,&Hossain, M. A. (2024). Advanced predictive analytics for comprehensive risk assessment in financial markets: Strategic applications and sector-wide implications. Global Mainstream Journal of Business, Economics, Development&Project Management, 3(4), 39–53. https://doi.org/10.62304/jbedpm.v3i4.148

Xie, Y., Liu, G., Yan, C., Jiang, C., Zhou, M.,&Li, M. (2024). Learning transactional behavioral representations for credit card fraud detection. IEEE Transactions on Neural Networks and Learning Systems, 35(4), 5735–5748. https://doi.org/10.1109/TNNLS.2022.3208967

Zafar, U.,&Wu, F. (2026). Methodological challenges in explainable AI for fraud detection: A systematic literature review. Artificial Intelligence Review, 59(4), Article 115. https://doi.org/10.1007/s10462-026-11516-7

Downloads

Published

2026-11-18

How to Cite

Khadafi, S., Mamaril, J. C. O., & Castro, C. K. C. (2026). Explainable Fraud Detection Using Ensemble Learning and SHAP-Based Feature Interpretation. Journal of Data Science, 2026(3), 311–322. https://doi.org/10.61453/jods.v20260318