MARATTO

article · FUOYE Journal of Engineering and Technology

Enhancing Credit Card Fraud Detection Using Explainable Artificial Intelligence

20253 citationsOpen accessBenue State University

In plain language

As electronic commerce expands, credit card fraud has increased, prompting the widespread adoption of artificial intelligence for fraud detection. However, standard machine learning models frequently lack explainability, which creates trust issues and conflicts with legal demands for transparent automated decisions. To address this, several machine learning classifiers, including Decision Tree, Logistic Regression, K-Nearest Neighbours, Multilayer Perceptron, and Gaussian Naive Bayes, were tested on a public credit card dataset. All models showed strong performance in identifying fraudulent transactions, with Gaussian Naive Bayes reaching perfect scores across all evaluated metrics. To improve transparency, two explainable artificial intelligence techniques, SHAP and LIME, were incorporated into the detection process. The integration showed that explainability tools improve user perception of how models reason, with SHAP providing a slight advantage over LIME in clarifying the factors behind fraud predictions.

Key takeaways

  • Multiple machine learning algorithms successfully classified fraudulent transactions using a public credit card dataset, with Gaussian Naive Bayes attaining perfect accuracy, precision, and recall.
  • The implementation of SHAP and LIME improved the interpretability of machine learning predictions by revealing key influencing transaction features.
  • SHAP showed a slight advantage over LIME in providing effective explainability for fraud detection outcomes.
  • Explainable artificial intelligence helps address legal transparency requirements and improves user trust in automated fraud detection systems.

Why it matters

Automated systems detecting financial fraud must be both accurate and understandable. When algorithms block legitimate transactions or miss fraud, customers and institutions need to understand why. Adding explainability to fraud detection algorithms helps financial organisations meet regulatory transparency mandates while building customer trust by revealing the key transaction features, such as amounts and dates, driving each automated decision.

Commercialisation angle

This work targets automated fraud detection applications for financial institutions, payment processors, and e-commerce platforms seeking to comply with legal transparency standards. The research represents applied, laboratory-tested work evaluated on a public dataset. Moving towards real-world commercial use would require validation on live transaction streams, advanced visualisations, and optimised training processes as noted in the findings.

AI-generated from the published abstract. Always read the original work before citing.

Abstract

The rapid growth of electronic commerce has led to a significant rise in credit card usage, making it the most popular payment method for online and offline transactions. However, this surge has also resulted in increased credit card fraud. While Artificial Intelligence (AI) methods have been widely applied to detect these frauds, a major challenge lies in their lack of inherent explainability. The transparent nature of many AI models raises trust concerns among users and fails to meet legal requirements for AI transparency. Explainability is crucial in credit card fraud detection as it clarifies why a prediction was made and highlights key influencing features, such as transaction amount and date. Despite its importance, explainability in AI-driven fraud detection remains underexplored. This research uses a publicly available credit card dataset to investigate making fraud detection systems more explainable. Machine Learning (ML) methods such as Decision Tree, Logistic Regression, K-Nearest Neighbors, Multilayer Perceptron, and Gaussian Naive Bayes were implemented and evaluated based on accuracy, recall, and F1 score. Decision_Tree_Classifier achieved 99.93% accuracy, with high precision (99.86%) and recall (100.00%), Logistic_Regression had 99.86% accuracy, with 99.73% precision and 100.00% recall, K-Nearest Neighbors (KNN) showed slightly lower accuracy at 98.10%, with a minor trade-off in precision 96.29% but perfect recall, MLPClassifier matched Logistic Regression with 99.86% accuracy, 99.73% precision, and 100.00% recall, GaussianNB achieved perfect scores across all metrics, with 100.00% accuracy, precision, recall, and F1 score. These results demonstrate that each model was highly effective in distinguishing fraudulent from non-fraudulent transactions, with GaussianNB showing exceptional performance. To enhance interpretability, two Explainable AI (XAI) methods— SHapley Additive exPlanations (SHAP) and Local Interpretable Model-agnostic Explanations (LIME) were applied to the ML results. Findings indicate that XAI explanations can improve users' perception of the system’s reasoning. Among the methods, SHAP demonstrated a slight advantage over LIME in terms of explainability. Future work should focus on advanced visualization techniques, improved data preprocessing, and optimizing the training process to provide deeper insights for users.

Research topics

  • Imbalanced Data Classification Techniques
  • Explainable Artificial Intelligence (XAI)
  • Financial Distress and Bankruptcy Prediction

Sustainable Development Goals

Read the original research

This page summarises published work. The authoritative version sits with the publisher.

DOI: 10.4314/fuoyejet.v10i1.13

Is something wrong with this record? Report it or request removal.

Discussion

Discuss this research

Have you built on this work, tried to replicate it, or seen it applied in practice? Share what you know. Verified researchers and MARATTO™ domain experts can open a discussion, and any member can reply. Contributions are reviewed before they appear.

No discussion yet. Open the first thread.