Data Characteristics Over Model Choice: A Six-Dataset Benchmark of Tree Ensembles, Imbalance Handling, Calibration and the Prevalence Trap in Financial Fraud Detection
Machine-learning studies of payment fraud detection usually report results on a single benchmark, often after rebalancing the classes, which makes it hard to know whether reported gains come from the method or from the data and the evaluation protocol. We evaluate one consistent pipeline (logistic regression and five tree-based learners, class weighting, SMOTE and ADASYN, probability calibration with decision-threshold selection, and soft-voting, weighted-voting and stacking ensembles) on six public fraud datasets that together span 0.13%–3.5% fraud prevalence, 10–433 features and 0.28–6.4 million records. Three findings stand out. First, the dataset explains far more of the variation in performance than the learner does: across tree models, 92.5% of the variance in PR-AUC lies between datasets, and the best PR-AUC ranges from 0.18 (Bank Account Fraud) to 0.96 (PaySim). Second, the largest and most reliable gains came from how the probabilities are turned into decisions, not from resampling or ensembling. Isotonic calibration of a cost-sensitive XGBoost model, fitted on a separate calibration split, raised test F1 at the default threshold from 0.38 to 0.60 on IEEE-CIS and from 0.42 to 0.89 on PaySim, whereas SMOTE and ADASYN mostly reduced F1 and PR-AUC, and voting ensembles beat the best single model on only two of six datasets. Third, we show that evaluating on fraud-enriched samples, a common practice, produces strongly optimistic estimates. Re-expressed at the true prevalence, PaySim F1 falls from 0.97 to 0.56, below the 0.82 obtained by training and testing at natural prevalence. We give a closed-form prevalence correction and argue that fraud-detection results should always be reported at the operating prevalence.
Authors
- Narges Maleki (ORCID: https://orcid.org/0000-0002-2702-0015)
- Thi Hong Nhung Dinh
Institutions
- BI Norwegian Business School (NO)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-01
- DOI
- https://doi.org/10.5281/zenodo.24717350
- Primary Topic
- Imbalanced Data Classification Techniques
- Type
- preprint