A Model for Detecting Fraud in Banking Transactions Based on Artificial Intelligence: Gambling-Related Transactions
Keywords:
Banking transactions, Dimensionality reduction, Ensemble learning, XGBoost, Random Forest, AutoencoderAbstract
Banking fraud is one of the major challenges that can have significant economic consequences for society. The aim of this study was to classify and detect gambling-related activities using banking transaction data. The dataset consisted of 16,764 banking transactions collected between 2023 and 2024, belonging to 1,857 distinct bank card numbers, with the deposit status column considered as the target label. Following data preprocessing procedures, including data cleaning, normalization, categorical-to-numerical conversion, and standard scaling, statistical features were extracted from two primary variables, resulting in the generation of 44 new features. Due to the high dimensionality of the feature space and the limited dataset size, three dimensionality reduction approaches based on statistical feature-selection tests were employed. The dataset was divided into training and testing subsets using an 80:20 ratio. In the baseline model, the K-Nearest Neighbors (KNN), Support Vector Machine (SVM), Random Forest, Extreme Gradient Boosting (XGBoost), Multilayer Perceptron (MLP), and Convolutional Neural Network (CNN) algorithms were evaluated using the original feature set. The proposed model was an ensemble learning framework that combined XGBoost and Random Forest classifiers through a soft-voting mechanism. Model hyperparameters were optimized using a greedy search strategy. The results demonstrated that the statistical test-based feature selection method achieved the best performance among the dimensionality reduction techniques, with an accuracy of 80.38%. Under this feature-selection approach, the proposed ensemble learning model also achieved an accuracy of 80.38%, representing an improvement of more than 6% compared with the best-performing baseline model (XGBoost with an accuracy of 73.92%). Furthermore, deep neural networks exhibited overfitting throughout all experimental stages, indicating that the available data volume was insufficient for deep learning approaches. Overall, targeted feature engineering, statistical test-based dimensionality reduction, and ensemble learning constitute an effective approach for classifying banking transactions when data availability is limited.
Downloads
References
1. Yapp EKY, Yeh HY. An Extensive Experimental Comparison of Machine and Deep Learning Methods for Credit and Bank Fraud Detection. Finance Research Letters. 2026;88:109190. doi: 10.1016/j.frl.2025.109190.
2. Mohammed M. Comparison of Various Classification Algorithms for Credit Card Fraud Detection. Taylor & Francis Book Chapter: Taylor & Francis; 2026.
3. Li W, editor Credit Card Fraud Detection: A System Based on Imbalanced Learning and Ensemble Models. Proceedings of the 2025 7th International Conference on Economic Management and Model Engineering (ICEMME 2025); 2026.
4. Bothra Y. A Comprehensive Performance Comparison of Traditional and Ensemble Machine Learning Models for Online Fraud Detection. arXiv preprint. 2025:arXiv:2509.17176.
5. Abdullah A, Khairah DU, Pangestika MW. Comparison of Random Forest and XGBoost Algorithms in Credit Card Fraud Classification. Journal of Computer Science and Technology (COSCITECH). 2025;6(3). doi: 10.37859/coscitech.v6i3.10470.
6. Khalid AR, Owoh N, Uthmani O, Ashawa M, Osamor J, Adejoh J. Enhancing Credit Card Fraud Detection: An Ensemble Machine Learning Approach. Big Data and Cognitive Computing. 2024;8(1):6. doi: 10.3390/bdcc8010006.
7. Ahmed S, Khan MA, Rahman M. Hybrid CNN-LSTM with Attention Mechanism for Robust Credit Card Fraud Detection. IEEE Access. 2025;13:114056-68. doi: 10.1109/ACCESS.2025.3583253.
8. Hasan MA, Hossain MS, Islam MR. A Hybrid Deep Learning Framework Using Synthetic Oversampling, Autoencoder, Convolutional Neural Networks, and an Attention Mechanism for Credit Card Fraud Detection. Journal of Big Data. 2026;13:Article 21. doi: 10.1186/s40537-025-01331-2.
9. Mienye ID, Swart TG. A Hybrid Deep Learning Approach with Generative Adversarial Network for Credit Card Fraud Detection. Technologies. 2024;12(10):186. doi: 10.3390/technologies12100186.
10. Hirnschall D. Semi-Supervised Bayesian GANs with Log-Signatures for Uncertainty-Aware Credit Card Fraud Detection. arXiv preprint. 2026:arXiv:2509.00931. doi: 10.3390/math13193229.
11. Zhang X, Han Y, Xu W, Wang Q. HOBA: A Novel Feature Engineering Methodology for Credit Card Fraud Detection with a Deep Learning Architecture. Information Sciences. 2023;632:1-15. doi: 10.1016/j.ins.2023.02.090.
12. Choi S, Kim C, Kang YS, Youm S. Human Behavioral Pattern Analysis-Based Anomaly Detection System in Residential Space. The Journal of Supercomputing. 2021;77:9248-65. doi: 10.1007/s11227-021-03641-7.
13. Cherif A, Ammar H, Kalkatawi M, Alshehri S, Imine A. Encoder-Decoder Graph Neural Network for Credit Card Fraud Detection. Journal of King Saud University - Computer and Information Sciences. 2024;36(3):102003. doi: 10.1016/j.jksuci.2024.102003.
14. Alarfaj FK, Shahzadi S. Enhancing Fraud Detection in Banking with Deep Learning: Graph Neural Networks and Autoencoders for Real-Time Credit Card Fraud Prevention. IEEE Access. 2024;12:145678-95.
15. Choudhary I, Kapoor H, Kaushik E. Cutting Edge Hybrid Models for Credit Card Fraud Detection: Integrating GRFO-KNN, Temporal Analysis, and LSTM Networks. In: Patnaik S, Abe JM, Nakamatsu K, Vigliarolo F, editors. Social, Ethical and Legal Aspects of Generative AI. Studies in Computational Intelligence. 1185: Springer; 2025.
16. El-Fargani A, El-Hassan M. Data-Driven Financial Fraud Detection Using Hybrid Artificial and Quantum Intelligence. Journal of Open Innovation: Technology, Market, and Complexity. 2025;11(4):100581.
17. Sharma P, Gupta R, editors. Enhancing Credit Card Fraud Detection with Explainable AI: A SHAP-Based Approach. Proceedings of 2025 International Conference on Frontiers of Information Technology (FIT 2025); 2025: IEEE.
18. Journal of R, Financial M. Explainable AI (XAI) in Auditing: Bridging the Gap between Predictive Fraud Models and Regulatory Standards. Journal of Risk and Financial Management. 2026;19(5):311. doi: 10.3390/jrfm19050311.
Downloads
Published
Submitted
Revised
Accepted
Issue
Section
License
Copyright (c) 2025 Mehdi Savadkouhi Aghamaleki (Author); Mohammad Reza Sanaei; Soudeh Bakhshandeh, Yashar Bani Hashem (Author)

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.