Intelligent and Interpretable Transaction Fraud Detection: From Machine Learning to Deep Learning

Authors

  • Niyoosha Homagostar Author
  • Rachid Hedjam Supervisor

Abstract

The rapid growth of digital payment systems has led to a substantial increase in credit card transactions, while simultaneously creating new opportunities for increasingly sophisticated fraudulent activities. Effective fraud detection therefore requires models that are not only accurate, but also robust to severe class imbalance, capable of capturing complex transaction patterns, and sufficiently interpretable to support trustworthy decision-making in financial environments.

This thesis develops a unified and interpretable framework for investigating credit card fraud detection across heterogeneous transaction datasets. Rather than focusing solely on predictive performance or on a direct comparison between machine learning (ML) and deep learning (DL), the study examines whether hybrid architectures provide added predictive value over their standalone components and simpler combination strategies, and how model predictions can be interpreted under documented dataset-specific evaluation protocols.

Three publicly available credit card fraud datasets are considered, representing different transaction characteristics and class distributions: Datasets 1 and 2 are highly imbalanced, whereas Dataset 3 is approximately balanced. The proposed framework integrates systematic data preprocessing and feature engineering with a diverse set of predictive models, including logistic regression, random forests, XGBoost, LightGBM, feedforward neural networks, autoencoders, and long short-term memory networks (LSTMs). Two hybrid architectures are further investigated: a stacking-based ensemble and an autoencoder-to-LightGBM (AE->LightGBM) architecture. The experiments use dataset-specific train--validation--test partitions, and direct hybrid-versus-component comparisons use matched test observations and validation-selected decision thresholds. Stacking error overlap and Autoencoder feature ablation are also investigated.

Beyond predictive performance, a comprehensive interpretability analysis is conducted using SHAP to examine model-attributed contributions to fraud predictions. The analysis investigates feature importance, feature contributions, model-specific decision patterns, and differences in predictive behaviour across modeling paradigms and datasets. This provides insight not only into which models perform well, but also into how the fitted models use their inputs; improvements from hybridization are assessed through model comparisons rather than inferred from SHAP alone.

The results show that hybridization does not consistently outperform simpler alternatives. Stacking improved F1-score relative to XGBoost on Datasets 2 and 3, but not on Dataset 1. Autoencoder-assisted LightGBM improved F1-score on Datasets 1 and 2, whereas standalone LightGBM remained slightly better on Dataset 3. SHAP analysis revealed dataset-dependent contributions from the stacking components and Autoencoder-derived features, while component-level comparisons and statistical analyses clarified the limitations of the observed improvements.

The interpretation of these results also considers the synthetic nature of Dataset 2 and the approximately balanced class distribution of Dataset 3. The primary contribution of this thesis is a systematic and interpretable evaluation framework for assessing the added value of hybrid fraud detection models across heterogeneous datasets. The findings emphasize the importance of dataset characteristics, baseline selection, statistical uncertainty, and operational constraints when choosing between standalone and hybrid approaches.

Downloads

Published

2026-11-24

Issue

Section

Dissertations