Leveraging Artificial Intelligence and Machine Learning for Real-Time Fraud Detection in E-Commerce Transactions
DOI:
https://doi.org/10.29070/dkvj8906Keywords:
Artificial Intelligence, Machine Learning, Fraud Detection, E-Commerce Transactions, Random Forest, SMOTENC, SHAP Analysis, Class Imbalance, Cybersecurity, Predictive AnalyticsAbstract
With more and more people making purchases online, fraud detection has become an important issue for online marketplaces due to the explosion of e-commerce. However, traditional approaches often are inadequate for catching more sophisticated and emerging fraudulent activities in real-time. The aim of this research is to investigate the effectiveness of ML and AI techniques in real-time detection of online shopping fraud. The number of 50,000 records were selected from marketplaces using stratified sampling to ensure representative sampling of classes. Data preparation involved dealing with missing data, removing duplicate data, address outliers, scaling features, and encoding categorical data for analysis. To overcome the problem of class imbalance, the use of SMOTENC, SMOTENC + ENN, & SMOTENC + Tomek Links approaches were performed. Numerous ML classifiers, such as Random Forest & Stochastic Gradient, were tested. The model was assessed for several parameters such as recall, accuracy, precision, F1 score, and AUC-ROC. Random Forest (RF) out performed all the other classifiers in both balanced and unbalanced datasets and Stochastic Gradient (SG) performed the next best. The most important factors that go into fraud detection judgements were determined via SHAP analysis. The study highlights potential opportunities for trust in e-commerce platforms, risk mitigations in terms of financial losses, and enhanced transaction security through AI-driven fraud detection.
Downloads
References
1. Moagar-Poladian, S., Dumitrescu, G. C., & Tanase, I. A. (2017). Retail e-commerce (e-tail): Evolution, characteristics and perspectives in China, the USA and Europe. Global Economic Observer, 5(1), 167–178.
2. McAfee. (2018). The economic impact of cybercrime—No slowing down. https://www.mcafee.com/enterprise/en-us/assets/executive-summaries/es-economic-impact-cybercrime.pdf
3. Cavico, F. J., & Mujtaba, B. G. (2017). Wells Fargo's fake accounts scandal and its legal and ethical implications for management. SAM Advanced Management Journal, 82(2), 4–14.
4. Kawase, R., Diana, F., Czeladka, M., Schüler, M., & Faust, M. (2019). Internet fraud: The case of account takeover in online marketplace. In Proceedings of the 30th ACM Conference on Hypertext and Social Media (pp. 181–190).
5. Nanduri, J., Jia, Y., Oka, A., Beaver, J., & Liu, Y. W. (2020). Microsoft uses machine learning and optimization to reduce e-commerce fraud. INFORMS Journal on Applied Analytics, 50(1), 64–79.
6. Wang, R., Nie, K., Wang, T., Yang, Y., & Long, B. (2020). Deep learning for anomaly detection. In Proceedings of the 13th International Conference on Web Search and Data Mining (pp. 894–896).
7. Porwal, U., & Mukund, S. (2019). Credit card fraud detection in e-commerce. In 2019 18th IEEE International Conference on Trust, Security and Privacy in Computing and Communications/13th IEEE International Conference on Big Data Science and Engineering (TrustCom/BigDataSE) (pp. 280–287). IEEE.
8. Hilal, W., Gadsden, S. A., & Yawney, J. (2022). Financial fraud: A review of anomaly detection techniques and recent advances. Expert Systems with Applications, 193, 116429.
9. Ashtiani, M. N., & Raahemi, B. (2022). Intelligent fraud detection in financial statements using machine learning and data mining: A systematic literature review. IEEE Access, 10, 72504–72525.
10. Albashrawi, M. (2016). Detecting financial fraud using data mining techniques: A decade review from 2004 to 2015. Journal of Data Science, 14(3), 553–570.
11. Choi, D., & Lee, K. (2018). An artificial intelligence approach to financial fraud detection under IoT environment: A survey and implementation. Security and Communication Networks, 2018, 1–15.
12. Ngai, E. W. T., Hu, Y., Wong, Y. H., Chen, Y., & Sun, X. (2011). The application of data mining techniques in financial fraud detection: A classification framework and an academic review of literature. Decision Support Systems, 50(3), 559–569.
13. Ryman-Tubb, N. F., Krause, P., & Garn, W. (2018). How artificial intelligence and machine learning research impacts payment card fraud detection: A survey and industry benchmark. Engineering Applications of Artificial Intelligence, 76, 130–157.
14. Al-Hashedi, K. G., & Magalingam, P. (2021). Financial fraud detection applying data mining techniques: A comprehensive review from 2009 to 2019. Computer Science Review, 40, 100402.
15. Chaquet-Ulldemolins, J., Moral-Rubio, S., & Muñoz-Romero, S. (2022). On the black-box challenge for fraud detection using machine learning (II): Nonlinear analysis through interpretable autoencoders. Applied Sciences, 12(8), 3856.
16. Da’u, A., & Salim, N. (2020). Recommendation system based on deep learning methods: A systematic review and new directions. Artificial Intelligence Review, 53(4), 2709–2748.
17. Zeng, Y., & Tang, J. (Year). RLC-GNN: An improved deep architecture for spatial-based graph neural network with application to fraud detection.