A Comparative Analysis of XGBoost and DNN in Online Payment Fraud Detection under Extreme Class Imbalance: A Cost-Sensitive Optimization Approach Based on the F3-Score

Authors

    Farhad Sadri * Adjunct Lecturer, College of Management, Department of Management, University of Tehran, Tehran, Iran farhadsadri10@ut.ac.ir
    Amir Sajad Mohamadi Bachelor's student in Customs Administration, College of Management, Department of Management University of Tehran, Tehran, Iran
    Ariana Gholami Bachelor's student in Customs Administration College of Management, Department of Management University of Tehran, Tehran, Iran

Keywords:

Fraud detection, imbalanced data, electronic payment, deep learning, XGBoost, F3-Score metric, electronic commerce

Abstract

Abstract: The rapid expansion of digital payment systems has introduced new security challenges, particularly in the domain of fraud detection. One of the primary obstacles in this field is the highly imbalanced nature of financial datasets, in which the proportion of fraudulent transactions is extremely small compared to legitimate transactions. This study evaluates and compares machine learning approaches for detecting suspicious transactions within the UPI platform. To address the challenge of data imbalance, two different approaches were implemented and compared: (1) a Deep Neural Network (DNN) with class weighting and (2) the XGBoost algorithm with scale-sensitive parameter tuning. For a more precise evaluation, and considering the high sensitivity required in fraud detection, the F3-Score metric was employed, as it assigns greater importance to recall and minimizing false negatives. Experimental results indicate that the XGBoost model, achieving an F3-Score of 0.7299 and an Area Under the Curve (AUC) value of 0.8730, demonstrates more stable performance than the neural network in distinguishing legitimate transactions from fraudulent ones. Furthermore, using the interpretable SHAP method, the key features influencing fraud detection were identified and analyzed.

Published

2026-05-16

Submitted

2026-03-11

Revised

2026-05-14

Accepted

2026-05-16

Issue

Section

Articles

How to Cite

Sadri, F., Mohamadi , A. S. ., & Gholami , A. . (2026). A Comparative Analysis of XGBoost and DNN in Online Payment Fraud Detection under Extreme Class Imbalance: A Cost-Sensitive Optimization Approach Based on the F3-Score. Business, Marketing, and Finance Open, 1-15. https://bmfopen.com/index.php/bmfopen/article/view/446

Similar Articles

1-10 of 220

You may also start an advanced similarity search for this article.