An Explainable Credit Card Fraud Detection Model using Machine Learning and Deep Learning Approaches
Abstract
This study proposes an adaptive, interpretable real-time fraud detection and prevention system designed for high-risk financial environments, capable of processing over 1.6 million imbalanced credit card transactions with low latency. The objective is to build a unified framework that integrates predictive accuracy, explainability, and adaptability. The methodology follows four phases: exploratory data analysis to reveal structural and behavioral fraud patterns, feature engineering with domain-informed attributes and ADASYN oversampling to mitigate the 1:174 imbalance, training of multiple models (XGBoost, LightGBM, Random Forest, Gradient Boosting, and MLP), and an ensemble architecture evaluated with SHAP-based explainability. The system introduces three key contributions: stability-aware SHAP caching that reduces explanation latency to 41.2 ms, reinforcement learning–based threshold tuning that dynamically adapts to evolving fraud patterns, and out-of-distribution detection to enhance resilience against data drift. Results demonstrate strong performance, with XGBoost achieving 99.86% accuracy, 96.36% precision, 80.59% recall, F1-score of 0.878, and ROC-AUC of 0.9988, outperforming other models. The full system attained 93.2% accuracy, 90.2% F1-score, and 96.1% AUC at the system level, successfully blocking 91% of fraudulent transactions while maintaining a false positive rate of 7.8%. Novelty lies in combining explainability and adaptivity in a production-ready architecture, where reinforcement learning enables continuous threshold self-regulation and SHAP stability analysis validates interpretability across models. These findings show that high fraud detection accuracy and transparency are not mutually exclusive, offering a scalable blueprint for financial institutions and other critical domains requiring real-time, explainable, and adaptive decision-making.
Keywords
Full Text:
PDFReferences
E. R. Mill, W. Garn, N. F. Ryman-Tubb, and C. Turner, "Opportunities in real-time fraud detection: An explainable artificial intelligence (XAI) research agenda," Int. J. Adv. Comput. Sci. Appl., vol. 14, no. 5, pp. 1172–1186, 2023.
S. Suriya and R. M. Sireesha, "Credit Card Fraud Detection using Explainable AI Methods," J. Inf. Syst. Eng. Manag., vol. 10, no. 24s, 2025. [Online]. Available: https://www.jisem-journal.com/
A. Madhavi and T. Sivaramireddy, "Real-time credit card fraud detection using Spark framework," in Proc. ICACECS 2020, Machine Learning Technologies and Applications, Springer, Singapore, 2021, pp. 287–298.
M. Mallam, G. Narayanaswamy, M. Adithi, K. S. Malashree, J. V. Suman, and G. S. Prasanna, "Improvements in Fraud Prevention using Machine Learning," in Proc. 2024 4th Int. Conf. Multimedia Process., Commun. Inf. Technol. (MPCIT), pp. 103–108, Dec. 2024.
A. A. Mir, "Adaptive Fraud Detection Systems: Real-Time Learning from Credit Card Transaction Data," Adv. Comput. Sci., vol. 7, no. 1, 2024.
K. Patel, "Credit card analytics: a review of fraud detection and risk assessment techniques," Int. J. Comput. Trends Technol., vol. 71, no. 10, pp. 69–79, 2023.
R. Bin Sulaiman, V. Schetinin, and P. Sant, "Review of machine learning approach on credit card fraud detection," Hum.-Centric Intell. Syst., vol. 2, no. 1, pp. 55–68, 2022.
S. Bharath, N. Rajendran, S. D. Devi, and S. Saravanakumar, "Experimental evaluation of smart credit card fraud detection system using intelligent learning scheme," in Proc. 2023 Int. Conf. Innov. Comput., Intell. Commun. Smart Elect. Syst. (ICSES), pp. 1–6, Dec. 2023.
H. Baisholan and A. H. Baqapuri, FraudX AI: An Interpretable Machine Learning Framework for Credit Card Fraud Detection on Imbalanced Datasets, 2025.
I. P. Ojo and A. Tomy, "Explainable AI for credit card fraud detection: Bridging the gap between accuracy and interpretability," 2025.
D. P. Kumar and D. Eshwar, "Credit Card Fraud Detection using Artificial Intelligence: A Comprehensive Approach," Int. J. Commun. Netw. Inf. Secur., vol. 15, no. 1, pp. 1–7, 2023.
E. O. Udeh, P. Amajuoyi, K. B. Adeusi, and A. O. Scott, "The role of big data in detecting and preventing financial fraud in digital transactions," World J. Adv. Res. Rev., vol. 22, no. 2, pp. 1746–1760, 2024.
S. J. Owoade, A. Uzoka, J. I. Akerele, and P. U. Ojukwu, "Automating fraud prevention in credit and debit transactions through intelligent queue systems and regression testing," Int. J. Frontline Res. Sci. Technol., vol. 4, no. 1, pp. 45–62, 2024.
M. R. Hasan, M. S. Gazi, and N. Gurung, "Explainable AI in credit card fraud detection: Interpretable models and transparent decision-making for enhanced trust and compliance in the USA," J. Comput. Sci. Technol. Stud., vol. 6, no. 2, pp. 1–12, 2024.
G. J. Priya and S. Saradha, "Fraud detection and prevention using machine learning algorithms: a review," in Proc. 2021 7th Int. Conf. Electr. Energy Syst. (ICEES), pp. 564–568, Feb. 2021.
M. Habibpour, H. Gharoun, M. Mehdipour, A. Tajally, H. Asgharnezhad, A. Shamsi, A. Khosravi, and S. Nahavandi, "Uncertainty-aware credit card fraud detection using deep learning," Eng. Appl. Artif. Intell., vol. 123, p. 106248, 2023.
E. Esenogho, I. D. Mienye, T. G. Swart, K. Aruleba, and G. Obaido, "A neural network ensemble with feature engineering for improved credit card fraud detection," IEEE Access, vol. 10, pp. 16400–16407, 2022.
T. Larson, False Positive Reduction in Credit Card Fraud Prediction: An Evaluation of Machine Learning Methodology on Imbalanced Data, 2020.
M. Wallny, Solving the "False Positives" Problem in Fraud Prediction, 2022.
C. Wedge, A. Isaksson, and J. Bergholz, False Positives in Credit Card Fraud Detection: Measurement and Mitigation, BBVA Data & Analytics and MIT Media Lab, 2021.
Y. Wang, A Data Balancing and Ensemble Learning Approach for Credit Card Fraud Detection, Columbia University, 2023.
PwC, Global Economic Crime and Fraud Survey, 2022. [Online]. Available: https://www.pwc.com/gx/en/services/forensics/economic-crime-survey.html
McKinsey & Company, Fighting Financial Crime: The New Model for Compliance, 2021. [Online]. Available: https://www.mckinsey.com/industries/financial-services/our-insights/fighting-financial-crime-the-new-model-for-compliance
European Banking Authority (EBA), Guidelines on the Security of Internet Payments – PSD2 & Strong Customer Authentication, 2021. [Online]. Available: https://www.eba.europa.eu/regulation-and-policy/payment-services-and-electronic-money/guidelines-on-the-security-of-internet-payments
K. Sharma, "Fraud Detection," Kaggle, [Online]. Available: https://www.kaggle.com/datasets/kartik2112/fraud-detection. [Accessed: May 25, 2025].
DOI: https://doi.org/10.47738/jads.v6i4.962
Refbacks
- There are currently no refbacks.

Journal of Applied Data Sciences
| ISSN | : | 2723-6471 (Online) |
| Publisher | : | Bright Publisher |
| Website | : | http://bright-journal.org/JADS |
| : | taqwa@amikompurwokerto.ac.id (principal contact) | |
| support@bright-journal.org (technical issues) |
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0




.png)