Application of Machine Learning Models in Fraud Detection in Financial Transactions




Fraud detection, machine learning, Convolutional neural networks, Random forests, Performance evaluation


Introduction: Fraud detection in financial transactions has become a critical concern in today's financial landscape. Machine learning techniques have become a key tool for fraud detection given their ability to analyze large volumes of data and detect subtle patterns.
Objective: Evaluate the performance of machine learning techniques such as Random Forest and Convolutional Neural Networks to identify fraudulent transactions in real time.
Methods: A real-world data set of financial transactions was obtained from various institutions. Data preprocessing techniques were applied that include multiple imputation and variable transformation. Models such as Random Forest, Convolutional Neural Networks, Naive Bayes and Logistic Regression were trained and optimized. Performance was evaluated using metrics such as F1 score.
Results: Random Forests and Convolutional Neural Networks achieved an F1 score greater than 95% on average, exceeding the target threshold. Random Forests produced the highest average F1 score of 0.956. It was estimated that the models detected 45% of fraudulent transactions with low variability.
Conclusions: The study demonstrated the effectiveness of machine learning models, especially Random Forests and Convolutional Neural Networks, for accurate real-time fraud detection. Its high performance supports the application of these techniques to strengthen financial security. Future research directions are also discussed.


Metrics Loading ...


Ali A, Abd Razak S, Othman SH, Eisa TAE, Al-Dhaqm A, Nasser M, et al. Financial Fraud Detection Based on Machine Learning: A Systematic Literature Review. Applied Sciences 2022;12:9637.

Kaur D, Saini A, Gupta D. Credit Card Fraud Detection Using Machine Learning, Deep Learning, and Ensemble of the both. 2022 Seventh International Conference on Parallel, Distributed and Grid Computing (PDGC), Solan, Himachal Pradesh, India: IEEE; 2022, p. 484–9.

Al-Sayyed R, Alhenawi E, Alazzam H, Wrikat A, Suleiman D. Mobile money fraud detection using data analysis and visualization techniques. Multimed Tools Appl 2023.

Phua C, Lee V, Smith K, Gayler R. A Comprehensive Survey of Data Mining-based Fraud Detection Research 2010.

Hilal W, Gadsden SA, Yawney J. Financial Fraud: A Review of Anomaly Detection Techniques and Recent Advances. Expert Systems with Applications 2022;193:116429.

Tique DH, Ordoñez JJP, Cano CAG. How do technology equipment companies implement new billing strategies? Metaverse Basic and Applied Research 2022;1:15–15.

Bhattacharyya S, Jha S, Tharakunnel K, Westland JC. Data mining for credit card fraud: A comparative study. Decision Support Systems 2011;50:602–13.

Douceur JR. The Sybil Attack. In: Druschel P, Kaashoek F, Rowstron A, editors. Peer-to-Peer Systems, vol. 2429, Berlin, Heidelberg: Springer Berlin Heidelberg; 2002, p. 251–60.

Yufeng Kou, Chang-Tien Lu, Sirwongwattana S, Yo-Ping Huang. Survey of fraud detection techniques. IEEE International Conference on Networking, Sensing and Control, 2004, vol. 2, Taipei, Taiwan: IEEE; 2004, p. 749–54.

Akoglu L, Tong H, Koutra D. Graph-based Anomaly Detection and Description: A Survey 2014.

Sadgali I, Sael N, Benabbou F. Performance of machine learning techniques in the detection of financial frauds. Procedia Computer Science 2019;148:45–54.

Tiwari P, Mehta S, Sakhuja N, Kumar J, Singh AK. Credit Card Fraud Detection using Machine Learning: A Study 2021.

Abdallah A, Maarof MA, Zainal A. Fraud detection system: A survey. Journal of Network and Computer Applications 2016;68:90–113.

Espinosa RDC, Caicedo-Erazo JC, Londoño MA, Pitre IJ. Inclusive Innovation through Arduino Embedded Systems and ChatGPT. Metaverse Basic and Applied Research 2023;2:52–52.

Moreno MCC, Castro GLG. Strengthening Governance in Caquetá: The Role of Web-based Transparency Mechanisms for Public Information. Metaverse Basic and Applied Research 2022;1:16–16.

Ngai EWT, Hu Y, Wong YH, Chen Y, Sun X. The application of data mining techniques in financial fraud detection: A classification framework and an academic review of literature. Decision Support Systems 2011;50:559–69.

HaratiNik MR, Akrami M, Khadivi S, Shajari M. FUZZGY: A hybrid model for credit card fraud detection. 6th International Symposium on Telecommunications (IST), Tehran, Iran: IEEE; 2012, p. 1088–93.

Boullé M. Compression-Based Averaging of Selective Naive Bayes Classifiers. Journal of Machine Learning Research 2007;8:1659–85.

Correa Bahnsen A, Aouada D, Ottersten B. Example-dependent cost-sensitive decision trees. Expert Systems with Applications 2015;42:6609–19.

Forough J, Momtazi S. Ensemble of deep sequential models for credit card fraud detection. Applied Soft Computing 2021;99:106883.

Moreno MCC, Castro GLG. Unveiling Public Information in the Metaverse and AI Era: Challenges and Opportunities. Metaverse Basic and Applied Research 2023;2:35–35.

Gupta B. Understanding Blockchain Technology: How It Works and What It Can Do. Metaverse Basic and Applied Research 2022;1:18–18.

Jain N, Chaudhary A, Kumar A. Credit Card Fraud Detection using Machine Learning Techniques. 2022 11th International Conference on System Modeling & Advancement in Research Trends (SMART), Moradabad, India: IEEE; 2022, p. 1451–5.

Awoyemi JO, Adetunmbi AO, Oluwadare SA. Credit card fraud detection using machine learning techniques: A comparative analysis. 2017 International Conference on Computing Networking and Informatics (ICCNI), Lagos: IEEE; 2017, p. 1–9.

Abiodun OI, Jantan A, Omolara AE, Dada KV, Mohamed NA, Arshad H. State-of-the-art in artificial neural network applications: A survey. Heliyon 2018;4:e00938.

Shenvi P, Samant N, Kumar S, Kulkarni V. Credit Card Fraud Detection using Deep Learning. 2019 IEEE 5th International Conference for Convergence in Technology (I2CT), Bombay, India: IEEE; 2019, p. 1–5.



How to Cite

Dávila-Morán RC, Castillo-Sáenz RA, Vargas-Murillo AR, Velarde Dávila L, García-Huamantumba E, García-Huamantumba CF, Pasquel Cajas RF, Guanilo Paredes CE. Application of Machine Learning Models in Fraud Detection in Financial Transactions. Data and Metadata [Internet]. 2023 Oct. 29 [cited 2023 Dec. 3];2:109. Available from: