Decoupled focal loss and bayesian temperature fusion XGBoost for imbalanced credit card fraud detection
Authors:
Open Access
- 10 August 2026
- journal article
- research article
- Published by Springer Nature in Scientific Reports
- Vol. 16 (1)
Abstract
Accurate credit card fraud detection is crucial for financial system security. Under class imbalance, existing models struggle with the precision–recall trade-off: traditional Focal Loss relies on static parameters that cannot adapt to sample difficulty, conventional fusion strategies are parameter-sensitive and prone to extreme weight assignments, and a single model often fails to capture both complex nonlinear patterns and robust structural features. This study proposes the FL-XGB Fusion framework, which adopts a decoupled warm-up scheduling strategy for Focal Loss—an adaptive class balancing coefficient α targeting the empirical fraud rate, and a progressively increasing focusing parameter γ preventing premature suppression of hard examples—together with a Bayesian temperature-optimized adaptive fusion network that quantifies prediction uncertainty via information entropy, dynamically allocates DNN and XGBoost weights, and employs TPE sampling to search for the optimal temperature per fold. Experiments on three heterogeneous datasets (IEEE-CIS, CreditCard, and PaySim) under five-fold stratified cross-validation show that the framework achieves the highest F1-Score among eight baseline methods on all three datasets, improving over standalone XGBoost by 1.51–1.81 pp, while remaining competitive in AUC-ROC. Ablation studies with nine variants and non-parametric tests quantify the contribution of each core component, indicating that the gains, though modest in magnitude, are consistent across the three datasets with different imbalance ratios.Keywords
Funding Information
- Cross-functional Technology Development Projects (No. 2025010214)
- Undergraduate Innovation Training Project (No. D202511062115421663)
This publication has 23 references indexed in Scilit:
- Benchmarking Credit Card Fraud Detection Models: A Comprehensive Evaluation Across Diverse DatasetsComputational Economics, 2025
- HMOA-GNN: adaptive adversarial GraphSAGE with hierarchical hybrid sampling and metric-optimized graph construction for credit card fraud detectionScientific Reports, 2025
- Enhancing credit card fraud detection using DBSCAN-augmented disjunctive voting ensembleScientific Reports, 2025
- Applications of Machine Learning and Deep Learning Algorithms in Financial Fraud Detection: A ReviewComputational Economics, 2025
- A probabilistic approach driven credit card anomaly detection with CBLOF and isolation forest modelsAlexandria Engineering Journal, 2024
- An integrated multistage ensemble machine learning model for fraudulent transaction detectionJournal of Big Data, 2024
- Deep adaptive ensemble learning for imbalanced credit card fraud detectionApplied Economics Letters, 2024
- Leveraging graph-based learning for credit card fraud detection: a comparative study of classical, deep learning and graph-based approachesNeural Computing and Applications, 2024
- Credit card fraud detection using the brown bear optimization algorithmAlexandria Engineering Journal, 2024
- A cost-sensitive ensemble deep forest approach for extremely imbalanced credit fraud detectionQuantitative Finance, 2023