E3S Web of Conferences

A Comparative Study of Data Leakage Effects in Financial Fraud Detection Systems

El Gamouz Nourddine, Abdellaoui Alaoui El Arbi, Agoujil Said

Key points

From the paper's conclusion
  • The results of our experiments show that the application of SMOTE leakage always leads to metric distortion, increasing Fl-score by 0.84 points in linear models and saving mathematically wrong models from failure.

Abstract

Despite the exceptional effectiveness of fraud detection machine learning models in laboratory settings, a crucial issue that stands out in practice is the failure of such systems to generalize in real-world environments. One of the main reasons behind such a problem is data leakage in the preprocessing and resampling steps. In this paper, we examine how the presence of three key leakage sources - global feature scaling, pre-split synthetic oversampling (SMOTE) and pre-split feature selection - influence model metrics in various financial datasets (Credit Card, PaySim, IEEE-CIS). Four classifiers were used (Logistic Regression, Random Forest, XGBoost and LightGBM), and Leakage Sensitivity Score (LSS) was defined for explicit metric distortion measurement. The results of our experiments show that the application of SMOTE leakage always leads to metric distortion, increasing Fl-score by 0.84 points in linear models and saving mathematically wrong models from failure. However, another surprising finding of the study is that Feature Selection leakage always causes the decline of model metrics in high-dimensional space (negative LSS values) by optimizing variance of majority class too much. At the same time, the usage of low-dimensional synthetic datasets turns out to be a salvation from scaling and selection leakage. Therefore, this paper introduces a powerful framework of auditing methodologies and cross-validation technique.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers