[Paper Review] ATM Fraud Detection using Streaming Data Analytics
This paper proposes a scalable, real-time ATM fraud detection system using streaming data analytics and static batch processing on Apache Spark. It evaluates multiple machine learning models—particularly Random Forest—in both static and streaming contexts, achieving a mean AUC of 0.975 (static) and 0.910 (streaming), demonstrating high effectiveness and low latency for fraud detection in financial systems.
Gaining the trust and confidence of customers is the essence of the growth and success of financial institutions and organizations. Of late, the financial industry is significantly impacted by numerous instances of fraudulent activities. Further, owing to the generation of large voluminous datasets, it is highly essential that underlying framework is scalable and meet real time needs. To address this issue, in the study, we proposed ATM fraud detection in static and streaming contexts respectively. In the static context, we investigated a parallel and scalable machine learning algorithms for ATM fraud detection that is built on Spark and trained with a variety of machine learning (ML) models including Naive Bayes (NB), Logistic Regression (LR), Support Vector Machine (SVM), Decision Tree (DT), Random Forest (RF), Gradient Boosting Tree (GBT), and Multi-layer perceptron (MLP). We also employed several balancing techniques like Synthetic Minority Oversampling Technique (SMOTE) and its variants, Generative Adversarial Networks (GAN), to address the rarity in the dataset. In addition, we proposed a streaming based ATM fraud detection in the streaming context. Our sliding window based method collects ATM transactions that are performed within a specified time interval and then utilizes to train several ML models, including NB, RF, DT, and K-Nearest Neighbour (KNN). We selected these models based on their less model complexity and quicker response time. In both contexts, RF turned out to be the best model. RF obtained the best mean AUC of 0.975 in the static context and mean AUC of 0.910 in the streaming context. RF is also empirically proven to be statistically significant than the next-best performing models.
Motivation & Objective
- To address the growing challenge of ATM fraud in financial institutions through real-time, scalable detection systems.
- To develop a robust framework capable of handling large-volume, imbalanced transaction datasets in both static and streaming data contexts.
- To evaluate the performance of diverse machine learning models—including RF, SVM, and GBT—under real-time processing constraints.
- To enhance rare fraud class detection using data augmentation techniques like SMOTE and GANs.
- To design a low-latency, sliding-window-based streaming model for immediate fraud response in production environments.
Proposed method
- Utilizes Apache Spark for distributed, scalable processing of static and streaming ATM transaction data.
- Employs a sliding window mechanism to collect and process transactions within a defined time interval for real-time analysis.
- Applies multiple machine learning models—Naive Bayes, Random Forest, Decision Tree, K-Nearest Neighbors, and others—for both static and streaming evaluation.
- Integrates data balancing techniques such as SMOTE and GANs to address class imbalance in fraud detection.
- Selects models based on low complexity and fast inference time to ensure real-time responsiveness in streaming mode.
- Uses AUC as the primary evaluation metric to compare model performance across static and streaming settings.
Experimental results
Research questions
- RQ1How effective are traditional and deep learning models in detecting ATM fraud within a scalable, distributed computing environment?
- RQ2What is the impact of data balancing techniques like SMOTE and GANs on fraud detection performance in imbalanced datasets?
- RQ3Can a sliding-window-based streaming approach achieve high detection accuracy with low latency in real-time ATM fraud detection?
- RQ4Which machine learning model offers the best trade-off between accuracy, scalability, and inference speed in both static and streaming contexts?
- RQ5How does model performance, particularly AUC, vary between batch-processed and continuously updated streaming data?
Key findings
- Random Forest (RF) achieved the highest mean AUC of 0.975 in the static context, outperforming all other models tested.
- In the streaming context, RF achieved a mean AUC of 0.910, demonstrating strong real-time detection capability.
- RF was empirically statistically significant compared to the next-best performing models in both static and streaming evaluations.
- The use of SMOTE and GAN-based data augmentation improved detection of rare fraud cases in imbalanced datasets.
- Models with lower complexity, such as KNN and DT, showed faster inference times, making them suitable for low-latency streaming applications.
- The sliding window-based streaming framework enabled timely fraud detection with minimal latency, suitable for production deployment.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.