A Hybrid Stacking Ensemble Model with Temporal Validation and SHAP Explainability for Intelligent Financial Fraud Detection

المؤلفون

  • Mohammed Mustafa AbdulAli Department of Computer, Higher Institute of Science and Technology, Musaid, Libya المؤلف
  • Mansaf M Elmansori Department of Computer, College of Technical Sciences Derna, Libya المؤلف
  • Aeman I. G. Masbah Department of Computer, College of Technical Sciences Derna, Libya المؤلف

DOI:

https://doi.org/10.65405/n7sfr303

الكلمات المفتاحية:

Fraud detection, stacking ensemble, SHAP, time-series validation, interpretability, financial transactions

الملخص

Financial fraud detection in digital transactions remains a critical challenge for modern financial institutions. This study proposes an intelligent hybrid stacking ensemble that integrates LightGBM, HistGradientBoosting, and Logistic Regression, optimized using Optuna and evaluated through time-based cross-validation. Across five temporal folds, the proposed model achieved outstanding predictive performance, with F1-scores ranging from 0.96 to 1.00 and ROC AUC scores approaching 1.00. When tested on unseen future data, it maintained an F1-score of 0.94 for the minority (fraudulent) class and an overall ROC AUC of 0.9999, confirming strong generalization capability. SHAP-based explainability revealed that features such as transaction amount ratios and balance differences were the dominant factors influencing predictions, aligning well with domain intuition. Compared with benchmark models including Autoencoder, LSTM, and Isolation Forest, the proposed ensemble demonstrated superior accuracy, interpretability, and robustness highlighting its practical value for real-time fraud detection in financial systems.

التنزيلات

تنزيل البيانات ليس متاحًا بعد.

المراجع

[1] Udeh, E., & Amajuoyi, J. (2024). Machine learning techniques for fraud detection. Retrieved from Consensus

[2] Chang, V., Doan, L., Stefano, A., Sun, Z., & Fortino, G. (2022). Digital payment fraud detection methods in digital ages and Industry 4.0. Computers & Electrical Engineering, 100, 107734. https://doi.org/10.1016/j.compeleceng.2022.107734

[3] Gandhi, V., & Gajjar, T. (2024). Enhancing fraud detection in financial transactions through cyber security measures. International Journal of Scientific Research in Computer Science, Engineering and Information Technology. https://doi.org/10.32628/cseit2410281

[4] Hashemi, S., Mirtaheri, S., & 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

[5] Khalid, A., 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), 6. https://doi.org/10.3390/bdcc8010006

[6] Pan, E. (2024). Machine learning in financial transaction fraud detection and prevention. Transactions on Economics, Business and Management Research. https://doi.org/10.62051/16r3aa10

[7] Gandhi, V., & Gajjar, T. (2024). Enhancing fraud detection in financial transactions through cyber security measures. International Journal of Scientific Research in Computer Science, Engineering and Information Technology. https://doi.org/10.32628/cseit2410281

[8] Udeh, E., Amajuoyi, P., Adeusi, K., & Scott, A. (2024). The role of big data in detecting and preventing financial fraud in digital transactions. World Journal of Advanced Research and Reviews, 22(2), 1746–1760. https://wjarr.com/sites/default/files/WJARR-2024-1575.pdf

[9] Hashemi, S., Mirtaheri, S., & 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

[10] Rai, A., & Dwivedi, R. (2020). Comparative analysis of machine learning algorithms for fraud detection. International Journal of Computer Applications, 176(30), 1–6. (Note: If this reference is not accessible or lacks DOI, consider replacing it with a more recent source.)

[11] Pan, E. (2024). Machine learning in financial transaction fraud detection and prevention. Transactions on Economics, Business and Management Research. https://doi.org/10.62051/16r3aa10

[12] Lundberg, S. M., & Lee, S.-I. (2017). A unified approach to interpreting model predictions. Advances in Neural Information Processing Systems, 30. https://proceedings.neurips.cc/paper_files/paper/2017/file/8a20a8621978632d76c43dfd28b67767-Paper.pdf

[13] Abdelali, M. M. (2025). Fraud Detection via Stacking Ensemble with SHAP Interpretability [Source code]. GitHub. https://github.com/MohamedAlobede86/fraud-detection-stacking

[14] Ananthu19. Online Payments Fraud Detection. Kaggle. Available at: https://www.kaggle.com/code/ananthu19/online-payments-fraud-detection [Accessed: Nov. 2025].

التنزيلات

منشور

2026-01-12

كيفية الاقتباس

A Hybrid Stacking Ensemble Model with Temporal Validation and SHAP Explainability for Intelligent Financial Fraud Detection. (2026). مجلة العلوم الشاملة, 10(ملحق 38), 751-760. https://doi.org/10.65405/n7sfr303