Data-Driven Explainable Credit Card Fraud Detection Using Fraud-Aware Feature Engineering, Tuned Gradient Boosting, and Decision-Threshold Calibration

The rapid growth of digital payments has increased exposure to credit card fraud, yet building reliable fraud detectors remains difficult because fraudulent transactions are rare, fraud patterns are non-linear, high-performing models are opaque, and the default decision threshold of 0.5 ignores the unequal costs of missed fraud and false alarms. This study presents an explainable and cost-aware fraud detection framework that integrates fraud-aware feature engineering, imbalance-aware learning, tuned gradient boosting, probability and decision-threshold calibration, and SHapley Additive exPlanations (SHAP). Eleven raw attributes were expanded into 40 behavioral, temporal and risk-interaction features; class weighting and the Synthetic Minority Oversampling Technique (SMOTE) were applied to the training data; and seven classifiers, including Extreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), CatBoost and a stacking ensemble, were compared using the area under the precision-recall curve (AUPRC) as the primary criterion. The framework was evaluated on a publicly available synthetic dataset of 10,000 transactions with a fraud rate of 1.51%, using a stratified 80:20 split. The Optuna-tuned LightGBM model achieved the highest cross-validated AUPRC (0.9986) and, on the hold-out set, an area under the receiver operating characteristic curve (AUC-ROC) of 1.0000, an AUPRC of 1.0000, an F1-score of 0.9836, a Matthews correlation coefficient (MCC) of 0.9835 and a Brier score of 0.0006. Calibrating the decision threshold to 0.951 by maximizing the F2-score removed the single remaining false positive without missing any of the 30 fraudulent test transactions, yielding an estimated net benefit of $14,400. SHAP analysis identified device trust score, transaction hour, composite risk score, trust-location risk and 24-hour transaction velocity as the dominant fraud indicators. The results show that coupling accurate learning with threshold calibration and transparent explanations yields a fraud detector that is both effective and auditable, while validation on larger real-world data remains necessary.

Authors

Institutions

Publication Details

Published
2026-11-25
DOI
https://doi.org/10.66879/jdte.2026.98
Primary Topic
Imbalanced Data Classification Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Data-Driven Explainable Credit Card Fraud Detection Using Fraud-Aware Feature Engineering, Tuned Gradient Boosting, and Decision-Threshold Calibration

Sidra Munahil, Aqib Shah, Alishba Urooj, Houn Siv Eng
1 links
Imbalanced Data Classification Techniques
article

Data-Driven Explainable Credit Card Fraud Detection Using Fraud-Aware Feature Engineering, Tuned Gradient Boosting, and Decision-Threshold Calibration

Sidra Munahil, Aqib Shah, Alishba Urooj, Houn Siv Eng
article en

Abstract

The rapid growth of digital payments has increased exposure to credit card fraud, yet building reliable fraud detectors remains difficult because fraudulent transactions are rare, fraud patterns are non-linear, high-performing models are opaque, and the default decision threshold of 0.5 ignores the unequal costs of missed fraud and false alarms. This study presents an explainable and cost-aware fraud detection framework that integrates fraud-aware feature engineering, imbalance-aware learning, tuned gradient boosting, probability and decision-threshold calibration, and SHapley Additive exPlanations (SHAP). Eleven raw attributes were expanded into 40 behavioral, temporal and risk-interaction features; class weighting and the Synthetic Minority Oversampling Technique (SMOTE) were applied to the training data; and seven classifiers, including Extreme Gradient Boosting (XGBoost), Light Gradient Boosting Machine (LightGBM), CatBoost and a stacking ensemble, were compared using the area under the precision-recall curve (AUPRC) as the primary criterion. The framework was evaluated on a publicly available synthetic dataset of 10,000 transactions with a fraud rate of 1.51%, using a stratified 80:20 split. The Optuna-tuned LightGBM model achieved the highest cross-validated AUPRC (0.9986) and, on the hold-out set, an area under the receiver operating characteristic curve (AUC-ROC) of 1.0000, an AUPRC of 1.0000, an F1-score of 0.9836, a Matthews correlation coefficient (MCC) of 0.9835 and a Brier score of 0.0006. Calibrating the decision threshold to 0.951 by maximizing the F2-score removed the single remaining false positive without missing any of the 30 fraudulent test transactions, yielding an estimated net benefit of $14,400. SHAP analysis identified device trust score, transaction hour, composite risk score, trust-location risk and 24-hour transaction velocity as the dominant fraud indicators. The results show that coupling accurate learning with threshold calibration and transparent explanations yields a fraud detector that is both effective and auditable, while validation on larger real-world data remains necessary.

Vol. 2(1)
Dalian University of Technology (CN), University of Peshawar (PK), University of Education (PK)
Imbalanced Data Classification Techniques
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.

Laika access coming soon