Abstract
Credit card fraud detection plays a crucial role in safeguarding the financial security of individuals and organizations. However, imbalanced datasets pose significant challenges to accurately identifying fraudulent transactions. In this research paper, we propose a novel approach that combines autoencoder (AE) and fully connected deep networks (FCDN) models to address this issue. The process involves three phases: training an AE on fraudulent transactions, utilizing another AE for dimensionality reduction, and using the encoded representations as input for FCDN classification. To further enhance the model’s performance, we introduce an additional FCDN trained on the preprocessed data using the synthetic minority oversampling technique (SMOTE). The predictions from both AE, AE–FCDN, and the FCDN are combined using a majority voting approach. We evaluate the proposed method using standard performance metrics, including accuracy, precision, recall, and F1-score. Our experimental results demonstrate the effectiveness and robustness of the integrated model architecture in accurately detecting credit card fraud. These findings provide valuable insights for improving financial security measures and mitigating potential losses associated with credit card fraud.
Similar content being viewed by others
Availability of Data and Materials
Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.
References
Gupta YK, Jeswani G, Pinto O. M-commerce offline payment. SN Comput Sci. 2022;3(1):1–11. https://doi.org/10.1007/s42979-021-00978-x.
Ingole S, Kumar A, Prusti D, Rath SK. Service-based credit card fraud detection using oracle SOA suite. SN Comput Sci. 2021;2(3):1–9. https://doi.org/10.1007/s42979-021-00539-2.
“Nilson Report”, no. 1209. 2021 [Online]. Available: https://nilsonreport.com/upload/content_promo/NilsonReport_Issue1209.pdf.
Elreedy D, Atiya AF. A comprehensive analysis of synthetic minority oversampling technique (SMOTE) for handling class imbalance. Inf Sci (NY). 2019;505:32–64. https://doi.org/10.1016/j.ins.2019.07.070.
Taha AY, Tiun S, Rahman AHA, Sabah A. Multilabel over-sampling and under-sampling with class alignment for imbalanced multilabel text classification. J Inf Commun Technol. 2021;20(3):423–56. https://doi.org/10.32890/JICT2021.20.3.6.
Meng C, Zhou L, Liu B. A case study in credit fraud detection with SMOTE and XGboost. J Phys Conf Ser. 2020. https://doi.org/10.1088/1742-6596/1601/5/052016.
Yu X, Li X, Dong Y, Zheng R. A deep neural network algorithm for detecting credit card fraud. In: Proc.—2020 Int. Conf. Big Data, Artif. Intell. Internet Things Eng. ICBAIE; 2020. p. 181–3. https://doi.org/10.1109/ICBAIE49996.2020.00045.
Arya M, Sastry HG. DEAL—‘Deep Ensemble ALgorithm’ framework for credit card fraud detection in real-time data stream with Google TensorFlow. Smart Sci. 2020;8(2):71–83. https://doi.org/10.1080/23080477.2020.1783491.
Salazar A, Safont G, Vergara L. Semi-supervised learning for imbalanced classification of credit card transaction. In: Proc. Int. Jt. Conf. Neural Networks, vol. 2018-July, p. 1–7, 2018. https://doi.org/10.1109/IJCNN.2018.8489755.
Pumsirirat A, Yan L. Credit card fraud detection using deep learning based on auto-encoder and restricted Boltzmann machine. Int J Adv Comput Sci Appl. 2018;9(1):18–25. https://doi.org/10.14569/IJACSA.2018.090103.
Najem SM, Kadhem S. A Survey On Fraud Detection Techniques in E-Commerce. 2021;1(1).
Roy A, Sun J, Mahoney R, Alonzi L, Adams S, Beling P. Deep learning detecting fraud in credit card transactions. In: 2018 Systems and Information Engineering Design Symposium (SIEDS), 2018, p. 129–34. https://doi.org/10.1109/sieds.2018.8374722.
El Hlouli FZ, Riffi J, Mahraz MA, El Yahyaouy A, Tairi H. Credit card fraud detection based on multilayer perceptron and extreme learning machine architectures. In: 2020 Int. Conf. Intell. Syst. Comput. Vision, ISCV; 2020. https://doi.org/10.1109/ISCV49265.2020.9204185.
Zhu H, Liu G, Zhou M, Xie Y, Abusorrah A. Neurocomputing optimizing weighted extreme learning machines for imbalanced classification and application to credit card fraud detection. Neurocomputing. 2020;407:50–62. https://doi.org/10.1016/j.neucom.2020.04.078.
Rb A, Kr SK. Credit card fraud detection using artificial neural network. Glob Transit Proc. 2021;2(1):35–41. https://doi.org/10.1016/j.gltp.2021.01.006.
Itoo F, Meenakshi, Singh S. Comparison and analysis of logistic regression, Naıve Bayes and KNN machine learning algorithms for credit card fraud detection. Int J Inf Technol. 2020. https://doi.org/10.1007/s41870-020-00430-y.
Xuan S, Liu G, Li Z, Zheng L, Wang S, Jiang C. Random forest for credit card fraud detection. In: ICNSC 2018—15th IEEE Int. Conf. Networking, Sens. Control, p. 1–6, 2018. https://doi.org/10.1109/ICNSC.2018.8361343.
Jurgovsky J, et al. Sequence classification for credit-card fraud detection. Expert Syst Appl. 2018;100:234–45. https://doi.org/10.1016/j.eswa.2018.01.037.
Fu K, Cheng D, Tu Y, B LZ. Credit card fraud detection using convolutional neural networks. 2016:483–490. https://doi.org/10.1007/978-3-319-46675-0.
Devi D, Biswas SK, Purkayastha B. A review on solution to class imbalance problem: undersampling approaches. In: 2020 Int. Conf. Comput. Perform. Eval. ComPE; 2020. p. 626–31. https://doi.org/10.1109/ComPE49325.2020.9200087.
Singh A, Ranjan RK, Tiwari A. Credit card fraud detection under extreme imbalanced data: a comparative study of data-level algorithms. J Exp Theor Artif Intell. 2022;34(4):571–98. https://doi.org/10.1080/0952813X.2021.1907795.
Esenogho E, Mienye ID, Swart TG, Aruleba K, Obaido G. A neural network ensemble with feature engineering for improved credit card fraud detection. IEEE Access. 2022;10(February):16400–7. https://doi.org/10.1109/ACCESS.2022.3148298.
Al-shabi MA. Credit card fraud detection using autoencoder model in unbalanced datasets. J Adv Math Comput Sci. 2019;33:1–16. https://doi.org/10.9734/jamcs/2019/v33i530192.
Almuteer AH, Aloufi AA, Alrashidi WO, Alshobaili JF, Ibrahim DM. Detecting credit card fraud using machine learning. Int J Interact Mob Technol. 2021;15(24):108–22. https://doi.org/10.3991/IJIM.V15I24.27355.
Randhawa K, Loo CK, Member S, Seera M, Lim CP, Nandi AK. Credit card fraud detection using AdaBoost and majority voting. IEEE Access. 2018;6:14277–84. https://doi.org/10.1109/ACCESS.2018.2806420.
Taha AA, Malebary SJ. An intelligent approach to credit card fraud detection using an optimized light gradient boosting machine. IEEE Access. 2020;8:25579–87. https://doi.org/10.1109/ACCESS.2020.2971354.
Zou J, Zhang J, Jiang P. Credit card fraud detection using autoencoder neural network. 2019 [Online]. Available: http://arxiv.org/abs/1908.11553.
Hajek P, Abedin MZ, Sivarajah U. Fraud detection in mobile payment systems using an XGBoost-based framework. Inf Syst Front. 2022. https://doi.org/10.1007/s10796-022-10346-6.
Cochrane, et al. Pattern analysis for transaction fraud detection. In: 2021 IEEE 11th Annu. Comput. Commun. Work. Conf. CCWC; 2021. p. 283–9. https://doi.org/10.1109/CCWC51732.2021.9376045.
Funding
The authors received no funding for this work.
Author information
Authors and Affiliations
Contributions
FZEH played a key role in conceptualizing, developing, and analyzing the idea, as well as making significant contributions to the manuscript. Collaborating closely, JR refined the idea, implemented algorithms, analyzed results, and provided valuable input to the manuscript. MAM actively participated in study design, algorithm implementation, result analysis, and contributed to the writing and revision process. AY made important contributions to result analysis, interpretation, and manuscript writing and revision. KEF extensively contributed to study design, algorithm implementation, result analysis, and manuscript writing and revision. Hamid Tairi assisted with algorithm implementation, result analysis, and contributed to the manuscript. Together, their collaborative efforts greatly enhanced the study and manuscript.
Corresponding author
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
Not applicable.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
El Hlouli, F.Z., Riffi, J., Mahraz, M.A. et al. Credit Card Fraud Detection: Addressing Imbalanced Datasets with a Multi-phase Approach. SN COMPUT. SCI. 5, 173 (2024). https://doi.org/10.1007/s42979-023-02559-6
Received:
Accepted:
Published:
DOI: https://doi.org/10.1007/s42979-023-02559-6