Advanced fraud detection using machine learning models: enhancing financial transaction security
-
https://doi.org/10.14419/c73kcb17
Received date: May 26, 2025
Accepted date: June 2, 2025
Published date: June 7, 2025
-
Anomaly Detection; Autoencoder; Credit Card; Fraud Detection; Isolation Forest; Unsupervised Learning -
Abstract
The rise of digital payments has accelerated the need for intelligent and scalable systems to detect fraud. This research presents an end-to-end, feature-rich machine learning framework for detecting credit card transaction anomalies and fraud using real-world data. The study begins by merging transactional, cardholder, merchant, and merchant category datasets from a relational database to create a unified analytical view. Through the feature engineering process, we extract behavioural signals such as average spending, deviation from historical patterns, transaction timing irregularities, and category frequency metrics. These features are enriched with temporal markers such as hour, day of week, and weekend indicators to expose all latent patterns that indicate fraudulent behaviours. Exploratory data analysis (EDA) reveals contextual transaction trends across all the dataset features. Using the transactional data, we train and evaluate a range of unsupervised models: Isolation Forest, One Class SVM, and a deep autoencoder trained to reconstruct normal behavior. These models flag the top 1% of reconstruction errors as outliers. PCA visualizations illustrate each model’s ability to separate anomalies into a two-dimensional latent space. We further segment the transaction landscape using K-Means clustering and DBSCAN to identify dense clusters of normal activity and isolate sparse, suspicious regions. Finally, we propose a composite risk score by aggregating binary flags from all anomaly detectors, unexpected spend indicators, rapid‐use events, and high‐frequency “spending sprees”. This score highlights the riskiest cardholders and merchants, enabling prioritized investigation. Our framework detects approximately 1–2% of transactions as anomalies and effectively surfaces high‐risk entities, demonstrating the power of unsupervised analytics for real-time fraud surveillance in dynamic financial ecosystems.
-
References
- Adyen. (n.d.). RevenueProtect: Fraud Prevention. https://www.adyen.com/uplift/protect.
- Amazon Web Services. (2023). Build real‐time fraud detection with Amazon SageMaker and Kinesis Data Streams. Retrieved from https://aws.amazon.com/blogs/machine-learning/build-real-time-fraud-detection-using-amazon-sagemaker-and-kinesis/.
- Association of Certified Fraud Examiners. (2024). Report to the Nations: Global Study on Occupational Fraud and Abuse. Source: https://legacy.acfe.com/report-to-the-nations/2024/.
- Authorize.Net. (n.d.). Advanced Fraud Detection Suite (AFDS). Retrieved from https://www.authorize.net/resources/our-features/advanced-fraud-detection.html.
- Bolton, R. J., & Hand, D. J. (2002). Statistical Fraud Detection: A Review. Statistical Science, 17(3), 235–255. https://doi.org/10.1214/ss/1042727940.
- Chouksey, A., Shovon, M. S. S., Tannier, N. R., Bhowmik, P. K., Hossain, M., Rahman, M. S., & Hossain, M. S. (2023). Machine Learning‐Based Risk Prediction Model for Loan Applications: Enhancing Decision‐Making and Default Prevention. Journal of Business and Management Studies, 5(6), 160–176. https://doi.org/10.32996/jbms.2023.5.6.13.
- COSO (2024). Enterprise Risk Management (ERM) – Integrating with Strategy and Performance. https://www.coso.org/enterprise-risk-management, https://static.poder360.com.br/2023/09/Diretriz-Enterprise-Risk-Management-Coso-2017.pdf.
- CyberSource. (n.d.). Decision Manager: Fraud and Risk Management. Retrieved from https://www.cybersource.com/en-us/solutions/fraud-and-risk-management/decision-manager.html.
- FinCEN. (2021). Anti‐Money Laundering Program Requirements for Financial Institutions. Retrieved from https://www.fincen.gov/.
- Forter. (2023). Trust Platform: Fraud Prevention and Chargeback Guarantee. Retrieved from https://www.forter.com/.
- Gartner, Inc. (2023). Critical Capabilities for Real‐Time Fraud Detection and Prevention Platforms. https://www.gartner.com/document/3992837.
- Google Cloud. (2022). Running ML Models at the Edge with TensorFlow Lite. Retrieved from https://cloud.google.com/blog/products/ai-machine-learning/ml-at-the-edge-with-tensorflow-lite.
- GSMA (2023). State of the Industry Report on Mobile Money 2023. https://www.gsma.com/mobilefordevelopment/resources/state-of-the-industry-report-on-mobile-money-2023/.
- IASB (2023). IFRS 9 Financial Instruments – Expected Credit Loss (ECL) Model. https://www.ifrs.org/issued-standards/list-of-standards/ifrs-9-financial-instruments/.
- Islam, M. Z., Islam, M. S., Reza, S. A., et al. (2025). Machine Learning-Based Detection and Analysis of Suspicious Activities in Bitcoin Wallet Transactions in the USA. Journal of Ecohumanism, 4(1), 3714–3734. https://doi.org/10.62754/joe.v4i1.6214.
- Jakir, T., Rabbi, M. N. S., Rabbi, M. M. K., Ahad, M. A., Siam, M. A., Hossain, M. N., ... & Hossain, A. (2023). Machine Learning-Powered Fi-nancial Fraud Detection: Building Robust Predictive Models for Transactional Security. Journal of Economics, Finance and Accounting Stud-ies, 5(5), 161-180. https://doi.org/10.32996/jefas.2023.5.5.16.
- Kount. (n.d.). Trust & Safety Platform. Retrieved from https://kount.com/.
- KPMG. (2023). Consumer Loss of Trust in the Wake of Corporate Fraud and Data Breaches. https://home.kpmg/xx/en/home/insights/2023/bridging-the-trust-chasm.html.
- Liu, Y., Gao, J., & Chen, T. (2021). Graph‐based fraud detection in financial transaction networks. ACM Transactions on Knowledge Discovery from Data. https://doi.org/10.1145/3442381.3449989.
- Mastercard. (2021). Mastercard Decision Intelligence. https://b2b.mastercard.com/ai-and-security-solutions/fraud-and-decisioning/decision-intelligence/.
- Ndichu, D., Mburu, S., & Wang’ombe, M. (2020). Fraud Detection Using Machine Learning in Kenya’s Mobile Money Ecosystem. African Journal of Science, Technology and Innovation.
- PCAOB. (2007). Auditing Standard No. 5. https://pcaobus.org/oversight/standards/auditing-standards/details/Auditing_Standard_5.
- PayPal. (2022). PayPal Fraud Protection. https://www.paypal.com/us/enterprise/fraud-protection-advanced.
- PCI Security Standards Council. (2022). Payment Card Industry Data Security Standard v4.0. Retrieved from https://www.pcisecuritystandards.org/.
- PCI Security Standards Council (2022). Payment Card Industry Data Security Standard (PCI DSS) v4.0. https://www.pcisecuritystandards.org/document_library?category=pcidss&document=pci_dss.
- Phua, C., Lee, V., Smith, K., & Gayler, R. (2010). A Comprehensive Survey of Data Mining–Based Fraud Detection Research. Artificial Intelli-gence Review, 34(3), 1–14.
- Rahman, A., Debnath, P., Ahmed, A., Dalim, H. M., Karmakar, M., Sumon, M. F. I., & Khan, M. A. (2024). Machine learning and network analy-sis for financial crime detection: Mapping and identifying illicit transaction patterns in global black money transactions. Gulf Journal of Advance Business Research, 2(6), 250–272. https://doi.org/10.51594/gjabr.v2i6.49.
- Rahman, M. S., Bhowmik, P. K., Hossain, B., et al. (2023). Enhancing Fraud Detection Systems in the USA: A Machine Learning Approach to Identifying Anomalous Transactions. Journal of Economics, Finance and Accounting Studies, 5(5), 145–160. https://doi.org/10.32996/jefas.2023.5.5.15.
- Rashkin, H., Choi, E., Jang, J. Y., Volkova, S., & Choi, Y. (2017). Truth of Varying Shades: Analyzing Language in Fake News and Political Fact-Checking. In Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing (EMNLP). https://doi.org/10.18653/v1/D17-1317.
- Ray, R. K., Sumsuzoha, M., Faisal, M. H., et al. (2025). Harnessing Machine Learning and AI to Analyze the Impact of Digital Finance on Urban Economic Resilience in the USA. Journal of Ecohumanism, 4(2), 1417–1442. https://doi.org/10.62754/joe.v4i2.6515.
- RBI (2022). Report on Trend and Progress of Banking in India. Reserve Bank of India. https://rbi.org.in/Scripts/AnnualPublications.aspx?head=Trend+and+Progress+of+Banking+in+India&utm_source=chatgpt.com.
- Reza, S. A., Hasan, M. S., Amjad, M. H. H., Islam, M. S., Rabbi, M. M. K., Hossain, A., & Jakir, T. (2025). Harnessing Machine Learning and AI to Analyze the Impact of Digital Finance on Urban Economic Resilience in the USA. Journal of Ecohumanism, 4(2), 1417–1442. https://doi.org/10.62754/joe.v4i2.6515.
- Sizan, M. M. H., Chouksey, A., Tannier, N. R., Al Jobaer, M. A., Akter, J., Roy, A., & Islam, D. A. (2025). Advanced Machine Learning Ap-proaches for Credit Card Fraud Detection in the USA: A Comprehensive Analysis. Journal of Ecohumanism, 4(2), 883–905. https://doi.org/10.62754/joe.v4i2.6377.
- Stripe. (2023). Stripe Radar: Machine‐Learning‐Powered Fraud Prevention. Retrieved from https://stripe.com/radar.
- Sze, V., Chen, Y. H., Yang, T. J., & Emer, J. S. (2017). Efficient Processing of Deep Neural Networks: A Tutorial and Survey. Proceedings of the IEEE, 105(12), 2295–2329. https://doi.org/10.1109/JPROC.2017.2761740.
- U.S. Government Publishing Office (GPO). Sarbanes–Oxley Act of 2002, Section 404 – Management Assessment of Internal Controls. https://www.govinfo.gov/content/pkg/PLAW-107publ204/pdf/PLAW-107publ204.pdf.
- Visa. (2022). Visa Advanced Authorization: Real‐Time Fraud and Risk Management. https://usa.visa.com/run-your-business/visa-security/risk-solutions/authorization-optimization.html.
- World Bank (2021). Digital Financial Services and the Path to Financial Inclusion. https://www.worldbank.org.
-
Downloads
-
How to Cite
Fariha, N., Khan, M. N. M., Hossain, M. I., Reza, S. A., Bortty, J. C., Sultana, K. S., Jawad, M. S. I., Safat, S., Ahad, M. A., & Begum, M. (2025). Advanced fraud detection using machine learning models: enhancing financial transaction security. International Journal of Accounting and Economics Studies, 12(2), 85-104. https://doi.org/10.14419/c73kcb17
