Research Article

Retail Fraud Transaction Detection Based on Machine Learning Algorithms

Chenshi Liu*
Washing, Issaquah, 98029, USA

* Corresponding author: [email protected]

Abstract

This paper aims to improve the accuracy of fraudulent transaction detection in the retail industry to ensure its healthy and sustainable development. An innovative optimization model, BiTCN LSTM, is proposed to enhance long short-term memory networks with bidirectional temporal convolutional networks. Aiming at the limitations of existing models, this study systematically compares the performance of various mainstream classification algorithms in fraud detection tasks, including K-nearest neighbor (KNN), back propagation neural network (BP neural network), support vector machine (SVM), and logistic regression. The evaluation system comprehensively covers key indicators such as accuracy, recall, precision, F1 score, and area under the curve (AUC). The experimental results show that among the comparative models, logistic regression has the highest prediction accuracy, reaching 76.2%, followed by BP neural network (70.6%), while both KNN and SVM have accuracy below 70%. In sharp contrast, the BiTCN LSTM model proposed in this paper shows excellent performance in fraud detection tasks with an accuracy of up to 99.1%, which is significantly better than the best comparison model (logistic regression) by 22.9 percentage points. In addition, the model achieved the best results on all other core evaluation metrics such as recall, accuracy, F1 score, and AUC, fully demonstrating its ability to effectively identify fraudulent transactions while accurately distinguishing fraudulent and non-fraudulent samples, achieving high-precision classification of fraudulent transactions. The successful application of this model has significantly improved the security level of retail transactions, and provided strong technical support for curbing fraud, reducing economic losses, maintaining market order, and ultimately promoting the healthy, stable and sustainable growth of retail industry.

Keywords: Retail industry; accuracy of fraud transaction detection; machine learning
Published: November 5, 2025
DOI: 10.54254/2755-2721/2025.28886
Volume: ACE Vol.193
pp. 132-138
Download PDF

References

  1. Manjunath S. Vhatkar, et al."Optimized hyperparameters for retail sales forecasting using grid search."Engineering Applications of Artificial Intelligence 158.PA(2025): 111472.
  2. Juan D Velásquez."An analysis of trends, challenges, and opportunities in retail analytics."International Journal of Market Research 67.4(2025): 394-422.
  3. Hengzhi Hu, et al."Grid-based market sales forecasting for retail businesses using automated machine learning and geospatial intelligence."Expert Systems With Applications 284.(2025): 127869-127869.
  4. Gombos Nóra, Julianna, et al."Investigating banks’ social media content and consumer reactions with machine learning."Journal of Open Innovation: Technology, Market, and Complexity 11.2(2025): 100512-100512.
  5. Karamchand, Gopal Krishna. "Automating Cybersecurity with Machine Learning and Predictive Analytics." Journal of Computational Innovation 3.1 (2023).
  6. Ruan, Jiaqi, et al. "Deep learning for cybersecurity in smart grids: Review and perspectives." Energy Conversion and Economics 4.4 (2023): 233-251.
  7. Kazi Obaidur Rahman, et al."AI-Driven Next-Gen U.S. Retail: An Empirical Study on Optimizing Supply Chains by leveraging Artificial Intelligence, Business Intelligence, and Machine Learning.."Journal of Computer Science and Technology Studies 7.1(2025): 258-264.
  8. Kuzior, Aleksandra, et al. "Company cybersecurity system: Assessment, risks and expectations." Production Engineering Archives 29 (2023): 379-392.
  9. Chirine Riachy, et al."Enhancing deep learning for demand forecasting to address large data gaps."Expert Systems With Applications 268.(2025): 126200