Open Access iconOpen Access

ARTICLE

Credit Card Fraud Detection Using Variational Autoencoders

Edward Danso Ansong1, David Adlai Nettey1,*, Sarika S2, Simon Bonsu Osei1

1 Department of Computer Science, University of Ghana, Legon, Accra, Ghana
2 Department of Artificial Intelligence and Data Science, Adi Shankara Institute of Engineering and Technology, Kalady, Kerala, India

* Corresponding Author: David Adlai Nettey. Email: email

Journal on Big Data 2026, 8, 1-10. https://doi.org/10.32604/jbd.2026.065126

Abstract

Credit card fraud has emerged as a pervasive threat, impacting financial institutions and individuals as online banking and payment methods become increasingly integral to daily life. Despite efforts to mitigate this problem through measures like passwords and two-factor authentication, financial institutions continue to suffer substantial losses, often amounting to millions of dollars. Traditional machine learning solutions, developed and trained as supervised learning models, have failed to address this issue effectively. In anomaly detection, such as credit card fraud detection, the available training datasets are vast but inherently imbalanced, posing a formidable obstacle for supervised learning models in developing accurate hypothesis functions during model training. In response to this challenge, we propose an alternative approach using unsupervised machine learning models, specifically the Variational Autoencoder. In our study, we constructed the encoder and decoder components of our VAE using deep neural networks, and we implemented and trained them with pre-processed data using the TensorFlow and Keras libraries. Our model’s effectiveness was assessed using the Area Under the Precision-Recall Curve (AUC-PR), yielding a robust score of 88%. Additionally, we subjected our model to an accuracy test on a test dataset, achieving a commendable accuracy score of 78%. Our model also attained 98% and 49% scores for precision and recall, respectively, both commendable for an anomaly detection model. The results of our study underscore the viability of unsupervised learning models, particularly VAE, for credit card fraud detection, demonstrating their potential as a machine learning solution to mitigate credit card fraud. This research offers a promising avenue for bolstering security measures in financial transactions and reducing the impact of fraudulent activities.

Keywords

Credit card fraud; neural networks; variational autoencoders; autoencoders; imbalanced datasets; area under the precision-recall curve (AUC-PR); unsupervised learning

Cite This Article

APA Style
Ansong, E.D., Nettey, D.A., S, S., Osei, S.B. (2026). Credit Card Fraud Detection Using Variational Autoencoders. Journal on Big Data, 8(1), 1–10. https://doi.org/10.32604/jbd.2026.065126
Vancouver Style
Ansong ED, Nettey DA, S S, Osei SB. Credit Card Fraud Detection Using Variational Autoencoders. J Big Data. 2026;8(1):1–10. https://doi.org/10.32604/jbd.2026.065126
IEEE Style
E. D. Ansong, D. A. Nettey, S. S, and S. B. Osei, “Credit Card Fraud Detection Using Variational Autoencoders,” J. Big Data, vol. 8, no. 1, pp. 1–10, 2026. https://doi.org/10.32604/jbd.2026.065126



cc Copyright © 2026 The Author(s). Published by Tech Science Press.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
  • 0

    View

  • 0

    Download

  • 0

    Like

Share Link