An Optimized XGBoost Framework for Real-Time Credit Card Fraud Detection: Addressing Class Imbalance with Hybrid SMOTE-ENN Resampling

Financial fraud, especially in the form of credit card fraud, presents considerable threats to both consumers and businesses, thus requiring sophisticated detection mechanisms. This paper introduces an enhanced framework based on XGBoost to tackle essential issues in fraud detection: class imbalance, the need for real-time processing, and the importance of model interpretability. Using the Kaggle Credit Card Fraud Dataset (which includes 285,807 transactions with a fraud rate of 0.17%), we apply a SMOTE-ENN hybrid resampling method to equalize class distributions and create features (derived from PCA on V1–V28 and temporal metrics) for effective training. The model incorporates cost-sensitive learning by imposing penalties that are 10 times greater for false negatives, and it employs Youden’s J statistic to fine-tune decision thresholds (0.32). The experimental findings show a 92% F1-score and an AUC-ROC of 0.98, surpassing LightGBM (89% F1) and LSTM networks (90% F1) while achieving a crucial inference latency of 12ms for real-time payment gateways. Analysis of errors indicates strategies to address false positives (by whitelisting high amounts) and false negatives (through spend velocity features). The scalability of the framework is confirmed through a simulation of 1 million transactions per second on AWS, which demonstrates a throughput of 985,000 transactions per second.

Authors

Institutions

Publication Details

Journal
International Journal of Scientific Research in Science and Technology
Published
2025-06-12
DOI
https://doi.org/10.32628/ijsrst25123122
Primary Topic
Vehicle License Plate Recognition
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

An Optimized XGBoost Framework for Real-Time Credit Card Fraud Detection: Addressing Class Imbalance with Hybrid SMOTE-ENN Resampling

Mrugesh Patel, Mamta Patel, Ms. Krinal Savani
International Journal of Scientific Research in Science and Technology
Vehicle License Plate Recognition
article

An Optimized XGBoost Framework for Real-Time Credit Card Fraud Detection: Addressing Class Imbalance with Hybrid SMOTE-ENN Resampling

Mrugesh Patel, Mamta Patel, Ms. Krinal Savani
article en

Abstract

Financial fraud, especially in the form of credit card fraud, presents considerable threats to both consumers and businesses, thus requiring sophisticated detection mechanisms. This paper introduces an enhanced framework based on XGBoost to tackle essential issues in fraud detection: class imbalance, the need for real-time processing, and the importance of model interpretability. Using the Kaggle Credit Card Fraud Dataset (which includes 285,807 transactions with a fraud rate of 0.17%), we apply a SMOTE-ENN hybrid resampling method to equalize class distributions and create features (derived from PCA on V1–V28 and temporal metrics) for effective training. The model incorporates cost-sensitive learning by imposing penalties that are 10 times greater for false negatives, and it employs Youden’s J statistic to fine-tune decision thresholds (0.32). The experimental findings show a 92% F1-score and an AUC-ROC of 0.98, surpassing LightGBM (89% F1) and LSTM networks (90% F1) while achieving a crucial inference latency of 12ms for real-time payment gateways. Analysis of errors indicates strategies to address false positives (by whitelisting high amounts) and false negatives (through spend velocity features). The scalability of the framework is confirmed through a simulation of 1 million transactions per second on AWS, which demonstrates a throughput of 985,000 transactions per second.

International Journal of Scientific Research in Science and TechnologyVol. 12(3)
Gujarat University (IN)
Openalex Percentile: Top 81%
Vehicle License Plate Recognition
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

An Optimized XGBoost Framework for Real-Time Credit Card Fraud Detection: Addressing Class Imbalance with Hybrid SMOTE-ENN Resampling — Mrugesh Patel, Mamta Patel, et al. · International Journal of Scientific Research in Science and Technology (2025) | TGRS Research Map | TGRS