Credit Card Fraud Detection Based on a Hybrid CNN-RNN Deep Learning Model
Received: 7 August 2025 | Revised: 22 August 2025 | Accepted: 7 September 2025 | Online: 8 December 2025
Corresponding author: Ahmed Fahim
Abstract
Credit card fraud detection is essential for protecting financial systems by promptly identifying unauthorized or anomalous transactions. Leveraging the strengths of Deep Learning (DL), this paper explores multiple architectures, including the Convolutional Neural Network (CNN), Multi-Layer Perceptron (MLP), Deep Neural Network (DNN), Recurrent Neural Network (RNN), and a hybrid CNN-RNN model, for detecting fraudulent behavior within transactional data. Using a balanced dataset of 559,856 records obtained from a publicly available Kaggle repository, each model was evaluated based on accuracy, precision, recall, F1-score, and ROC-AUC. Experimental results showed that the CNN-RNN hybrid model outperformed all other models, achieving 99.99% accuracy, 0.9971 precision, perfect recall (1.0000), 0.9985 F1-score, and a ROC-AUC of 1.0000. These findings highlight the CNN-RNN model's effectiveness in real-time fraud detection, offering exceptional classification performance with minimal false positives and maximum anomaly coverage.
Keywords:
credit card fraud detection, hybrid CNN-RNN model, financial transaction security, anomaly detection, AI in FinTechDownloads
References
M. S. A. Yajid et al., "Hybrid Big Bang-Big crunch with cuckoo search for feature selection in credit card fraud detection," Scientific Reports, vol. 15, no. 1, Jul. 2025, Art. no. 23925. DOI: https://doi.org/10.1038/s41598-025-97149-2
P. Sundaravadivel, R. A. Isaac, D. Elangovan, D. KrishnaRaj, V. V. L. Rahul, and R. Raja, "Optimizing credit card fraud detection with random forests and SMOTE," Scientific Reports, vol. 15, no. 1, May 2025, Art. no. 17851. DOI: https://doi.org/10.1038/s41598-025-00873-y
M. Tayebi and S. El Kafhali, "A novel approach based on XGBoost classifier and Bayesian optimization for credit card fraud detection," Cyber Security and Applications, vol. 3, Dec. 2025, Art. no. 100093. DOI: https://doi.org/10.1016/j.csa.2025.100093
B. Chugh, N. Malik, and D. Gupta, "Firefly Optimization-Based Logistic Regression Classifier for Credit Card Fraud Detection," Journal of Circuits, Systems and Computers, vol. 34, no. 14, Sep. 2025, Art. no. 2550204. DOI: https://doi.org/10.1142/S0218126625502044
A. M. Siam, P. Bhowmik, and M. P. Uddin, "Hybrid feature selection framework for enhanced credit card fraud detection using machine learning models," PLOS ONE, vol. 20, no. 7, Jul. 2025, Art. no. e0326975. DOI: https://doi.org/10.1371/journal.pone.0326975
R. K. Gupta et al., "Enhanced framework for credit card fraud detection using robust feature selection and a stacking ensemble model approach," Results in Engineering, vol. 26, Jun. 2025, Art. no. 105084. DOI: https://doi.org/10.1016/j.rineng.2025.105084
A.-A. Al-Maari, M. Abdulnabi, Y. Nathan, A. Ali, U. Ali, and M. Khan, "Optimized Credit Card Fraud Detection Leveraging Ensemble Machine Learning Methods," Engineering, Technology & Applied Science Research, vol. 15, no. 3, pp. 22287–22294, Jun. 2025. DOI: https://doi.org/10.48084/etasr.10287
M. Jabeen, S. Ramzan, A. Raza, N. L. Fitriyani, M. Syafrudin, and S. W. Lee, "Enhanced Credit Card Fraud Detection Using Deep Hybrid CLST Model," Mathematics, vol. 13, no. 12, Jun. 2025, Art. no. 1950. DOI: https://doi.org/10.3390/math13121950
Z. Xia and S. C. Saha, "FinGraphFL: Financial Graph-Based Federated Learning for Enhanced Credit Card Fraud Detection," Mathematics, vol. 13, no. 9, May 2025, Art. no. 1396. DOI: https://doi.org/10.3390/math13091396
E. Btoush, X. Zhou, R. Gururajan, K. C. Chan, and O. Alsodi, "Achieving Excellence in Cyber Fraud Detection: A Hybrid ML+DL Ensemble Approach for Credit Cards," Applied Sciences, vol. 15, no. 3, Feb. 2025, Art. no. 1081. DOI: https://doi.org/10.3390/app15031081
S. Motie and B. Raahemi, "Financial fraud detection using graph neural networks: A systematic review," Expert Systems with Applications, vol. 240, Apr. 2024, Art. no. 122156. DOI: https://doi.org/10.1016/j.eswa.2023.122156
A. Cherif, A. Badhib, H. Ammar, S. Alshehri, M. Kalkatawi, and A. Imine, "Credit card fraud detection in the era of disruptive technologies: A systematic review," Journal of King Saud University - Computer and Information Sciences, vol. 35, no. 1, pp. 145–174, Jan. 2023. DOI: https://doi.org/10.1016/j.jksuci.2022.11.008
Y. Tang and Y. Liang, "Credit card fraud detection based on federated graph learning," Expert Systems with Applications, vol. 256, Dec. 2024, Art. no. 124979. DOI: https://doi.org/10.1016/j.eswa.2024.124979
P. Chatterjee, D. Das, and D. B. Rawat, "Digital twin for credit card fraud detection: opportunities, challenges, and fraud detection advancements," Future Generation Computer Systems, vol. 158, pp. 410–426, Sep. 2024. DOI: https://doi.org/10.1016/j.future.2024.04.057
V. Venkata Krishna Reddy, R. Vijaya Kumar Reddy, M. Siva Krishna Munaga, B. Karnam, S. K. Maddila, and C. Sekhar Kolli, "Deep learning-based credit card fraud detection in federated learning," Expert Systems with Applications, vol. 255, no. A, Dec. 2024, Art. no. 124493. DOI: https://doi.org/10.1016/j.eswa.2024.124493
J. C-Rella, R. Cao, and J. M. Vilar, "Cost-sensitive thresholding over a two-dimensional decision region for fraud detection," Information Sciences, vol. 657, Feb. 2024, Art. no. 119956. DOI: https://doi.org/10.1016/j.ins.2023.119956
"CreditCard-Fraud-Detection." Kaggle. [Online]. Available: https://www.kaggle.com/datasets/iabhishekofficial/creditcard-fraud-detection.
Downloads
How to Cite
License
Copyright (c) 2025 Ahmed Fahim, Ahmed M. Osman, Zahraa Tarek, Ahmed M. Elshewey

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.
