Utilizing GANs for Credit Card Fraud Detection: A Comparison of Supervised Learning Algorithms
Received: 24 September 2023 | Revised: 15 October 2023 | Accepted: 28 October 2023 | Online: 10 November 2023
Corresponding author: Bandar Alshawi
Abstract
The evolution and improvements in electronic commerce and communications around the world have stimulated credit card use. With the support of smartphone wallets, electronic payments have become the most popular payment method for personal and business use; however, the past few years have also seen a major increase in fraudulent transactions. Corporations and individuals experience very negative impacts from such fraud. Therefore, fraud detection systems have received a lot of attention recently from major financial institutions. This paper proposes a fraud detection approach that deals with small and imbalanced datasets using Generative Adversarial Networks (GANs) for sample generation. Six machine-learning algorithms were applied to real-world data. The accuracy of all six algorithms was above 85% and the precision was above 95%. Five of the six algorithms had a recall score greater than 90%. Furthermore, the Receiver Operating Characteristics (ROC), which measure performance at different thresholds, demonstrated scores greater than 0.90, except Naïve Bayes, which scored 0.81. The proposed approach outperformed the same algorithms in other studies.
Keywords:
fraud detection, credit card fraud, generative adversarial network, supervised learning, naive bayes, decision tree, imbalance datasetsDownloads
References
"Global Cybersecurity Outlook 2023," World Economic Forum, Jan. 2023. [Online]. Available: https://www3.weforum.org/docs/WEF_Global_Security_Outlook_Report_2023.pdf.
"Card Fraud Worldwide," Nilson Report 1209. https://nilsonreport.com/newsletters/1209/.
N. S. Alfaiz and S. M. Fati, "Enhanced Credit Card Fraud Detection Model Using Machine Learning," Electronics, vol. 11, no. 4, Jan. 2022, Art. no. 662.
"Payments Fraud and Control Report," Association for Financial Professionals, Apr. 2022. [Online]. Available: https://www.jpmorgan.com/content/dam/jpm/commercial-banking/insights/cybersecurity/highlights-afp-2022-payments-fraud-and-control-report.pdf.
A. Dal Pozzolo, G. Boracchi, O. Caelen, C. Alippi, and G. Bontempi, "Credit Card Fraud Detection: A Realistic Modeling and a Novel Learning Strategy," IEEE Transactions on Neural Networks and Learning Systems, vol. 29, no. 8, pp. 3784–3797, 2018.
M. Machoke, J. Mbelwa, J. Agbinya, and A. E. Sam, "Performance Comparison of Ensemble Learning and Supervised Algorithms in Classifying Multi-label Network Traffic Flow," Engineering, Technology & Applied Science Research, vol. 12, no. 3, pp. 8667–8674, Jun. 2022.
A. S. Alraddadi, "A Survey and a Credit Card Fraud Detection and Prevention Model using the Decision Tree Algorithm," Engineering, Technology & Applied Science Research, vol. 13, no. 4, pp. 11505–11510, Aug. 2023.
J. Chaquet-Ulldemolins, F. J. Gimeno-Blanes, S. Moral-Rubio, S. Muñoz-Romero, and J. L. Rojo-Álvarez, "On the Black-Box Challenge for Fraud Detection Using Machine Learning (I): Linear Models and Informative Feature Selection," Applied Sciences, vol. 12, no. 7, Jan. 2022, Art. no. 3328.
X. Niu, L. Wang, and X. Yang, "A Comparison Study of Credit Card Fraud Detection: Supervised versus Unsupervised." arXiv, Apr. 23, 2019.
M. Ahmed, K. Ansar, C. B. Muckley, A. Khan, A. Anjum, and M. Talha, "A semantic rule based digital fraud detection," PeerJ Computer Science, vol. 7, Art. no. e649, Aug. 2021.
A. Alshutayri, "Fraud Prediction in Movie Theater Credit Card Transactions using Machine Learning," Engineering, Technology & Applied Science Research, vol. 13, no. 3, pp. 10941–10945, Jun. 2023.
A. Bakumenko and A. Elragal, "Detecting Anomalies in Financial Data Using Machine Learning Algorithms," Systems, vol. 10, no. 5, Oct. 2022, Art. no. 130.
Y. G. Şahin and E. Duman, "Detecting credit card fraud by decision trees and support vector machines," in Proceedings of the International MultiConference of Engineers and Computer Scientists 2011, Mar. 2011, vol. 1, pp. 442–447.
B. Stojanović et al., "Follow the Trail: Machine Learning for Fraud Detection in Fintech Applications," Sensors, vol. 21, no. 5, Jan. 2021, Art. no. 1594.
T. K. Dang, T. C. Tran, L. M. Tuan, and M. V. Tiep, "Machine Learning Based on Resampling Approaches and Deep Reinforcement Learning for Credit Card Fraud Detection Systems," Applied Sciences, vol. 11, no. 21, Jan. 2021, Art. no. 10004.
J. Chaquet-Ulldemolins, F. J. Gimeno-Blanes, S. Moral-Rubio, S. Muñoz-Romero, and J. L. Rojo-Álvarez, "On the Black-Box Challenge for Fraud Detection Using Machine Learning (II): Nonlinear Analysis through Interpretable Autoencoders," Applied Sciences, vol. 12, no. 8, Jan. 2022, Art. no. 3856.
S. N. Kalid, K.-H. Ng, G.-K. Tong, and K.-C. Khor, "A Multiple Classifiers System for Anomaly Detection in Credit Card Data With Unbalanced and Overlapped Classes," IEEE Access, vol. 8, pp. 28210–28221, 2020.
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.
N. Nguyen et al., "A Proposed Model for Card Fraud Detection Based on CatBoost and Deep Neural Network," IEEE Access, vol. 10, pp. 96852–96861, 2022.
S. Makki, Z. Assaghir, Y. Taher, R. Haque, M. S. Hacid, and H. Zeineddine, "An Experimental Study With Imbalanced Classification Approaches for Credit Card Fraud Detection," IEEE Access, vol. 7, pp. 93010–93022, 2019.
A. A. Taha and S. J. Malebary, "An Intelligent Approach to Credit Card Fraud Detection Using an Optimized Light Gradient Boosting Machine," IEEE Access, vol. 8, pp. 25579–25587, 2020.
Z. Li, G. Liu, and C. Jiang, "Deep Representation Learning With Full Center Loss for Credit Card Fraud Detection," IEEE Transactions on Computational Social Systems, vol. 7, no. 2, pp. 569–579, Apr. 2020.
F. K. Alarfaj, I. Malik, H. U. Khan, N. Almusallam, M. Ramzan, and M. Ahmed, "Credit Card Fraud Detection Using State-of-the-Art Machine Learning and Deep Learning Algorithms," IEEE Access, vol. 10, pp. 39700–39715, 2022.
R. Soleymanzadeh, M. Aljasim, M. W. Qadeer, and R. Kashef, "Cyberattack and Fraud Detection Using Ensemble Stacking," AI, vol. 3, no. 1, pp. 22–36, Mar. 2022.
"Credit Card Fraud Detection." https://www.kaggle.com/datasets/mlg-ulb/creditcardfraud.
E. Brophy, Z. Wang, Q. She, and T. Ward, "Generative Adversarial Networks in Time Series: A Systematic Literature Review," ACM Computing Surveys, vol. 55, no. 10, Oct. 2023, Art. no. 199.
I. Goodfellow et al., "Generative Adversarial Nets," in Advances in Neural Information Processing Systems, Montreal, QC, Canada, 2014, vol. 27.
I. Ashrapov, "Tabular GANs for uneven distribution." arXiv, Oct. 01, 2020.
C. Charitou, S. Dragicevic, and A. d’Avila Garcez, "Synthetic Data Generation for Fraud Detection using GANs." arXiv, Sep. 26, 2021.
S. K. Shirgave, C. J. Awati, R. More, and S. S. Patil, "A Review on Credit Card Fraud Detection Using Machine Learning," International Journal of Scientific & Technology Research, vol. 8, no. 10, Oct. 2019.
H. M and S. M.N, "A Review on Evaluation Metrics for Data Classification Evaluations," International Journal of Data Mining & Knowledge Management Process, vol. 5, no. 2, pp. 01–11, Mar. 2015.
E. Ileberi, Y. Sun, and Z. Wang, "Performance Evaluation of Machine Learning Methods for Credit Card Fraud Detection Using SMOTE and AdaBoost," IEEE Access, vol. 9, pp. 165286–165294, 2021.
J. O. Awoyemi, A. O. Adetunmbi, and S. A. Oluwadare, "Credit card fraud detection using machine learning techniques: A comparative analysis," in 2017 International Conference on Computing Networking and Informatics (ICCNI), Lagos, Nigeria, Jul. 2017, pp. 1–9.
V. N. Dornadula and S. Geetha, "Credit Card Fraud Detection using Machine Learning Algorithms," Procedia Computer Science, vol. 165, pp. 631–641, Jan. 2019.
Downloads
How to Cite
License
Copyright (c) 2023 Bandar Alshawi
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.