# Improving Credit Card Fraud Detection through Transformer-Enhanced GAN Oversampling

arXiv: https://arxiv.org/abs/2509.19032 · HTML: https://mlsanity.com/paper/2509.19032/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 21 of its 54 references that are in the map.
- First posted on arXiv 23 Sep 2025.

## Builds on (most cited first, 21 of 21)

- [Attention Is All You Need](https://mlsanity.com/paper/1706.03762/) (2017)
- [PyTorch: An Imperative Style, High-Performance Deep Learning Library](https://mlsanity.com/paper/1912.01703/) (2019)
- [XGBoost: A Scalable Tree Boosting System](https://mlsanity.com/paper/1603.02754/) (2016)
- [Modeling Tabular data using Conditional GAN](https://mlsanity.com/paper/1907.00503/) (2019)
- [SAINT: Improved Neural Networks for Tabular Data via Row Attention and Contrastive Pre-Training](https://mlsanity.com/paper/2106.01342/) (2021)
- [Generating Multi-label Discrete Patient Records using Generative Adversarial Networks](https://mlsanity.com/paper/1703.06490/) (2017)
- [TransGAN: Two Pure Transformers Can Make One Strong GAN, and That Can Scale Up](https://mlsanity.com/paper/2102.07074/) (2021)
- [StyleSwin: Transformer-based GAN for High-resolution Image Generation](https://mlsanity.com/paper/2112.10762/) (2021)
- [Tabular Transformers for Modeling Multivariate Time Series](https://mlsanity.com/paper/2011.01843/) (2020)
- [Adversarial Attacks for Tabular Data: Application to Fraud Detection and Imbalanced Data](https://mlsanity.com/paper/2101.08030/) (2021)
- [TTS-GAN: A Transformer-based Time-Series Generative Adversarial Network](https://mlsanity.com/paper/2202.02691/) (2022)
- [Credit Card Fraud Detection Using Advanced Transformer Model](https://mlsanity.com/paper/2406.03733/) (2024)
- [Detection of Anomalies in Large Scale Accounting Data using Deep Autoencoder Networks](https://mlsanity.com/paper/1709.05254/) (2017)
- [SCARFF: a Scalable Framework for Streaming Credit Card Fraud Detection with Spark](https://mlsanity.com/paper/1709.08920/) (2017)
- [Robust Variational Autoencoder for Tabular Data with Beta Divergence](https://mlsanity.com/paper/2006.08204/) (2020)
- [Detecting Credit Card Fraud via Heterogeneous Graph Neural Networks with Graph Attention](https://mlsanity.com/paper/2504.08183/) (2025)
- [Utilizing GANs for Fraud Detection: Model Training with Synthetic Transaction Data](https://mlsanity.com/paper/2402.09830/) (2024)
- [Enhancing Credit Card Fraud Detection A Neural Network and SMOTE Integrated Approach](https://mlsanity.com/paper/2405.00026/) (2024)
- [A Comprehensive Study on Torchvision Pre-trained Models for Fine-grained Inter-species Classification](https://mlsanity.com/paper/2110.07097/) (2021)
- [A Data Balancing and Ensemble Learning Approach for Credit Card Fraud Detection](https://mlsanity.com/paper/2503.21160/) (2025)
- [TabTreeFormer: Tabular Data Generation Using Hybrid Tree-Transformer](https://mlsanity.com/paper/2501.01216/) (2025)

## Built on by (most cited first, 2 of 2)

- [A Dual-Path Generative Framework for Zero-Day Fraud Detection in Banking Systems](https://mlsanity.com/paper/2603.13237/) (2026)
- [When Single-Dataset Conclusions Fail: A 45-Task Study of Threshold Tuning and Resampling for Imbalanced Classification](https://mlsanity.com/paper/2608.16147/) (2026)

## Abstract (arXiv)

Detection of credit card fraud is an acute issue of financial security because transaction datasets are highly lopsided, with fraud cases being only a drop in the ocean. Balancing datasets using the most popular methods of traditional oversampling such as the Synthetic Minority Oversampling Technique (SMOTE) generally create simplistic synthetic samples that are not readily applicable to complex fraud patterns. Recent industry advances that include Conditional Tabular Generative Adversarial Networks (CTGAN) and Tabular Variational Autoencoders (TVAE) have demonstrated increased efficiency in tabular synthesis, yet all these models still exhibit issues with high-dimensional dependence modelling. Now we will present our hybrid approach where we use a Generative Adversarial Network (GAN) with a Transformer encoder block to produce realistic fraudulent transactions samples. The GAN architecture allows training realistic generators adversarial, and the Transformer allows the model to learn rich feature interactions by self-attention. Such a hybrid strategy overcomes the limitations of SMOTE, CTGAN, and TVAE by producing a variety of high-quality synthetic minority classes samples. We test our algorithm on the publicly-available Credit Card Fraud Detection dataset and compare it to conventional and generative resampling strategies with a variety of classifiers, such as Logistic Regression (LR), Random Forest (RF), Extreme Gradient Boosting (XGBoost), and Support Vector Machine (SVM). Findings indicate that our Transformer-based GAN shows substantial gains in Recall, F1-score and Area Under the Receiver Operating Characteristic Curve (AUC), which indicates that it is effective in overcoming the severe class imbalance inherent in the task of fraud detection.
