Skip to main content
QUICK REVIEW

[Paper Review] Evaluating resampling methods on a real-life highly imbalanced online credit card payments dataset

François de la Bourdonnaye, Fabrice Daniel|arXiv (Cornell University)|Jun 27, 2022
Imbalanced Data Classification TechniquesComputer Science6 citations
TL;DR

This study evaluates state-of-the-art resampling methods on a large-scale, real-life online credit card fraud dataset using gradient boosting models (XGBoost, LightGBM, CatBoost). Despite significant recall improvements, resampling methods severely degrade precision and PR AUC, indicating they are ineffective for this highly imbalanced dataset, with gradient boosting alone outperforming all resampling strategies.

ABSTRACT

Various problems of any credit card fraud detection based on machine learning come from the imbalanced aspect of transaction datasets. Indeed, the number of frauds compared to the number of regular transactions is tiny and has been shown to damage learning performances, e.g., at worst, the algorithm can learn to classify all the transactions as regular. Resampling methods and cost-sensitive approaches are known to be good candidates to leverage this issue of imbalanced datasets. This paper evaluates numerous state-of-the-art resampling methods on a large real-life online credit card payments dataset. We show they are inefficient because methods are intractable or because metrics do not exhibit substantial improvements. Our work contributes to this domain in (1) that we compare many state-of-the-art resampling methods on a large-scale dataset and in (2) that we use a real-life online credit card payments dataset.

Motivation & Objective

  • To assess the effectiveness of state-of-the-art resampling techniques on a large-scale, real-life online credit card payments dataset with extreme class imbalance.
  • To determine whether resampling improves key fraud detection metrics such as precision, recall, F1, and PR AUC.
  • To identify tractable resampling methods given computational constraints on a dataset with up to ten million samples.
  • To compare the performance of multiple gradient boosting models (XGBoost, LightGBM, CatBoost) with and without resampling.
  • To provide empirical evidence on the limitations of resampling in real-world fraud detection scenarios.

Proposed method

  • The study applies 7 state-of-the-art resampling methods: Random Oversampling, Random Undersampling, SMOTE, Borderline SMOTE, ADASYN, NEar-NEst-Neighbor (NearMiss), and Instance Hardness Threshold (IHT).
  • Resampling is applied to a real online credit card payments dataset with extreme class imbalance, where fraud cases are a tiny fraction of total transactions.
  • Three gradient boosting models—XGBoost, LightGBM, and CatBoost—are trained on both resampled and original datasets to evaluate performance differences.
  • Performance is measured using precision, recall, F1-score, and PR AUC, with results reported as percentage changes relative to baseline (no resampling).
  • Computational tractability is evaluated by measuring actual resampling times on a high-performance cluster with 80 hyperthreaded cores and 1TB RAM.
  • The analysis focuses on the trade-off between recall gains and precision degradation, particularly assessing whether improvements in minority-class detection are offset by increased false positives.

Experimental results

Research questions

  • RQ1Do state-of-the-art resampling methods significantly improve fraud detection performance on a real, large-scale, highly imbalanced online credit card dataset?
  • RQ2Which resampling methods are computationally tractable for datasets with up to ten million samples?
  • RQ3To what extent do resampling methods improve recall at the cost of precision and PR AUC in real-world fraud detection?
  • RQ4How do different gradient boosting models (XGBoost, LightGBM, CatBoost) perform with and without resampling on this dataset?
  • RQ5Are resampling techniques effective overall, or do they degrade key metrics despite increasing recall?

Key findings

  • Instance Hardness Threshold, Random Undersampling, and Borderline SMOTE improved recall by up to 841% and F1 by up to 96%, but reduced PR AUC by 31–68% and precision by 77–99%.
  • SMOTE and ADASYN reduced PR AUC by 59–67% and precision by 91–93%, while recall increased by 527–836%, indicating severe trade-offs.
  • NEAR MISS achieved the highest recall increase (1657%) but caused a 97% drop in PR AUC and 99% drop in precision, rendering it ineffective for practical use.
  • All resampling methods significantly degraded PR AUC and precision, with no method showing substantial net improvement across all metrics.
  • The results indicate that resampling is ineffective for this dataset, and gradient boosting alone performs better than any resampling strategy.
  • The study concludes that gradient boosting models inherently handle class imbalance better than resampling, especially through their focus on hard examples.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.