Improving Credit Card Fraud Detection Using SMOTE and Random Forest: A Recall and F1-Score Analysis
Year: 2026
Type: article
Abstract: Credit card fraud has become an increasingly critical issue due to the rapid growth of digital payment systems. One of the major challenges in fraud detection is the severe class imbalance problem, where legitimate transactions significantly outnumber fraudulent ones, causing machine learning models to be biased toward the majority class. This study aims to improve the performance of credit card fraud detection by integrating the Synthetic Minority Over-sampling Technique (SMOTE) with the Random Forest algorithm. The experiments were conducted using the publicly available Credit Card Fraud Detection dataset, which contains 284,807 transactions with only 0.172% fraudulent cases. SMOTE was applied exclusively to the training dataset to address class imbalance while preventing data leakage. Model performance was evaluated using Accuracy, Precision, Recall, F1-score, and the Area Under the Receiver Operating Characteristic Curve (ROC-AUC). The experimental results show that the proposed model achieved an Accuracy of 99.9%, Precision of 91.2%, Recall of 76.8%, F1-score of 83.4%, and ROC-AUC of 0.969. Compared with the baseline Random Forest model trained without SMOTE, the proposed approach improved Recall, F1-score, and ROC-AUC while maintaining the same overall Accuracy. These findings demonstrate that applying SMOTE effectively enhances the detection of fraudulent transactions by improving minority-class representation during model training. Therefore, the proposed SMOTE-based Random Forest model provides a practical, efficient, and reliable solution for handling highly imbalanced credit card fraud datasets.
Institution: Universitas Pelita Bangsa
Language: English
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
OpenAlex ID: W7220344118
