Credit Card Fraud Detection Using State-of-the-Art Machine Learning and Deep Learning Algorithms
Abstract
Credit card fraud is a major concern for both financial institutions and consumers, leading to significant financial losses and a decline in trust. With the rise in online transactions and increasingly sophisticated fraudulent schemes, there is a pressing need for strong and effective fraud detection systems. This research explores how machine learning and deep learning algorithms, particularly Random Forest (RF) and K-Nearest Neighbors (KNN), can be applied to detect credit card fraud. The main goal is to assess and compare how well these algorithms perform in accurately spotting fraudulent transactions while keeping false positives to a minimum. To carry out this research, we use a publicly available dataset of credit card transactions, which is marked by an imbalanced class distribution, where fraudulent transactions are far fewer than legitimate ones. We apply various preprocessing techniques, such as data cleaning, feature scaling, and addressing class imbalance through resampling methods like SMOTE (Synthetic Minority Over-sampling Technique), to improve data quality and model performance. Random Forest is a powerful ensemble learning method that uses a collection of decision trees to boost prediction accuracy and cut down on overfitting. K-Nearest Neighbors (KNN) is a straightforward, instance-based learning algorithm that classifies transactions by looking at the majority class of their k-nearest neighbours in the feature space. To evaluate how well both algorithms perform, we look at various metrics like precision, recall, F1-score, and the Area Under the Receiver Operating Characteristic Curve (AUC-ROC). The findings show that Random Forest typically outshines K-Nearest Neighbors in overall accuracy and F1-score, especially when dealing with imbalanced datasets. This research emphasizes the need to tackle class imbalance and choose the right evaluation metrics for effective fraud detection.
Metrics
References
S. Ghosh, D. Reilly, (1994). Credit Card Fraud Detection with Neural Networks. Proceedings of the 27th awaii International Conference on System Sciences, IEEE, USA. https://doi.org/10.1109/HICSS.1994.323314
K.J. Ezawa, S.W. Norton, (1996). Constructing Bayesian networks to predict uncollectible telecommunications accounts. IEEE Expert, 11(5), 45-51.
Y. Sahin, E. Duman, (2011). Detecting Credit Card Fraud by Decision Trees and Support Vector Machines. Proceedings of the International Journal of Advanced Computer Science and Applications, IEEE, Turkey. https://doi.org/10.1109/INISTA.2011.5946108
A. Dal Pozzolo, G. Boracchi, O. Caelen, C. Alippi and G. Bontempi, "Credit card fraud detection and concept-drift adaptation with delayed supervised information," 2015 International Joint Conference on Neural Networks (IJCNN), Killarney, Ireland, 2015, pp. 1-8, doi: http://doi.org/10.1109/IJCNN.2015.7280527
C. Whitrow, D.J. Hand, P. Juszczak, D. Weston, N.M. Adams, (2009). Transaction aggregation as a strategy for credit card fraud detection. Data mining and knowledge discovery, 18, 30-55. https://doi.org/10.1007/s10618-008-0116-z
U. Fiore, A. De Santis, F. Perla, P. Zanetti, F. Palmieri, Using Generative Adversarial Net-Works for Improving Classification Effectiveness in Credit Card Fraud Detection. Information Sciences, 479, (2019) 448-455. https://doi.org/10.1016/j.ins.2017.12.030
C. Yu, Y. Xu, J. Cao, Y. Zhang, Y. Jin, M. Zhu, Credit card fraud detection using advanced transformer model. In 2024 IEEE International Conference on Metaverse Computing, Networking, and Applications (MetaCom) (pp. 343-350). IEEE. https://doi.org/10.1109/MetaCom62920.2024.00064
A. Madhavi, T. Sivaramireddy, (2021). Real-Time Credit Card Fraud Detection Using Spark Framework. In: Mai, C.K., Reddy, A.B., Raju, K.S. (eds) Machine Learning Technologies and Applications. Algorithms for Intelligent Systems. Springer, Singapore. https://doi.org/10.1007/978-981-33-4046-6_28
Copyright (c) 2025 Gopinath Krishnaraj, Chandru Ravi, Mohammed Bilal Althaf Ahmed

This work is licensed under a Creative Commons Attribution 4.0 International License.
Views: Abstract : 93 | PDF : 53
Plum Analytics